oss-fuzz
oss-fuzz copied to clipboard
infra: migrate chronos to helper.py
$ python3 infra/helper.py check-tests --integrity-check json-c
...
23/25 Test #23: test_object_iterator ............. Passed 0.02 sec
Start 24: test_json_pointer
24/25 Test #24: test_json_pointer ................ Passed 0.02 sec
Start 25: test_json_patch
25/25 Test #25: test_json_patch .................. Passed 0.03 sec
100% tests passed, 0 tests failed out of 25
Total Test time (real) = 0.71 sec
Integrity validator run tests for project: json-c
Diff patching for stage after.
Diff patch analysis begin. Stage: after, Current working dir: /src/json-c
Diff patch analysis after stage.
Git repo found: /src/json-c
Diff patch generated at /tmp/chronos-diff.patch
Difference between diffs:
Patch result: success. No patch found that affects source control versioning.
INFO:chronos.manager:succeeded patch: True
INFO:chronos.manager:run_tests.sh result succeeded: does not patch source control
INFO:chronos.manager:json-c test completion succeeded: Duration of run_tests.sh: 2.45 seconds
and for a failing project:
$ python3 infra/helper.py check-tests --integrity-check cups
...
> -#~ msgstr "Utilização: cups-x509 [OPÇÕES] [COMANDO] [ARGUMENTO]"
> -
> -#, c-format
> -#~ msgid "cups-x509: Bad URI '%s'."
> -#~ msgstr "O URI '%s' não é válido para o cups-x509."
> -
> -#, c-format
> -#~ msgid "cups-x509: Unable to connect to '%s' on port %d: %s"
> -#~ msgstr "Não foi possível conectar '%s' na porta %d de %s para o cups-x509"
Patch result: failed. Patch found that affects source control versioning.
INFO:chronos.manager:succeeded patch: False
INFO:chronos.manager:run_tests.sh result failed: patches source control
INFO:chronos.manager:cups test completion failed: Duration of run_tests.sh: 278.28 seconds
Cups is failing because it patches the source control (fix in https://github.com/google/oss-fuzz/pull/14291).
/gcbrun skip
/gcbrun skip
/gcbrun trial_build.py expat assimp ffmpeg quickjs skcms --fuzzing-engines libfuzzer --sanitizers address