Open Bug 1817962 Opened 3 years ago Updated 2 years ago

The number of warnings locally and on the CI is different

Categories

(Developer Infrastructure :: Source Documentation, defect)

defect

Tracking

(Not tracked)

People

(Reporter: ogiorgis, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0

Steps to reproduce:

The command ./mach doc have less warnings on local than on CI.

Expected results:

We need to list what are the additional warnings on the CI and understand why they are raised.

Hello! Could you please provide more detailed steps on how to reproduce the issue?

Flags: needinfo?(ogiorgis)

Hi @sergiu

When I build the doc on my local machine, I have less warning than on gecko.

For example:
This build https://firefoxci.taskcluster-artifacts.net/fMRfJyxVQEeGhfUZwcKU8A/0/public/logs/live_backing.log finish with 6291 warnings.
But the same changeset on my machine finish with 6231 warnings.

In this case, the following warnings are only on CI:

  • WARNING: Include file '/builds/worker/checkouts/gecko/obj-x86_64-pc-linux-gnu/docs/html/_staging/ipc/_static/PMyManager.ipdl' not found or reading it failed
  • WARNING: autodoc: failed to import module 'docker' from module 'gecko_taskgraph'
  • WARNING: autodoc: failed to import method 'moznetwork.get_ip' from module 'moznetwork';
  • WARNING: autodoc: failed to import module 'test_transforms_job' from module 'gecko_taskgraph.test'
    ...

but it is not exhaustive

Flags: needinfo?(ogiorgis)

Also on CI: FileNotFoundError: [Errno 2] No such file or directory: '/builds/worker/checkouts/gecko/taskcluster/ci/docker-image/kind.yml'

Component: Untriaged → Source Documentation
Product: Firefox → Developer Infrastructure
Version: Firefox 110 → unspecified

The severity field is not set for this bug.
:Sylvestre, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(sledru)
Severity: -- → S4
Flags: needinfo?(sledru)
Blocks: 1864608
Depends on: 1865208

Comment 5 was incorrect. You only get the full count of warnings on a clobber. If you rebuild docs a second time, then you get less.

Bug 1865208 is fixing some issues due to the spares issue.

When run on a clobber, I now see only 4 more warnings over what is seen on CI. I therefore would say it would be better to concentrate on resolving the majority of the warnings, rather than the differences between CI and local machines.

You need to log in before you can comment on or make changes to this bug.