Skip to content

cluster: use WaitConditionNextExit#60781

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:acceptance-docker-maybe-fix
Feb 19, 2021
Merged

cluster: use WaitConditionNextExit#60781
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:acceptance-docker-maybe-fix

Conversation

@tbg
Copy link
Copy Markdown
Member

@tbg tbg commented Feb 19, 2021

There is a chance that this will address an issue that causes spurious
failures on CI, where it looks like we're janking the file system out
from under a running process. For context, see:

#58955

Release note: None

There is a chance that this will address an issue that causes spurious
failures on CI, where it looks like we're janking the file system out
from under a running process. For context, see:

cockroachdb#58955

Release note: None
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@tbg
Copy link
Copy Markdown
Member Author

tbg commented Feb 19, 2021

No idea what this is but it's not this PR:

@postamar git blame shows you as touching this last, is this something you could route?

------- Stdout: -------
=== RUN   TestDescriptorRepair/_SELECT_crdb_internal.unsafe_upsert_descriptor(59,_crdb_internal.json_to_pb('cockroach.sql.sqlbase.Descriptor',__'{___"table":_{_____"columns":_[_{_"id":_1,_"name":_"i",_"type":_{_"family":_"IntFamily",_"oid":_20,_"width":_64_}_}_],_____"families":_[_______{_________"columnIds":_[_1_],_________"columnNames":_[_"i"_],_________"defaultColumnId":_0,_________"id":_0,_________"name":_"primary"_______}_____],_____"formatVersion":_3,_____"id":_59,_____"name":_"foo",_____"nextColumnId":_2,_____"nextFamilyId":_1,_____"nextIndexId":_2,_____"nextMutationId":_1,_____"parentId":_52,_____"primaryIndex":_{_______"columnDirections":_[_"ASC"_],_______"columnIds":_[_1_],_______"columnNames":_[_"i"_],_______"id":_1,_______"name":_"primary",_______"type":_"FORWARD",_______"unique":_true,_______"version":_1_____},_____"privileges":_{_______"owner_proto":_"admin",_______"users":_[_________{_"privileges":_2,_"user_proto":_"admin"_},_________{_"privileges":_2,_"user_proto":_"root"_},_________{_"privile
ges":_8,_"user_proto":_"newuser1"_}_______],_______"version":_1_____},_____"state":_"PUBLIC",_____"unexposedParentSchemaId":_29,_____"version":_1___}_}_'))_
    repair_test.go:447: 
        	Error Trace:	repair_test.go:447
        	Error:      	Received unexpected error:
        	            	pq: setting updated but timed out waiting to read new value
        	Test:       	TestDescriptorRepair/_SELECT_crdb_internal.unsafe_upsert_descriptor(59,_crdb_internal.json_to_pb('cockroach.sql.sqlbase.Descriptor',__'{___"table":_{_____"columns":_[_{_"id":_1,_"name":_"i",_"type":_{_"family":_"IntFamily",_"oid":_20,_"width":_64_}_}_],_____"families":_[_______{_________"columnIds":_[_1_],_________"columnNames":_[_"i"_],_________"defaultColumnId":_0,_________"id":_0,_________"name":_"primary"_______}_____],_____"formatVersion":_3,_____"id":_59,_____"name":_"foo",_____"nextColumnId":_2,_____"nextFamilyId":_1,_____"nextIndexId":_2,_____"nextMutationId":_1,_____"parentId":_52,_____"primaryIndex":_{_______"columnDirections":_[_"ASC"_],_______"columnIds":_[_1_],_______"columnNames":_[_"i"_],_______"id":_1,_______"name":_"primary",_______"type":_"FORWARD",_______"unique":_true,_______"version":_1_____},_____"privileges":_{_______"owner_proto":_"admin",_______"users":_[_________{_"privileges":_2,_"user_proto":_"admin"_},_________{_"privileges":_2,_"user_proto":_"root"_},_______
__{_"privileges":_8,_"user_proto":_"newuser1"_}_______],_______"version":_1_____},_____"state":_"PUBLIC",_____"unexposedParentSchemaId":_29,_____"version":_1___}_}_'))_
    --- FAIL: TestDescriptorRepair/_SELECT_crdb_internal.unsafe_upsert_descriptor(59,_crdb_internal.json_to_pb('cockroach.sql.sqlbase.Descriptor',__'{___"table":_{_____"columns":_[_{_"id":_1,_"name":_"i",_"type":_{_"family":_"IntFamily",_"oid":_20,_"width":_64_}_}_],_____"families":_[_______{_________"columnIds":_[_1_],_________"columnNames":_[_"i"_],_________"defaultColumnId":_0,_________"id":_0,_________"name":_"primary"_______}_____],_____"formatVersion":_3,_____"id":_59,_____"name":_"foo",_____"nextColumnId":_2,_____"nextFamilyId":_1,_____"nextIndexId":_2,_____"nextMutationId":_1,_____"parentId":_52,_____"primaryIndex":_{_______"columnDirections":_[_"ASC"_],_______"columnIds":_[_1_],_______"columnNames":_[_"i"_],_______"id":_1,_______"name":_"primary",_______"type":_"FORWARD",_______"unique":_true,_______"version":_1_____},_____"privileges":_{_______"owner_proto":_"admin",_______"users":_[_________{_"privileges":_2,_"user_proto":_"admin"_},_________{_"privileges":_2,_"user_proto":_"root"_},_________{_"pri
vileges":_8,_"user_proto":_"newuser1"_}_______],_______"version":_1_____},_____"state":_"PUBLIC",_____"unexposedParentSchemaId":_29,_____"version":_1___}_}_'))_ (10.42s)

bors r=rickystewart

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 19, 2021

Build failed:

@tbg
Copy link
Copy Markdown
Member Author

tbg commented Feb 19, 2021 via email

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 19, 2021

Build failed (retrying...):

@tbg
Copy link
Copy Markdown
Member Author

tbg commented Feb 19, 2021 via email

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 19, 2021

Build succeeded:

@craig craig bot merged commit 98f1479 into cockroachdb:master Feb 19, 2021
@postamar
Copy link
Copy Markdown

Thanks for reporting this. This failure was ultimately caused by SET CLUSTER SETTING timing out and throwing an error, and the proximal cause is that I added assertions on the statement error in the descriptor repair test when previously there were none. I'll file an issue.

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

Successfully merging this pull request may close these issues.

4 participants