Skip to content

Add script for simulating Kokoro locally - #2588

Merged
GMNGeoffrey merged 1 commit into
iree-org:mainfrom
GMNGeoffrey:kokoro-simulator
Jul 21, 2020
Merged

GMNGeoffrey merged 1 commit into
iree-org:mainfrom
GMNGeoffrey:kokoro-simulator

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Jul 21, 2020 •

Copy link
Copy Markdown
Member

This script simulates running Kokoro on your local machine.
Just sets up some env variables and a tmpdir.

Was useful for #2565

@GMNGeoffrey GMNGeoffrey changed the title Script for simulating Kokoro locally Add script for simulating Kokoro locally Jul 21, 2020
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

Going to ignore the tool failures from the presubimts, since this shell script doesn't affect those.

@GMNGeoffrey
GMNGeoffrey merged commit 3a87a04 into iree-org:main Jul 21, 2020
@GMNGeoffrey
GMNGeoffrey deleted the kokoro-simulator branch July 21, 2020 19:21
GMNGeoffrey added a commit that referenced this pull request Jul 22, 2020
This avoids everything having root permissions, created files being
owned by root, and other nastiness. This is made slightly more
complicated by Google linux machine's...creative... setup for user
management. All these scripts can be run locally provided the appropriate
env variables are set, which can be done with the script provided in
#2588.

This was the root cause for #2565.
The image we're using for the GPU builds doesn't have passwordless sudo
so we couldn't delete the Kokoro artifacts directory.

Fixes #2565
@GMNGeoffrey GMNGeoffrey added the infrastructure Relating to build systems, CI, or testing label Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants