Closed Bug 1354216 Opened 7 years ago Closed 7 years ago

cctools job permafail with Artifact "public/github.com/tpoechtrager/cctools-port.tar.gz" not found for task ID undefined

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: aryx, Assigned: ted)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

cctools started running again after almost 2 months and permafails:

https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=baade5ccb7c95fb0be9a06e1b8f2a82bf9d19a98&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=usercancel&filter-resultStatus=runnable

> Artifact "public/github.com/tpoechtrager/cctools-port.tar.gz" not found for task ID undefined. This could be caused by the artifact not being created or being marked as expired.

#taskclusters conclusion is that this was already broken before that push.
Flags: needinfo?(nfroyd)
This is a misleading error; the real problem is before that:

[task 2017-04-06T16:55:04.853717Z] libtool: Version mismatch error.  This is libtool 2.4.6, but the
[task 2017-04-06T16:55:04.853785Z] libtool: definition of this LT_INIT comes from libtool 2.2.6b.
[task 2017-04-06T16:55:04.853820Z] libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6
[task 2017-04-06T16:55:04.853847Z] libtool: and run autoconf again.
[task 2017-04-06T16:55:04.854049Z] Makefile:340: recipe for target 'libstuff_la-allocate.lo' failed

Terrible.  Ehsan, this stuff got added in bug 1331957 and bug 1337233, but the treeherder pages for those landings on inbound and central don't show the cctools job running, which seems quite wrong.  You did build these on infra, right? :)

ni? Dustin too, to see if https://hg.mozilla.org/integration/mozilla-inbound/rev/41e7f431c83d shows something obviously wrong.
Flags: needinfo?(nfroyd)
Flags: needinfo?(ehsan)
Flags: needinfo?(dustin)
I note that a bit up from that in the log there's:
[task 2017-04-06T16:54:54.128353Z] + ./autogen.sh
[task 2017-04-06T16:54:54.130887Z] applying workaround for buggy unistd.h
[task 2017-04-06T16:54:54.133202Z] applying fix for broken unistd.h
[task 2017-04-06T16:54:54.133650Z] + find . -type f '(' -name '*.c' -o -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.hpp' ')' -print0
[task 2017-04-06T16:54:54.133707Z] + xargs -0 sed -i 's/#include <unistd.h>/#undef __block\n#include <unistd.h>\n#define __block __attribute__((__blocks__(byref)))/g'
[task 2017-04-06T16:54:54.698139Z] libtoolize: `./config.guess' is newer: use `--force' to overwrite
[task 2017-04-06T16:54:54.705390Z] libtoolize: `./config.sub' is newer: use `--force' to overwrite
[task 2017-04-06T16:54:54.711787Z] libtoolize: `./install-sh' is newer: use `--force' to overwrite
[task 2017-04-06T16:54:54.727231Z] libtoolize: `./ltmain.sh' is newer: use `--force' to overwrite
I don't see anything obvious.  "What files should cause this to run" is always going to be a difficult question..
Flags: needinfo?(dustin)
I've hidden these jobs from the default treeherder view. To see them, you'll need to toggle the "excluded jobs" button in Treeherder's header.
(In reply to Nathan Froyd [:froydnj] from comment #1)
> This is a misleading error; the real problem is before that:
> 
> [task 2017-04-06T16:55:04.853717Z] libtool: Version mismatch error.  This is
> libtool 2.4.6, but the
> [task 2017-04-06T16:55:04.853785Z] libtool: definition of this LT_INIT comes
> from libtool 2.2.6b.
> [task 2017-04-06T16:55:04.853820Z] libtool: You should recreate aclocal.m4
> with macros from libtool 2.4.6
> [task 2017-04-06T16:55:04.853847Z] libtool: and run autoconf again.
> [task 2017-04-06T16:55:04.854049Z] Makefile:340: recipe for target
> 'libstuff_la-allocate.lo' failed
> 
> Terrible.  Ehsan, this stuff got added in bug 1331957 and bug 1337233, but
> the treeherder pages for those landings on inbound and central don't show
> the cctools job running, which seems quite wrong.  You did build these on
> infra, right? :)

I'm usually careful with doing that (and often times don't have a local build environment set up anyway so I can't build these things myself even if I want to!) but to be honest I don't remember what I did exactly in this case any more.  :-(

Also does anyone have a link to a complete log?  And to a TaskClusterId that I can use to run a local docker of the task to try to reproduce the failure locally?
Flags: needinfo?(ehsan)
Assignee: nobody → ted
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #9)
> https://treeherder.mozilla.org/#/
> jobs?repo=try&revision=6c53e138b28054b12a45621f9439c0dbb031009f

Both cctools-port builds are green on this push.
Comment on attachment 8856675 [details]
bug 1354216 - fix cctools-port build scripts.

https://reviewboard.mozilla.org/r/128610/#review131040
Attachment #8856675 - Flags: review?(mshal) → review+
Pushed by tmielczarek@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e2bcdd150140
fix cctools-port build scripts. r=mshal
https://hg.mozilla.org/mozilla-central/rev/e2bcdd150140
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: