#128 Jenkins job should run mock with network *disabled* like in Koji
Closed: Fixed 5 years ago Opened 6 years ago by dcallagh.

In the Jenkinsfile, we use mock to build an RPM from the current git commit. This is an important test to ensure that we will be able to build the package properly when it gets released and goes into dist-git.

However in PR#126 we had to enable network access in the mock build, to avoid a problem where Sphinx would retry fetching intersphinx inventory files from the network, which failed but took 10 minutes of retries before it gave up.

We should find a different solution to the intersphinx problem, so that the RPM build completes normally (in a normal amount of time) without network access. Then we should remove --enable-networking in the Jenkinsfile so that it more closely matches Koji's behaviour.


Same thing in Greenwave... Whatever solution we use here, do the same in Greenwave.

One possibility is to just copy the intersphinx inventories we need into the source tree so that Sphinx doesn't go to the network to download them. We did this in Beaker. The downside is we have to carry these .inv files for third-party projects in our git tree, and also have to remember to keep them updated.

Metadata Update from @dcallagh:
- Issue assigned to dcallagh

6 years ago

Oh, is it the intersphinx inventories, or the issue tracker lookups? Maybe both.

Metadata Update from @dcallagh:
- Assignee reset

6 years ago

Metadata Update from @lholecek:
- Issue assigned to lholecek

5 years ago

Metadata Update from @lholecek:
- Assignee reset

5 years ago

Metadata Update from @lholecek:
- Issue assigned to lholecek

5 years ago

Metadata Update from @lholecek:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)
- Issue tagged with: enhancement

5 years ago

Metadata Update from @dcallagh:
- Issue set to the milestone: 0.11

5 years ago

Login to comment on this ticket.

Metadata