openwhisk-wskdeploy icon indicating copy to clipboard operation
openwhisk-wskdeploy copied to clipboard

integration test on managed deployment causes random build failure

Open pritidesai opened this issue 5 years ago • 3 comments

https://github.com/apache/incubator-openwhisk-wskdeploy/tree/master/tests/src/integration/managed-deployment has many different test cases in one single integration test. It causes random build failures, please break it down into multiple different tests to avoid such build failures. I will add more details as I find them with the exact error message.

pritidesai avatar Sep 12 '18 01:09 pritidesai

--- FAIL: TestManagedDeployment (5.11s)
	assertions.go:256: 
			Error Trace:	managed-deployment_test.go:37
			Error:      	Not equal: 
			            	expected: <nil>(<nil>)
			            	actual  : *wskderrors.CommandError(&wskderrors.CommandError{WskDeployBaseErr:wskderrors.WskDeployBaseErr{ErrorType:"ERROR_COMMAND_FAILED", FileName:"wskdeploy.go", LineNum:128, Message:"Command: [wskdeploy]: Error: Deployment did not complete sucessfully. Run `wskdeploy undeploy` to remove partially deployed assets.\nError: The requested resource does not exist. (code d35c29029f88325a5c103e8763f36181)", MessageFormat:"%s: [%s]: %s"}, Command:"wskdeploy"})
			Test:       	TestManagedDeployment
			Messages:   	Failed to deploy based on the manifest and deployment files.

pritidesai avatar Sep 12 '18 19:09 pritidesai

Reopening it as its still failing at TestManagedWithDependency

pritidesai avatar Sep 13 '18 22:09 pritidesai

Failed again at TestManagedDeploymentWithMultipleDependency

pritidesai avatar Sep 13 '18 22:09 pritidesai