Subject: | Branch selected was either not smoked or reported under older branch's name |
Date: | Wed, 27 Mar 2019 16:26:40 -0400 |
To: | bug-Test-Smoke [...] rt.cpan.org |
From: | James E Keenan <jkeenan [...] pobox.com> |
Today on a FreeBSD-11.2 host from which I have been submitting smoke
tests of the Perl 5 core distribution for at least eight months I had a
situation where the branch I designated for smoking was not smoked;
another branch was smoked instead.
When I smoke a branch other than blead I simply type the name of the
non-blead branch into the first record in 'smokecurrent.gitbranch',
thereby pushing all other records in that file down one line.
At 14:14 UTC I modified 'smokecurrent.gitbranch' to place
'smoke-me/khw-locale' in the first position.
#####
[p5smoke] $ l smokecurrent.gitbranch
-rw-r--r-- 1 jkeenan jkeenan 2140 Mar 27 14:14 smokecurrent.gitbranch
[p5smoke] $ head -n 5 smokecurrent.gitbranch
blead
smoke-me/jkeenan/ntyni/133928-posix-2nd
blead
smoke-me/jkeenan/ntyni/133928-posix
#####
I then resumed a screen session in which I called 'sh
./smokecurrent.sh'. This particular smoke configuration is quite
thorough, so I did not check on its progress for the next 5 hours. When
I checked just now, I discovered to my surprise that
'smoke-me/khw-locale' had not been smoked. Instead,
'smoke-me/jkeenan/ntyni/133928-posix-2nd' was smoked -- despite being
the *third* record in smokecurrent.gitbranch. (I originally smoked this
branch on March 16; see http://perl5.test-smoke.org/report/82582. All
smoke runs between March 16 and March 26 were done on blead.)
I'm attaching a file,
'febb9d45.freebsd-11.20190327.smokecurrent.reduced.log', which is
smokecurrent.log with the data from the individual smoke passes stripped
out. (They were all PASS, so the results are not at issue here.)
In that file, note that, as expected, 'smoke-me/khw-locale' is the
branch cited at lines 3, 6, 10 and 16, as expected. At line 19,
'febb9d45da2878c49f62aae8212fa4d4c13d883c' is cited as the 'patchlevel'
in the 'perl-current/' directory. Commit febb9d45 was HEAD of the
'smoke-me/khw-locale' branch at that point in time. This commit cited
again at line 29.
However, at line 30 we suddenly see a different, older branch being
cited: "Smoking branch smoke-me/jkeenan/ntyni/133928-posix-2nd". That
branch is what gets cited in the web report
(http://perl5.test-smoke.org/report/83471), even though febb9d45 is the
SHA cited.
Checking on the two repositories which are part of this Test-Smoke rig,
I see that 'git-perl' is in the intended branch but 'perl-current' is in
the non-intended, older branch:
#####
[git-perl] $ gitcurr
smoke-me/khw-locale
[git-perl] $ cd ../perl-current/
[perl-current] $ gitcurr
'smoke-me/jkeenan/ntyni/133928-posix-2nd
#####
('gitcurr' is an alias for 'git branch' grepped for the current branch
-- that with the asterisk.)
However, when I call 'git show --format=fuller' in each of these two
repositories, I get exactly the same output! (See attachments.)
Additional data: The name of the requested branch shows up in the *.log
file for this run. The name of the non-requested branch shows up in the
*.jsn, *.log, *.out and *.rpt files for this run.
#####
[smokecurrent] $ grep -l -E 'khw' *febb9d45*
logfebb9d45da2878c49f62aae8212fa4d4c13d883c.log
[smokecurrent] $ grep -l -E 'ntyni' *febb9d45*
jsnfebb9d45da2878c49f62aae8212fa4d4c13d883c.jsn
logfebb9d45da2878c49f62aae8212fa4d4c13d883c.log
outfebb9d45da2878c49f62aae8212fa4d4c13d883c.out
rptfebb9d45da2878c49f62aae8212fa4d4c13d883c.rpt
#####
It is possible that the branch I requested to be smoked,
'smoke-me/khw-locale', was indeed smoked -- but if so it was ultimately
recorded as being the result of a smoke of the
'smoke-me/jkeenan/ntyni/133928-posix-2nd' branch. And it is under the
latter, non-intended name by which this smoke-test result is catalogued
at http://perl5.test-smoke.org/search.
So, either I've wasted 4+ hours of server time smoking the code of an
older branch, or I've spent 4+ hours testing the correct branch but it's
not being reported under that branch's name. Which is it?
Can you explain why, starting at line 30 of the log file, the wrong
branch name is being used?
Thank you very much.
Jim Keenan
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.