Skip to content

loading test requires writable cwd #17829

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

Closed
petercolberg opened this issue Aug 5, 2016 · 6 comments
Closed

loading test requires writable cwd #17829

petercolberg opened this issue Aug 5, 2016 · 6 comments
Labels
test This change adds or pertains to unit tests

Comments

@petercolberg
Copy link
Contributor

Exception running test loading :
On worker 11:
LoadError: open: permission denied (EACCES)
 in macro expansion at ./util.jl:226 [inlined]
 in runtests at /usr/share/julia/test/testdefs.jl:7
 in #16 at /usr/share/julia/test/runtests.jl:44
 in #503 at ./multi.jl:1410
 in run_work_thunk at ./multi.jl:996
 in macro expansion at ./multi.jl:1410 [inlined]
 in #502 at ./event.jl:46
while loading /usr/share/julia/test/loading.jl, in expression starting on line 16
Julia Version 0.5.0-rc1+0
Commit cede539 (2016-08-04 08:48 UTC)
Platform Info:
  System: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz
  WORD_SIZE: 64
  BLAS: libopenblas (NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.8.1 (ORCJIT, ivybridge)
@yuyichao
Copy link
Contributor

yuyichao commented Aug 5, 2016

I assume all these test are running with a very non-standard build (i.e. very different from the one used by nightly) so more information about the environment (versions of all deps, test environment, mounting points) are needed.

@yuyichao yuyichao added the needs more info Clarification or a reproducible example is required label Aug 5, 2016
@petercolberg
Copy link
Contributor Author

The test suite was run in a pristine Debian unstable chroot using a system-wide installation of julia.

Test-Command: env JULIA_TEST_MAXRSS_MB=500 HOME=/tmp julia --check-bounds=yes --startup-file=no -e "Base.runtests([\"all\"], max(Sys.CPU_CORES, 2))"
-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages julia depends on:
ii  libamd2                1:4.5.3-1
ii  libarpack2             3.4.0-1
ii  libc6                  2.23-4
ii  libcamd2               1:4.5.3-1
ii  libcholmod3            1:4.5.3-1
ii  libcolamd2             1:4.5.3-1
ii  libdsfmt-19937-1       2.2.3+dfsg-3
ii  libfftw3-double3       3.3.4-2+b1
ii  libfftw3-single3       3.3.4-2+b1
ii  libgcc1                1:6.1.1-10
ii  libgit2-24             0.24.1-3
ii  libgmp10               2:6.1.1+dfsg-1
ii  libjulia0.5            0.5.0~rc1-1
ii  libmpfr4               3.1.4-2
ii  libopenblas-base       0.2.18-1
ii  libopenlibm2           0.5.1+dfsg-1
ii  libopenspecfun1        0.5.3-1
ii  libpcre2-8-0           10.22-2
ii  libspqr2               1:4.5.3-1
ii  libstdc++6             6.1.1-10
ii  libsuitesparseconfig4  1:4.5.3-1
ii  libumfpack5            1:4.5.3-1

Versions of packages libjulia0.5 depends on:
ii  libarpack2             3.4.0-1
ii  libc6                  2.23-4
ii  libcholmod3            1:4.5.3-1
ii  libdsfmt-19937-1       2.2.3+dfsg-3
ii  libfftw3-double3       3.3.4-2+b1
ii  libfftw3-single3       3.3.4-2+b1
ii  libgcc1                1:6.1.1-10
ii  libgit2-24             0.24.1-3
ii  libgmp10               2:6.1.1+dfsg-1
ii  libllvm3.8             1:3.8.1-5
ii  libmpfr4               3.1.4-2
ii  libopenblas-base       0.2.18-1
ii  libopenlibm2           0.5.1+dfsg-1
ii  libopenspecfun1        0.5.3-1
ii  libpcre2-8-0           10.22-2
ii  libspqr2               1:4.5.3-1
ii  libstdc++6             6.1.1-10
ii  libsuitesparseconfig4  1:4.5.3-1
ii  libumfpack5            1:4.5.3-1
ii  libunwind8             1.1-4.1
ii  libutf8proc2           2.0.2-1

@yuyichao
Copy link
Contributor

yuyichao commented Aug 5, 2016

The test needs to be run in a directory with write access.

@yuyichao yuyichao added test This change adds or pertains to unit tests and removed needs more info Clarification or a reproducible example is required labels Aug 5, 2016
@yuyichao yuyichao changed the title [0.5.0-rc1] Exception running test loading: open: permission denied (EACCES) loading test requires writable cwd Aug 5, 2016
@tkelman
Copy link
Contributor

tkelman commented Aug 5, 2016

which line? we could have it execute in a temp dir if needed

@yuyichao
Copy link
Contributor

yuyichao commented Aug 5, 2016

The whole file, basically, which is short enough to be wrapped in a tempdir.

@yuyichao
Copy link
Contributor

yuyichao commented Mar 16, 2017

Fixed on master. (edit: by 56183f2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test This change adds or pertains to unit tests
Projects
None yet
Development

No branches or pull requests

3 participants