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

[test] TestBackup integration test fails #5413

Closed
csweichel opened this issue Aug 27, 2021 · 5 comments · Fixed by #5617
Closed

[test] TestBackup integration test fails #5413

csweichel opened this issue Aug 27, 2021 · 5 comments · Fixed by #5617
Assignees

Comments

@csweichel
Copy link
Contributor

csweichel commented Aug 27, 2021

Bug description

This is NOT a false positive, the backup doesn't actually succeed:

{"instanceId":"d2810fa4-3f27-4fc8-b2d8-6217d4114061","level":"debug","message":"created temp file for workspace backup upload","serviceContext":{"service":"ws-daemon","version":""},"severity":"DEBUG","size":1536,"time":"2021-08-27T07:27:23Z","userId":"builtin-user-workspace-probe-0000000","workspaceId":"aqua-hamster-kws18kc8"}
{"@type":"type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent","error":"open /tmp/wsbkp-d2810fa4-3f27-4fc8-b2d8-6217d4114061-414450780.tar: no such file or directory","instanceId":"d2810fa4-3f27-4fc8-b2d8-6217d4114061","level":"error","message":"op failed","op":"upload layer","serviceContext":{"service":"ws-daemon","version":""},"severity":"ERROR","time":"2021-08-27T07:27:23Z","userId":"builtin-user-workspace-probe-0000000","workspaceId":"aqua-hamster-kws18kc8"}
{"backoff":"1s","instanceId":"d2810fa4-3f27-4fc8-b2d8-6217d4114061","level":"debug","message":"retrying op after backoff","op":"upload layer","serviceContext":{"service":"ws-daemon","version":""},"severity":"DEBUG","time":"2021-08-27T07:27:23Z","userId":"builtin-user-workspace-probe-0000000","workspaceId":"aqua-hamster-kws18kc8"}
{"@type":"type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent","error":"open /tmp/wsbkp-d2810fa4-3f27-4fc8-b2d8-6217d4114061-414450780.tar: no such file or directory","instanceId":"d2810fa4-3f27-4fc8-b2d8-6217d4114061","level":"error","message":"op failed","op":"upload layer","serviceContext":{"service":"ws-daemon","version":""},"severity":"ERROR","time":"2021-08-27T07:27:24Z","userId":"builtin-user-workspace-probe-0000000","workspaceId":"aqua-hamster-kws18kc8"}
{"backoff":"2s","instanceId":"d2810fa4-3f27-4fc8-b2d8-6217d4114061","level":"debug","message":"retrying op after backoff","op":"upload layer","serviceContext":{"service":"ws-daemon","version":""},"severity":"DEBUG","time":"2021-08-27T07:27:24Z","userId":"builtin-user-workspace-probe-0000000","workspaceId":"aqua-hamster-kws18kc8"}
{"@type":"type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent","error":"open /tmp/wsbkp-d2810fa4-3f27-4fc8-b2d8-6217d4114061-414450780.tar: no such file or directory","instanceId":"d2810fa4-3f27-4fc8-b2d8-6217d4114061","level":"error","message":"op failed","op":"upload layer","serviceContext":{"service":"ws-daemon","version":""},"severity":"ERROR","time":"2021-08-27T07:27:26Z","userId":"builtin-user-workspace-probe-0000000","workspaceId":"aqua-hamster-kws18kc8"}
{"@type":"type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent","error":"cannot upload workspace content:\n    github.com/gitpod-io/gitpod/ws-daemon/pkg/content.(*WorkspaceService).uploadWorkspaceContent\n        github.com/gitpod-io/gitpod/ws-daemon/pkg/content/service.go:493\n  - open /tmp/wsbkp-d2810fa4-3f27-4fc8-b2d8-6217d4114061-414450780.tar: no such file or directory","instanceId":"d2810fa4-3f27-4fc8-b2d8-6217d4114061","level":"error","message":"final backup failed","serviceContext":{"service":"ws-daemon","version":""},"severity":"ERROR","time":"2021-08-27T07:27:26Z","userId":"builtin-user-workspace-probe-0000000","workspaceId":"aqua-hamster-kws18kc8"}

Steps to reproduce

In a core-dev context:

cd test
go test -v -run TestBackup ./...

Expected behavior

The test should succeed

Example repository

No response

Anything else?

Requires the changes of #5407 to be merged before the test even gets this far.

@csweichel csweichel added component: ws-daemon team: workspace Issue belongs to the Workspace team labels Aug 27, 2021
@csweichel
Copy link
Contributor Author

/schedule

@roboquat
Copy link
Contributor

@csweichel: Issue scheduled in the workspace team (WIP: 0)

In response to this:

/schedule

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@csweichel
Copy link
Contributor Author

/assign

@rl-gitpod
Copy link
Contributor

/assign

@rl-gitpod
Copy link
Contributor

Note that #5407 appears to have fixed this issue, however it does not pass every time (1/10 👋 ) as the second workspace start times out, with the workspace never becoming marked as ready, it stays in WorkspacePhase_INITIALIZING. I'm currently rabbit-holing on why this is the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants