nobs installer assertion crash

Issue #44 resolved
Scott Baden created an issue

I built it earlier today without incident. Something has changed.

Log attached.

Comments (12)

  1. Dan Bonachea

    Scott - This looks like a normal GASNet config.log for a successful configure, so probably does not show the problem you are talking about.

    Please attach a complete log of the console output from your run of ./install (this is not automatically logged to a file).

  2. Dan Bonachea

    I think I'm seeing the same regression on Linux and cygwin that Scott was trying to report on Mac.

    I've confirmed the regression occurred in John's 8c7c872, and was not present in the immediately previous commit.

    This is a blocker for release and will break many of the automated tests until it is fixed or reverted.

    Install log on dirac:

    {pcp-d-5 ~/UPC/upcxx} rm -Rf .nobs/ temp ; env GASNET=/home/pcp1/bonachea/UPC/bex DBGSYM=1 OPTLEV=0 ./install temp
    UPCXX revision: 8c7c872
    System: Linux pcp-d-5 3.10.0-693.1.1.el7.x86_64 #1 SMP Tue Aug 15 08:36:44 CDT 2017 x86_64 x86_64 x86_64 GNU/Linux
    LSB Version:    :core-4.1-amd64:core-4.1-noarch
    Distributor ID: Scientific
    Description:    Scientific Linux release 7.3 (Nitrogen)
    Release:        7.3
    Codename:       Nitrogen
    
    Date: Thu Sep 21 06:39:46 PDT 2017
    Current directory: /home/pcp1/bonachea/UPC/upcxx
    Install directory: /home/pcp1/bonachea/UPC/upcxx/temp
    Settings: GASNET='/home/pcp1/bonachea/UPC/bex' OPTLEV='0' DBGSYM='1'
    
    /usr/local/pkg/gcc/7.2.0/bin/g++
    g++ (GCC) 7.2.0
    Copyright (C) 2017 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    /usr/local/pkg/gcc/7.2.0/bin/gcc
    gcc (GCC) 7.2.0
    Copyright (C) 2017 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
    
    Building GASNet (conduit=smp, threading=seq)...
    (in /home/pcp1/bonachea/UPC/bex/smp-conduit)
    make seq
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make seq
    
    make[1]: Entering directory '/home/pcp1/bonachea/UPC/bex/smp-conduit'
    make[1]: 'gasnet-smp-seq.pc' is up to date.
    make[1]: 'libgasnet-smp-seq.a' is up to date.
    make[1]: Leaving directory '/home/pcp1/bonachea/UPC/bex/smp-conduit'
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -DUPCXX_BACKEND=gasnet1_seq -D_GNU_SOURCE=1 -DGASNET_SEQ -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/smp-conduit -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/other -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/extended-ref -I/home/pcp1/bonachea/UPC/bex -MM -MT x /home/pcp1/bonachea/UPC/upcxx/src/upcxx.cpp
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -DUPCXX_BACKEND=gasnet1_seq -D_GNU_SOURCE=1 -DGASNET_SEQ -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/smp-conduit -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/other -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/extended-ref -I/home/pcp1/bonachea/UPC/bex -O0 -g -Wall -g3 -Wall -Wpointer-arith -Wwrite-strings -Wmissing-format-attribute -Wno-unused -Wno-unused-parameter -Wno-address -c /home/pcp1/bonachea/UPC/upcxx/src/upcxx.cpp -o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/1e7ee2410d7ca6417b8eee5abdd96e2e5116c013.upcxx.cpp.o
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -MM -MT x /home/pcp1/bonachea/UPC/upcxx/src/diagnostic.cpp
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -MM -MT x /home/pcp1/bonachea/UPC/upcxx/src/future/core.cpp
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -MM -MT x /home/pcp1/bonachea/UPC/upcxx/src/persona.cpp
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -MM -MT x /home/pcp1/bonachea/UPC/upcxx/src/lpc_inbox.cpp
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -MM -MT x /home/pcp1/bonachea/UPC/upcxx/src/packing.cpp
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -MM -MT x /home/pcp1/bonachea/UPC/upcxx/src/digest.cpp
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -DUPCXX_BACKEND=gasnet1_seq -D_GNU_SOURCE=1 -DGASNET_SEQ -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/smp-conduit -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/other -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/extended-ref -I/home/pcp1/bonachea/UPC/bex -MM -MT x /home/pcp1/bonachea/UPC/upcxx/src/backend/gasnet/runtime.cpp
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -DUPCXX_BACKEND=gasnet1_seq -D_GNU_SOURCE=1 -DGASNET_SEQ -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/smp-conduit -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/other -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/extended-ref -I/home/pcp1/bonachea/UPC/bex -MM -MT x /home/pcp1/bonachea/UPC/upcxx/src/backend/gasnet/handle_cb.cpp
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -DUPCXX_BACKEND=gasnet1_seq -D_GNU_SOURCE=1 -DGASNET_SEQ -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/smp-conduit -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/other -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/extended-ref -I/home/pcp1/bonachea/UPC/bex -MM -MT x /home/pcp1/bonachea/UPC/upcxx/src/dist_object.cpp
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -O0 -g -Wall -c /home/pcp1/bonachea/UPC/upcxx/src/future/core.cpp -o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/a69025d1732dedbeef4675dcb41140dac461daf7.core.cpp.o
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -O0 -g -Wall -c /home/pcp1/bonachea/UPC/upcxx/src/diagnostic.cpp -o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/eb7ed751078b613ed046e4c012a8c0b81ce3d9f1.diagnostic.cpp.o
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -O0 -g -Wall -c /home/pcp1/bonachea/UPC/upcxx/src/persona.cpp -o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/d389cf9ecb7bdfbd14d092413d7ed55b02a505f1.persona.cpp.o
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -O0 -g -Wall -c /home/pcp1/bonachea/UPC/upcxx/src/packing.cpp -o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/f02fb500424e6b2da023ce072dd714546e0be417.packing.cpp.o
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -O0 -g -Wall -c /home/pcp1/bonachea/UPC/upcxx/src/lpc_inbox.cpp -o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/64835a1bf22a2ca7fad6b8d12e9aaf711b1c751b.lpc_inbox.cpp.o
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -O0 -g -Wall -c /home/pcp1/bonachea/UPC/upcxx/src/digest.cpp -o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/5dfc6c7735e26dc93e08cf6b2c7733a230e62003.digest.cpp.o
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -DUPCXX_BACKEND=gasnet1_seq -D_GNU_SOURCE=1 -DGASNET_SEQ -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/smp-conduit -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/other -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/extended-ref -I/home/pcp1/bonachea/UPC/bex -O0 -g -Wall -g3 -Wall -Wpointer-arith -Wwrite-strings -Wmissing-format-attribute -Wno-unused -Wno-unused-parameter -Wno-address -c /home/pcp1/bonachea/UPC/upcxx/src/dist_object.cpp -o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/fccbd01228911b09aa69e39267a928e232872709.dist_object.cpp.o
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -DUPCXX_BACKEND=gasnet1_seq -D_GNU_SOURCE=1 -DGASNET_SEQ -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/smp-conduit -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/other -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/extended-ref -I/home/pcp1/bonachea/UPC/bex -O0 -g -Wall -g3 -Wall -Wpointer-arith -Wwrite-strings -Wmissing-format-attribute -Wno-unused -Wno-unused-parameter -Wno-address -c /home/pcp1/bonachea/UPC/upcxx/src/backend/gasnet/handle_cb.cpp -o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/47a8e84d9bf593204c9160edb9b7e75db2f62af0.handle_cb.cpp.o
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -DUPCXX_BACKEND=gasnet1_seq -D_GNU_SOURCE=1 -DGASNET_SEQ -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/smp-conduit -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/other -I/home/pcp1/bonachea/UPC/upcr-ex/gasnet/extended-ref -I/home/pcp1/bonachea/UPC/bex -O0 -g -Wall -g3 -Wall -Wpointer-arith -Wwrite-strings -Wmissing-format-attribute -Wno-unused -Wno-unused-parameter -Wno-address -c /home/pcp1/bonachea/UPC/upcxx/src/backend/gasnet/runtime.cpp -o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/56bc1aa3da968eff30d4affc43004f0386e2b104.runtime.cpp.o
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -MM -MT x /home/pcp1/bonachea/UPC/upcxx/src/backend/gasnet/rpc_inbox.cpp
    
    gcc -std=c11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -MM -MT x /home/pcp1/bonachea/UPC/upcxx/src/dl_malloc.c
    
    g++ -std=c++11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -O0 -g -Wall -c /home/pcp1/bonachea/UPC/upcxx/src/backend/gasnet/rpc_inbox.cpp -o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/3c59fb133ba83386fd05f1712d432d82a8c435ff.rpc_inbox.cpp.o
    
    gcc -std=c11 -D_GNU_SOURCE=1 -I/home/pcp1/bonachea/UPC/upcxx/.nobs/art/0f12c0eff903c99ca715159db9f4b564a8755c09 -O0 -g -Wall -c /home/pcp1/bonachea/UPC/upcxx/src/dl_malloc.c -o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/8974e358a93f3727d892e765d6b0dddf864a8320.dl_malloc.c.o
    
    ar rcs /home/pcp1/bonachea/UPC/upcxx/.nobs/art/4fd42f365d0257f085df8a962043613c41bc16b4/libupcxx.a /home/pcp1/bonachea/UPC/upcxx/.nobs/art/eb7ed751078b613ed046e4c012a8c0b81ce3d9f1.diagnostic.cpp.o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/a69025d1732dedbeef4675dcb41140dac461daf7.core.cpp.o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/5dfc6c7735e26dc93e08cf6b2c7733a230e62003.digest.cpp.o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/f02fb500424e6b2da023ce072dd714546e0be417.packing.cpp.o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/d389cf9ecb7bdfbd14d092413d7ed55b02a505f1.persona.cpp.o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/64835a1bf22a2ca7fad6b8d12e9aaf711b1c751b.lpc_inbox.cpp.o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/1e7ee2410d7ca6417b8eee5abdd96e2e5116c013.upcxx.cpp.o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/1e7ee2410d7ca6417b8eee5abdd96e2e5116c013.upcxx.cpp.o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/fccbd01228911b09aa69e39267a928e232872709.dist_object.cpp.o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/47a8e84d9bf593204c9160edb9b7e75db2f62af0.handle_cb.cpp.o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/8974e358a93f3727d892e765d6b0dddf864a8320.dl_malloc.c.o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/3c59fb133ba83386fd05f1712d432d82a8c435ff.rpc_inbox.cpp.o /home/pcp1/bonachea/UPC/upcxx/.nobs/art/56bc1aa3da968eff30d4affc43004f0386e2b104.runtime.cpp.o
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    make seq
    
    make[1]: Entering directory '/home/pcp1/bonachea/UPC/bex/smp-conduit'
    make[1]: 'gasnet-smp-seq.pc' is up to date.
    make[1]: 'libgasnet-smp-seq.a' is up to date.
    make[1]: Leaving directory '/home/pcp1/bonachea/UPC/bex/smp-conduit'
    
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Uncaught exception
    
    Traceback (most recent call last):
      File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/tool_main.py", line 87, in main
        printed.wait()
      File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 447, in wait
        return me.wait_futurized().value()
      File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 464, in wait_futurized
        team.progress()
      File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 163, in progress
        task.progress()
      File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 128, in progress
        fu._fire()
      File "/home/pcp1/bonachea/UPC/upcxx/nobs/nobs/async.py", line 749, in fire
        arg = gen_send(arg.value())
      File "/home/pcp1/bonachea/UPC/upcxx/nobsrule.py", line 638, in install
        assert len(name) == 1
    AssertionError
    UPC++ Installation failed. Please report the entire log above to: upcxx@googlegroups.com
    
  3. Dan Bonachea

    Also a question: now that we have two backends, will the fixed version of nobs install install both? Or does the enclosing script/user need to run nobs install once for each value of $UPCXX_BACKEND?

  4. Dan Bonachea

    John - do you expect you'll have time to commit a fix for this before 10pm pacific tonight? Otherwise we may need to consider reverting 8c7c872 to prevent losing a second night's worth of automated test results.

    CC: @PHHargrove

  5. Former user Account Deleted

    @bonachea , in response to your question about the two backends and the installer: The current (broken) installer is single-configuration only, so only the backend you have selected (UPCXX_BACKEND=) will be installed. The multi-configuration installer is my immediate goal, that will install both.

  6. Scott Baden reporter

    How do I shut off “less?” John told me once, but it’s buried in some old email. Also, we should put your instructions in the README file so that users know what we want them to report to us

    Scott

  7. Former user Account Deleted

    You can disable less by piping the output, for instance: nobs exe ... > cat will pipe it to cat which will put it on the screen.

  8. Scott Baden reporter

    But I need to be able to do this from install script. I don't see "nobs exe" in the script

  9. Log in to comment