-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Windows XP 32bit and/or Windows 7 64bit and/or Windows Server 2008-R2 64bit.
Separate master & slaves.
The AccuRev plugin sometimes decides that there are "Changes found" even if there aren't any.
i.e. I promoted some changes, the AccuRev polling detected the new transaction and triggered a build then, after it's completed that build, it claims to find that there are no new transactions, but triggers another build anyway.
Example polling log from the "correct" poll was:
Started on 09-Mar-2011 18:52:37 Authenticating with Accurev server... [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" login -H accurev.i2inc.org:5050 Build ******** Authentication completed successfully. Last build on Wed Mar 09 18:05:03 GMT 2011 [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" show -H accurev.i2inc.org:5050 -fx -p MyProj_ streams [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k add No transactions of type [add] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k chstream No transactions of type [chstream] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k co No transactions of type [co] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k defcomp No transactions of type [defcomp] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k defunct No transactions of type [defunct] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k keep No transactions of type [keep] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k mkstream No transactions of type [mkstream] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k move No transactions of type [move] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k promote [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k purge Last valid trans id [81472] date [Wed Mar 09 18:46:36 GMT 2011] author [PeterD] action [promote] msg [Renamed Foo into Bar. Done. Took 25 sec Changes found
This resulted in a build starting at 09-Mar-2011 18:53:45, which completed successfully at 19:09:15:
18:53:45 Started by an SCM change 18:53:45 Started by an SCM change 18:53:45 Started by an SCM change 18:53:45 Started by an SCM change 18:53:45 Started by an SCM change 18:53:45 Started by an SCM change 18:53:45 Started by an SCM change 18:53:45 Building remotely on uk-apollo-bld16 18:53:46 Purging workspace... ... 18:55:03 Last valid trans id [81472] date [Wed Mar 09 18:46:36 GMT 2011] author [PeterD] action [promote] msg [GradeDimension is now called GradeType. 18:55:05 [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -a -s MyProj_UI -t "2011/03/09 18:53:45-2011/03/09 18:05:03" 18:55:06 Changelog calculated successfully. ... 19:09:15 Finished: SUCCESS
If one looks at the "Changes" for that build, one is told about Transaction 81472, which contains the changes that triggered the build - so far, so good.
However, the polling log for the subsequent build was:
Started on 09-Mar-2011 18:53:37 Authenticating with Accurev server... [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" login -H accurev.i2inc.org:5050 Build ******** Authentication completed successfully. Last build on Wed Mar 09 18:05:03 GMT 2011 [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" show -H accurev.i2inc.org:5050 -fx -p MyProj_ streams [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k add No transactions of type [add] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k chstream No transactions of type [chstream] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k co No transactions of type [co] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k defcomp No transactions of type [defcomp] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k defunct No transactions of type [defunct] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k keep No transactions of type [keep] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k mkstream No transactions of type [mkstream] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k move No transactions of type [move] in stream [MyProj_UI] [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k promote [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -p MyProj_ -s MyProj_UI -t now.1 -k purge Last valid trans id [81472] date [Wed Mar 09 18:46:36 GMT 2011] author [PeterD] action [promote] msg [Renamed Foo into Bar. Done. Took 35 sec Changes found
which, as you can see, found no further changes but still declared "Changes found".
If one looks at the "Changes" for that build, one is (correctly) told "No changes", but it triggered another build anyway, starting at 09-Mar-2011 19:09:15, which completed successfully at 19:23:10:
19:09:15 Started by upstream project "h020_MyProj_Service" build number 1548 19:09:15 Started by an SCM change 19:09:15 Building remotely on uk-apollo-bld11 19:09:15 Purging workspace... ... 19:10:57 No last transaction found for stream [MyProj_] 19:11:00 [h030_MyProj_UI] $ "C:\Program Files\AccuRev\bin\accurev.exe" hist -H accurev.i2inc.org:5050 -fx -a -s MyProj_UI -t "2011/03/09 19:09:15-2011/03/09 18:53:45" 19:11:00 Changelog calculated successfully. ... 19:23:10 Finished: SUCCESS
It's as if the first build is being treated as if it happened before the "h020_MyProj_Service" build (which sits upstream), despite it happening afterwards, and claiming to have found changes ("Started by an SCM change") despite there being no further changes.
i.e. the polling and the building don't seem to be very well coordinated...
(and, needless to say, it seems to do this most often on slow builds when one is in a hurry, delaying the downstream builds)
- is related to
-
JENKINS-9124 AccuRev plugin repeatedly restarts "quiet period"
- Resolved