all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Running test for a package gives me an error 243
@ 2022-12-12  8:53 Reza Housseini
  2023-01-26 17:28 ` Simon Tournier
  0 siblings, 1 reply; 2+ messages in thread
From: Reza Housseini @ 2022-12-12  8:53 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 7782 bytes --]

Hi Guixers

Running the openfoam-10 tests during the package build gives me an error 
243 [1]. Running these tests locally in a guix shell does not produce 
any errors. I could not figure out what this error code means, but I 
found similar problems on the internet (mostly regarding docker and npm) 
which had something to do with running as root vs. running as a user. 
Has someone an idea what might be the issue? I tried making the files 
writable, but that did not had any effect.

Cheers,
Reza

[1] starting phase `check'
wmake Test-fvMeshTools
make[1]: Entering directory 
'/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/Test-fvMeshTools'
Making dependency list for source file Test-fvMeshTools.C
g++ -std=c++14 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP 
-DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor 
-Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 
-DNoRepository -ftemplate-depth-100 -IfaceSelection 
-I/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/src/finiteVolume/lnInclude 
-I/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/src/dynamicMesh/lnInclude 
-I/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/src/meshTools/lnInclude 
-IlnInclude -I. 
-I/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/src/OpenFOAM/lnInclude 
-I/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/src/OSspecific/POSIX/lnInclude 
   -fPIC -c Test-fvMeshTools.C -o 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/platforms/linux64GccDPInt32Opt/test/fvMeshTools/Test-fvMeshTools/Test-fvMeshTools.o
g++ -std=c++14 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP 
-DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor 
-Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 
-DNoRepository -ftemplate-depth-100 -IfaceSelection 
-I/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/src/finiteVolume/lnInclude 
-I/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/src/dynamicMesh/lnInclude 
-I/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/src/meshTools/lnInclude 
-IlnInclude -I. 
-I/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/src/OpenFOAM/lnInclude 
-I/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/src/OSspecific/POSIX/lnInclude 
   -fPIC 
-Wl,-rpath=/gnu/store/2656bcxjnjc3x0rkjafz4fdp20vdlc93-paraview-5.9.1/lib,-rpath=/gnu/store/8qv5kb2fgm4c3bf70zcg9l6hkf3qzpw9-zlib-1.2.11/lib,-rpath=/gnu/store/1akza97k9ssrkj9n2yzb6abvzba6b6d3-openmpi-4.1.4/lib,-rpath=/gnu/store/mk4schdzprjas1d4jcwl43rlslgy4f7r-pt-scotch32-7.0.1/lib,-rpath=/gnu/store/pmq05n0q25v4qjyibxfrp53v4391k7vh-mpfr-4.1.0/lib,-rpath=/gnu/store/14cqc52mfhkbl2sp76ilcnwmkm65kmly-metis-5.1.0/lib,-rpath=/gnu/store/fwbiihd2sbhai63y1pvvdh0f2bakfzrf-gmp-6.2.1/lib,-rpath=/gnu/store/xdayvzcay9fp8px077qwk6mw9qgzj249-cgal-5.2.2/lib,-rpath=/gnu/store/hm6dlgzkqz33fbiba07jjh8yzdikn7pp-boost-1.77.0/lib,-rpath=/gnu/store/s0a9z2n8bxvv625y7vsx5268zrcn5q4z-openfoam-10.20221128/lib/OpenFOAM-10/platforms/linux64GccDPInt32Opt/lib,-rpath=/gnu/store/s0a9z2n8bxvv625y7vsx5268zrcn5q4z-openfoam-10.20221128/lib/OpenFOAM-10/platforms/linux64GccDPInt32Opt/lib/dummy,-rpath=/gnu/store/s0a9z2n8bxvv625y7vsx5268zrcn5q4z-openfoam-10.20221128/lib/OpenFOAM-10/platforms/linux64GccDPInt32Opt/lib/paraview-5.9.1 
-fuse-ld=bfd -Xlinker --add-needed -Xlinker --no-as-needed 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/platforms/linux64GccDPInt32Opt/test/fvMeshTools/Test-fvMeshTools/Test-fvMeshTools.o 
-L/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/platforms/linux64GccDPInt32Opt/lib 
\
     -ldynamicMesh -lmeshTools -lfiniteVolume -lgenericPatchFields 
-lOpenFOAM -ldl  \
      -lm -o 
/tmp/OpenFOAM/-10/platforms/linux64GccDPInt32Opt/bin/Test-fvMeshTools
make[1]: Leaving directory 
'/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/Test-fvMeshTools'
Running blockMesh on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/cavity
Running Test-fvMeshTools on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/cavity
Running checkMesh on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/cavity
Running foamToVTK on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/cavity
Running decomposePar on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/cavity
Running Test-fvMeshTools in parallel on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/cavity 
using 3 processes
Running checkMesh in parallel on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/cavity 
using 3 processes
Running foamToEnsight in parallel on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/cavity 
using 3 processes
Running reconstructParMesh on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/cavity
Running reconstructPar on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/cavity
Running reconstructPar on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/fvMeshTools/cavity
make[1]: Entering directory 
'/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO'
Running blockMesh on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler
Running decomposePar on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler
Running particleFoam in parallel on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler 
using 4 processes
Running reconstructPar on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler
Running decomposePar on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler
Running particleFoam in parallel on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler 
using 4 processes
Running particleFoam in parallel on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler/machineA/fileHandler 
using 4 processes
Running particleFoam in parallel on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler 
using 4 processes
Running reconstructPar on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler
Running foamFormatConvert in parallel on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler 
using 4 processes
Running particleFoam in parallel on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler 
using 4 processes
Running reconstructPar on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler
Running foamFormatConvert in parallel on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler 
using 4 processes
Running particleFoam in parallel on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler 
using 4 processes
Running decomposePar on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler
Running particleFoam in parallel on 
/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO/fileHandler/machineA/fileHandler 
using 4 processes
make[1]: *** 
[/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/bin/tools/MakefileDirs:39: 
fileHandler] Error 243
make[1]: Target 'application' not remade because of errors.
make[1]: Leaving directory 
'/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/test/IO'
make: *** 
[/tmp/guix-build-openfoam-10.20221128.drv-0/OpenFOAM-10/bin/tools/MakefileDirs:39: 
IO] Error 2

-- 
Reza Housseini

This message is signed with my GnuPG key:

     C0F3 0812 9AF2 80F4 0830 C2C1 C375 C6AF 0512 5C52

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 15557 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Running test for a package gives me an error 243
  2022-12-12  8:53 Running test for a package gives me an error 243 Reza Housseini
@ 2023-01-26 17:28 ` Simon Tournier
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Tournier @ 2023-01-26 17:28 UTC (permalink / raw)
  To: Reza Housseini, help-guix

Hi,

Sorry to be late.


On Mon, 12 Dec 2022 at 09:53, Reza Housseini <reza.housseini@gmail.com> wrote:

> Running the openfoam-10 tests during the package build gives me an error 
> 243 [1]. Running these tests locally in a guix shell does not produce 
> any errors. I could not figure out what this error code means, but I 
> found similar problems on the internet (mostly regarding docker and npm) 
> which had something to do with running as root vs. running as a user. 
> Has someone an idea what might be the issue? I tried making the files 
> writable, but that did not had any effect.

Have you run the tests with “guix shell -C -D openfoam”?  I mean inside
a containerized shell?

Have you tried to disable ’parallel-tests?’?

Cheers,
simon


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-26 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-12  8:53 Running test for a package gives me an error 243 Reza Housseini
2023-01-26 17:28 ` Simon Tournier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.