Announcement

Collapse
No announcement yet.

Missing dependancy

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

  • Missing dependancy

    I tried today git version of the phoronix test suite on a ubuntu amd64 arch.

    While trying the install of sqlite it failed.

    sqlite:
    Test Installation 2 of 14
    2 Files Needed [2.85 MB]
    Downloading: sqlite-3.6.19.tar.gz [2.81MB]
    Downloading .................................................. ......
    Downloading: pts-sqlite-tests-1.tar.gz [0.04MB]
    Estimated Download Time: 1m ........................................
    Installation Size: 18.4 MB
    Installing Test @ 15:21:49
    The installer exited with a non-zero exit status.
    Installation Log: /root/.phoronix-test-suite/installed-tests/sqlite/install-failed.log


    After watching the log file it seems there was missing the tcl8.5 package for tclsh requirement in configure.

    After installing it didn't failed.

    Plz fix it if possible.

    There seems to have a bug that directories for individual benchmark aren't correctly created :'(

    And an option to output the results of all test in a tree bench-yyyyddmm-hhmmss/{test1,test2,test3} would be a great option instead to be asked for every names.

  • #2
    Originally posted by rapsys View Post
    There seems to have a bug that directories for individual benchmark aren't correctly created :'(
    Can you elaborate on this?

    Originally posted by rapsys View Post
    And an option to output the results of all test in a tree bench-yyyyddmm-hhmmss/{test1,test2,test3} would be a great option instead to be asked for every names.
    You can already do so, run phoronix-test-suite batch-setup and then use phoronix-test-suite batch-run from now on rather than run.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      Originally posted by Michael View Post
      Can you elaborate on this?
      It can be fixed by adding this code :
      if (!is_dir(dirname($to_file))) {
      mkdir(dirname($to_file), 0755, true);
      }

      In file :
      phoronix-test-suite/pts-core/objects/tandem_Xml/tandem_XmlWriter.php
      At line 137 in function saveXMLFile before the return line

      Comment


      • #4
        Originally posted by rapsys View Post
        It can be fixed by adding this code :
        if (!is_dir(dirname($to_file))) {
        mkdir(dirname($to_file), 0755, true);
        }

        In file :
        phoronix-test-suite/pts-core/objects/tandem_Xml/tandem_XmlWriter.php
        At line 137 in function saveXMLFile before the return line
        But in what scenario are you hitting this problem so I can fix the root cause? I have yet to hit an issue where it's not being created.
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #5
          Originally posted by Michael View Post
          But in what scenario are you hitting this problem so I can fix the root cause? I have yet to hit an issue where it's not being created.
          (I installed the test suite in /root)

          # /root/bin/phoronix-test-suite batch-setup
          [...]
          Do you agree to these terms and wish to proceed (Y/n):
          Enable anonymous usage / statistics reporting (Y/n): n
          Enable anonymous statistical reporting of installed software / hardware (Y/n): n
          [...]
          Save test results when in batch mode (Y/n):
          Open the web browser automatically when in batch mode (y/N): n
          Auto upload the results to Phoronix Global (Y/n): n
          Prompt for test identifier (Y/n): n
          Prompt for test description (Y/n): n
          Prompt for saved results file-name (Y/n): y
          Run all test options (Y/n):
          [...]
          # /root/bin/phoronix-test-suite run disk
          Would you like to stop and install these tests now (Y/n): y
          [...]
          # /root/bin/phoronix-test-suite run disk
          Would you like to save these test results (Y/n):
          Enter a name to save these results: disk.log
          Enter a unique name for this test run: disk
          [...]
          PHP Notice: Undefined variable: mem_prefix in /root/share/phoronix-test-suite/pts-core/objects/phodevi/components/phodevi_memory.php on line 133
          PHP Warning: file_put_contents(/root/.phoronix-test-suite/test-results/disk.log/active.xml): failed to open stream: No such file or directory in /root/share/phoronix-test-suite/pts-core/objects/tandem_Xml/tandem_XmlWriter.php on line 137

          As you notice there is an undefined variable too

          Comment


          • #6
            Does it happen if you call it disklog rather than disk.log?
            Michael Larabel
            https://www.michaellarabel.com/

            Comment


            • #7
              Originally posted by Michael View Post
              Does it happen if you call it disklog rather than disk.log?
              No it's don't happen then

              Comment


              • #8
                Originally posted by rapsys View Post
                No it's don't happen then

                I noticed an other small problem, i asked to not prompt for description :
                Prompt for test description (Y/n): n
                But in my test it ask anyway :
                Would you like to save these test results (Y/n):
                Enter a name to save these results: disk.log
                Enter a unique name for this test run: disk

                Phoronix Test Suite v2.9.0
                If you wish, enter a new description below.
                Press ENTER to proceed without changes.

                Current Description: Running compress-gzip sqlite apache pgbench compilebench iozone dbench fs-mark fio tiobench postmark aio-stress and unpack-linux.

                New Description:
                PHP Notice: Undefined variable: mem_prefix in /root/share/phoronix-test-suite/pts-core/objects/phodevi/components/phodevi_memory.php on line 133

                Comment


                • #9
                  Originally posted by rapsys View Post
                  PHP Notice: Undefined variable: mem_prefix in /root/share/phoronix-test-suite/pts-core/objects/phodevi/components/phodevi_memory.php on line 133
                  I am getting this error too.

                  php-cli-5.1.6-23.2.el5_3.x86_64

                  Comment

                  Working...
                  X