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

Fix mutation test in CI by passing env vars correctly #19884

Merged
merged 1 commit into from Jan 28, 2018

Conversation

@aneeshusa
Copy link
Member

aneeshusa commented Jan 27, 2018

Originally, buildbot would try to directly execute RUSTFLAGS= as a binary
since it was the first token in the command string, which won't work.

Fix this by using the env command to set the environment variables,
as there is currently no support for setting per-step environment variables
in the buildbot_steps.yml file.

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes should fix #19821 (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because they change the CI configuration

This change is Reviewable

Originally, buildbot would try to directly execute `RUSTFLAGS=` as a binary
since it was the first token in the command string, which won't work.

Fix this by using the `env` command to set the environment variables,
as there is currently no support for setting per-step environment variables
in the `buildbot_steps.yml` file.
@aneeshusa
Copy link
Member Author

aneeshusa commented Jan 27, 2018

bors-servo added a commit that referenced this pull request Jan 27, 2018
Fix mutation test in CI by passing env vars correctly

Originally, buildbot would try to directly execute `RUSTFLAGS=` as a binary
since it was the first token in the command string, which won't work.

Fix this by using the `env` command to set the environment variables,
as there is currently no support for setting per-step environment variables
in the `buildbot_steps.yml` file.

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes should fix #19821 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they change the CI configuration

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19884)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 27, 2018

Trying commit a280188 with merge 725575f...

@bors-servo
Copy link
Contributor

bors-servo commented Jan 28, 2018

@aneeshusa
Copy link
Member Author

aneeshusa commented Jan 28, 2018

Looks like the mutation test ran correctly this time (and found an error to boot): http://build.servo.org/builders/linux-rel-nogate/builds/1440/steps/shell__4/logs/stdio

@jdm
Copy link
Member

jdm commented Jan 28, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Jan 28, 2018

📌 Commit a280188 has been approved by jdm

@highfive highfive assigned jdm and unassigned asajeffrey Jan 28, 2018
@bors-servo
Copy link
Contributor

bors-servo commented Jan 28, 2018

Testing commit a280188 with merge 025e5d7...

bors-servo added a commit that referenced this pull request Jan 28, 2018
Fix mutation test in CI by passing env vars correctly

Originally, buildbot would try to directly execute `RUSTFLAGS=` as a binary
since it was the first token in the command string, which won't work.

Fix this by using the `env` command to set the environment variables,
as there is currently no support for setting per-step environment variables
in the `buildbot_steps.yml` file.

<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes should fix #19821 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they change the CI configuration

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19884)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jan 28, 2018

@bors-servo bors-servo merged commit a280188 into servo:master Jan 28, 2018
3 of 4 checks passed
3 of 4 checks passed
Taskcluster (pull_request) TaskGroup: failure
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

5 participants
You can’t perform that action at this time.