Lsst_sims installation failed in ubuntu 16.04

eups
lsst_sims
stack-install
build
Tags: #<Tag:0x00007f7f6fc8c710> #<Tag:0x00007f7f6fc8c5a8> #<Tag:0x00007f7f6fc8c468> #<Tag:0x00007f7f6fc8c328>

(Weixiang Yu) #1

Hello,

I was trying to install lsst_sims in a Docker container using base image ubuntu 16.04. I keep getting error for [ 73/100 ] daf_persistence 16.0-3-g3806c63+7 … It seems like the installation stopped because the tests failed.

Can someone help me with this? I really appreciate it!

Weixiang Yu


Below is the full error message:
[ 73/100 ] daf_persistence 16.0-3-g3806c63+7 …

***** error: from /root/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/build.log:
tests/Persistence_3

Running 1 test case…

*** No errors detected
Segmentation fault
tests/Persistence_1

Running 1 test case…

*** No errors detected
Segmentation fault
The following tests failed:
/root/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/daf_persistence-16.0-3-g3806c63+7/tests/.tests/PropertySet_2.failed
/root/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/daf_persistence-16.0-3-g3806c63+7/tests/.tests/Persistence_3.failed
/root/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/daf_persistence-16.0-3-g3806c63+7/tests/.tests/Persistence_1.failed
3 tests failed
scons: *** [checkTestStatus] Error 1
scons: building terminated because of errors.

+ exit -4
eups distrib: Failed to build daf_persistence-16.0-3-g3806c63+7.eupspkg: Command:
source “/root/eups/2.1.4/bin/setups.sh”; export EUPS_PATH="/root/stack/miniconda3-4.5.4-fcd27eb"; (/root/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/build.sh) >> /root/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/build.log 2>&1 4>/root/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/build.msg
exited with code 252


(Scott Daniel) #2

On the off chance that it will contain more information, do you mind posting this file:


(Weixiang Yu) #3

Thanks for the quick response. @danielsf I am attaching the build.log file here. build.log (785.3 KB)


(Scott Daniel) #4

@swinbank @timj This looks like the same daf_persistence failure John had circa August 27. What was the resolution of that? Perusing Slack, it looks like the resolution was “we don’t know what is happening, but we don’t need the offending test, anyway, so we will just remove it from daf_persistence.” Is that accurate (in which case, @ywx649999311 I will need to issue a new version of lsst_sims).


(Tim Jenness) #5

I think you are running into this bug. We don’t have a fix for it, other than a plan to remove the code. One option is to seed your sims build by using the binaries or start with a docker container (although using ubuntu rather than CentOS7 might be problematic).


(Weixiang Yu) #6

@danielsf @timj. I am not actually in a rush. I already have a working docker container, and i just want to make some updates. Are you expecting a new version of lsst_sims coming out soon?


(Scott Daniel) #7

@ywx649999311 It sounds like issuing a new version of lsst_sims won’t do any good until the issue in the underlying Data Management software that Tim mentioned gets fixed.

What is it that you want to use lsst_sims for (for example: are you just using MAF?) It is possible that you don’t actually need to install the parts that depend on daf_persistence.


(Weixiang Yu) #8

I only need MAF. Is there any work around? Can I just do something like ‘eups distrib install maf’ instead of using ‘eups distrib install lsst_sims -t sim’ to instal the who thing?


(Scott Daniel) #9

Running

eups distrib install sims_maf -t sims

would just get you MAF. However, I just remembered that MAF has metrics that involve sky coverage, which involves mapping (RA, Dec) to position on the LSST focal plane, which involves daf_persistence. Sorry to get your hopes up.


(Andreas Korn) #10

Dear All,

I seem to be running in tot he same problem on CentOS 7 with devtoolset-6.
I post a few more details below and attach the build.log.
Interestingly I also tried to run the two programs standalone in the debugger successfully without a crash!
stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/daf_persistence-16.0-3-g3806c63+7/tests/Persistence_3
stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/daf_persistence-16.0-3-g3806c63+7/tests/Persistence_2

It would be great if we could find a solution.
Thanks!
best
Andreas

build.log (1.0 MB)

***** error: from /unix/atlas4/akorn/LSST/CATSIM/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/build.log:
Coverage.py warning: No data was collected. (no-data-collected)
Global pytest run completed successfully
Failed test output:
tests/PropertySet_2

Running 1 test case…

*** No errors detected
tests/Persistence_3

Running 1 test case…

*** No errors detected
The following tests failed:
/unix/atlas4/akorn/LSST/CATSIM/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/daf_persistence-16.0-3-g3806c63+7/tests/.tests/PropertySet_2.failed
/unix/atlas4/akorn/LSST/CATSIM/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/daf_persistence-16.0-3-g3806c63+7/tests/.tests/Persistence_3.failed
2 tests failed
scons: *** [checkTestStatus] Error 1
scons: building terminated because of errors.

  • exit -4
    eups distrib: Failed to build daf_persistence-16.0-3-g3806c63+7.eupspkg: Command:
    source “/unix/atlas4/akorn/LSST/CATSIM/eups/2.1.4/bin/setups.sh”; export EUPS_PATH="/unix/atlas4/akorn/LSST/CATSIM/stack/miniconda3-4.5.4-fcd27eb"; (/unix/atlas4/akorn/LSST/CATSIM/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/build.sh) >> /unix/atlas4/akorn/LSST/CATSIM/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/build.log 2>&1 4>/unix/atlas4/akorn/LSST/CATSIM/stack/miniconda3-4.5.4-fcd27eb/EupsBuildDir/Linux64/daf_persistence-16.0-3-g3806c63+7/build.msg
    exited with code 252