Skip to content

[2.3] Test lcov/mcdc/mcdc.sh seen fail with "unable to execute 'p4 have'" #380

@hartwork

Description

@hartwork

After sed 's, extract/,,p' -i.bak tests/lcov/Makefile for #378:

test.log for download here (I hope it doesn't contain anything sensitive, please notify me if it does 🙏 )

Am I doing something wrong?:

# make -j5 -j1 check 
Creating coverage files (2 tests, 5 source files)
  Source tree ......... done (950 lines, 50 functions, 3428 branches)
  Full coverage ....... done
  Target coverage ..... done
  Partial coverage .... done
  Zero coverage ....... done
Starting tests
genhtml/full.sh ................... [pass] (time 3.3s, mem 48.7MB)
genhtml/zero.sh ................... [pass] (time 2.4s, mem 48.6MB)
genhtml/demangle.sh ............... [pass] (time 6.0s, mem 40.7MB)
genhtml/relative/relative.sh ...... [pass] (time 1.0s, mem 40.10MB)
genhtml/lambda/lambda.sh .......... [pass] (time 10.8s, mem 122.7MB)
lcov/add/zero.sh .................. [pass] (time 2.0s, mem 39.4MB)
lcov/add/zero2.sh ................. [pass] (time 1.5s, mem 44.5MB)
lcov/add/full.sh .................. [pass] (time 0.8s, mem 39.7MB)
lcov/add/full2.sh ................. [pass] (time 1.2s, mem 44.7MB)
lcov/add/prune.sh ................. [pass] (time 1.6s, mem 35.9MB)
lcov/add/track.sh ................. [pass] (time 0.4s, mem 35.2MB)
lcov/misc/help.sh ................. [pass] (time 0.3s, mem 34.3MB)
lcov/misc/version.sh .............. [pass] (time 0.3s, mem 34.7MB)
lcov/summary/zero.sh .............. [pass] (time 0.6s, mem 39.4MB)
lcov/summary/full.sh .............. [pass] (time 0.7s, mem 39.7MB)
lcov/demangle/demangle.sh ......... [pass] (time 4.9s, mem 59.2MB)
lcov/exception/exception.sh ....... [pass] (time 5.9s, mem 48.1MB)
lcov/gcov-tool/path.sh ............ [pass] (time 7.8s, mem 36.0MB)
lcov/branch/branch.sh ............. [pass] (time 3.2s, mem 58.8MB)
lcov/merge/merge.sh ............... [pass] (time 4.6s, mem 34.10MB)
lcov/format/format.sh ............. [pass] (time 2.9s, mem 35.1MB)
lcov/errs/errs.sh ................. [pass] (time 12.7s, mem 35.1MB)
lcov/multiple/multiple.sh ......... [pass] (time 2.1s, mem 35.7MB)
lcov/follow/follow.sh ............. [pass] (time 2.1s, mem 35.9MB)
lcov/initializer/initializer.sh ... [pass] (time 2.0s, mem 83.2MB)
lcov/lambda/lambda.sh ............. [pass] (time 0.6s, mem 38.2MB)
lcov/mcdc/mcdc.sh ................. [fail] (time 1.2s, mem 91.4MB)
    Skipping 56 previous lines (see /var/tmp/portage/dev-util/lcov-2.3/work/lcov-2.3/tests//test.log)
    ...
      $ genhtml -o html_report myExe.info ...
    
    Unknown option: unknown_arg
    argparse failedJSON file argument required at /var/tmp/portage/dev-util/lcov-2.3/work/lcov-2.3/bin/llvm2lcov line 119.
    SKIPPING MC/DC tests:  ancient compiler
    1 && (1 || 0)
    llvm2lcov: ERROR: (package) unable to create callback from module '/var/tmp/portage/dev-util/lcov-2.3/work/lcov-2.3/scripts/P4version.pm': unable to execute 'p4 have': No such file or directory at /var/tmp/portage/dev-util/lcov-2.3/work/lcov-2.3/scripts/P4version.pm line 127.
        (use "llvm2lcov --ignore-errors package ..." to bypass this error)
    ERROR from llvm2lcov clangTest1
  EXITCODE ...: 1
make[3]: *** [../../common.mak:116: check] Error 1
make[2]: *** [../common.mak:116: check] Error 1
27 tests executed, 26 passed, 1 failed, 0 skipped (time 84.0s, mem 1281.8MB)
Result log stored in /var/tmp/portage/dev-util/lcov-2.3/work/lcov-2.3/tests/test.log
make[1]: *** [common.mak:116: check] Error 1
make: *** [Makefile:262: check] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions