!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

339 Members
104 Servers

Load older messages


SenderMessageTime
26 Jul 2023
@alex:tunstall.xyzAlex
In reply to @raitobezarius:matrix.org
BTW, [0x4A6F] started https://matrix.to/#/#nixos-on-risc-v:matrix.org for RISC-V on NixOS, we want to focus on there on bringing NixOS to a higher platform tier support for RISC-V, we will also organize efforts to make build power available via Nix Community, e.g. remote builders, Hercules-CI builders and Hydra jobsets coordinated via the same remote builders.
Thanks for letting me know, joined.
18:10:47
@olafklingt:matrix.org@olafklingt:matrix.org joined the room.23:07:55
27 Jul 2023
@ribosomerocker:matrix.orgribosomerocker joined the room.02:59:09
@g.d:matrix.orgGrace joined the room.22:22:37
28 Jul 2023
@jackleightcap:matrix.org@jackleightcap:matrix.org set a profile picture.19:03:31
29 Jul 2023
@implr:hackerspace.plimplr anyone built misuzu 's nixos-vf2 recently? it fails on testing coreutils for me 16:10:53
@alex:tunstall.xyzAlex
In reply to @implr:hackerspace.pl
anyone built misuzu 's nixos-vf2 recently? it fails on testing coreutils for me
misuzu themselves have recently built it to test the 6.5.0-rc1 kernel recently published by the vendor.
16:27:13
@alex:tunstall.xyzAlex
In reply to @implr:hackerspace.pl
anyone built misuzu 's nixos-vf2 recently? it fails on testing coreutils for me
Are you building native or cross?
16:31:41
@implr:hackerspace.plimplrcross16:31:49
@implr:hackerspace.plimplr
FAIL: tests/mv/i-1
==================

mv (GNU coreutils) 9.3
Packaged by https://nixos.org
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Parker, David MacKenzie, and Jim Meyering.
a...
i-1.pl: test a failed: exit status mismatch:  expected 1, got 0
FAIL tests/mv/i-1.pl (exit status: 1)
16:32:12
@misuzu:matrix.orgmisuzu
In reply to @implr:hackerspace.pl
anyone built misuzu 's nixos-vf2 recently? it fails on testing coreutils for me
Both native and cross artefacts from master branch should be in cache specified by the flake
16:55:12
@implr:hackerspace.plimplrI was trying to build from scratch without your cache17:09:13
@misuzu:matrix.orgmisuzuMaybe you have some weird nix setup, I've had no issues on NixOS18:35:25
@alex:tunstall.xyzAlexI've successfully reproduced up to coreutils (also on NixOS x86_64). Maybe double check for store corruption and try again, if you don't have unusual Nix settings?18:40:02
@implr:hackerspace.plimplrthanks, it must be on my end then, I'll go debug this20:15:16
@implr:hackerspace.plimplrit's nix (not nixos) on gentoo amd64, so far from standard20:15:32
@trofi:matrix.orgtrofimight be a missing underlying filesystem feature?21:15:51
@trofi:matrix.orgtrofiwhich package you are trying to build out of curiosity? maybe if fails for me as well21:16:27
@artemis:arty.chatartemisim running a build of `nixos-cross-image-efi` on my gentoo amd64 ill let you know if it fails23:37:39
30 Jul 2023
@artemis:arty.chatartemistrofi: i also got an error in the check phase, http://dpaste.com/9RB3YHUA3 I'm building `nix build github:misuzu/nixos-vf2#nixos-cross-image-efi` without the flake's cache enabled02:09:49
@artemis:arty.chatartemisin case you want to try and reproduce as well02:09:57
@artemis:arty.chatartemisI ran that without anything added to my sandbox. im re-running with `qemu-riscv64` added to my sandbox to see if this is another one of those things of enabled binfmts leaking into the sandbox and causing things to think it has an elf interpreter for an executable when that interpreter isn't actually on PATH like the other issue we were seeing02:12:35
@artemis:arty.chatartemisbe back in a bit02:12:55
@artemis:arty.chatartemisok i get the failure all the same so it's probably not related to the binfmts at least02:15:55
@artemis:arty.chatartemisimplr: to confirm, is that error log i linked above showing a failure on the same test yours fails on?02:26:38
@alex:tunstall.xyzAlex

I left mine running overnight and have gotten a failure in psutil:

psutil> =================================== FAILURES ===================================
psutil> _______________________ TestMemoryAPIs.test_swap_memory ________________________
psutil> 
psutil> self = <psutil.tests.test_system.TestMemoryAPIs testMethod=test_swap_memory>
psutil> 
psutil>     def test_swap_memory(self):
psutil>         mem = psutil.swap_memory()
psutil>         self.assertEqual(
psutil>             mem._fields, ('total', 'used', 'free', 'percent', 'sin', 'sout'))
psutil>     
psutil>         assert mem.total >= 0, mem
psutil>         assert mem.used >= 0, mem
psutil>         if mem.total > 0:
psutil>             # likely a system with no swap partition
psutil> >           assert mem.free > 0, mem
psutil> E           AssertionError: sswap(total=8204054528, used=8204054528, free=0, percent=100.0, sin=35428151296, sout=75186987008)
psutil> E           assert 0 > 0
psutil> E            +  where 0 = sswap(total=8204054528, used=8204054528, free=0, percent=100.0, sin=35428151296, sout=75186987008).free
psutil> 
psutil> /nix/store/f43p2hab6y6hqqmlnyp6c61cx2kslifx-python3.10-psutil-5.9.5/lib/python3.10/site-packages/psutil/tests/test_system.py:298: AssertionError
psutil> =========================== short test summary info ============================
psutil> FAILED ../../nix/store/f43p2hab6y6hqqmlnyp6c61cx2kslifx-python3.10-psutil-5.9.5/lib/python3.10/site-packages/psutil/tests/test_system.py::TestMemoryAPIs::test_swap_memory - AssertionError: sswap(total=8204054528, used=8204054528, free=0, percent=10...
psutil> ============ 1 failed, 26 passed, 1 skipped, 16 deselected in 0.63s ============
psutil> /nix/store/ld7x5as7sc5sbzmhzh6s6s9jfksil1h4-stdenv-linux/setup: line 1596: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/24sg1zbm3wq2h8nv68jivynlmhmllnb9-python3.10-psutil-5.9.5.drv' failed with exit code 1;

This is quite possibly a bug in psutil's test suite where it fails when at 100% swap usage.

03:20:14
@trofi:matrix.orgtrofiyeah, psutil failure looks related to RAM usage. 06:42:49
@trofi:matrix.orgtrofi coreutils' mv-i test looks simple: https://github.com/coreutils/coreutils/blob/master/tests/mv/i-1.pl . I wonder why it printed help banner. Aaaand I reproduced it in gentoo chroot as well \o/: $ nix build nixpkgs#coreutils --rebuild. 06:53:26
@implr:hackerspace.plimplr
In reply to @artemis:arty.chat
implr: to confirm, is that error log i linked above showing a failure on the same test yours fails on?
yep, same
10:43:20
@implr:hackerspace.plimplrand it actually fails on native (sufficiently new) nixpkgs for me as well, so the problem is just coreutils9.3, not riscv/cross compile related10:43:56

Show newer messages


Back to Room ListRoom Version: 6