Announcement

Collapse
No announcement yet.

At fedora17,Phoronix3.8 failed to install test benchmarks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • At fedora17,Phoronix3.8 failed to install test benchmarks

    At fedora17, when try to install benchmark (such as: phoronix-test-suite install compress-lzma), It forked lots of processes to check g++ version, and then failed to install. But if we build the compress-lzma from source package, it works well. Is there someone meet the same issue or know the root cause? Thanks!

    Detailed info:

    Test Device: Dell E6320
    CPU: Intel(R) Core(TM) i5-2520M

    [pnp@pnp-test1 ~]$ uname -a
    Linux pnp-test1 3.3.4-5.fc17.i686.PAE #1 SMP Mon May 7 17:37:39 UTC 2012 i686 i686 i386 GNU/Linux

    [pnp@pnp-test1 ~]$ gcc -v
    gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC)

    [pnp@pnp-test1 ~]$ phoronix-test-suite install compress-lzma

    Phoronix Test Suite v3.8.0

    To Install: pts/compress-lzma-1.2.0

    Determining File Requirements ..........................................
    Searching Download Caches ..............................................

    1 Test To Install
    1MB Of Disk Space Is Needed

    pts/compress-lzma-1.2.0:
    Test Installation 1 of 1
    1 File Needed [0.46 MB / 1 Minute]
    File Found: lzma-4.32.6.tar.gz [0.46MB]
    Installation Size: 0.7 MB
    Installing Test @ 21:07:10
    The installer exited with a non-zero exit status.
    Installation Log: /home/pnp/.phoronix-test-suite/installed-tests/pts /compress-lzma-1.2.0/install-failed.log


    The following tests failed to install:

    - pts/compress-lzma-1.2.0

    [pnp@pnp-test1 ~]$ ps -ax
    14296 pts/2 S+ 0:00 /bin/sh /bin/phoronix-test-suite install compress-lzm
    14298 pts/2 S+ 0:00 php pts-core/phoronix-test-suite.php install compress
    -bash: fork: retry: No child processes
    -bash: fork: retry: No child processes
    19091 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19092 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19093 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19094 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19095 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19096 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19097 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19098 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19099 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19100 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19101 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19338 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19339 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version
    19340 pts/3 R+ 0:00 ps -ax
    19341 pts/2 S+ 0:00 /bin/bash /tmp/pts-compiler-mask-compress-lzma1.2.0//g++ --version

  • #2
    What does the log show?

    Installation Log: /home/pnp/.phoronix-test-suite/installed-tests/pts /compress-lzma-1.2.0/install-failed.log
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      [root@pnp-test1 ~]# cat /home/pnp/.phoronix-test-suite/installed-tests/pts/compress-lzma-1.2.0/install-failed.log
      lzma-4.32.6/
      lzma-4.32.6/tests/
      lzma-4.32.6/tests/test-lib.sh
      lzma-4.32.6/tests/mkdtemp
      lzma-4.32.6/tests/perms
      lzma-4.32.6/tests/basic
      lzma-4.32.6/tests/Makefile.in
      lzma-4.32.6/tests/Makefile.am
      lzma-4.32.6/src/
      lzma-4.32.6/src/scripts/
      lzma-4.32.6/src/scripts/Makefile.in
      .
      .
      .
      lzma-4.32.6/NEWS
      lzma-4.32.6/INSTALL
      lzma-4.32.6/ChangeLog
      lzma-4.32.6/AUTHORS
      lzma-4.32.6/configure
      lzma-4.32.6/config.h.in
      lzma-4.32.6/Makefile.in
      lzma-4.32.6/Makefile.am
      lzma-4.32.6/aclocal.m4
      lzma-4.32.6/configure.ac
      lzma-4.32.6/README
      lzma-4.32.6/m4/
      lzma-4.32.6/m4/getopt.m4
      checking if debugging code should be compiled... no
      checking for a BSD-compatible install... /bin/install -c
      checking whether build environment is sane... yes
      checking for a thread-safe mkdir -p... /bin/mkdir -p
      checking for gawk... gawk
      checking whether make sets $(MAKE)... yes
      checking for g++... g++
      checking for C++ compiler default output file name...
      configure: error: C++ compiler cannot create executables
      See `config.log' for more details.
      make: *** No targets specified and no makefile found. Stop.
      make: *** No rule to make target `install'. Stop.
      [root@pnp-test1 ~]#

      Comment


      • #4
        I have a similar problem. Fedora 17 system, Phoronix 3.8.9

        I could not get the Phoronix test suites (that had to be compiled) to work on Fedora 16.
        So I installed a Fedora 17 system and have the same problem. This example is the "scimark2"
        suite. I can do the compile myself ("make" as per the README instructions) and the actual test
        runs just fine. The run is done by an ordinary user-id (not root).

        Suggestions appreciated.

        Details of the situation:

        Attempted install of test suite scimark2

        Note: "phts" is my alias for "phoronix-test-suite"

        -----------------------------------------------------------------------------

        $ phts install scimark2

        Phoronix Test Suite v3.8.0

        To Install: pts/scimark2-1.1.1

        Determining File Requirements ..........................................
        Searching Download Caches ..............................................

        1 Test To Install
        1 File To Download [0.01MB]
        1MB Of Disk Space Is Needed

        pts/scimark2-1.1.1:
        Test Installation 1 of 1
        1 File Needed [0.01 MB]
        Downloading: scimark2_1c.zip [0.01MB]
        Downloading .................................................. ......
        Installation Size: 0.04 MB
        Installing Test @ 14:43:04
        The installer exited with a non-zero exit status.
        Installation Log: /home/bobe/.phoronix-test-suite/installed-tests/pts/scimark2-1.1.1/install-failed.log


        The following tests failed to install:

        - pts/scimark2-1.1.1

        ---------------------------------------------------------------------------

        *** install-failed.log for scimark2 ***

        Archive: scimark2_1c.zip
        inflating: scimark2_files/array.h
        inflating: scimark2_files/constants.h
        inflating: scimark2_files/FFT.h
        inflating: scimark2_files/kernel.h
        inflating: scimark2_files/LU.h
        inflating: scimark2_files/MonteCarlo.h
        inflating: scimark2_files/Random.h
        inflating: scimark2_files/scimark2.h
        inflating: scimark2_files/SOR.h
        inflating: scimark2_files/SparseCompRow.h
        inflating: scimark2_files/Stopwatch.h
        inflating: scimark2_files/array.c
        inflating: scimark2_files/FFT.c
        inflating: scimark2_files/kernel.c
        inflating: scimark2_files/LU.c
        inflating: scimark2_files/MonteCarlo.c
        inflating: scimark2_files/Random.c
        inflating: scimark2_files/scimark2.c
        inflating: scimark2_files/SOR.c
        inflating: scimark2_files/SparseCompRow.c
        inflating: scimark2_files/Stopwatch.c
        inflating: scimark2_files/Makefile
        inflating: scimark2_files/README
        /tmp/pts-compiler-mask-scimark21.1.1//g++: fork: retry: No child processes
        /tmp/pts-compiler-mask-scimark21.1.1//g++: fork: retry: No child processes
        /tmp/pts-compiler-mask-scimark21.1.1//g++: fork: retry: No child processes
        /tmp/pts-compiler-mask-scimark21.1.1//g++: fork: retry: No child processes
        /tmp/pts-compiler-mask-scimark21.1.1//g++: fork: Resource temporarily unavailable

        ------------------------------------------------------------------------------

        System is Fedora 17, with available maintenance installed (yum update).

        Compiler: gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC)

        Comment


        • #5
          Hi guys,

          I am seeing the same issue on Fedora 17
          Have you found any solution for the problem?

          $ tail ../hmmer-1.1.0/install-failed.log
          hmmer-2.3.2/testsuite/titin.fa
          hmmer-2.3.2/testsuite/viterbi_exercise.c
          hmmer-2.3.2/COPYRIGHT
          configure: configuring HMMER for your system.
          configure: This is a full source distribution - using full config
          checking for gcc... gcc
          checking for C compiler default output... configure: error: C compiler cannot create executables
          See `config.log' for more details.
          make: *** No targets specified and no makefile found. Stop.
          make: *** No rule to make target `install'. Stop.

          Moreover, when I invoke
          $ ./phoronix-test-suite install pts/hmmer

          and try to execute any command in different shell I get
          $ ps -u
          bash: fork: retry: No child processes
          bash: fork: retry: No child processes

          Thanks,
          Alex

          Comment


          • #6
            Possible solution

            Some week ago I have sent a bugreport to the pts mailiglist. As I have not got any response yet, I try it in this forum.

            Here is the mail:


            Hi list members,

            I am the package maintainer of phoronix-test-suite on Fedora. I have encountered a problem on my Fedora 17 box.

            OS: Fedora 17
            Package version: phoronix-test-suite-4.0.1-1.fc17 (currently in the updates-testing repository)

            Problem description:
            When running the c-ray benchmark the test gets stuck during the 'installation' phase. The error log (c-ray-1.1.0/installed-failed.log) says:
            ...
            c-ray-1.1/sphfract.jpg
            c-ray-1.1/x86/
            c-ray-1.1/x86/c-ray-f.exe
            /tmp/pts-compiler-mask-c-ray1.1.0//gcc: fork: retry: No child processes
            /tmp/pts-compiler-mask-c-ray1.1.0//gcc: fork: retry: No child processes
            /tmp/pts-compiler-mask-c-ray1.1.0//gcc: fork: retry: No child processes
            /tmp/pts-compiler-mask-c-ray1.1.0//gcc: fork: retry: No child processes
            /tmp/pts-compiler-mask-c-ray1.1.0//gcc: fork: Resource temporarily unavailable


            The same error is reported on [1] and [2]. As [2] suggests, I removed '/usr/lib64/ccache' from my PATH variable and every thing works as expected. [2] also gives more details on the cause.


            Regards

            Markus


            [1] http://phoronix.com/forums/showthrea...est-benchmarks
            [2] http://forums.fedoraforum.org/archiv.../t-283350.html

            Comment


            • #7
              Even if it looks like reanimating the death, I have the same bug still in Fedora 20. I can run no single benchmark, all "crash" with this infinity forked gcc. As this is a out-of-the-box Fedora installation, I wonder what went wrong. (Yes, the workaround with editing the default PATH still seem to work, but maybe here should be some tuning be done, so it runs without hazzle).
              Last edited by Flolo; 04 October 2014, 11:50 AM.

              Comment


              • #8
                Originally posted by Flolo View Post
                Even if it looks like reanimating the death, I have the same bug still in Fedora 20. I can run no single benchmark, all "crash" with this infinity forked gcc. As this is a out-of-the-box Fedora installation, I wonder what went wrong. (Yes, the workaround with editing the default PATH still seem to work, but maybe here should be some tuning be done, so it runs without hazzle).
                Hmmm somehow didn't see the previous posting before, sorry!

                Flolo, do you have "/usr/lib64/ccache" as well in your $PATH? This might be why I never encountered this bug on Fedora during my PTS testing, but if I can get additional confirmation of it causing it I can workaround the issue.
                Michael Larabel
                https://www.michaellarabel.com/

                Comment


                • #9
                  Yes, I have the ccache in the PATH, when I remove it, it works.

                  Comment


                  • #10
                    Originally posted by Flolo View Post
                    Yes, I have the ccache in the PATH, when I remove it, it works.
                    Can you or anyone else experiencing this problem please try out the Git code?

                    Just landed a change that should fix the issue by avoiding picking up on the compiler in the ccache directory - https://github.com/phoronix-test-sui...5a401cb2566e6e
                    Michael Larabel
                    https://www.michaellarabel.com/

                    Comment

                    Working...
                    X