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

Installation errors for diracos #129

Open
andresailer opened this issue Jun 14, 2024 · 6 comments
Open

Installation errors for diracos #129

andresailer opened this issue Jun 14, 2024 · 6 comments

Comments

@andresailer
Copy link
Contributor

I am seeing

bash /cvmfs/dirac.egi.eu/installSource/DIRACOS-Linux-x86_64.sh
/cvmfs/dirac.egi.eu/installSource/DIRACOS-Linux-x86_64.sh: /cvmfs/dirac.egi.eu/installSource/DIRACOS-Linux-x86_64.sh: cannot execute binary file

Because the file is all zeros?

hexdump /cvmfs/dirac.egi.eu/installSource/DIRACOS-Linux-x86_64.sh
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
1871cd10 0000 0000 0000 0000 0000               
1871cd19

But falling back to download and install


error    libmamba response code: -1 error message: Invalid argument
critical libmamba failed to execute pre/post link script for gdk-pixbuf

2024-06-14T07:20:49.708446Z ERROR [InstallDIRAC] Could not install DIRACOS [ERROR 1]
2024-06-14T07:20:49.708578Z INFO [InstallDIRAC] Content of pilot.cfg
@fstagni
Copy link
Contributor

fstagni commented Jun 14, 2024

@atsareg can you check please?

@chrisburr
Copy link
Member

The versioned installers are fine but the unversioned ones are all broken:

$ file /cvmfs/dirac.egi.eu/installSource/DIRACOS-Linux-*.sh /cvmfs/dirac.egi.eu/installSource/DIRACOS-2.42-*.sh
/cvmfs/dirac.egi.eu/installSource/DIRACOS-Linux-aarch64.sh:      data
/cvmfs/dirac.egi.eu/installSource/DIRACOS-Linux-ppc64le.sh:      data
/cvmfs/dirac.egi.eu/installSource/DIRACOS-Linux-x86_64.sh:       data
/cvmfs/dirac.egi.eu/installSource/DIRACOS-2.42-Linux-aarch64.sh: POSIX shell script executable (binary data)
/cvmfs/dirac.egi.eu/installSource/DIRACOS-2.42-Linux-ppc64le.sh: POSIX shell script executable (binary data)
/cvmfs/dirac.egi.eu/installSource/DIRACOS-2.42-Linux-x86_64.sh:  POSIX shell script executable (binary data)

@atsareg We need a better way of responding to issues like this. It's unacceptable that CVMFS be in a broken state for this long.

@chaen
Copy link
Collaborator

chaen commented Jul 3, 2024

For

error    libmamba response code: -1 error message: Invalid argument
critical libmamba failed to execute pre/post link script for gdk-pixbuf

2024-06-14T07:20:49.708446Z ERROR [InstallDIRAC] Could not install DIRACOS [ERROR 1]
2024-06-14T07:20:49.708578Z INFO [InstallDIRAC] Content of pilot.cfg

you need to set a lower limit for the open file descriptor (max is 1024*1024). Full story : conda-forge/reproc-feedstock#10

@andresailer
Copy link
Contributor Author

andresailer commented Jul 3, 2024

you need to set a lower limit for the open file descriptor (max is 1024*1024). Full story : conda-forge/reproc-feedstock#10

How do I set the lower limit? This happens during the pilot installation phase at some CEs (e.g., RAL)?

You mean I have to reduce the max number of open file descriptors, right?
So just ulimit -n 30000 or something?

PS: Confirmed by @chaen via corridor discussion.

@chrisburr
Copy link
Member

We have a fix (which I thought we were already using). I'll update DIRACOS2 shortly.

@adriansev
Copy link

i'm not sure if it's the same but i get:

Transaction starting
terminate called after throwing an instance of 'std::length_error'
what():  basic_string::_M_create
DIRACOS-Linux-x86_64.sh: line 312: 3064293 Aborted                 (core dumped) CONDA_SAFETY_CHECKS=disabled CONDA_EXTRA_SAFETY_CHECKS=no CONDA_CHANNELS=diracgrid/label/apptainer-2166,diracgrid,conda-forge CONDA_PKGS_DIRS="$PREFIX/pkgs" "$CONDA_EXEC" install --offline --file "$PREFIX/pkgs/env.txt" -yp "$PREFIX"

when following https://dirac.readthedocs.io/en/latest/UserGuide/GettingStarted/InstallingClient/

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

No branches or pull requests

5 participants