Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent "error: Could not compile `script`." on buildbot with no other error message #18806

Closed
SimonSapin opened this issue Oct 10, 2017 · 6 comments

Comments

@SimonSapin
Copy link
Member

@SimonSapin SimonSapin commented Oct 10, 2017

This is the second time I see this recently:

http://build.servo.org/builders/mac-rel-wpt3/builds/2119/steps/compile/logs/stdio
#18585 (comment)

2017-10-10 09:51:36.353 cargo[79545:506502954] Metadata.framework [Error]: couldn't get the client port
    Updating registry `https://github.com/rust-lang/crates.io-index`
    Updating git repository `https://github.com/servo/webrender`
    Updating git repository `https://github.com/servo/osmesa-src`
    Updating git repository `https://github.com/servo/rust-azure`
    Updating git repository `https://github.com/servo/angle`
    Updating git repository `https://github.com/servo/devices`
 Downloading euclid v0.15.3
 Downloading offscreen_gl_context v0.11.2
 Downloading serde v1.0.14
 Downloading cssparser v0.22.0
 Downloading core-foundation v0.4.4
 Downloading core-foundation-sys v0.4.4
 Downloading serde_derive v1.0.14
 Downloading serde_derive_internals v0.16.0
 Downloading app_units v0.5.6
 Downloading precomputed-hash v0.1.1
 Downloading smallbitvec v1.0.6
 Downloading parking_lot v0.4.8
 Downloading html5ever v0.20.0
 Downloading rayon v0.8.2
 Downloading parking_lot_core v0.2.6
 Downloading markup5ever v0.5.0
 Downloading hyper v0.10.13
 Downloading image v0.16.0
 Downloading png v0.10.0
 Downloading inflate v0.3.3
 Downloading rust-webvr-api v0.9.2
 Downloading harfbuzz-sys v0.1.14
 Downloading rust-webvr v0.9.4
 Downloading mitochondria v1.1.2
 Downloading xml5ever v0.10.0
 Downloading audio-video-metadata v0.1.4
 Downloading mp3-metadata v0.3.0
 Downloading parse-hosts v0.5.0
 Downloading multistr v0.5.2
 Downloading push-trait v0.6.0
 Downloading servo-skia v0.30000006.2
 Downloading expat-sys v2.1.5
 Downloading servo-glutin v0.12.1
 Downloading core-graphics v0.9.1
 Downloading core-text v7.0.0
 Downloading io-surface v0.8.0
 Downloading blurmac v0.0.1
 Downloading cocoa v0.10.0
   Compiling color_quant v1.0.0
   Compiling webrender v0.52.0 (https://github.com/servo/webrender#faa9cfe1)
   Compiling unicode-segmentation v1.2.0
   Compiling rustc-serialize v0.3.24
   Compiling void v1.0.2
   Compiling getopts v0.2.14
   Compiling signpost v0.1.0 (https://github.com/pcwalton/signpost.git#7ed71250)
   Compiling foreign-types v0.2.0
   Compiling block v0.1.6
   Compiling typeable v0.1.2
   Compiling xi-unicode v0.1.0
   Compiling mozjs_sys v0.0.0 (https://github.com/servo/mozjs#834ce35c)
   Compiling quote v0.3.15
   Compiling encoding_index_tests v0.1.4
   Compiling core-foundation-sys v0.4.4
   Compiling dom_struct v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/dom_struct)
   Compiling string_cache_shared v0.3.0
   Compiling scopeguard v0.3.2
   Compiling antidote v1.0.0
   Compiling mitochondria v1.1.2
   Compiling simd v0.2.0
   Compiling rayon-core v1.2.0
   Compiling ref_slice v1.1.1
   Compiling siphasher v0.2.2
   Compiling fnv v1.0.5
   Compiling lazycell v0.4.0
   Compiling thread_profiler v0.1.3
   Compiling browserhtml v0.1.17 (https://github.com/browserhtml/browserhtml?branch=crate#7c66ae9a)
   Compiling ref_filter_map v1.0.1
   Compiling osmesa-src v17.2.0-devel (https://github.com/servo/osmesa-src#20646425)
   Compiling itoa v0.3.1
   Compiling matches v0.1.4
   Compiling unicode-normalization v0.1.4
   Compiling bitreader v0.3.0
   Compiling traitobject v0.1.0
   Compiling ident_case v1.0.0
   Compiling procedural-masquerade v0.1.2
   Compiling regex-syntax v0.4.1
   Compiling bitflags v0.8.2
   Compiling stable_deref_trait v1.0.0
   Compiling lazy_static v0.2.8
   Compiling utf8-ranges v1.0.0
   Compiling same-file v0.1.3
   Compiling libloading v0.4.0
   Compiling futures v0.1.13
   Compiling rustc-demangle v0.1.4
   Compiling odds v0.2.25
   Compiling atomic_refcell v0.1.0
   Compiling bytes v0.3.0
   Compiling dtoa v0.4.1
   Compiling either v1.1.0
   Compiling pkg-config v0.3.9
   Compiling alloc-no-stdlib v1.2.0
   Compiling threadpool v1.3.2
   Compiling mp3-metadata v0.3.0
   Compiling safemem v0.2.0
   Compiling cfg-if v0.1.2
   Compiling script_plugins v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/script_plugins)
   Compiling servo v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/ports/servo)
   Compiling semver v0.1.20
   Compiling extra-default v0.2.0
   Compiling smallbitvec v1.0.6
   Compiling heapsize v0.4.0
   Compiling scoped_threadpool v0.1.7
   Compiling bitflags v0.9.1
   Compiling libc v0.2.23
   Compiling half v1.0.0
   Compiling openssl v0.9.12
   Compiling num-traits v0.1.37
   Compiling lzw v0.10.0
   Compiling mac v0.1.1
   Compiling percent-encoding v1.0.0
   Compiling gcc v0.3.47
   Compiling pdqsort v0.1.2
   Compiling unicode-xid v0.0.4
   Compiling slab v0.3.0
   Compiling binary-space-partition v0.1.2
   Compiling khronos_api v1.0.1
   Compiling adler32 v1.0.0
   Compiling open v1.2.0
   Compiling language-tags v0.2.2
   Compiling log v0.3.8
   Compiling sha1 v0.2.0
   Compiling leak v0.1.2
   Compiling precomputed-hash v0.1.1
   Compiling sig v0.1.1
   Compiling bitflags v0.5.0
   Compiling httparse v1.2.1
   Compiling byteorder v1.0.0
   Compiling bitflags v0.7.0
   Compiling unreachable v0.1.1
   Compiling encoding-index-korean v1.20141219.5
   Compiling encoding-index-tradchinese v1.20141219.5
   Compiling encoding-index-japanese v1.20141219.5
   Compiling encoding-index-singlebyte v1.20141219.5
   Compiling encoding-index-simpchinese v1.20141219.5
   Compiling blurmock v0.1.2
   Compiling utf-8 v0.7.1
   Compiling owning_ref v0.3.3
   Compiling walkdir v1.0.7
   Compiling nodrop v0.1.8
   Compiling dtoa-short v0.3.0
   Compiling itertools v0.5.10
   Compiling coco v0.1.1
   Compiling brotli-decompressor v1.0.9
   Compiling bow v1.0.2
   Compiling len-trait v0.6.1
   Compiling rustc_version v0.1.7
   Compiling shared_library v0.1.5
   Compiling malloc_buf v0.0.6
   Compiling memchr v1.0.1
   Compiling time v0.1.37
   Compiling rand v0.3.15
   Compiling iovec v0.1.0
   Compiling thread-id v3.1.0
   Compiling net2 v0.2.29
   Compiling backtrace v0.3.2
   Compiling num_cpus v1.4.0
   Compiling gif v0.9.1
   Compiling enum_primitive v0.1.1
   Compiling num-integer v0.1.34
   Compiling synom v0.11.3
   Compiling inflate v0.3.3
   Compiling leaky-cow v0.1.1
   Compiling gamma-lut v0.2.0
   Compiling mime v0.2.4
   Compiling servo_remutex v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/remutex)
   Compiling pulldown-cmark v0.0.8
   Compiling ogg v0.5.0
   Compiling base64 v0.6.0
   Compiling deflate v0.7.5
   Compiling fxhash v0.2.1
   Compiling mp4parse v0.7.1
   Compiling xml-rs v0.3.6
   Compiling ordered-float v0.4.0
   Compiling debug_unreachable v0.1.1
   Compiling openssl-sys v0.9.12
   Compiling miniz-sys v0.1.9
   Compiling task_info v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/support/rust-task_info)
   Compiling tinyfiledialogs v2.5.9
   Compiling cmake v0.1.22
   Compiling libz-sys v1.0.16
   Compiling encoding v0.2.33
   Compiling servo_arc v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/servo_arc)
   Compiling arrayvec v0.3.23
   Compiling style v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/style)
   Compiling push-trait v0.6.0
   Compiling unicase v1.4.0
   Compiling osmesa-sys v0.1.2
   Compiling objc v0.2.2
   Compiling aho-corasick v0.6.3
   Compiling brotli v1.0.8
   Compiling thread_local v0.3.3
   Compiling cookie v0.6.2
   Compiling mio v0.6.9
   Compiling gaol v0.0.1 (https://github.com/servo/gaol#227ff0ba)
   Compiling tempdir v0.3.5
   Compiling servo_rand v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/rand)
   Compiling num-iter v0.1.33
   Compiling num-rational v0.1.36
   Compiling syn v0.11.11
   Compiling ogg_metadata v0.4.1
   Compiling futf v0.1.3
   Compiling gl_generator v0.5.3
   Compiling azure v0.21.2 (https://github.com/servo/rust-azure#6bcf4f56)
   Compiling expat-sys v2.1.5
   Compiling servo-skia v0.30000006.2
   Compiling angle v0.5.0 (https://github.com/servo/angle?branch=servo#1599c1d0)
   Compiling js v0.1.6 (https://github.com/servo/rust-mozjs#3de4ff3d)
   Compiling heartbeats-simple-sys v0.4.1
   Compiling harfbuzz-sys v0.1.14
   Compiling fontsan v0.3.2 (https://github.com/servo/fontsan#ab68da17)
   Compiling core-foundation v0.4.4
   Compiling immeta v0.3.5
   Compiling lru_cache v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/lru_cache)
   Compiling multistr v0.5.2
   Compiling hashglobe v0.1.0 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/hashglobe)
   Compiling smallvec v0.4.3
   Compiling blurmac v0.0.1
   Compiling objc_id v0.1.0
   Compiling regex v0.2.2
   Compiling skeptic v0.9.0
   Compiling png v0.10.0
   Compiling rayon v0.8.2
   Compiling audio-video-metadata v0.1.4
   Compiling tendril v0.4.0
   Compiling rust-webvr v0.9.4
   Compiling gleam v0.4.8
   Compiling offscreen_gl_context v0.11.2
   Compiling servo-glutin v0.12.1
   Compiling core-graphics v0.9.1
   Compiling parse-hosts v0.5.0
   Compiling fallible v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/fallible)
   Compiling parking_lot_core v0.2.6
   Compiling objc-foundation v0.1.1
   Compiling device v0.0.1 (https://github.com/servo/devices#c3b012b0)
   Compiling swapper v0.0.4
   Compiling jpeg-decoder v0.1.13
   Compiling serde_derive_internals v0.16.0
   Compiling html5ever v0.20.0
   Compiling synstructure v0.5.2
   Compiling domobject_derive v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/domobject_derive)
   Compiling cssparser v0.22.0
   Compiling darling_core v0.2.0
   Compiling flate2 v0.2.19
   Compiling env_logger v0.4.3
   Compiling caseless v0.1.3
   Compiling cocoa v0.10.0
   Compiling core-text v7.0.0
   Compiling phf_shared v0.7.21
   Compiling parking_lot v0.4.8
   Compiling clipboard v0.4.0
   Compiling image v0.16.0
   Compiling heapsize_derive v0.1.4
   Compiling deny_public_fields v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/deny_public_fields)
   Compiling jstraceable_derive v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/jstraceable_derive)
   Compiling malloc_size_of_derive v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/malloc_size_of_derive)
   Compiling serde_derive v1.0.14
   Compiling darling_macro v0.2.0
   Compiling heartbeats-simple v0.4.0
   Compiling phf_generator v0.7.21
   Compiling phf v0.7.21
   Compiling unicode-script v0.1.1
   Compiling darling v0.2.0
   Compiling cgl v0.2.1
   Compiling string_cache_codegen v0.4.0
   Compiling phf_codegen v0.7.21
   Compiling style_derive v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/style_derive)
   Compiling io-surface v0.8.0
   Compiling servo_atoms v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/atoms)
   Compiling string_cache v0.6.2
   Compiling cssparser-macros v0.3.0
   Compiling mime_guess v1.8.1
   Compiling selectors v0.19.0 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/selectors)
   Compiling markup5ever v0.5.0
   Compiling serde v1.0.14
   Compiling rust-webvr-api v0.9.2
   Compiling uuid v0.5.0
   Compiling euclid v0.15.3
   Compiling serde_json v1.0.2
   Compiling range v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/range)
   Compiling serde_bytes v0.10.0
   Compiling unicode-bidi v0.3.3
   Compiling app_units v0.5.6
   Compiling bincode v0.8.0
   Compiling plane-split v0.6.0
   Compiling gfx_traits v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/gfx_traits)
   Compiling servo_geometry v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/geometry)
   Compiling ipc-channel v0.8.0
   Compiling idna v0.1.2
   Compiling malloc_size_of v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/malloc_size_of)
   Compiling script v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/script)
   Compiling xml5ever v0.10.0
   Compiling url v1.5.1
   Compiling webrender_api v0.52.0 (https://github.com/servo/webrender#faa9cfe1)
   Compiling ws v0.6.0
   Compiling hyper v0.10.13
   Compiling url_serde v0.2.0
   Compiling debugger v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/debugger)
   Compiling servo_url v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/url)
   Compiling msg v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/msg)
   Compiling style_traits v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/style_traits)
   Compiling servo_config v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/config)
   Compiling webvr_traits v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/webvr_traits)
   Compiling webdriver v0.22.0
   Compiling servo-websocket v0.19.1
   Compiling hyper_serde v0.7.0
   Compiling hyper-openssl v0.2.6
   Compiling influent v0.4.0
   Compiling bluetooth_traits v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/bluetooth_traits)
   Compiling profile_traits v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/profile_traits)
   Compiling canvas_traits v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/canvas_traits)
   Compiling net_traits v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/net_traits)
   Compiling devtools_traits v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/devtools_traits)
   Compiling bluetooth v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/bluetooth)
   Compiling profile v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/profile)
   Compiling devtools v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/devtools)
   Compiling net v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/net)
   Compiling script_traits v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/script_traits)
   Compiling webvr v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/webvr)
   Compiling webdriver_server v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/webdriver_server)
   Compiling compositing v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/compositing)
   Compiling canvas v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/canvas)
   Compiling gfx v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/gfx)
   Compiling metrics v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/metrics)
   Compiling layout_traits v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/layout_traits)
   Compiling script_layout_interface v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/script_layout_interface)
   Compiling constellation v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/constellation)
   Compiling layout v0.0.1 (file:///Users/servo/buildbot/slave/mac-rel-wpt3/build/components/layout)
error: Could not compile `script`.

To learn more, run the command again with --verbose.
[Warning] Could not generate notification! Optional Python module 'pyobjc' is not installed.
Looking for rustc at /Users/servo/.servo/rust/2017-10-05-alt/rustc-nightly-x86_64-apple-darwin/rustc/bin/rustc
Downloading Rust compiler...
Extracting Rust compiler...
Rust compiler ready.
Downloading Host rust library for target x86_64-apple-darwin...
Extracting Rust stdlib for target x86_64-apple-darwin...
Rust x86_64-apple-darwin libs ready.
Downloading Cargo nightly...
Extracting Cargo nightly...
Cargo ready.
Build FAILED in 0:51:23
@SimonSapin SimonSapin changed the title Intermittent "error: Could not compile `script`." on CI with no other error message Intermittent "error: Could not compile `script`." on buildbot with no other error message Oct 10, 2017
@SimonSapin
Copy link
Member Author

@SimonSapin SimonSapin commented Oct 10, 2017

I believe this message if from Cargo. This means rustc existed suddenly with a non-zero exit code but without writing anything itself on stderr or stdout.

@jdm
Copy link
Member

@jdm jdm commented Oct 10, 2017

I suspect an OOM before linking starts, but I'm not really sure how to confirm that.

@highfive
Copy link

@highfive highfive commented Oct 10, 2017

@jdm
Copy link
Member

@jdm jdm commented Oct 10, 2017

I logged into servo-mac6 and looked at top; this certainly looks suspicious:

PhysMem: 4078M used (1274M wired), 16M unused.
@jdm
Copy link
Member

@jdm jdm commented Oct 10, 2017

Same error for the android builder now on servo-linux-cross1: http://build.servo.org/builders/android/builds/9285/steps/compile/logs/stdio

@SimonSapin
Copy link
Member Author

@SimonSapin SimonSapin commented Apr 20, 2020

We’ve moved from Buildbot to Taskcluster.

@SimonSapin SimonSapin closed this Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.