Skip to content

Fix flaky t5504 (in test case 9 - push with transfer.fsckobjects) #258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dscho opened this issue Jun 4, 2019 · 0 comments
Open

Fix flaky t5504 (in test case 9 - push with transfer.fsckobjects) #258

dscho opened this issue Jun 4, 2019 · 0 comments

Comments

@dscho
Copy link
Member

dscho commented Jun 4, 2019

This seems to hit the linux-gcc job the most, maybe in the part where it runs the test suite with all kinds of GIT_TEST_* variables set to non-default settings.

See e.g. Attempt #1 of this linux-gcc run:

expecting success: 
	rm -rf dst &&
	git init dst &&
	(
		cd dst &&
		git config transfer.fsckobjects true
	) &&
	test_must_fail git push --porcelain dst master:refs/heads/test >act &&
	test_cmp exp act

+ rm -rf dst
+ git init dst
Initialized empty Git repository in /home/vsts/work/1/s/t/trash directory.t5504-fetch-receive-strict/dst/.git/
+ cd dst
+ git config transfer.fsckobjects true
+ test_must_fail git push --porcelain dst master:refs/heads/test
+ _test_ok=
+ git push --porcelain dst master:refs/heads/test
remote: fatal: object of unexpected type        
error: remote unpack failed: unpack-objects abnormal exit
error: failed to push some refs to 'dst'
+ exit_code=1
+ test 1 -eq 0
+ test_match_signal 13 1
+ test 1 = 141
+ test 1 = 269
+ return 1
+ test 1 -gt 129
+ test 1 -eq 127
+ test 1 -eq 126
+ return 0
+ test_cmp exp act
+ diff -u exp act
--- exp	2019-06-03 20:37:40.928834316 +0000
+++ act	2019-06-03 20:37:41.064834272 +0000
@@ -1,2 +0,0 @@
-To dst
-!	refs/heads/master:refs/heads/test	[remote rejected] (unpacker error)
error: last command exited with $?=1
not ok 9 - push with transfer.fsckobjects
#	
#		rm -rf dst &&
#		git init dst &&
#		(
#			cd dst &&
#			git config transfer.fsckobjects true
#		) &&
#		test_must_fail git push --porcelain dst master:refs/heads/test >act &&
#		test_cmp exp act
#	
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant