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: synchronizing json spec #1116

Closed
wants to merge 2 commits into from

Conversation

apmmachine
Copy link
Contributor

What

APM agent specs automatic sync

Why

Changeset

@apmmachine
Copy link
Contributor Author

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-09-06T11:35:07.977+0000

  • Duration: 13 min 17 sec

  • Commit: c058562

Test stats 🧪

Test Results
Failed 141
Passed 8687
Skipped 230
Total 9058

Trends 🧪

Image of Build Times

Image of Tests

Test errors 141

Expand to view the tests failures

> Show only the first 10 test failures

Initializing / Tests / Go-1.8.x / TestValidateServiceName – apm
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateServiceName
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateServiceName 
    

Initializing / Tests / Go-1.8.x / TestValidateServiceVersion – apm
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateServiceVersion
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateServiceVersion 
    

Initializing / Tests / Go-1.8.x / TestValidateServiceEnvironment – apm
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateServiceEnvironment
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateServiceEnvironment 
    

Initializing / Tests / Go-1.8.x / TestValidateTransactionName – apm
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateTransactionName
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateTransactionName 
    

Initializing / Tests / Go-1.8.x / TestValidateTransactionType – apm
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateTransactionType
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateTransactionType 
    

Initializing / Tests / Go-1.8.x / TestValidateTransactionResult – apm
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateTransactionResult
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateTransactionResult 
    

Initializing / Tests / Go-1.8.x / TestValidateTransactionOutcome – apm
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateTransactionOutcome
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateTransactionOutcome 
    

Initializing / Tests / Go-1.8.x / TestValidateSpanName – apm
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateSpanName
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateSpanName
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateSpanName 
    

Initializing / Tests / Go-1.8.x / TestValidateSpanType – apm
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateSpanType
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateSpanType
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateSpanType 
    

Initializing / Tests / Go-1.8.x / TestValidateSpanOutcome – apm
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateSpanOutcome
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateSpanOutcome
    assertions.go:261: 
    		Error Trace:	validation_test.go:427
    		            				tracer.go:810
    		            				asm_amd64.s:2197
    		Error:      	Received unexpected error:
    		            	jsonschema: invalid jsonType: *bytes.Reader
    		Test:       	TestValidateSpanOutcome 
    

Steps errors 4

Expand to view the steps failures

Test
  • Took 0 min 27 sec . View more details on here
  • Description: ./scripts/jenkins/test.sh
Test
  • Took 1 min 33 sec . View more details on here
  • Description: ./scripts/jenkins/test.sh
Test
  • Took 1 min 33 sec . View more details on here
  • Description: ./scripts/jenkins/test.sh
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: hudson.AbortException: script returned exit code 2

Log output

Expand to view the last 100 lines of log output

[2021-09-06T11:48:16.379Z] --- PASS: TestDriverUnwrap (0.00s)
[2021-09-06T11:48:16.379Z] === RUN   TestPingContext
[2021-09-06T11:48:16.379Z] --- PASS: TestPingContext (0.00s)
[2021-09-06T11:48:16.379Z] === RUN   TestExecContext
[2021-09-06T11:48:16.379Z] --- PASS: TestExecContext (0.02s)
[2021-09-06T11:48:16.379Z] === RUN   TestQueryContext
[2021-09-06T11:48:16.379Z] --- PASS: TestQueryContext (0.01s)
[2021-09-06T11:48:16.379Z] === RUN   TestPrepareContext
[2021-09-06T11:48:16.379Z] --- PASS: TestPrepareContext (0.01s)
[2021-09-06T11:48:16.379Z] === RUN   TestStmtExecContext
[2021-09-06T11:48:16.379Z] --- PASS: TestStmtExecContext (0.01s)
[2021-09-06T11:48:16.379Z] === RUN   TestStmtQueryContext
[2021-09-06T11:48:16.379Z] --- PASS: TestStmtQueryContext (0.00s)
[2021-09-06T11:48:16.379Z] === RUN   TestTxStmtQueryContext
[2021-09-06T11:48:16.379Z] --- PASS: TestTxStmtQueryContext (0.01s)
[2021-09-06T11:48:16.379Z] === RUN   TestCaptureErrors
[2021-09-06T11:48:16.379Z] --- PASS: TestCaptureErrors (0.01s)
[2021-09-06T11:48:16.379Z] === RUN   TestBadConn
[2021-09-06T11:48:16.379Z] --- PASS: TestBadConn (0.00s)
[2021-09-06T11:48:16.379Z] === RUN   TestContextCanceled
[2021-09-06T11:48:16.379Z] --- PASS: TestContextCanceled (0.01s)
[2021-09-06T11:48:16.379Z] === RUN   TestQuerySignature
[2021-09-06T11:48:16.379Z] --- PASS: TestQuerySignature (0.00s)
[2021-09-06T11:48:16.379Z] PASS
[2021-09-06T11:48:16.379Z] ok  	go.elastic.co/apm/module/apmsql	0.130s
[2021-09-06T11:48:16.379Z] === RUN   TestParseDSNURL
[2021-09-06T11:48:16.379Z] --- PASS: TestParseDSNURL (0.00s)
[2021-09-06T11:48:16.379Z] === RUN   TestParseDSNConnectionString
[2021-09-06T11:48:16.379Z] --- PASS: TestParseDSNConnectionString (0.00s)
[2021-09-06T11:48:16.379Z] === RUN   TestParseDSNEnv
[2021-09-06T11:48:16.379Z] --- PASS: TestParseDSNEnv (0.00s)
[2021-09-06T11:48:16.379Z] PASS
[2021-09-06T11:48:16.379Z] ok  	go.elastic.co/apm/module/apmsql/internal/pgutil	0.017s
[2021-09-06T11:48:16.379Z] === RUN   TestQueryContext
[2021-09-06T11:48:16.379Z]     mysql_test.go:38: MYSQL_HOST not specified
[2021-09-06T11:48:16.379Z] --- SKIP: TestQueryContext (0.00s)
[2021-09-06T11:48:16.379Z] === RUN   TestParseDSN
[2021-09-06T11:48:16.379Z] --- PASS: TestParseDSN (0.00s)
[2021-09-06T11:48:16.379Z] === RUN   TestParseDSNAddr
[2021-09-06T11:48:16.379Z] --- PASS: TestParseDSNAddr (0.00s)
[2021-09-06T11:48:16.379Z] === RUN   TestParseDSNError
[2021-09-06T11:48:16.379Z] --- PASS: TestParseDSNError (0.00s)
[2021-09-06T11:48:16.379Z] PASS
[2021-09-06T11:48:16.379Z] ok  	go.elastic.co/apm/module/apmsql/mysql	0.014s
[2021-09-06T11:48:16.379Z] === RUN   TestQueryContext
[2021-09-06T11:48:16.379Z]     pq_test.go:39: PGHOST not specified
[2021-09-06T11:48:16.379Z] --- SKIP: TestQueryContext (0.00s)
[2021-09-06T11:48:16.379Z] PASS
[2021-09-06T11:48:16.379Z] ok  	go.elastic.co/apm/module/apmsql/pgxv4	0.016s
[2021-09-06T11:48:16.639Z] === RUN   TestQueryContext
[2021-09-06T11:48:16.639Z]     pq_test.go:36: PGHOST not specified
[2021-09-06T11:48:16.639Z] --- SKIP: TestQueryContext (0.00s)
[2021-09-06T11:48:16.639Z] PASS
[2021-09-06T11:48:16.639Z] ok  	go.elastic.co/apm/module/apmsql/pq	0.012s
[2021-09-06T11:48:16.898Z] === RUN   TestParseDSN
[2021-09-06T11:48:16.898Z] --- PASS: TestParseDSN (0.00s)
[2021-09-06T11:48:16.898Z] PASS
[2021-09-06T11:48:16.898Z] ok  	go.elastic.co/apm/module/apmsql/sqlite3	0.012s
[2021-09-06T11:48:18.279Z] === RUN   TestIntegrationSuite
[2021-09-06T11:48:18.279Z]     monitor_integration_test.go:54: MONGO_URL not specified
[2021-09-06T11:48:18.279Z] --- SKIP: TestIntegrationSuite (0.00s)
[2021-09-06T11:48:18.279Z] === RUN   TestCommandMonitorSpanNames
[2021-09-06T11:48:18.279Z] --- PASS: TestCommandMonitorSpanNames (0.01s)
[2021-09-06T11:48:18.279Z] === RUN   TestCommandMonitorSucceeded
[2021-09-06T11:48:18.279Z] --- PASS: TestCommandMonitorSucceeded (0.00s)
[2021-09-06T11:48:18.279Z] === RUN   TestCommandMonitorFailed
[2021-09-06T11:48:18.279Z] --- PASS: TestCommandMonitorFailed (0.00s)
[2021-09-06T11:48:18.279Z] === RUN   TestCommandMonitorStartedNotFinished
[2021-09-06T11:48:18.279Z] --- PASS: TestCommandMonitorStartedNotFinished (0.00s)
[2021-09-06T11:48:18.279Z] === RUN   TestCommandMonitorFinishedNotStarted
[2021-09-06T11:48:18.279Z] --- PASS: TestCommandMonitorFinishedNotStarted (0.00s)
[2021-09-06T11:48:18.279Z] === RUN   TestCommandErrorDetails
[2021-09-06T11:48:18.279Z] --- PASS: TestCommandErrorDetails (0.01s)
[2021-09-06T11:48:18.279Z] PASS
[2021-09-06T11:48:18.279Z] ok  	go.elastic.co/apm/module/apmmongo	0.048s
[2021-09-06T11:48:18.279Z] + status=0
[2021-09-06T11:48:18.279Z] + go-junit-report
[2021-09-06T11:48:18.279Z] + exit 0
[2021-09-06T11:48:18.419Z] Recording test results
[2021-09-06T11:48:20.074Z] [Checks API] No suitable checks publisher found.
[2021-09-06T11:48:20.354Z] Terminated
[2021-09-06T11:48:22.024Z] Stage "Coverage" skipped due to earlier failure(s)
[2021-09-06T11:48:22.135Z] Stage "Benchmark" skipped due to earlier failure(s)
[2021-09-06T11:48:22.364Z] Stage "More OS" skipped due to earlier failure(s)
[2021-09-06T11:48:22.484Z] Stage "Windows" skipped due to earlier failure(s)
[2021-09-06T11:48:22.497Z] Stage "OSX" skipped due to earlier failure(s)
[2021-09-06T11:48:22.609Z] Failed in branch Windows
[2021-09-06T11:48:22.622Z] Failed in branch OSX
[2021-09-06T11:48:22.807Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-09-06T11:48:22.936Z] Stage "Release" skipped due to earlier failure(s)
[2021-09-06T11:48:22.989Z] Stage "Release" skipped due to earlier failure(s)
[2021-09-06T11:48:23.101Z] Stage "Release" skipped due to earlier failure(s)
[2021-09-06T11:48:23.614Z] Running on Jenkins in /var/lib/jenkins/workspace/gent-go_apm-agent-go-mbp_PR-1116
[2021-09-06T11:48:23.966Z] [INFO] getVaultSecret: Getting secrets
[2021-09-06T11:48:24.127Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-09-06T11:48:25.303Z] + chmod 755 generate-build-data.sh
[2021-09-06T11:48:25.303Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-go/apm-agent-go-mbp/PR-1116/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-go/apm-agent-go-mbp/PR-1116/runs/1 FAILURE 797045
[2021-09-06T11:48:25.303Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-go/apm-agent-go-mbp/PR-1116/runs/1/steps/?limit=10000 -o steps-info.json
[2021-09-06T11:48:25.553Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-go/apm-agent-go-mbp/PR-1116/runs/1/tests/?status=FAILED -o tests-errors.json
[2021-09-06T11:48:25.804Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-go/apm-agent-go-mbp/PR-1116/runs/1/log/ -o pipeline-log.txt

@axw axw enabled auto-merge (squash) September 16, 2021 06:49
@axw
Copy link
Member

axw commented Sep 16, 2021

superseded by #1117

@axw axw closed this Sep 16, 2021
auto-merge was automatically disabled September 16, 2021 06:50

Pull request was closed

@axw axw deleted the update-spec-files-20210906113451 branch September 16, 2021 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants