Hi Sandro,
I have posted a patch[1] that is supposed to disable execution of unit tests during RPM build. Let's see if that works.
The core issue might be the fact that, when compared to regular CI build, in copr there is no artifactory mirror setup (using 'source automation/prepare-maven.sh').
First let's see what happens without the tests.

[1] https://gerrit.ovirt.org/c/vdsm-jsonrpc-java/117788

Artur

On Wed, Nov 24, 2021 at 5:02 PM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
Hi,
can you please have a look at https://cbs.centos.org/kojifiles/work/tasks/8084/2608084/build.log ?
I think it may be related to no open network within the mock environment in cbs.centos.org.
If so, how can I disable the test during the build?

The full task is here: https://cbs.centos.org/koji/taskinfo?taskID=2608074

--

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV

Red Hat EMEA

sbonazzo@redhat.com   

Red Hat respects your work life balance. Therefore there is no need to answer this email out of your office hours.




--
Artur Socha
Senior Software Engineer, RHV
Red Hat