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

Potential flaky test #20014

Open
danxmoran opened this issue Nov 12, 2020 · 1 comment
Open

Potential flaky test #20014

danxmoran opened this issue Nov 12, 2020 · 1 comment
Labels
area/2.x OSS 2.0 related issues and PRs flaky test This is a flaky test. These issues should be groomed at the next opportunity kind/bug

Comments

@danxmoran
Copy link
Contributor

Saw this test failure in CI:

--- FAIL: TestLauncher_Pkger (3.93s)
    --- FAIL: TestLauncher_Pkger/managing_pkg_lifecycle_with_stacks (1.98s)
        --- FAIL: TestLauncher_Pkger/managing_pkg_lifecycle_with_stacks/apply_a_pkg_with_a_stack_and_associations (0.47s)
            --- FAIL: TestLauncher_Pkger/managing_pkg_lifecycle_with_stacks/apply_a_pkg_with_a_stack_and_associations/should_unassociate_resources_from_label_when_removing_association_in_pkg (0.08s)
                pkger_test.go:877: 
                    	Error Trace:	pkger_test.go:704
                    	            				pkger_test.go:804
                    	            				pkger_test.go:877
                    	Error:      	Received unexpected error:
                    	            	resource_type="label_mapping" err="failed to apply resource"
                    	            		metadata_name="telegrafs:069ba262537e2000:069ba26252790000" err_msg="Cannot add label, label already exists on resource"
                    	Test:       	TestLauncher_Pkger/managing_pkg_lifecycle_with_stacks/apply_a_pkg_with_a_stack_and_associations/should_unassociate_resources_from_label_when_removing_association_in_pkg
    --- FAIL: TestLauncher_Pkger/apply_a_template_of_all_new_resources (0.43s)
        --- FAIL: TestLauncher_Pkger/apply_a_template_of_all_new_resources/pkg_with_same_bkt-var-label_does_nto_create_new_resources_for_them (0.19s)
            pkger_test.go:3238: 
                	Error Trace:	pkger_test.go:3238
                	Error:      	Received unexpected error:
                	            	resource_type="label_mapping" err="failed to apply resource"
                	            		metadata_name="telegrafs:069ba2642bbe2000:069ba263f4390001" err_msg="Cannot add label, label already exists on resource"
                	Test:       	TestLauncher_Pkger/apply_a_template_of_all_new_resources/pkg_with_same_bkt-var-label_does_nto_create_new_resources_for_them

I couldn't reproduce it locally

@danxmoran danxmoran added area/2.x OSS 2.0 related issues and PRs kind/bug area/tests flaky test This is a flaky test. These issues should be groomed at the next opportunity and removed area/tests labels Nov 12, 2020
@danxmoran danxmoran self-assigned this Nov 18, 2020
@danxmoran
Copy link
Contributor Author

The entire TestLauncher_Pkger suite was skipped on the 2.0 branch in #20089. I left it running in master (for now) because it contains a large number of tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/2.x OSS 2.0 related issues and PRs flaky test This is a flaky test. These issues should be groomed at the next opportunity kind/bug
Projects
None yet
Development

No branches or pull requests

1 participant