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

Travis-CI PR validation is failing with "can't read buildcharacter.properties" #761

Closed
SethTisue opened this issue Feb 1, 2021 · 5 comments

Comments

@SethTisue
Copy link
Member

The symptom is that both "build" jobs succeed, but then all the "test" jobs fail with

$ STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
sed: can't read buildcharacter.properties: No such file or directory

you can trace it back to the build job, where at the end it says:

store build cache
...
failed to upload cache

one hopes this is a transient problem at Travis-CI's end? since we didn't change anything

cc @dwijnand, who also noticed

@dwijnand
Copy link
Member

dwijnand commented Feb 1, 2021

you can trace it back to the build job, where at the end it says:

It's actually the workspace files, which aren't just an optimisation like the cache is:

Creating workspaces
Workspace: bootstrapped
0.00s1.67sadding /home/travis/build/scala/scala/buildcharacter.properties to workspace
adding /home/travis/.ivy2/local/org.scala-lang to workspace
adding /home/travis/build/scala/scala/target to workspace
adding /home/travis/build/scala/scala/project/target to workspace
adding /home/travis/build/scala/scala/project/project/target to workspace
adding /home/travis/build/scala/scala/project/project/project/target to workspace
adding /home/travis/build/scala/scala/dist to workspace
adding /home/travis/build/scala/scala/build to workspace
0.00s5.07schanges detected, packing new archive
uploading 215618203/bootstrapped.tgz
failed to upload workspace

@SethTisue
Copy link
Member Author

maybe this is fixed now? scala/scala#9477 passed

@som-snytt
Copy link

What an annoying problem, but it builds character. Which is why it's called buildcharacter.properties.

@mkurz
Copy link

mkurz commented Feb 2, 2021

Looks like a bug in Travis-CI: https://travis-ci.community/t/repeatable-failed-to-upload-workspace-error/11108

@SethTisue
Copy link
Member Author

haven't seen this lately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants