Announcement

Collapse
No announcement yet.

cannot install test behind a proxy

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

  • cannot install test behind a proxy

    Hello
    I am new to phoronix

    in our cie we need to have a proxy in order to access the internet.

    I have configured phoronix to use a proxy unfortunately installing a test is impossible due to a checksum error
    ex:

    phoronix Test Suite v8.0.1

    To Install: pts/iozone-1.9.4

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

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

    pts/iozone-1.9.4:
    Test Installation 1 of 1
    1 File Needed [1.76 MB]
    Downloading: iozone3_465.tar [1.76MB]
    Downloading .................................................. .................................................. .................................................. .....................
    Checksum Failed: http://iozone.org/src/current/iozone3_465.tar
    Try downloading the file again (Y/n):


    I know i can download the tar manually and put in in /var/cache/phoronix-test-suite/download-cache but for suites that have several items to be downloaded is not practical.

    thank you

  • #2
    Is your proxy doing something to the downloads? I haven't heard of any other bug reports of people having PTS proxy issues that cause checksums to no longer match... But yes you could download the files manually if need be.

    There is the NO_FILE_HASH_CHECKS=1 environment variable you could try setting prior to running PTS if you want it to bypass the file checksumming.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      as far as I know there is nothing done to the downloads
      if I use wget that is using the proxy as well on the same server I can download the file
      if I try phoronix in a machine that is not behind the proxy there are no issues with the download
      so ther eis defintely something wrong with phoronix and the proxy.
      i could file a bug report if you tell me where. I do not know if disabling checksum is the right solution but an excellent workaround nonetheless..

      thank you

      Comment


      • #4
        Originally posted by garcimo View Post
        as far as I know there is nothing done to the downloads
        if I use wget that is using the proxy as well on the same server I can download the file
        if I try phoronix in a machine that is not behind the proxy there are no issues with the download
        so ther eis defintely something wrong with phoronix and the proxy.
        i could file a bug report if you tell me where. I do not know if disabling checksum is the right solution but an excellent workaround nonetheless..

        thank you
        The bug tracker is at github.com/phoronix-test-suite/ but sounds like this might be an upstream PHP bug itself. Let me know if it works when you use that environment variable to bypass the filesum checks.
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #5
          putting the variable for hashing gives other errors:

          phoronix-test-suite install aio-stress


          Phoronix Test Suite v8.0.1

          To Install: pts/aio-stress-1.1.1

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

          1 Test To Install
          1MB Of Disk Space Is Needed

          pts/aio-stress-1.1.1:
          Test Installation 1 of 1
          1 File Needed [0.04 MB / 1 Minute]
          File Found: aio-stress.c [0.04MB]
          Installation Size: 0.5 MB
          Installing Test @ 13:54:21
          The installer exited with a non-zero exit status.
          ERROR: aio-stress.c:1: error: expected identifier or '(' before '<' token
          LOG: /var/lib/phoronix-test-suite/installed-tests/pts/aio-stress-1.1.1/install-failed.log

          Comment


          • #6
            What about other tests? (In case aiostress does indeed have some build issue with your system.)
            Michael Larabel
            https://www.michaellarabel.com/

            Comment


            • #7
              here is the results of two systems same os version etc

              system A does not have the environment variable -> checksum error
              system B with the environment variable no checksum error but I am not sure the file is download because it fails buiiding

              where is the system supposed to download the files there is nothing in download cache.. I tried aio-stress, fio and nothing works.

              regards

              Comment

              Working...
              X