Skip to content

[Github Actions] Build Flake #868

@smklein

Description

@smklein

Taking a look at The Github actions run on main, there appears to a build flake related to linking Nexus.

In the logs, this issues presents as the following:

Running `rustc --crate-name omicron_nexus ...
error: linking with `cc` failed: exit status: 1
...
  = note: collect2: error: ld returned 1 exit status
error: could not compile `omicron-nexus` due to previous error

Caused by:
  process didn't exit successfully: `rustc --crate-name omicron_nexus ...`

AFAICT, the first sign of this issue happening is roughly co-located with the following PRs:

However, given the flaky nature of the build, it is difficult to determine a root cause quite yet.

@jgallagher , @davepacheco - any chance this error looks familiar? Any known changes to linkage?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Test FlakeTests that work. Wait, no. Actually yes. Hang on. Something is broken.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions