Prepare CI for Perfetto

Aberta
#4,557 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
ci-cd, infrastructure

Direção de pesquisa

Start by comparing the four named Jenkins jobs with the CI invocation paths in the issue and the Perfetto download behavior in Node.js 27+. Check whether each job should invoke make jstest or set TRACE_PROCESSOR_SHELL_PATH=/dev/null; the certificate failures may need separate investigation. Done when all four jobs handle the Perfetto setup and tests successfully in CI.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

In https://github.com/nodejs/node/pull/65794, I'm trying to enable Perfetto by default.

I've run https://ci.nodejs.org/job/node-test-pull-request/78791/ and the following jobs are failing and would require changes on Jenkins side:

  • Jobs failing because they never attempt to download trace_processor_shell:

    • node-test-commit-custom-suites-freestyle (test-worker): Calls /home/iojs/venv/bin/python3 tools/test.py -j 4 -p tap --logfile test.tap --mode=release --flaky-tests=dontcare --worker default directly instead of make jstest -j4 TEST_CI_ARGS=--worker. Possible workaround: set TRACE_PROCESSOR_SHELL_PATH=/dev/null to skip the download and the tests, or switch to make command (or call make tools/perfetto/trace_processor_shell / python3 tools/perfetto/get_trace_processor.py only on 27+).
    • ubuntu2404_sharedlibs_withoutssl_x64: Calls /usr/local/venv/bin/python3 tools/test.py -j 4 -p tap --logfile test.tap --flaky-tests=skip default instead of make jstest -j4. Possible workaround: set TRACE_PROCESSOR_SHELL_PATH=/dev/null to skip the download and the tests, or switch to make command (or call make tools/perfetto/trace_processor_shell / python3 tools/perfetto/get_trace_processor.py only on 27+).
  • Jobs attempting but failing to download trace_processor_shell:

    • ubuntu2404_sharedlibs_openssl30_x64: CERTIFICATE_VERIFY_FAILED. Possible workaround: set TRACE_PROCESSOR_SHELL_PATH=/dev/null to skip the download and the tests
    • ubuntu2404_sharedlibs_openssl35_x64: CERTIFICATE_VERIFY_FAILED. Possible workaround: set TRACE_PROCESSOR_SHELL_PATH=/dev/null to skip the download and the tests

The TL;DR quickest workaround is to set TRACE_PROCESSOR_SHELL_PATH=/dev/null on those 4 jobs.

Linguagem predominante
Jinja
Estrelas
543
Forks
184
Merge médio
4d 6h
PRs com merge (30d)
8

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de nodejs/build

Todas as issues de nodejs/build

Issues semelhantes

Mais issues de DevOps

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.