apm-agent-php icon indicating copy to clipboard operation
apm-agent-php copied to clipboard

Added checks for opcache_get_status()

Open SergeyKleyman opened this issue 3 years ago • 1 comments

Checks are for keys 'restart_pending' and 'restart_in_progress'

SergeyKleyman avatar Jun 13 '22 11:06 SergeyKleyman

:broken_heart: 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: 2022-08-09T13:03:19.272+0000

  • Duration: 133 min 35 sec

Test stats :test_tube:

Test Results
Failed 16
Passed 9351
Skipped 0
Total 9367

Test errors 16

Expand to view the tests failures

> Show only the first 10 test failures

Initializing / Package lifecycle testing / 7.3,deb,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
    Expand to view the error details

     null 
    
    Expand to view the stacktrace

     ElasticApmTests\ComponentTests\ApiKeySecretTokenTest::testDefaultApiKey
    The expected data from agent has not arrived. {"expected event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":1},"maxSpanCount":null},"actual event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":0},"maxSpanCount":null},"$dataFromAgentAccumulator":{"result":{"intakeApiRequests":[],"metadatas":[],"idToTransaction":[],"idToSpan":[],"idToError":[],"metricSets":[]},"shouldValidateAgainstSchema":true}}
    Failed asserting that false is true.
    
    /src/tests/ElasticApmTests/ComponentTests/Util/TestCaseHandle.php:162
    /src/tests/ElasticApmTests/ComponentTests/Util/ComponentTestCaseBase.php:113
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:48
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:60
    phpvfscomposer:///src/vendor/phpunit/phpunit/phpunit:97 
    
Initializing / Package lifecycle testing / 7.4,apk,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
    Expand to view the error details

     null 
    
    Expand to view the stacktrace

     ElasticApmTests\ComponentTests\ApiKeySecretTokenTest::testDefaultApiKey
    The expected data from agent has not arrived. {"expected event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":1},"maxSpanCount":null},"actual event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":0},"maxSpanCount":null},"$dataFromAgentAccumulator":{"result":{"intakeApiRequests":[],"metadatas":[],"idToTransaction":[],"idToSpan":[],"idToError":[],"metricSets":[]},"shouldValidateAgainstSchema":true}}
    Failed asserting that false is true.
    
    /src/tests/ElasticApmTests/ComponentTests/Util/TestCaseHandle.php:162
    /src/tests/ElasticApmTests/ComponentTests/Util/ComponentTestCaseBase.php:113
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:48
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:60
    phpvfscomposer:///src/vendor/phpunit/phpunit/phpunit:97 
    
Initializing / Package lifecycle testing / 7.3,tar,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
    Expand to view the error details

     null 
    
    Expand to view the stacktrace

     ElasticApmTests\ComponentTests\ApiKeySecretTokenTest::testDefaultApiKey
    The expected data from agent has not arrived. {"expected event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":1},"maxSpanCount":null},"actual event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":0},"maxSpanCount":null},"$dataFromAgentAccumulator":{"result":{"intakeApiRequests":[],"metadatas":[],"idToTransaction":[],"idToSpan":[],"idToError":[],"metricSets":[]},"shouldValidateAgainstSchema":true}}
    Failed asserting that false is true.
    
    /src/tests/ElasticApmTests/ComponentTests/Util/TestCaseHandle.php:162
    /src/tests/ElasticApmTests/ComponentTests/Util/ComponentTestCaseBase.php:113
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:48
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:60
    phpvfscomposer:///src/vendor/phpunit/phpunit/phpunit:97 
    
Initializing / Package lifecycle testing / 7.4,tar,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
    Expand to view the error details

     null 
    
    Expand to view the stacktrace

     ElasticApmTests\ComponentTests\ApiKeySecretTokenTest::testDefaultApiKey
    The expected data from agent has not arrived. {"expected event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":1},"maxSpanCount":null},"actual event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":0},"maxSpanCount":null},"$dataFromAgentAccumulator":{"result":{"intakeApiRequests":[],"metadatas":[],"idToTransaction":[],"idToSpan":[],"idToError":[],"metricSets":[]},"shouldValidateAgainstSchema":true}}
    Failed asserting that false is true.
    
    /src/tests/ElasticApmTests/ComponentTests/Util/TestCaseHandle.php:162
    /src/tests/ElasticApmTests/ComponentTests/Util/ComponentTestCaseBase.php:113
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:48
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:60
    phpvfscomposer:///src/vendor/phpunit/phpunit/phpunit:97 
    
Initializing / Package lifecycle testing / 7.4,rpm,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
    Expand to view the error details

     null 
    
    Expand to view the stacktrace

     ElasticApmTests\ComponentTests\ApiKeySecretTokenTest::testDefaultApiKey
    The expected data from agent has not arrived. {"expected event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":1},"maxSpanCount":null},"actual event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":0},"maxSpanCount":null},"$dataFromAgentAccumulator":{"result":{"intakeApiRequests":[],"metadatas":[],"idToTransaction":[],"idToSpan":[],"idToError":[],"metricSets":[]},"shouldValidateAgainstSchema":true}}
    Failed asserting that false is true.
    
    /src/tests/ElasticApmTests/ComponentTests/Util/TestCaseHandle.php:162
    /src/tests/ElasticApmTests/ComponentTests/Util/ComponentTestCaseBase.php:113
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:48
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:60
    phpvfscomposer:///src/vendor/phpunit/phpunit/phpunit:97 
    
Initializing / Package lifecycle testing / 7.3,apk,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
    Expand to view the error details

     null 
    
    Expand to view the stacktrace

     ElasticApmTests\ComponentTests\ApiKeySecretTokenTest::testDefaultApiKey
    The expected data from agent has not arrived. {"expected event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":1},"maxSpanCount":null},"actual event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":0},"maxSpanCount":null},"$dataFromAgentAccumulator":{"result":{"intakeApiRequests":[],"metadatas":[],"idToTransaction":[],"idToSpan":[],"idToError":[],"metricSets":[]},"shouldValidateAgainstSchema":true}}
    Failed asserting that false is true.
    
    /src/tests/ElasticApmTests/ComponentTests/Util/TestCaseHandle.php:162
    /src/tests/ElasticApmTests/ComponentTests/Util/ComponentTestCaseBase.php:113
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:48
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:60
    phpvfscomposer:///src/vendor/phpunit/phpunit/phpunit:97 
    
Initializing / Package lifecycle testing / 8.0,apk,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
    Expand to view the error details

     null 
    
    Expand to view the stacktrace

     ElasticApmTests\ComponentTests\ApiKeySecretTokenTest::testDefaultApiKey
    The expected data from agent has not arrived. {"expected event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":1},"maxSpanCount":null},"actual event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":0},"maxSpanCount":null},"$dataFromAgentAccumulator":{"result":{"intakeApiRequests":[],"metadatas":[],"idToTransaction":[],"idToSpan":[],"idToError":[],"metricSets":[]},"shouldValidateAgainstSchema":true}}
    Failed asserting that false is true.
    
    /src/tests/ElasticApmTests/ComponentTests/Util/TestCaseHandle.php:162
    /src/tests/ElasticApmTests/ComponentTests/Util/ComponentTestCaseBase.php:113
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:48
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:60 
    
Initializing / Package lifecycle testing / 8.1,apk,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
    Expand to view the error details

     null 
    
    Expand to view the stacktrace

     ElasticApmTests\ComponentTests\ApiKeySecretTokenTest::testDefaultApiKey
    The expected data from agent has not arrived. {"expected event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":1},"maxSpanCount":null},"actual event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":0},"maxSpanCount":null},"$dataFromAgentAccumulator":{"result":{"intakeApiRequests":[],"metadatas":[],"idToTransaction":[],"idToSpan":[],"idToError":[],"metricSets":[]},"shouldValidateAgainstSchema":true}}
    Failed asserting that false is true.
    
    /src/tests/ElasticApmTests/ComponentTests/Util/TestCaseHandle.php:162
    /src/tests/ElasticApmTests/ComponentTests/Util/ComponentTestCaseBase.php:113
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:48
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:60 
    
Initializing / Package lifecycle testing / 8.1,deb,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
    Expand to view the error details

     null 
    
    Expand to view the stacktrace

     ElasticApmTests\ComponentTests\ApiKeySecretTokenTest::testDefaultApiKey
    The expected data from agent has not arrived. {"expected event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":1},"maxSpanCount":null},"actual event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":0},"maxSpanCount":null},"$dataFromAgentAccumulator":{"result":{"intakeApiRequests":[],"metadatas":[],"idToTransaction":[],"idToSpan":[],"idToError":[],"metricSets":[]},"shouldValidateAgainstSchema":true}}
    Failed asserting that false is true.
    
    /src/tests/ElasticApmTests/ComponentTests/Util/TestCaseHandle.php:162
    /src/tests/ElasticApmTests/ComponentTests/Util/ComponentTestCaseBase.php:113
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:48
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:60 
    
Initializing / Package lifecycle testing / 8.0,deb,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
    Expand to view the error details

     null 
    
    Expand to view the stacktrace

     ElasticApmTests\ComponentTests\ApiKeySecretTokenTest::testDefaultApiKey
    The expected data from agent has not arrived. {"expected event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":1},"maxSpanCount":null},"actual event counts":{"perDataKind":{"error":0,"metadata":1,"metric set":0,"span":0,"transaction":0},"maxSpanCount":null},"$dataFromAgentAccumulator":{"result":{"intakeApiRequests":[],"metadatas":[],"idToTransaction":[],"idToSpan":[],"idToError":[],"metricSets":[]},"shouldValidateAgainstSchema":true}}
    Failed asserting that false is true.
    
    /src/tests/ElasticApmTests/ComponentTests/Util/TestCaseHandle.php:162
    /src/tests/ElasticApmTests/ComponentTests/Util/ComponentTestCaseBase.php:113
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:48
    /src/tests/ElasticApmTests/ComponentTests/ApiKeySecretTokenTest.php:60 
    

Steps errors 20

Expand to view the steps failures

Show only the first 10 steps failures

rpm-lifecycle-testing for 7.4
  • Took 1 min 42 sec . View more details here
  • Description: PHP_VERSION=7.4 make -C packaging rpm-lifecycle-testing
tar-lifecycle-testing for 7.4
  • Took 1 min 37 sec . View more details here
  • Description: PHP_VERSION=7.4 make -C packaging tar-lifecycle-testing
apk-lifecycle-testing for 8.0
  • Took 1 min 37 sec . View more details here
  • Description: PHP_VERSION=8.0 make -C packaging apk-lifecycle-testing
deb-lifecycle-testing for 8.0
  • Took 1 min 37 sec . View more details here
  • Description: PHP_VERSION=8.0 make -C packaging deb-lifecycle-testing
rpm-lifecycle-testing for 8.0
  • Took 1 min 39 sec . View more details here
  • Description: PHP_VERSION=8.0 make -C packaging rpm-lifecycle-testing
tar-lifecycle-testing for 8.0
  • Took 1 min 37 sec . View more details here
  • Description: PHP_VERSION=8.0 make -C packaging tar-lifecycle-testing
apk-lifecycle-testing for 8.1
  • Took 1 min 37 sec . View more details here
  • Description: PHP_VERSION=8.1 make -C packaging apk-lifecycle-testing
deb-lifecycle-testing for 8.1
  • Took 1 min 37 sec . View more details here
  • Description: PHP_VERSION=8.1 make -C packaging deb-lifecycle-testing
rpm-lifecycle-testing for 8.1
  • Took 1 min 40 sec . View more details here
  • Description: PHP_VERSION=8.1 make -C packaging rpm-lifecycle-testing
tar-lifecycle-testing for 8.1
  • Took 1 min 37 sec . View more details here
  • Description: PHP_VERSION=8.1 make -C packaging tar-lifecycle-testing

:bug: Flaky test report

:grey_exclamation: There are test failures but not known flaky tests.

Expand to view the summary

Genuine test errors 16

:broken_heart: There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Initializing / Package lifecycle testing / 7.3,deb,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 7.4,apk,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 7.3,tar,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 7.4,tar,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 7.4,rpm,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 7.3,apk,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 8.0,apk,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 8.1,apk,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 8.1,deb,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 8.0,deb,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 8.1,tar,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 7.4,deb,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 8.0,tar,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 7.3,rpm,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 8.0,rpm,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest
  • Name: Initializing / Package lifecycle testing / 8.1,rpm,component-testing,run_component_tests_cli / testDefaultApiKey – ElasticApmTests.ComponentTests.ApiKeySecretTokenTest

:robot: GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

apmmachine avatar Jun 13 '22 11:06 apmmachine

Superseded by #1000

SergeyKleyman avatar Jun 21 '23 09:06 SergeyKleyman