Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/o…
Package network:osmocom:nightly/osmo-upf failed to build in openSUSE_Leap_15.1_ARM/aarch64
Check out the package for editing:
osc checkout network:osmocom:nightly osmo-upf
Last lines of build log:
[ 68s] checking for pkg-config... /usr/bin/pkg-config
[ 68s] checking for aarch64-suse-linux-gnu-pkg-config... /usr/bin/aarch64-suse-linux-gnu-pkg-config
[ 68s] checking pkg-config is at least version 0.20... yes
[ 68s] checking for libosmocore >= 1.5.0... yes
[ 68s] checking for libosmovty >= 1.5.0... yes
[ 68s] checking for libosmoctrl >= 1.5.0... yes
[ 68s] checking for libosmo-gtlv >= 0.1.0... no
[ 68s] configure: error: Package requirements (libosmo-gtlv >= 0.1.0) were not met:
[ 68s]
[ 68s] No package 'libosmo-gtlv' found
[ 68s]
[ 68s] Consider adjusting the PKG_CONFIG_PATH environment variable if you
[ 68s] installed software in a non-standard prefix.
[ 68s]
[ 68s] Alternatively, you may set the environment variables LIBOSMOGTLV_CFLAGS
[ 68s] and LIBOSMOGTLV_LIBS to avoid the need to call pkg-config.
[ 68s] See the pkg-config man page for more details.
[ 68s] error: Bad exit status from /var/tmp/rpm-tmp.waNLky (%build)
[ 68s]
[ 68s]
[ 68s] RPM build errors:
[ 68s] Bad exit status from /var/tmp/rpm-tmp.waNLky (%build)
[ 68s] ### VM INTERACTION START ###
[ 69s] [ 59.680262] sysrq: SysRq : Power Off
[ 69s] [ 59.682557] reboot: Power down
[ 69s] ### VM INTERACTION END ###
[ 69s]
[ 69s] obs-arm-7 failed "build osmo-upf.spec" at Sat Aug 20 01:17:43 UTC 2022.
[ 69s]
--
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/l…
Package network:osmocom:nightly/libosmo-pfcp failed to build in openSUSE_Factory_ARM/armv7l
Check out the package for editing:
osc checkout network:osmocom:nightly libosmo-pfcp
Last lines of build log:
[ 48s] libosmo-pfcp-devel.armv7hl: E: no-changelogname-tag
[ 48s] libosmo-pfcp0.armv7hl: E: no-changelogname-tag
[ 48s] libosmo-pfcp.src: E: no-changelogname-tag
[ 48s] There is no changelog. Please insert a '%changelog' section heading in your
[ 48s] spec file and prepare your changes file using e.g. the 'osc vc' command.
[ 48s]
[ 48s] libosmo-pfcp.src: W: name-repeated-in-summary libosmo-pfcp
[ 48s] The name of the package is repeated in its summary. Make the summary brief and
[ 48s] to the point without including redundant information in it.
[ 48s]
[ 48s] libosmo-gtlv-devel.armv7hl: E: lto-no-text-in-archive (Badness: 10000) /usr/lib/libosmo-gtlv.a
[ 48s] libosmo-pfcp-devel.armv7hl: E: lto-no-text-in-archive (Badness: 10000) /usr/lib/libosmo-pfcp.a
[ 48s] This archive does not contain a non-empty .text section. The archive was not
[ 48s] created with -ffat-lto-objects option.
[ 48s]
[ 48s] ---------------- Badness 20227 exceeds threshold 999, aborting. ----------------
[ 48s] Check time report (>1% & >0.1s):
[ 48s] Check Duration (in s) Fraction (in %) Checked files
[ 48s] TOTAL 0.3 100.0 26
[ 48s]
[ 48s] 5 packages and 0 specfiles checked; 11 errors, 3 warnings, 20227 badness; has taken 0.3 s
[ 48s]
[ 48s] ### VM INTERACTION START ###
[ 48s] [ 42.839944][ T1] sysrq: Power Off
[ 48s] [ 42.840636][ T65] reboot: Power down
[ 48s] ### VM INTERACTION END ###
[ 48s]
[ 48s] obs-arm-11 failed "build libosmo-pfcp.spec" at Sat Aug 20 01:05:02 UTC 2022.
[ 48s]
--
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/o…
Package network:osmocom:nightly/osmo-upf failed to build in openSUSE_Factory_ARM/armv7l
Check out the package for editing:
osc checkout network:osmocom:nightly osmo-upf
Last lines of build log:
[ 33s] checking whether to build static libraries... yes
[ 33s] checking for pkg-config... /usr/bin/pkg-config
[ 33s] checking for armv7hl-suse-linux-gnueabi-pkg-config... /usr/bin/armv7hl-suse-linux-gnueabi-pkg-config
[ 33s] checking pkg-config is at least version 0.20... yes
[ 33s] checking for LIBOSMOCORE... yes
[ 33s] checking for LIBOSMOVTY... yes
[ 33s] checking for LIBOSMOCTRL... yes
[ 33s] checking for LIBOSMOGTLV... no
[ 33s] configure: error: Package requirements (libosmo-gtlv >= 0.1.0) were not met:
[ 33s]
[ 33s] Package 'libosmo-gtlv', required by 'virtual:world', not found
[ 33s]
[ 33s] Consider adjusting the PKG_CONFIG_PATH environment variable if you
[ 33s] installed software in a non-standard prefix.
[ 33s]
[ 33s] Alternatively, you may set the environment variables LIBOSMOGTLV_CFLAGS
[ 33s] and LIBOSMOGTLV_LIBS to avoid the need to call pkg-config.
[ 33s] See the pkg-config man page for more details.
[ 33s] error: Bad exit status from /var/tmp/rpm-tmp.StrKOB (%build)
[ 33s]
[ 33s] RPM build errors:
[ 33s] Bad exit status from /var/tmp/rpm-tmp.StrKOB (%build)
[ 33s] ### VM INTERACTION START ###
[ 33s] [ 27.065422][ T1] sysrq: Power Off
[ 33s] [ 27.065968][ T283] reboot: Power down
[ 33s] ### VM INTERACTION END ###
[ 33s]
[ 33s] obs-arm-11 failed "build osmo-upf.spec" at Sat Aug 20 01:03:45 UTC 2022.
[ 33s]
--
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/o…
Package network:osmocom:nightly/osmo-upf failed to build in openSUSE_Tumbleweed/i586
Check out the package for editing:
osc checkout network:osmocom:nightly osmo-upf
Last lines of build log:
[ 60s] checking whether to build static libraries... yes
[ 60s] checking for pkg-config... /usr/bin/pkg-config
[ 60s] checking for i586-suse-linux-gnu-pkg-config... /usr/bin/i586-suse-linux-gnu-pkg-config
[ 60s] checking pkg-config is at least version 0.20... yes
[ 60s] checking for LIBOSMOCORE... yes
[ 60s] checking for LIBOSMOVTY... yes
[ 60s] checking for LIBOSMOCTRL... yes
[ 60s] checking for LIBOSMOGTLV... no
[ 60s] configure: error: Package requirements (libosmo-gtlv >= 0.1.0) were not met:
[ 60s]
[ 60s] Package 'libosmo-gtlv', required by 'virtual:world', not found
[ 60s]
[ 60s] Consider adjusting the PKG_CONFIG_PATH environment variable if you
[ 60s] installed software in a non-standard prefix.
[ 60s]
[ 60s] Alternatively, you may set the environment variables LIBOSMOGTLV_CFLAGS
[ 60s] and LIBOSMOGTLV_LIBS to avoid the need to call pkg-config.
[ 60s] See the pkg-config man page for more details.
[ 60s] error: Bad exit status from /var/tmp/rpm-tmp.bgAVN0 (%build)
[ 60s]
[ 60s] RPM build errors:
[ 60s] Bad exit status from /var/tmp/rpm-tmp.bgAVN0 (%build)
[ 60s] ### VM INTERACTION START ###
[ 60s] [ 48.721790][ T1] sysrq: Power Off
[ 60s] [ 48.727462][ T99] reboot: Power down
[ 60s] ### VM INTERACTION END ###
[ 60s]
[ 60s] lamb10 failed "build osmo-upf.spec" at Sat Aug 20 00:35:11 UTC 2022.
[ 60s]
--
Configure notifications at https://build.opensuse.org/my/subscriptions
openSUSE Build Service (https://build.opensuse.org/)
Attention is currently required from: osmith, daniel.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/29163 )
Change subject: Release new version: 0.1.2
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/29163
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: I2b71212009149ea46effecb08d96620cc67c944b
Gerrit-Change-Number: 29163
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: daniel <dwillmann(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 19 Aug 2022 22:25:02 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: laforge, pespin, dexter.
Christian Amsüss has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/29033 )
Change subject: Add new pySim.ota library, implement SIM OTA crypto
......................................................................
Patch Set 5:
(3 comments)
Patchset:
PS5:
I've verified this module's encryption and decryption against what SJA2 and one other SIM implementation.
Most comments are on an "it's not broken" level and could just as well be addressed later, but the PCNT should not get overlooked, so I'm leaving this at +1 until that is fixed to avoid accidental merging (if a +2 from me even carried the weight to make things mergable).
File pySim/ota.py:
https://gerrit.osmocom.org/c/pysim/+/29033/comment/2a3b12c8_25dcdd2e
PS5, Line 402: def decode_resp(self, otak: OtaKeyset, spi: dict, data: bytes) -> bytes:
`-> bytes` is currently inaccurate, should be `CompactRemoteResp` (but see below)
https://gerrit.osmocom.org/c/pysim/+/29033/comment/ce9cbba8_295545de
PS5, Line 452: return dec
There will need to be an API change later here, as in cases of `res.response_status == 'actual_response_sms_submit'`, we'll rather need the res (and the CompactRemoteResp parsing fails in these cases, currently) rather than the dec.
A concrete suggestion for a change is in I1c488a19ad75114255c8ff1c59d903388451b37a in the chrysn/for-29033 branch.
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/29033
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I193ff4712c8503279c017b4b1324f0c3d38b9f84
Gerrit-Change-Number: 29033
Gerrit-PatchSet: 5
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Christian Amsüss <chrysn(a)fsfe.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 19 Aug 2022 20:50:50 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: laforge, pespin, dexter.
Christian Amsüss has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/29033 )
Change subject: Add new pySim.ota library, implement SIM OTA crypto
......................................................................
Patch Set 5:
(3 comments)
File pySim/ota.py:
https://gerrit.osmocom.org/c/pysim/+/29033/comment/6ebf4152_00f338c4
PS5, Line 347: apdu += otak.crypt._get_padding(len_cipher, otak.crypt.blocksize)
This should also set pad_cnt. Setting PCNT=0 often works in practice because the last intentional command produces output so the padding zeros aren't even read, but still that's probably not intended.
I'm not sure what the right behavior is with Gerrit here -- I've prepared a fix in the branch chrysn/for-29033 (but didn't push it to refs/change/29033 as that might create a new patchset rather than a proposed patch set if that's even a thing here).
https://gerrit.osmocom.org/c/pysim/+/29033/comment/b3a60db4_7c7cfb9c
PS5, Line 416: res = self.SmsResponsePacket.parse(remainder)
Do we trust this parsing step enought, to
* not raise anything even when run on the encrypted data in the por_shall_be_cipherd case? (If not, it could go into an `else` branch of the next line.)
* to be run before the CC is evaluated? (It's not like we're doing *much* processing yet, but I have a weak personal preference to look at as little data from networks as possible before I've verified it's from a known somewhat-trusted peer.)
(If both are "yes", please just mark as resolved).
https://gerrit.osmocom.org/c/pysim/+/29033/comment/46ee5d21_fe577b61
PS5, Line 443: cc = otak.auth.check_sig(temp_data, res['cc_rc'])
Needless assign; check_sig is merely called for the exception it'd raise.
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/29033
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I193ff4712c8503279c017b4b1324f0c3d38b9f84
Gerrit-Change-Number: 29033
Gerrit-PatchSet: 5
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Christian Amsüss <chrysn(a)fsfe.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 19 Aug 2022 19:09:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment