Skip to contentSkip to conversation

Add peci-pcie repo to CI

DISCUSSION Bills, Jason M 5 participants 7 messages Oct 8, 2020 – Nov 17, 2020

lore
Share & tools
lore
#3 lore raw
Quoted 7 lines · Jozef

Hi OpenBMC,
I am looking for guidance or advice how to enable CI jobs for telemetry repository (https://github.com/openbmc/telemetry <https://github.com/openbmc/telemetry>). Thanks in advance for response.

I added the repo to our CI. I do see this error though:

meson.build:1:0: ERROR: Meson version is 0.54.3 but project requires >=0.55.0

If you need that level of meson then please submit a gerrit commit to openbmc-build-scripts to update what CI uses:
https://github.com/openbmc/openbmc-build-scripts/blob/master/build-unit-test-docker.sh#L284

Quoted 3 lines

Thanks,
Jozef

#4 lore raw
Quoted 5 lines · Andrew Geissler
Quoted 5 lines · Jozef
Quoted 7 lines
Quoted 3 lines

Hi OpenBMC,
I am looking for guidance or advice how to enable CI jobs for telemetry repository (https://github.com/openbmc/telemetry <https://github.com/openbmc/telemetry>). Thanks in advance for response.

I added the repo to our CI. I do see this error though:

meson.build:1:0: ERROR: Meson version is 0.54.3 but project requires >=0.55.0

FYI, That package won't build and work until PECI is added back to the linux tree. See discussion below for details as to why, and what you can do to help upstream it.

https://lore.kernel.org/openbmc/CACPK8XddFvszC1daDKTtqwkE-XDfB7uYFP_H4HZXNUxvNHUaqw@mail.gmail.com/

Quoted 9 lines

If you need that level of meson then please submit a gerrit commit to openbmc-build-scripts to update what CI uses:
https://github.com/openbmc/openbmc-build-scripts/blob/master/build-unit-test-docker.sh#L284

Quoted 3 lines

Thanks,
Jozef

#5 lore raw

Sorry for subject, I forgot to change it. It should be "Add telemetry report to CI jobs". Mail is not related to peci-pcie.
Great, thanks for help with enabling it. I decreased meson version to 0.54.3, it is ok for telemetry project. Telemetry required to bump boost to 1.74.0 in container to use CI in the latest patches ->

https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-build-scripts/+/38323

Regards,
Jozef

Quoted 24 lines · Ed Tanous
Quoted 10 lines · Andrew Geissler
Quoted 7 lines · Jozef

Hi OpenBMC,
I am looking for guidance or advice how to enable CI jobs for telemetry repository (https://github.com/openbmc/telemetry <https://github.com/openbmc/telemetry>). Thanks in advance for response.

I added the repo to our CI. I do see this error though:

meson.build:1:0: ERROR: Meson version is 0.54.3 but project requires >=0.55.0

FYI, That package won't build and work until PECI is added back to the linux tree. See discussion below for details as to why, and what you can do to help upstream it.

https://lore.kernel.org/openbmc/CACPK8XddFvszC1daDKTtqwkE-XDfB7uYFP_H4HZXNUxvNHUaqw@mail.gmail.com/

Quoted 7 lines

If you need that level of meson then please submit a gerrit commit to openbmc-build-scripts to update what CI uses:
https://github.com/openbmc/openbmc-build-scripts/blob/master/build-unit-test-docker.sh#L284

Quoted 3 lines

Thanks,
Jozef

#6 lore raw

Ok, now everything builds after bumping boost.

I wonder how to read error log from test failure, for example from here
https://jenkins.openbmc.org/job/ci-repository/7973/consoleFull <https://jenkins.openbmc.org/job/ci-repository/7973/consoleFull>

[29/29] Linking target tests/telemetry-ut
*1/1 telemetry-ut FAIL 6.28s (exit status 1)*

Ok:                 0
Expected Fail:      0
Fail:               1
Unexpected Pass:    0
Skipped:            0
Timeout:            0

Full log written to /home/jenkins-slave/workspace/ci-repository/openbmc/telemetry/build/meson-logs/testlog-ubasan.txt

If testlog-ubasan.txt is not stored anywhere, I am going to add --print-errorlogs to unit_test.py (https://github.com/openbmc/openbmc-build-scripts/blob/master/scripts/unit-test.py#L888 <https://github.com/openbmc/openbmc-build-scripts/blob/master/scripts/unit-test.py#L888>) . Hope you are ok with it

Thanks,
Jozef

Quoted 37 lines · Jozef

Sorry for subject, I forgot to change it. It should be "Add telemetry report to CI jobs". Mail is not related to peci-pcie.
Great, thanks for help with enabling it. I decreased meson version to 0.54.3, it is ok for telemetry project. Telemetry required to bump boost to 1.74.0 in container to use CI in the latest patches ->

https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-build-scripts/+/38323

Regards,
Jozef

Quoted 27 lines · Ed Tanous
Quoted 11 lines · Andrew Geissler
Quoted 7 lines · Jozef

Hi OpenBMC,
I am looking for guidance or advice how to enable CI jobs for telemetry repository (https://github.com/openbmc/telemetry <https://github.com/openbmc/telemetry>). Thanks in advance for response.

I added the repo to our CI. I do see this error though:

meson.build:1:0: ERROR: Meson version is 0.54.3 but project requires

Quoted 1 line

=0.55.0

FYI, That package won't build and work until PECI is added back to the linux tree.  See discussion below for details as to why, and what you can do to help upstream it.

https://lore.kernel.org/openbmc/CACPK8XddFvszC1daDKTtqwkE-XDfB7uYFP_H4HZXNUxvNHUaqw@mail.gmail.com/

Quoted 8 lines

If you need that level of meson then please submit a gerrit commit to openbmc-build-scripts to update what CI uses:
https://github.com/openbmc/openbmc-build-scripts/blob/master/build-unit-test-docker.sh#L284

Quoted 3 lines

Thanks,
Jozef