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 j2xunit #721

Closed
wants to merge 9 commits into from
Closed

test j2xunit #721

wants to merge 9 commits into from

Conversation

efd6
Copy link
Contributor

@efd6 efd6 commented Mar 7, 2022

TEST DO NOT MERGE

efd6 added 5 commits March 5, 2022 00:36
…eNumber

By default, numbers are unmarshaled as float64 resulting in low bits truncation
in longs that are above 53 bits wide, so use a decoder and UseNumber to ensure
results are not corrupted.
@elasticmachine
Copy link
Collaborator

elasticmachine commented Mar 7, 2022

💔 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](https://ci-stats.elastic.co/app/apm/services/beats-ci/transactions/view?rangeFrom=2022-03-09T23:16:40.351Z&rangeTo=2022-03-09T23:36:40.351Z&transactionName=BUILD Ingest-manager/elastic-package/PR-{number}&transactionType=job&latencyAggregationType=avg&traceId=d7fb2c8b6f25f50a58a0d9e122465def&transactionId=d7db2b23fcf80b40)

Expand to view the summary

Build stats

  • Start Time: 2022-03-09T23:26:40.351+0000

  • Duration: 4 min 14 sec

Test stats 🧪

Test Results
Failed 4
Passed 181
Skipped 0
Total 185

Test errors 4

Expand to view the tests failures

TestScripts/run_generate – github.com/elastic/elastic-package/internal/testrunner/runners/pipeline
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestScripts/run_generate
    === PAUSE TestScripts/run_generate
    === CONT  TestScripts/run_generate
    === CONT  TestScripts/run_generate
        testscript.go:397: 
            WORK=$WORK
            PATH=/tmp/testscript-main3810549424/bin:/var/lib/jenkins/workspace/t-manager_elastic-package_PR-721/bin:/var/lib/jenkins/workspace/t-manager_elastic-package_PR-721/.gvm/versions/go1.17.6.linux.amd64/bin:/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
            HOME=/no-home
            TMPDIR=$WORK/.tmp
            devnull=/dev/null
            /=/
            :=:
            $=$
            TESTSCRIPT_COVER_DIR=/tmp/testscript-main3810549424/cover
            exe=
            
            # Demonstrate that long numerical fields are properly regenerated when the
            # low bits are set in values greater than 53 bits wide.
            # Irrespective of the marshalling approach, this will succeed, since all
            # the values are being unmarshaled through the same process. Bad things
            # have happened if this is not the case. (0.010s)
            > ! runValidation config.json datastream golden.json obtained.json true
            FAIL: testdata/run_generate.txt:7: unexpected command success
            
        --- FAIL: TestScripts/run_generate (0.01s)
     
    

TestScripts/run – github.com/elastic/elastic-package/internal/testrunner/runners/pipeline
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestScripts/run
    === PAUSE TestScripts/run
    === CONT  TestScripts/run
    === CONT  TestScripts/run
        testscript.go:397: 
            WORK=$WORK
            PATH=/tmp/testscript-main3810549424/bin:/var/lib/jenkins/workspace/t-manager_elastic-package_PR-721/bin:/var/lib/jenkins/workspace/t-manager_elastic-package_PR-721/.gvm/versions/go1.17.6.linux.amd64/bin:/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
            HOME=/no-home
            TMPDIR=$WORK/.tmp
            devnull=/dev/null
            /=/
            :=:
            $=$
            TESTSCRIPT_COVER_DIR=/tmp/testscript-main3810549424/cover
            exe=
            
            # Demonstrate that long numerical fields match when the low bits are set
            # in values greater than 53 bits wide. (0.011s)
            > ! runValidation config.json datastream golden.json obtained.json false
            FAIL: testdata/run.txt:4: unexpected command success
            
        --- FAIL: TestScripts/run (0.01s)
     
    

TestScripts/run_failing – github.com/elastic/elastic-package/internal/testrunner/runners/pipeline
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestScripts/run_failing
    === PAUSE TestScripts/run_failing
    === CONT  TestScripts/run_failing
    === CONT  TestScripts/run_failing
        testscript.go:397: 
            WORK=$WORK
            PATH=/tmp/testscript-main3810549424/bin:/var/lib/jenkins/workspace/t-manager_elastic-package_PR-721/bin:/var/lib/jenkins/workspace/t-manager_elastic-package_PR-721/.gvm/versions/go1.17.6.linux.amd64/bin:/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
            HOME=/no-home
            TMPDIR=$WORK/.tmp
            devnull=/dev/null
            /=/
            :=:
            $=$
            TESTSCRIPT_COVER_DIR=/tmp/testscript-main3810549424/cover
            exe=
            
            # Demonstrate that long numerical fields mis-match when the low bits are set
            # differently in values greater than 53 bits wide. (0.017s)
            > ! runValidation config.json datastream golden.json obtained.json false
            [stderr]
            2022/03/09 23:30:49 failed to verify: test case failed: Expected results are different from actual ones
            [exit status 1]
            > ! stdout .
            > ! stderr 'failed to verify: test case failed: Expected results are different from actual ones'
            FAIL: testdata/run_failing.txt:6: unexpected match for `failed to verify: test case failed: Expected results are different from actual ones` found in stderr: failed to verify: test case failed: Expected results are different from actual ones
            
        --- FAIL: TestScripts/run_failing (0.02s)
     
    

TestScripts – github.com/elastic/elastic-package/internal/testrunner/runners/pipeline
    Expand to view the error details

     Failed 
    

    Expand to view the stacktrace

     === RUN   TestScripts
    --- FAIL: TestScripts (0.00s)
     
    

Steps errors 2

Expand to view the steps failures

Check
  • Took 0 min 19 sec . View more details here
  • Description: make test-go-ci
Google Storage Download
  • Took 0 min 0 sec . View more details here

🤖 GitHub comments

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

  • /test : Re-trigger the build.

@jsoriano
Copy link
Member

Closing this as this will be superseded by #732 and #740. Thanks @efd6!

@jsoriano jsoriano closed this Mar 18, 2022
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.

3 participants