Skip to content
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

testing: Windows functional tests failing intermittently #1869

Closed
ubhattacharjya opened this issue Feb 19, 2019 · 2 comments
Closed

testing: Windows functional tests failing intermittently #1869

ubhattacharjya opened this issue Feb 19, 2019 · 2 comments

Comments

@ubhattacharjya
Copy link
Contributor

ubhattacharjya commented Feb 19, 2019

Summary

The failing tests on windows are the following:

TestV3TaskEndpointDefaultNetworkMode
TestV3TaskEndpointTags
TestTaskIamRolesDefaultNetworkMode
TestOOMContainer

Description

Expected Behavior

Observed Behavior

Environment Details

Supporting Log Snippets

=== RUN   TestTaskIamRolesDefaultNetworkMode
--- FAIL: TestTaskIamRolesDefaultNetworkMode (71.65s)
	utils_windows.go:87: Registry location test_path_1550543200333825500
	utils_windows.go:97: datadir C:\Users\ADMINI~1\AppData\Local\Temp\amazon-ecs-agent\ftest_temp\ecs_integ_testdata961815368\data
	utils_windows.go:105: Created directory C:\Users\ADMINI~1\AppData\Local\Temp\amazon-ecs-agent\ftest_temp\ecs_integ_testdata961815368 to store test data in
	utils.go:175: Found agent metadata: {Cluster:ecs-functional-tests ContainerInstanceArn:0xc0424ef1e0 Version:Amazon ECS Agent - v1.25.2 (*UNKNOWN)}
	utils.go:196: Task definition: ecsftest-iamrole-test-86b074466104c867ca8c9f87c5759030:1
	utils.go:216: Started task: arn:aws:ecs:us-west-2:535959970326:task/5f579266-56b4-427f-898a-9912265f9267
	functionaltests_windows_test.go:181: Container exit code non-zero: 1
	utils.go:183: Preserving test dir for failed test C:\Users\ADMINI~1\AppData\Local\Temp\amazon-ecs-agent\ftest_temp\ecs_integ_testdata961815368
=== RUN   TestV3TaskEndpointDefaultNetworkMode
--- FAIL: TestV3TaskEndpointDefaultNetworkMode (76.86s)
	utils_windows.go:87: Registry location test_path_1550543272213645900
	utils_windows.go:97: datadir C:\Users\ADMINI~1\AppData\Local\Temp\amazon-ecs-agent\ftest_temp\ecs_integ_testdata168872455\data
	utils_windows.go:105: Created directory C:\Users\ADMINI~1\AppData\Local\Temp\amazon-ecs-agent\ftest_temp\ecs_integ_testdata168872455 to store test data in
	utils.go:175: Found agent metadata: {Cluster:ecs-functional-tests ContainerInstanceArn:0xc0423e4f20 Version:Amazon ECS Agent - v1.25.2 (*UNKNOWN)}
	utils.go:196: Task definition: ecsftest-v3-task-endpoint-validator-windows-fd72a556f63eeb173fcede3138666d3d:1
	utils.go:216: Started task: arn:aws:ecs:us-west-2:535959970326:task/00b863ea-2415-432b-a047-371bd7e5fc8e
	functionaltests_test.go:747: 
			Error Trace:	functionaltests_test.go:747
			            				functionaltests_windows_test.go:186
			Error:      	Not equal: 
			            	expected: 42
			            	actual  : 1
			Test:       	TestV3TaskEndpointDefaultNetworkMode
			Messages:   	Expected exit code of 42; got 1
	utils.go:183: Preserving test dir for failed test C:\Users\ADMINI~1\AppData\Local\Temp\amazon-ecs-agent\ftest_temp\ecs_integ_testdata168872455
=== RUN   TestV3TaskEndpointTags
--- FAIL: TestV3TaskEndpointTags (78.27s)
	utils_windows.go:87: Registry location test_path_1550543349466524300
	utils_windows.go:97: datadir C:\Users\ADMINI~1\AppData\Local\Temp\amazon-ecs-agent\ftest_temp\ecs_integ_testdata755476922\data
	utils_windows.go:105: Created directory C:\Users\ADMINI~1\AppData\Local\Temp\amazon-ecs-agent\ftest_temp\ecs_integ_testdata755476922 to store test data in
	utils.go:175: Found agent metadata: {Cluster:ecs-functional-tests ContainerInstanceArn:0xc0422d9020 Version:Amazon ECS Agent - v1.25.2 (*UNKNOWN)}
	utils.go:196: Task definition: ecsftest-v3-task-endpoint-validator-windows-abfbb20ae8e82ac486c07fd398e8d20c:1
	utils.go:216: Started task: arn:aws:ecs:us-west-2:535959970326:task/410e2d13-b851-4273-a4db-2407425f2ad5
	functionaltests_test.go:949: 
			Error Trace:	functionaltests_test.go:949
			            				functionaltests_windows_test.go:190
			Error:      	Not equal: 
			            	expected: 42
			            	actual  : 1
			Test:       	TestV3TaskEndpointTags
			Messages:   	Expected exit code of 42; got 1
	utils.go:183: Preserving test dir for failed test C:\Users\ADMINI~1\AppData\Local\Temp\amazon-ecs-agent\ftest_temp\ecs_integ_testdata755476922
@yhlee-aws
Copy link
Contributor

#1919 is fixing TestOOMContainer

@fenxiong
Copy link
Contributor

fenxiong commented Mar 7, 2019

#1919 fixes this. closing

@fenxiong fenxiong closed this as completed Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants