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

roachtest: sqlsmith CompleteIngestionHook nil pointer #60576

Closed
cockroach-teamcity opened this issue Feb 15, 2021 · 3 comments
Closed

roachtest: sqlsmith CompleteIngestionHook nil pointer #60576

cockroach-teamcity opened this issue Feb 15, 2021 · 3 comments
Assignees
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked.

Comments

@cockroach-teamcity
Copy link
Member

(roachtest).sqlsmith/setup=rand-tables/setting=no-ddl failed on master@5971ecb9dd1a25c81cd6012d6be1ff922802eae5:

					FROM
						(
							VALUES
								(
									'0107000020E6100000090000000102000020E610000004000000871AD0604E2054C0F8EBEEC7A7A234C018DB5F301B9F65C0B07786E4E86C54C0F47BC047A4EA46C0E02976B5A44B21C0C0036D1E24A33840E28AADCA03CE50C00103000020E610000001000000090000001E23FE11CDA852C0D11D27D2768941C0E075342350A81FC0923658BFA4F151C0BC5A1D05FA4F6040137677885C7352C08C723DA3F83C6440187285CD1D584540000D5ED2F7795F4040A1264E60504640C075D2CDC20C02400C24B6888D9A4C40986FA0F4340A5DC0400BC9D38B7F4F406E7BBC1EAFD150C0504A3CDB134511401E23FE11CDA852C0D11D27D2768941C00102000020E61000000B000000B249CB15AF8760C0004D082A333F11C0B77C55FAC75160C03032A51BBE8938C0D3EB689EB4A051C0DE14C5A6A4F14EC0D0ED61FC84B74FC062E1156E6D3D54C08C5B339E49626040B0229A68DC3E13C036664151A15966400C0DC2F61D443440C0F782F865704940D0A8E97A224943401404ACE97C185B40D48734C4F1B2534024B67D3898D45940788459CB3058534040F36EB6567028C0D25FA54067F35540E21326932CE74EC06054A82C54C047400106000020E6100000090000000103000000010000000700000018B83EFE9B6138400C4253EB20BD3DC06A72403254C06140A2866FD06F3248C08451144F4C076640302D2194029A4EC000BE4AA1C71B27409808B3121F0C544038132B326D0F33C070D1BF6650EE3D4018C953AE811A42C02CE68452E7DF384018B83EFE9B6138400C4253EB20BD3DC001030000000100000004000000689309E836E334C0605E9D20452E20408887437018DD6340BE463A5BEE7C5040A00AD818EE9B304048D473C490C84D40689309E836E334C0605E9D20452E20400103000000010000000800000050CE7DBEE48852C08C0BD7F6D6C839C0060B1A4C21DD5DC0F8C041655BA74DC0801F4A885BEA12C0622F097F436354C04630761E3A166140928C8175167550C0007C26206A804840D0B522E40DB01E40FCF25AF955CC4A40F2C3AE34C1285340B8697D55238C49C0B41C0813E7A7414050CE7DBEE48852C08C0BD7F6D6C839C00103000000010000000C00000042C1646361224DC0D00885C2A6DD2AC0B0938652A61334C0D0CEA9B5310329C098F2D91B123748C05000BDE2302C52C050023F7B6AB52E4006C07104F59345C0E4E4EDAC62D05440E1F47B79130851C000F7C0C92B5B3B4098B2C078255131C000984F534A775D4078DE647A1C7B294080C09A2BD7F11F405276E667DD38564028A58D9CB0C334C0806D5EB68A74EC3F4519B401A40164C064FA2F7194FF4D40709594F946393EC0C07BD68505360BC042C1646361224DC0D00885C2A6DD2AC0010300000001000000060000008C3C9B6AAFE460C09E32B0D56E0A46C0B0669D104A953B406B9383D3D74049C0C6C5641B804662404160EB31FD0B50C0007C637DCAD80540EFFA7D76765343C01A26F035220B61C080D0DE7D203C20408C3C9B6AAFE460C09E32B0D56E0A46C001030000000100000008000000301591F0F2D163C0DD67288812C341C0025BDE7FDA1D64C0FA05E91C256F55C0C80A6C0BBD6750C0F354D805725B50C088DF3FA7912D5C4098B636CAC9A825C0BCEFECAC025D60405C83039B92943C4000FB4E29E4476540F0B24F867D2F464089E2B7E8AAF152C01A5A782B01465540301591F0F2D163C0DD67288812C341C0010300000001000000040000004301F288655765C0CBC077D4DEC443C08498A4E2699C5C4070AA019C65D4154081623B41F8C161C080C6415F5793F4BF4301F288655765C0CBC077D4DEC443C001030000000100000008000000DA6DAD01D65453C02C8845F3A2F346C07C1DF576477953407C68F2EC0F1252C0605F0DC23C91454020583EB2E6912BC0C4C77E57A3975940721C2E376F643FC018C3F632A8FA364000FF6A2E98215040007EDBD2780A1140A6EA4881A81655406C916966AEC65BC060EDA20628D41140DA6DAD01D65453C02C8845F3A2F346C00103000000010000000A00000037F05D93568163C0704D9DE261D833C04836FF5493963EC0682CAF67229E3AC0A067C9030D3D1640653DE08ECD3350C070C90393AA2D4A40B1B510013EF34CC02292AC8E430B50401ED1469B905E4DC02CC46430942B6640E45DE19939C24640A6998D7AACF95240FA5A059FDE52404070D55E8A1BE121C0B816A9F1672B27C0AC6FFC7A485161C0BC0B9C334577334037F05D93568163C0704D9DE261D833C00103000020E6100000010000000400000024BE4B5ADA365BC04055BF00EE591E40C06C53E3ACAB33C0A2A880C9053D5140A7D3797A9D1C58C0928C32F0C194504024BE4B5ADA365BC04055BF00EE591E400104000020E610000003000000010100000060C2270560BC38C0482B2052F88429400101000000CA5A0819957A634047A0735427AD52C001010000001082F787ADE44E40E1637CA02F5255C00103000020E6100000010000000B000000CBC620EC6F6A5DC0A46848A49A3849C0B46A9BD8736D5EC023CC6D35145555C07E2102BAAF3554C02A49EC98474552C020023DDB48C82940BA2D5624403D4AC0147223181F9F42409CFD5200B08F41C0F455BD09312864409EDA072A625E4CC028FC0B8519405D40E06E2F571953324070B3AF6C8D62624094A7796282F34B4075EB1A78287057C0EE407F7CCA9251400BA606DE11F165C030A4306BDD854A40CBC620EC6F6A5DC0A46848A49A3849C00101000020E61000001CB7BF49A5AE4EC0ECC838668ACC52400104000020E6100000060000000101000000C2B7D206653B65400057D25121BC04C00101000000AD3D84D7FE5166C00FE76E5B8AF347C00101000000AC41B29F76955A403CF1B2A11F9A37400101000000205FD4589D72254048A5C0CCF99C2540010100000010B3729F49723FC09839B22CE13C48400101000000B413EEAB978B49C0EE2C5F54542253C0':::GEOGRAPHY,
									577064566:::INT8,
									3946968867:::OID
								),
								(
									'0107000020E6100000010000000101000020E61000001A5BE83D33396440E5DB5596492942C0':::GEOGRAPHY,
									363168751:::INT8,
									875918218:::OID
								),
								(NULL, (-1182063863):::INT8, 3792379058:::OID)
						)
							AS tab_1307 (col_3880, col_3881, col_3882)
				)
		SELECT
			cte_ref_132.col_3880 AS col_3883, cte_ref_132.col_3882 AS col_3884, cte_ref_132.col_3881 AS col_3885
		FROM
			with_452 AS cte_ref_132
		LIMIT
			92:::INT8;

	cluster.go:1666,context.go:140,cluster.go:1655,test_runner.go:848: dead node detection: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod monitor teamcity-2676655-1613372337-03-n4cpu4 --oneshot --ignore-empty-nodes: exit status 1 3: 5641
		4: 4857
		2: 5822
		1: dead
		Error: UNCLASSIFIED_PROBLEM: 1: dead
		(1) UNCLASSIFIED_PROBLEM
		Wraps: (2) attached stack trace
		  -- stack trace:
		  | main.glob..func14
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachprod/main.go:1147
		  | main.wrap.func1
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachprod/main.go:271
		  | github.com/spf13/cobra.(*Command).execute
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/vendor/github.com/spf13/cobra/command.go:830
		  | github.com/spf13/cobra.(*Command).ExecuteC
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/vendor/github.com/spf13/cobra/command.go:914
		  | github.com/spf13/cobra.(*Command).Execute
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/vendor/github.com/spf13/cobra/command.go:864
		  | main.main
		  | 	/home/agent/work/.go/src/github.com/cockroachdb/cockroach/pkg/cmd/roachprod/main.go:1852
		  | runtime.main
		  | 	/usr/local/go/src/runtime/proc.go:204
		  | runtime.goexit
		  | 	/usr/local/go/src/runtime/asm_amd64.s:1374
		Wraps: (3) 1: dead
		Error types: (1) errors.Unclassified (2) *withstack.withStack (3) *errutil.leafError

More

Artifacts: /sqlsmith/setup=rand-tables/setting=no-ddl

See this test on roachdash
powered by pkg/cmd/internal/issues

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. labels Feb 15, 2021
@asubiotto
Copy link
Contributor

Looks like this is the trace:

runtime.panicmem(...)
	/usr/local/go/src/runtime/panic.go:212
runtime.sigpanic()
	/usr/local/go/src/runtime/signal_unix.go:742 +0x413 fp=0xc00185cd48 sp=0xc00185cd18 pc=0x495a53
github.com/cockroachdb/cockroach/pkg/sql/sem/builtins.glob..func253(0xc004731600, 0xc002dee700, 0x1, 0x1, 0x1, 0x1, 0x0, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/builtins/builtins.go:4782 +0x74 fp=0xc00185cd98 sp=0xc00185cd48 pc=0x1c33b54
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*FuncExpr).Eval(0xc0022d6280, 0xc004731600, 0xc0022d6280, 0x574e980, 0xc0022d6280, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/tree/eval.go:4001 +0xbc fp=0xc00185ceb0 sp=0xc00185cd98 pc=0x16ff0bc
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*BinaryExpr).Eval(0xc00291ccc0, 0xc004731600, 0xc00291ccc0, 0x574dd20, 0xc00291ccc0, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/tree/eval.go:3652 +0x114 fp=0xc00185cf60 sp=0xc00185ceb0 pc=0x16fbff4
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*FuncExpr).evalArgs(0xc0022d6300, 0xc004731600, 0x0, 0xc001eead20, 0x507efb0, 0xc00185d048, 0x8, 0x45cad2)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/tree/eval.go:3961 +0xd2 fp=0xc00185cfd8 sp=0xc00185cf60 pc=0x16feb12
github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*FuncExpr).Eval(0xc0022d6300, 0xc004731600, 0xc00291ce40, 0xc002dee6e0, 0x1, 0x1)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/sem/tree/eval.go:3993 +0x50 fp=0xc00185d0f0 sp=0xc00185cfd8 pc=0x16ff050
github.com/cockroachdb/cockroach/pkg/sql.(*valuesNode).startExec(0xc000fe53b0, 0x5705400, 0xc00291ce40, 0xc004731600, 0xc0012d5440, 0xc00185d200, 0xc000bdf080)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/values.go:156 +0x1f9 fp=0xc00185d208 sp=0xc00185d0f0 pc=0x3549939
github.com/cockroachdb/cockroach/pkg/sql.startExec.func2(0x49938c5, 0x6, 0x57082c0, 0xc000fe53b0, 0x0, 0x0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/plan.go:498 +0xcb fp=0xc00185d288 sp=0xc00185d208 pc=0x3594c2b
github.com/cockroachdb/cockroach/pkg/sql.(*planVisitor).visitInternal.func1(0xc00185d4f0, 0x49938c5, 0x6, 0x57082c0, 0xc000fe53b0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/walk.go:119 +0x5d fp=0xc00185d2c8 sp=0xc00185d288 pc=0x35b111d
github.com/cockroachdb/cockroach/pkg/sql.(*planVisitor).visitInternal(0xc00185d4f0, 0x57082c0, 0xc000fe53b0, 0x49938c5, 0x6)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/walk.go:296 +0x188 fp=0xc00185d358 sp=0xc00185d2c8 pc=0x35512c8
github.com/cockroachdb/cockroach/pkg/sql.(*planVisitor).visit(0xc00185d4f0, 0x57082c0, 0xc000fe53b0, 0x6, 0x5706a40)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/walk.go:86 +0x8f fp=0xc00185d3c8 sp=0xc00185d358 pc=0x3550f6f
github.com/cockroachdb/cockroach/pkg/sql.(*planVisitor).visitInternal(0xc00185d4f0, 0x5706a40, 0xc003826900, 0x499244f, 0x6)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/walk.go:288 +0xc25 fp=0xc00185d458 sp=0xc00185d3c8 pc=0x3551d65
github.com/cockroachdb/cockroach/pkg/sql.(*planVisitor).visit(0xc00185d4f0, 0x5706a40, 0xc003826900, 0x1e80, 0x83159a0)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/walk.go:86 +0x8f fp=0xc00185d4c8 sp=0xc00185d458 pc=0x3550f6f
github.com/cockroachdb/cockroach/pkg/sql.walkPlan(...)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/walk.go:50
github.com/cockroachdb/cockroach/pkg/sql.startExec(0x5705400, 0xc00291ce40, 0xc004731600, 0xc0012d5440, 0x5706a40, 0xc003826900, 0xc00185d601, 0xc001e37570)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/plan.go:501 +0x11f fp=0xc00185d580 sp=0xc00185d4c8 pc=0x34c763f
github.com/cockroachdb/cockroach/pkg/sql.(*planNodeToRowSource).Start(0xc00133ac00, 0x5705400, 0xc00291ce40, 0xc001e37570, 0x1)
	/go/src/github.com/cockroachdb/cockroach/pkg/sql/plan_node_to_row_source.go:126 +0xd6 fp=0xc00185d5d0 sp=0xc00185d580 pc=0x34ca7b6
github.com/cockroachdb/cockroach/pkg/sql/colexec.(*Columnarizer).Init(0xc00213d600)

@asubiotto
Copy link
Contributor

asubiotto commented Feb 16, 2021

@adityamaru assigning to you since it looks like you recently added the line:

err := streaming.CompleteIngestionHook(evalCtx, evalCtx.Txn, jobID)

@adityamaru
Copy link
Contributor

Fixed by #60543.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked.
Projects
None yet
Development

No branches or pull requests

3 participants