Page MenuHomePhabricator

Clean cache and tmp directory for instegration tests
ClosedPublic

Authored by deadalnix on Apr 7 2020, 14:03.

Details

Summary

As per title.

Test Plan
ninja clean
ls test

Verify that tmp and cache are gone.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Snippet of first build failure:

Build 'Bitcoin-ABC / Diffs / Diff Testing' #8895, branch 'phabricator/diff/17466'
Started 2020-04-07 14:04:46 on 'highperf5' by 'Phabricator Staging (phabricator-staging)'
Finished 2020-04-07 14:04:52 with status FAILURE 'Snapshot dependency failed: Automated Deployments / Bitcoin ABC Developer Tools / Bitcoin ABC Diff Base Image'
VCS revisions: 'Bitcoin ABC Staging' (Git): f7e92633af622546362f06a254cd8dc343121e54 (branch 'refs/tags/phabricator/diff/17466')
TeamCity URL https://build.bitcoinabc.org/viewLog.html?buildId=34233&buildTypeId=BitcoinABC_BitcoinAbcStaging 
TeamCity server version is 2018.1.4 (build 58724), server timezone: UTC

[14:03:15]E: bt37 (1m:36s)
[14:03:15]i: TeamCity server version is 2018.1.4 (build 58724)
[14:03:15] : Collecting changes in 3 VCS roots (18s)
[14:03:15] :	 [Collecting changes in 3 VCS roots] VCS Root details
[14:03:15] :		 [VCS Root details] "abc-infrastructure" {instance id=34, parent internal id=11, parent id=AutomatedDeployments_BitcoinAbcDeveloperTools_AbcInfrastructure, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/infrastructure.git#refs/heads/master"}
[14:03:15] :		 [VCS Root details] "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc.git" {instance id=27, parent internal id=4, parent id=BitcoinABCGit, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc.git#refs/heads/master"}
[14:03:15] :		 [VCS Root details] "Bitcoin ABC Staging" {instance id=28, parent internal id=7, parent id=BitcoinABC_BitcoinAbcStaging, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging.git#refs/heads/master"}
[14:03:17]i:	 [Collecting changes in 3 VCS roots] Detecting changes in VCS root 'abc-infrastructure' (used in 'Bitcoin-ABC Infra Checkout', 'Build abcbot' and 1 other configuration)
[14:03:17]i:	 [Collecting changes in 3 VCS roots] Will collect changes for 'abc-infrastructure' starting from revision 5dab07fa43892d9eb477d34389e03e15a808ac45
[14:03:17]i:	 [Collecting changes in 3 VCS roots] Detecting changes in VCS root 'ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc.git' (used in 'Bitcoin ABC Master Base Image', 'Bitcoin-ABC Check Seeds' and 24 other configurations)
[14:03:17]i:	 [Collecting changes in 3 VCS roots] Will collect changes for 'ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc.git' starting from revision 1678967611ccb25b630c4d8b93d406d7d20af191
[14:03:17]i:	 [Collecting changes in 3 VCS roots] Detecting changes in VCS root 'Bitcoin ABC Staging' (used in 'Bitcoin ABC Diff Base Image', 'Bitcoin-ABC Gitian Diff Testing' and 7 other configurations)
[14:03:17]i:	 [Collecting changes in 3 VCS roots] Will collect changes for 'Bitcoin ABC Staging' starting from revision 8408a0cdcf4106fde3d093d4ed583b19fd7dbcdb
[14:03:17]i:	 [Collecting changes in 3 VCS roots] VCS revisions for 'Bitcoin ABC Staging' - 8408a0cdcf4106fde3d093d4ed583b19fd7dbcdb..8408a0cdcf4106fde3d093d4ed583b19fd7dbcdb
[14:03:17]i:	 [Collecting changes in 3 VCS roots] Processing combined checkout rule for 'Bitcoin ABC Staging' 
[14:03:21]i:	 [Collecting changes in 3 VCS roots] VCS root 'Bitcoin ABC Staging': git fetch ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging.git
[14:03:33]i:	 [Collecting changes in 3 VCS roots] VCS root 'Bitcoin ABC Staging': Updating references 100%
[14:03:33]i:	 [Collecting changes in 3 VCS roots] VCS root 'Bitcoin ABC Staging': Updating references 100%
[14:03:33]i:	 [Collecting changes in 3 VCS roots] VCS root 'Bitcoin ABC Staging': update ref remote name: refs/tags/phabricator/diff/17466, local name: refs/tags/phabricator/diff/17466, old object id: 0000000000000000000000000000000000000000, new object id: f7e92633af622546362f06a254cd8dc343121e54, result: NEW
[14:03:33]i:	 [Collecting changes in 3 VCS roots] VCS root 'Bitcoin ABC Staging': Remote process messages: Total 10 (delta 4), reused 0 (delta 0)
[14:03:33]i:	 [Collecting changes in 3 VCS roots] VCS root 'Bitcoin ABC Staging': git fetch ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging.git finished
[14:03:34]i:	 [Collecting changes in 3 VCS roots] Done collecting changes for 'Bitcoin ABC Staging': 4 changes collected 4 changes persisted, total time: 16s,808ms, persisting time: 141ms
[14:03:34] :	 [Collecting changes in 3 VCS roots] Compute revision for 'Bitcoin ABC Staging'
[14:03:34] :		 [Compute revision for 'Bitcoin ABC Staging'] Upper limit revision: f7e92633af622546362f06a254cd8dc343121e54
[14:03:34]i:		 [Compute revision for 'Bitcoin ABC Staging'] MaxModId = 20609
[14:03:34] :		 [Compute revision for 'Bitcoin ABC Staging'] Latest commit attached to build configuration: f7e92633af622546362f06a254cd8dc343121e54
[14:03:34] :		 [Compute revision for 'Bitcoin ABC Staging'] Computed revision: f7e92633af622546362f06a254cd8dc343121e54
[14:04:46] : The build is removed from the queue to be prepared for the start
[14:04:52]W: This build has not been started because some of the builds it depends on have failed
[14:04:52]E: Snapshot dependency "Automated Deployments / Bitcoin ABC Developer Tools / Bitcoin ABC Diff Base Image" failed

Snippet of first build failure:

Build 'Bitcoin-ABC / Diffs / Diff Testing' #8899, branch 'phabricator/diff/17466'
Started 2020-04-07 21:00:12 on 'agentvm210' by 'Phabricator Staging (phabricator-staging)'
Finished 2020-04-07 21:00:18 with status FAILURE 'Snapshot dependency failed: Automated Deployments / Bitcoin ABC Developer Tools / Bitcoin ABC Diff Base Image (new); exit code 127 (Step: Command Line) (new)'
VCS revisions: 'Bitcoin ABC Staging' (Git): f7e92633af622546362f06a254cd8dc343121e54 (branch 'refs/tags/phabricator/diff/17466')
TeamCity URL https://build.bitcoinabc.org/viewLog.html?buildId=34245&buildTypeId=BitcoinABC_BitcoinAbcStaging 
TeamCity server version is 2018.1.4 (build 58724), server timezone: UTC

[20:58:39]E: bt37 (1m:39s)
[20:58:39]i: TeamCity server version is 2018.1.4 (build 58724)
[20:58:39] : Collecting changes in 3 VCS roots (1s)
[20:58:39] :	 [Collecting changes in 3 VCS roots] VCS Root details
[20:58:39] :		 [VCS Root details] "abc-infrastructure" {instance id=34, parent internal id=11, parent id=AutomatedDeployments_BitcoinAbcDeveloperTools_AbcInfrastructure, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/infrastructure.git#refs/heads/master"}
[20:58:39] :		 [VCS Root details] "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc.git" {instance id=27, parent internal id=4, parent id=BitcoinABCGit, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc.git#refs/heads/master"}
[20:58:39] :		 [VCS Root details] "Bitcoin ABC Staging" {instance id=28, parent internal id=7, parent id=BitcoinABC_BitcoinAbcStaging, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging.git#refs/heads/master"}
[20:58:41]i:	 [Collecting changes in 3 VCS roots] Detecting changes in VCS root 'abc-infrastructure' (used in 'Bitcoin-ABC Infra Checkout', 'Build abcbot' and 1 other configuration)
[20:58:41]i:	 [Collecting changes in 3 VCS roots] Will collect changes for 'abc-infrastructure' starting from revision 5dab07fa43892d9eb477d34389e03e15a808ac45
[20:58:41]i:	 [Collecting changes in 3 VCS roots] Detecting changes in VCS root 'ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc.git' (used in 'Bitcoin ABC Master Base Image', 'Bitcoin-ABC Check Seeds' and 24 other configurations)
[20:58:41]i:	 [Collecting changes in 3 VCS roots] Will collect changes for 'ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc.git' starting from revision 1678967611ccb25b630c4d8b93d406d7d20af191
[20:58:41]i:	 [Collecting changes in 3 VCS roots] Detecting changes in VCS root 'Bitcoin ABC Staging' (used in 'Bitcoin ABC Diff Base Image', 'Bitcoin-ABC Gitian Diff Testing' and 7 other configurations)
[20:58:41]i:	 [Collecting changes in 3 VCS roots] Will collect changes for 'Bitcoin ABC Staging' starting from revision 8408a0cdcf4106fde3d093d4ed583b19fd7dbcdb
[20:58:41] :	 [Collecting changes in 3 VCS roots] Compute revision for 'Bitcoin ABC Staging'
[20:58:41] :		 [Compute revision for 'Bitcoin ABC Staging'] Upper limit revision: f7e92633af622546362f06a254cd8dc343121e54
[20:58:41]i:		 [Compute revision for 'Bitcoin ABC Staging'] MaxModId = 20611
[20:58:41] :		 [Compute revision for 'Bitcoin ABC Staging'] Latest commit attached to build configuration: f7e92633af622546362f06a254cd8dc343121e54
[20:58:41] :		 [Compute revision for 'Bitcoin ABC Staging'] Computed revision: f7e92633af622546362f06a254cd8dc343121e54
[21:00:04] : The build is removed from the queue to be prepared for the start
[21:00:12]W: The status of the build has been changed to failing because some of the builds it depends on have failed
[21:00:12]E: Snapshot dependency "Automated Deployments / Bitcoin ABC Developer Tools / Bitcoin ABC Diff Base Image" failed

Snippet of first build failure:

Build 'Bitcoin-ABC / Diffs / Diff Testing' #8900, branch 'phabricator/diff/17466'
Started 2020-04-07 21:05:21 on 'highperf5' by 'Phabricator Staging (phabricator-staging)'
Finished 2020-04-07 21:05:31 with status FAILURE 'Snapshot dependency failed: Automated Deployments / Bitcoin ABC Developer Tools / Bitcoin ABC Diff Base Image; exit code 127 (Step: Command Line)'
VCS revisions: 'Bitcoin ABC Staging' (Git): f7e92633af622546362f06a254cd8dc343121e54 (branch 'refs/tags/phabricator/diff/17466')
TeamCity URL https://build.bitcoinabc.org/viewLog.html?buildId=34248&buildTypeId=BitcoinABC_BitcoinAbcStaging 
TeamCity server version is 2018.1.4 (build 58724), server timezone: UTC

[21:04:08]E: bt37 (1m:23s)
[21:04:08]i: TeamCity server version is 2018.1.4 (build 58724)
[21:04:08] : Collecting changes in 3 VCS roots (1s)
[21:04:08] :	 [Collecting changes in 3 VCS roots] VCS Root details
[21:04:08] :		 [VCS Root details] "abc-infrastructure" {instance id=34, parent internal id=11, parent id=AutomatedDeployments_BitcoinAbcDeveloperTools_AbcInfrastructure, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/infrastructure.git#refs/heads/master"}
[21:04:08] :		 [VCS Root details] "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc.git" {instance id=27, parent internal id=4, parent id=BitcoinABCGit, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc.git#refs/heads/master"}
[21:04:08] :		 [VCS Root details] "Bitcoin ABC Staging" {instance id=28, parent internal id=7, parent id=BitcoinABC_BitcoinAbcStaging, description: "ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc-staging.git#refs/heads/master"}
[21:04:09]i:	 [Collecting changes in 3 VCS roots] Detecting changes in VCS root 'abc-infrastructure' (used in 'Bitcoin-ABC Infra Checkout', 'Build abcbot' and 1 other configuration)
[21:04:09]i:	 [Collecting changes in 3 VCS roots] Will collect changes for 'abc-infrastructure' starting from revision 5dab07fa43892d9eb477d34389e03e15a808ac45
[21:04:09]i:	 [Collecting changes in 3 VCS roots] Detecting changes in VCS root 'ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc.git' (used in 'Bitcoin ABC Master Base Image', 'Bitcoin-ABC Check Seeds' and 24 other configurations)
[21:04:09]i:	 [Collecting changes in 3 VCS roots] Will collect changes for 'ssh://vcs@reviews.bitcoinabc.org:2221/source/bitcoin-abc.git' starting from revision 1678967611ccb25b630c4d8b93d406d7d20af191
[21:04:09]i:	 [Collecting changes in 3 VCS roots] Detecting changes in VCS root 'Bitcoin ABC Staging' (used in 'Bitcoin ABC Diff Base Image', 'Bitcoin-ABC Gitian Diff Testing' and 7 other configurations)
[21:04:09]i:	 [Collecting changes in 3 VCS roots] Will collect changes for 'Bitcoin ABC Staging' starting from revision 8408a0cdcf4106fde3d093d4ed583b19fd7dbcdb
[21:04:09] :	 [Collecting changes in 3 VCS roots] Compute revision for 'Bitcoin ABC Staging'
[21:04:09] :		 [Compute revision for 'Bitcoin ABC Staging'] Upper limit revision: f7e92633af622546362f06a254cd8dc343121e54
[21:04:09]i:		 [Compute revision for 'Bitcoin ABC Staging'] MaxModId = 20611
[21:04:09] :		 [Compute revision for 'Bitcoin ABC Staging'] Latest commit attached to build configuration: f7e92633af622546362f06a254cd8dc343121e54
[21:04:09] :		 [Compute revision for 'Bitcoin ABC Staging'] Computed revision: f7e92633af622546362f06a254cd8dc343121e54
[21:05:20] : The build is removed from the queue to be prepared for the start
[21:05:21]W: The status of the build has been changed to failing because some of the builds it depends on have failed
[21:05:21]E: Snapshot dependency "Automated Deployments / Bitcoin ABC Developer Tools / Bitcoin ABC Diff Base Image" failed
jasonbcox requested changes to this revision.Apr 8 2020, 00:02
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
test/CMakeLists.txt
134 ↗(On Diff #17466)

Isn't ADDITIONAL_CLEAN_FILES a list? You could make this one liner if my understanding of their docs are correct.

This revision now requires changes to proceed.Apr 8 2020, 00:02
This revision is now accepted and ready to land.Apr 8 2020, 17:19