Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

CI: Fix cargo cache #7968

Merged
merged 2 commits into from
Mar 1, 2018
Merged

CI: Fix cargo cache #7968

merged 2 commits into from
Mar 1, 2018

Conversation

General-Beck
Copy link
Contributor

Blocking waiting for file lock on the registry index

Blocking waiting for file lock on the registry index
@5chdn 5chdn added A0-pleasereview 🤓 Pull request needs code review. M1-ci 🙉 Continuous integration. labels Feb 21, 2018
@5chdn 5chdn added this to the 1.10 milestone Feb 21, 2018
@5chdn 5chdn added the P5-sometimesoon 🌲 Issue is worth doing soon. label Feb 21, 2018
@@ -48,6 +48,8 @@ set_env_win () {
echo "@ signtool sign /f "\%"1 /p "\%"2 /tr http://timestamp.comodoca.com /du https://parity.io "\%"3" > sign.cmd
}
build () {
echo "Remove index"
rm -rf cargo/registry/index/*.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you meant, .cargo/registry/index? That's a terrible idea! Cargo will have to redownload it's crates index and cargo builds may interfere with each.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cargo cache is in cargo/ #7921: https://github.com/paritytech/parity/pull/7921/files

The path "is correct", but I can't evaluate if this is the correct way to address this. Problem is that windows builds fail due to a build lock even though there is no other build running.

https://gitlab.parity.io/parity/parity/-/jobs/80511

Please advise :)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@General-Beck Let's wrap this in the conditional if [[ "windows" = $IDENT ]] for now?
I guess the actual root cause is our cache key selection, but I would do that as a part of enhancing the #7988

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@5chdn I believe this is not a correct way of addressing the problem

@debris debris added A4-gotissues 💥 Pull request is reviewed and has significant issues which must be addressed. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 22, 2018
@5chdn 5chdn modified the milestones: 1.10, 1.11, 1.12 Mar 1, 2018
@5chdn 5chdn added B0-patch A0-pleasereview 🤓 Pull request needs code review. and removed A4-gotissues 💥 Pull request is reviewed and has significant issues which must be addressed. labels Mar 1, 2018
@5chdn 5chdn changed the title Fix cache CI: Fix cargo cache Mar 1, 2018
@@ -48,6 +48,8 @@ set_env_win () {
echo "@ signtool sign /f "\%"1 /p "\%"2 /tr http://timestamp.comodoca.com /du https://parity.io "\%"3" > sign.cmd
}
build () {
echo "Remove index"
rm -rf cargo/registry/index/*.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@General-Beck Let's wrap this in the conditional if [[ "windows" = $IDENT ]] for now?
I guess the actual root cause is our cache key selection, but I would do that as a part of enhancing the #7988

@debris debris added A4-gotissues 💥 Pull request is reviewed and has significant issues which must be addressed. and removed A0-pleasereview 🤓 Pull request needs code review. labels Mar 1, 2018
@debris debris removed the A4-gotissues 💥 Pull request is reviewed and has significant issues which must be addressed. label Mar 1, 2018
@debris debris merged commit ec7282d into master Mar 1, 2018
@debris debris deleted the gitlab-cache branch March 1, 2018 12:41
5chdn pushed a commit that referenced this pull request Mar 3, 2018
* Fix cache

Blocking waiting for file lock on the registry index

* Only clean locked cargo cache on windows
5chdn pushed a commit that referenced this pull request Mar 5, 2018
* Fix cache

Blocking waiting for file lock on the registry index

* Only clean locked cargo cache on windows
@5chdn 5chdn mentioned this pull request Mar 5, 2018
5chdn pushed a commit that referenced this pull request Mar 5, 2018
* Fix cache

Blocking waiting for file lock on the registry index

* Only clean locked cargo cache on windows
@5chdn 5chdn mentioned this pull request Mar 5, 2018
tomusdrw pushed a commit that referenced this pull request Mar 14, 2018
* CI: Fix cargo cache (#7968)

* Fix cache

Blocking waiting for file lock on the registry index

* Only clean locked cargo cache on windows

* fixed ethstore sign (#8026)

* fixed parsing ethash seals and verify_block_undordered (#8031)

* fix for verify_block_basic crashing on invalid transaction rlp (#8032)

* fix cache & snapcraft CI build (#8052)

after successful testing it is necessary to port in a ```beta``` and ```stable```

*  Add MCIP-6 Byzyantium transition to Musicoin spec (#7841)

* Add test chain spec for musicoin byzantium testnet

* Add MCIP-6 Byzyantium transition to Musicoin spec

* Update mcip6_byz.json

* ethcore: update musicoin byzantium block number

* ethcore: update musicoin byzantium block number

* ethcore: update musicoin bootnodes

* Update musicoin.json

* Update musicoin.json

* More bootnodes.
tomusdrw pushed a commit that referenced this pull request Mar 14, 2018
* CI: Fix cargo cache (#7968)

* Fix cache

Blocking waiting for file lock on the registry index

* Only clean locked cargo cache on windows

* fixed ethstore sign (#8026)

* fix cache & snapcraft CI build (#8052)

after successful testing it is necessary to port in a ```beta``` and ```stable```

*  Add MCIP-6 Byzyantium transition to Musicoin spec (#7841)

* Add test chain spec for musicoin byzantium testnet

* Add MCIP-6 Byzyantium transition to Musicoin spec

* Update mcip6_byz.json

* ethcore: update musicoin byzantium block number

* ethcore: update musicoin byzantium block number

* ethcore: update musicoin bootnodes

* Update musicoin.json

* Update musicoin.json

* More bootnodes.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
M1-ci 🙉 Continuous integration. P5-sometimesoon 🌲 Issue is worth doing soon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants