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 gherkin spec #911

Closed
wants to merge 1 commit into from

Conversation

apmmachine
Copy link
Contributor

What

APM agent specs automatic sync

Why

Changeset

@apmmachine
Copy link
Contributor Author

apmmachine commented Mar 11, 2021

💔 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

Expand to view the summary

Build stats

  • Build Cause: Branch indexing

  • Start Time: 2021-03-13T17:20:19.805+0000

  • Duration: 12 min 43 sec

  • Commit: 9542eec

Test stats 🧪

Test Results
Failed 80
Passed 4744
Skipped 220
Total 5044

Trends 🧪

Image of Build Times

Image of Tests

Test errors 80

Expand to view the tests failures

> Show only the first 10 test failures

Initializing / Tests / Go-1.9.x / TestFeatures – apmgodog
    Expand to view the error details

     Failed 
    

  • no stacktrace
Initializing / Tests / Go-1.9.x / TestFeatures/Extracting_Metadata_for_Azure_App_Service/Azure_App_Service_with_all_environment_variables_present_in_expected_format – apmgodog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     formatter.go:111: step is undefined 
    

Initializing / Tests / Go-1.9.x / TestFeatures/Extracting_Metadata_for_Azure_App_Service/Azure_App_Service_with_all_environment_variables_present_in_expected_format#01 – apmgodog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     formatter.go:111: step is undefined 
    

Initializing / Tests / Go-1.9.x / TestFeatures/Extracting_Metadata_for_Azure_App_Service/WEBSITE_OWNER_NAME_environment_variable_not_expected_format – apmgodog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     formatter.go:111: step is undefined 
    

Initializing / Tests / Go-1.9.x / TestFeatures/Extracting_Metadata_for_Azure_App_Service/Missing_WEBSITE_OWNER_NAME_environment_variable – apmgodog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     formatter.go:111: step is undefined 
    

Initializing / Tests / Go-1.9.x / TestFeatures/Extracting_Metadata_for_Azure_App_Service/Missing_WEBSITE_RESOURCE_GROUP_environment_variable – apmgodog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     formatter.go:111: step is undefined 
    

Initializing / Tests / Go-1.9.x / TestFeatures/Extracting_Metadata_for_Azure_App_Service/Missing_WEBSITE_SITE_NAME_environment_variable – apmgodog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     formatter.go:111: step is undefined 
    

Initializing / Tests / Go-1.9.x / TestFeatures/Extracting_Metadata_for_Azure_App_Service/Missing_WEBSITE_INSTANCE_ID_environment_variable – apmgodog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     formatter.go:111: step is undefined 
    

Initializing / Tests / Go-1.11.x / TestFeatures – apmgodog
    Expand to view the error details

     Failed 
    

  • no stacktrace
Initializing / Tests / Go-1.11.x / TestFeatures/Extracting_Metadata_for_Azure_App_Service/Azure_App_Service_with_all_environment_variables_present_in_expected_format – apmgodog
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     formatter.go:111: step is undefined 
    

Steps errors 11

Expand to view the steps failures

Show only the first 10 steps failures

Test
  • Took 1 min 32 sec . View more details on here
  • Description: ./scripts/jenkins/test.sh
Test
  • Took 1 min 34 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 47 sec . View more details on here
  • Description: ./scripts/jenkins/test.sh
Test
  • Took 1 min 46 sec . View more details on here
  • Description: ./scripts/jenkins/test.sh
Test
  • Took 1 min 38 sec . View more details on here
  • Description: ./scripts/jenkins/test.sh
Test
  • Took 1 min 39 sec . View more details on here
  • Description: ./scripts/jenkins/test.sh
Test
  • Took 1 min 34 sec . View more details on here
  • Description: ./scripts/jenkins/test.sh
Test
  • Took 1 min 31 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-03-13T17:31:59.457Z]     Given a gRPC span with 'INTERNAL' status
[2021-03-13T17:31:59.457Z]     Then span outcome is "failure"
[2021-03-13T17:31:59.457Z] === RUN   TestFeatures/Outcome/gRPC_transaction_and_span_outcome#14
[2021-03-13T17:31:59.457Z]     Given an agent
[2021-03-13T17:31:59.458Z]     And a gRPC transaction with 'UNAVAILABLE' status
[2021-03-13T17:31:59.458Z]     Then transaction outcome is "failure"
[2021-03-13T17:31:59.458Z]     Given a gRPC span with 'UNAVAILABLE' status
[2021-03-13T17:31:59.458Z]     Then span outcome is "failure"
[2021-03-13T17:31:59.458Z] === RUN   TestFeatures/Outcome/gRPC_transaction_and_span_outcome#15
[2021-03-13T17:31:59.458Z]     Given an agent
[2021-03-13T17:31:59.458Z]     And a gRPC transaction with 'DATA_LOSS' status
[2021-03-13T17:31:59.458Z]     Then transaction outcome is "failure"
[2021-03-13T17:31:59.458Z]     Given a gRPC span with 'DATA_LOSS' status
[2021-03-13T17:31:59.458Z]     Then span outcome is "failure"
[2021-03-13T17:31:59.458Z] === RUN   TestFeatures/Outcome/gRPC_transaction_and_span_outcome#16
[2021-03-13T17:31:59.458Z]     Given an agent
[2021-03-13T17:31:59.458Z]     And a gRPC transaction with 'UNAUTHENTICATED' status
[2021-03-13T17:31:59.458Z]     Then transaction outcome is "success"
[2021-03-13T17:31:59.458Z]     Given a gRPC span with 'UNAUTHENTICATED' status
[2021-03-13T17:31:59.458Z]     Then span outcome is "failure"
[2021-03-13T17:31:59.458Z] === RUN   TestFeatures/Outcome/gRPC_transaction_and_span_outcome#17
[2021-03-13T17:31:59.458Z]     Given an agent
[2021-03-13T17:31:59.458Z]     And a gRPC transaction with 'n/a' status
[2021-03-13T17:31:59.458Z]     Then transaction outcome is "failure"
[2021-03-13T17:31:59.458Z]     Given a gRPC span with 'n/a' status
[2021-03-13T17:31:59.458Z]     Then span outcome is "failure"
[2021-03-13T17:31:59.458Z] --- FAIL: TestFeatures (0.08s)
[2021-03-13T17:31:59.458Z]     --- PASS: TestFeatures/API_Key. (0.02s)
[2021-03-13T17:31:59.458Z]         --- PASS: TestFeatures/API_Key./A_configured_API_key_is_sent_in_the_Authorization_header. (0.00s)
[2021-03-13T17:31:59.458Z]         --- PASS: TestFeatures/API_Key./A_configured_API_key_takes_precedence_over_a_secret_token. (0.01s)
[2021-03-13T17:31:59.458Z]         --- PASS: TestFeatures/API_Key./A_configured_secret_token_is_sent_if_no_API_key_is_configured. (0.00s)
[2021-03-13T17:31:59.458Z]     --- FAIL: TestFeatures/Extracting_Metadata_for_Azure_App_Service (0.00s)
[2021-03-13T17:31:59.459Z]         --- FAIL: TestFeatures/Extracting_Metadata_for_Azure_App_Service/Azure_App_Service_with_all_environment_variables_present_in_expected_format (0.00s)
[2021-03-13T17:31:59.459Z]         --- FAIL: TestFeatures/Extracting_Metadata_for_Azure_App_Service/Azure_App_Service_with_all_environment_variables_present_in_expected_format#01 (0.00s)
[2021-03-13T17:31:59.459Z]         --- FAIL: TestFeatures/Extracting_Metadata_for_Azure_App_Service/WEBSITE_OWNER_NAME_environment_variable_not_expected_format (0.00s)
[2021-03-13T17:31:59.459Z]         --- FAIL: TestFeatures/Extracting_Metadata_for_Azure_App_Service/Missing_WEBSITE_OWNER_NAME_environment_variable (0.00s)
[2021-03-13T17:31:59.459Z]         --- FAIL: TestFeatures/Extracting_Metadata_for_Azure_App_Service/Missing_WEBSITE_RESOURCE_GROUP_environment_variable (0.00s)
[2021-03-13T17:31:59.459Z]         --- FAIL: TestFeatures/Extracting_Metadata_for_Azure_App_Service/Missing_WEBSITE_SITE_NAME_environment_variable (0.00s)
[2021-03-13T17:31:59.459Z]         --- FAIL: TestFeatures/Extracting_Metadata_for_Azure_App_Service/Missing_WEBSITE_INSTANCE_ID_environment_variable (0.00s)
[2021-03-13T17:31:59.459Z]     --- PASS: TestFeatures/Outcome (0.05s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/User_set_outcome_on_span_has_priority_over_instrumentation (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/User_set_outcome_on_transaction_has_priority_over_instrumentation (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/span_with_error (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/span_without_error (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/transaction_with_error (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/transaction_without_error (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/HTTP_transaction_and_span_outcome (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/HTTP_transaction_and_span_outcome#01 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/HTTP_transaction_and_span_outcome#02 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/HTTP_transaction_and_span_outcome#03 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/HTTP_transaction_and_span_outcome#04 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/HTTP_transaction_and_span_outcome#05 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/HTTP_transaction_and_span_outcome#06 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#01 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#02 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#03 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#04 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#05 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#06 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#07 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#08 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#09 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#10 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#11 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#12 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#13 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#14 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#15 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#16 (0.00s)
[2021-03-13T17:31:59.459Z]         --- PASS: TestFeatures/Outcome/gRPC_transaction_and_span_outcome#17 (0.00s)
[2021-03-13T17:31:59.459Z] FAIL
[2021-03-13T17:31:59.459Z] FAIL	apmgodog	0.104s
[2021-03-13T17:31:59.459Z] FAIL
[2021-03-13T17:31:59.459Z] Makefile:52: recipe for target 'test' failed
[2021-03-13T17:31:59.459Z] make: *** [test] Error 1
[2021-03-13T17:31:59.459Z] + status=2
[2021-03-13T17:31:59.459Z] + go-junit-report
[2021-03-13T17:31:59.459Z] + exit 2
[2021-03-13T17:31:59.521Z] Recording test results
[2021-03-13T17:32:00.124Z] [Checks API] No suitable checks publisher found.
[2021-03-13T17:32:00.143Z] Failed in branch Go-1.16.x
[2021-03-13T17:32:01.265Z] Stage "Coverage" skipped due to earlier failure(s)
[2021-03-13T17:32:01.300Z] Stage "Benchmark" skipped due to earlier failure(s)
[2021-03-13T17:32:01.377Z] Stage "More OS" skipped due to earlier failure(s)
[2021-03-13T17:32:01.411Z] Stage "Windows" skipped due to earlier failure(s)
[2021-03-13T17:32:01.414Z] Stage "OSX" skipped due to earlier failure(s)
[2021-03-13T17:32:01.446Z] Failed in branch Windows
[2021-03-13T17:32:01.449Z] Failed in branch OSX
[2021-03-13T17:32:01.502Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-03-13T17:32:01.541Z] Stage "Release" skipped due to earlier failure(s)
[2021-03-13T17:32:01.558Z] Stage "Release" skipped due to earlier failure(s)
[2021-03-13T17:32:01.595Z] Stage "Release" skipped due to earlier failure(s)
[2021-03-13T17:32:01.948Z] Running on Jenkins in /var/lib/jenkins/workspace/agent-go_apm-agent-go-mbp_PR-911
[2021-03-13T17:32:02.062Z] [INFO] getVaultSecret: Getting secrets
[2021-03-13T17:32:02.217Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-03-13T17:32:02.853Z] + chmod 755 generate-build-data.sh
[2021-03-13T17:32:02.853Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-go/apm-agent-go-mbp/PR-911/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-go/apm-agent-go-mbp/PR-911/runs/2 FAILURE 702788
[2021-03-13T17:32:03.103Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-go/apm-agent-go-mbp/PR-911/runs/2/steps/?limit=10000 -o steps-info.json
[2021-03-13T17:32:03.654Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-go/apm-agent-go-mbp/PR-911/runs/2/tests/?status=FAILED -o tests-errors.json

@axw
Copy link
Member

axw commented Mar 14, 2021

@axw axw closed this Mar 14, 2021
@axw axw deleted the update-spec-files-20210311125033 branch March 14, 2021 01: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