Thread (8 messages) 8 messages, 3 authors, 2019-11-01

RE: [BUG] git 2.24.0-rc1 t0500 on NonStop in Jenkins

From: Randall S. Becker <hidden>
Date: 2019-10-28 14:15:42

On October 28, 2019 9:07 AM, Johannes Schindelin wrote:
On Thu, 24 Oct 2019, Randall S. Becker wrote:
quoted
We are running the regression suite (as we always have) in Jenkins and
are finding that t0500 is basically a complete failure. I cannot
recreate it using bash where we have a real terminal, but without one,
the t0500 consistently fails. I wonder whether any other platform is
experiencing the same situation.
This says that a test failed, but it lacks the verbose log, so there is
little else
left to the willing reader than wild guesses that are almost certainly
completely missing the culprit.

In other words: verbose log, please. That is, the output of the test
script
when run with `-i -v -x` (or `-i -V -x` in which case you will want to
analyze the
contents of `t/test-results/t0500-progress-display.out` and if that does
not
help, paste it into a reply).
Here is the verbose output from subtest 2 that failed. Sorry it took so
long, we had to arrange a different Jenkins job to test this in isolation.
Format issue?

Cheers,
Randall

expecting success of 0500.2 'progress display with total': 
	cat >expect <<-\EOF &&
	Working hard:  33% (1/3)<CR>
	Working hard:  66% (2/3)<CR>
	Working hard: 100% (3/3)<CR>
	Working hard: 100% (3/3), done.
	EOF

	cat >in <<-\EOF &&
	progress 1
	progress 2
	progress 3
	EOF
	test-tool progress --total=3 "Working hard" <in 2>stderr &&

	show_cr <stderr >out &&
	test_i18ncmp expect out

+ cat
+ 1> expect 0< /tmp/sh1811939370.4
+ cat
+ 1> in 0< /tmp/sh1811939370.5
+ test-tool progress --total=3 Working hard
+ 0< in 2> stderr
+ show_cr
+ 0< stderr 1> out
+ test_i18ncmp expect out
--- expect	2019-10-28 14:11:40 +0000
+++ out	2019-10-28 14:11:41 +0000
@@ -1,4 +1,2 @@
-Working hard:  33% (1/3)<CR>
-Working hard:  66% (2/3)<CR>
-Working hard: 100% (3/3)<CR>
-Working hard: 100% (3/3), done.
+Working hard:   0% (1/12884901888)<CR>
+Working hard:   0% (3/12884901888), done.
error: last command exited with $?=1
not ok 2 - progress display with total
#	
#		cat >expect <<-\EOF &&
#		Working hard:  33% (1/3)<CR>
#		Working hard:  66% (2/3)<CR>
#		Working hard: 100% (3/3)<CR>
#		Working hard: 100% (3/3), done.
#		EOF
#	
#		cat >in <<-\EOF &&
#		progress 1
#		progress 2
#		progress 3
#		EOF
#		test-tool progress --total=3 "Working hard" <in 2>stderr &&
#	
#		show_cr <stderr >out &&
#		test_i18ncmp expect out
#	
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help