oss-fuzz icon indicating copy to clipboard operation
oss-fuzz copied to clipboard

infra: migrate chronos to helper.py

Open DavidKorczynski opened this issue 1 month ago • 2 comments

$ 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).

DavidKorczynski avatar Nov 19 '25 22:11 DavidKorczynski

/gcbrun skip

DavidKorczynski avatar Nov 24 '25 21:11 DavidKorczynski

/gcbrun skip

DavidKorczynski avatar Dec 08 '25 22:12 DavidKorczynski

/gcbrun trial_build.py expat assimp ffmpeg quickjs skcms --fuzzing-engines libfuzzer --sanitizers address

DavidKorczynski avatar Dec 16 '25 11:12 DavidKorczynski