Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a runtime dep to libxi so the pkgconf test pipeline passes #1

Open
wants to merge 1,404 commits into
base: main
Choose a base branch
from

Conversation

murraybd
Copy link
Owner

joshrwolf and others added 30 commits November 19, 2024 10:42
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
🤖 generated for as part of [expanding package test
coverage](wolfi-dev#13623)

Signed-off-by: Josh Wolf <[email protected]>
this got lost in the shuffle, adding it back in.

keeping the 🤖 tests as well even they do arguably the same thing only
worse because these are cheap

Signed-off-by: Josh Wolf <[email protected]>
use of openssl-legacy-provider is to avoid the:

>  RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is
>  a fatal error by default, but cryptography supports running without
>  legacy algorithms by setting the environment variable
>  CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you
>  have likely made a mistake with your OpenSSL configuration.

The use of test/populated-etc-passwd is to cover python 3.13.
os.getuid() requires. either USER set or user in /etc/passwd.

> ```
>  + fab --version
>  Traceback (most recent call last):
>    File "/usr/lib/python3.13/getpass.py", line 173, in getuser
>      return pwd.getpwuid(os.getuid())[0]
>             ~~~~~~~~~~~~^^^^^^^^^^^^^
>  KeyError: 'getpwuid(): uid not found: 1000'
> ```

py3-deprecated needed changing to not provide py3-Deprecated
at a specific version.
octo-sts bot and others added 27 commits November 21, 2024 14:03
argo-workflows/3.6.0-r0: fix CVE-2024-34158

Advisory data:
https://github.com/wolfi-dev/advisories/blob/main/argo-workflows.advisories.yaml

---------

Signed-off-by: Batuhan Apaydin <[email protected]>
Co-authored-by: octo-sts[bot] <[email protected]>
Co-authored-by: Batuhan Apaydin <[email protected]>
murraybd pushed a commit that referenced this pull request Feb 12, 2025
)

Samba needs to be rebuilt from the rebuilt py3-event version [1] to
solve build-time and runtime issues.

Furhtermore a new test for samba-client has been added with this commit.

The current published py3-tevent content differs from the one generated
from current builds. With the published version samba fails to build
with the error:
```
2025/02/07 11:01:33 ERRO failed to build package: unable to build guest: unable to generate image: installing apk packages: installing packages: installing py3-tevent (ver:0.16.2-r0 arch:x86_64): unable to install files for pkg py3-tevent: unable to install file over existing one, different contents:
usr/lib/python3.13/site-packages/talloc.cpython-313-x86_64-linux-gnu.so
```

Also, at runtime samba-client panics with:
```
$ apk add --no-cache samba-client >/dev/null && smbclient -L 127.0.0.1

Can't load /etc/samba/smb.conf - run testparm to debug it Bad talloc magic value - unknown value
=============================================================== INTERNAL ERROR: Bad talloc magic value - unknown value in smbclient () () pid 1 (4.21.3)
If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting =============================================================== PANIC (pid 1): Bad talloc magic value - unknown value in 4.21.3 BACKTRACE: 14 stack frames:
 #0 /usr/lib/samba/libgenrand-private-samba.so(log_stack_trace+0x44)
[0x7fe75f5bf814]
 #1 /usr/lib/samba/libgenrand-private-samba.so(smb_panic+0x15)
[0x7fe75f5bfab5]
 wolfi-dev#2 /usr/lib/libtalloc.so.2(+0x5a08) [0x7fe75f5a3a08]
 wolfi-dev#3 /usr/lib/libtalloc.so.2(talloc_named_const+0x30) [0x7fe75f5a4260]
 wolfi-dev#4 /usr/lib/samba/libgse-private-samba.so(resolve_name_list+0x6b)
[0x7fe75eb5b38b]
 wolfi-dev#5 /usr/lib/samba/liblibsmb-private-samba.so(+0x1805e) [0x7fe75f9fd05e]
 wolfi-dev#6 /usr/lib/samba/liblibsmb-private-samba.so(cli_connect_nb+0x7c)
[0x7fe75fa00f5c]
 wolfi-dev#7 /usr/lib/samba/liblibsmb-private-samba.so(+0x396f4) [0x7fe75fa1e6f4]
 wolfi-dev#8 /usr/lib/samba/liblibsmb-private-samba.so(+0x39d67) [0x7fe75fa1ed67]
 wolfi-dev#9 /usr/lib/samba/liblibsmb-private-samba.so(cli_cm_open+0xa7)
[0x7fe75fa1ef17]
 wolfi-dev#10 smbclient(main+0xb9d) [0x5572699730dd]
 wolfi-dev#11 /lib/libc.so.6(+0x26188) [0x7fe75f300188]
 wolfi-dev#12 /lib/libc.so.6(__libc_start_main+0x8b) [0x7fe75f30024b]
 wolfi-dev#13 smbclient(_start+0x25) [0x557269973d65]
Can not dump core: corepath not set up
```

1. wolfi-dev#41586

Signed-off-by: Massimiliano Giovagnoli <[email protected]>
Co-authored-by: Wojciech Kocjan <[email protected]>
Copy link

This Pull Request is stale because it has been open for 90 days with
no activity. It will automatically close after 30 more days of
inactivity. Keep fresh with the 'lifecycle/frozen' label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libxi will fail pkgconf test pipeline