Results 1 to 7 of 7

Thread: running test suite on local network with no internet

  1. #1
    Join Date
    Nov 2009

    Default running test suite on local network with no internet

    Is there a configuration setting to disable requests to the Internet from the suite? My network that I want to run the suite on has no Internet connection.

  2. #2


    Run: phoronix-test-suite user-config-set NoNetworkCommunication=TRUE to disable PTS from trying to use the Internet. Then with all of your files needed for the tests, drop that into ~/.phoronix-test-suite/download-cache/ or use a similar cache as is described in the documentation.

  3. #3
    Join Date
    Nov 2010
    London, UK

    Default 2.8.1 NoNetworkCommunication is not honoured


    I'm running 2.8.1 and have NoNetworkCommunication set to TRUE, however it ignores this and attempts to download the tests.


    I also have a download cache on a different host in our lab and have specified this in the CacheDirectory value:

    (i do actually specify a valid IP address)

    However it does not attempt to talk to my http server, and instead tries to contact the phoronix mirrors.

    Am I specifying this correctly? The documentation doesn't explictly say, however I suspect it's a bug.

  4. #4


    Hi Paul,

    The NoNetworkCommunication option is more primarily for communication with the Phoronix servers as if you don't have the test files stored locally in a download cache, you will need to use some form of network communication whether it be a download cache on the LAN or via the usual web-based downloads.

    At http://x.x.x.x/phoronix/ is it a copy of the download-cache directory? As in all of the files are in that folder, including the XML file it generates with the make-download-cache command? When doing HTTP/FTP/anything-remote communication, it checks for the XML file as from there it reads a list of the available files that should be available along with their reported hash sums rather than checking for files directly and seeing if it times-out.

    Is this PTS 2.8.x that you are using?

  5. #5
    Join Date
    Nov 2010
    London, UK


    Hi Michael,

    Yes it's 2.8.1.

    Here's the directory listing you get from apache for that location:

    Index of /phoronix/tests
    [ICO]	Name	Last modified	Size	Description
    [DIR]	Parent Directory	 	-
    [TXT]	aio-stress.c	24-Nov-2010 19:16 	39K
    [ ]	apache-ab-test-files-1.tar.gz	24-Nov-2010 19:16 	5.9K
    [ ]	byte-benchmark-1.tar.gz	24-Nov-2010 19:16 	179K
    [ ]	flac-1.2.1.tar.gz	24-Nov-2010 19:16 	1.9M
    [ ]	fs_mark-3.3.tar.gz	24-Nov-2010 19:16 	15K
    [ ]	httpd-2.2.11.tar.gz	24-Nov-2010 19:16 	6.5M
    [ ]	iozone3_347.tar	24-Nov-2010 19:16 	1.6M
    [ ]	lame-398-2.tar.gz	24-Nov-2010 19:16 	1.3M
    [ ]	linux-2.6.25.tar.bz2	24-Nov-2010 19:16 	46M
    [ ]	linux-2625-config.tar.gz	24-Nov-2010 19:16 	43K
    [TXT]	pts-download-cache.xml	24-Nov-2010 19:16 	2.0K
    [ ]	pts-trondheim-wav-3.tar.gz	24-Nov-2010 19:16 	75M
    [ ]	pybench-2009-08-14.tar.gz	24-Nov-2010 19:16 	86K
    [ ]	ramspeed-2.6.0.tar.gz	24-Nov-2010 19:16 	76K
    [ ]	24-Nov-2010 19:16 	75K
    Apache/2.2.3 (Red Hat) Server at x.x.x.x Port 80
    As you can see the xml file is present, and it if you click on it it displays. I copied these directly off the download-cache directory on the test machine onto the remote machine, then deleted the files on the test machine.

    Are you able to clarify what exactly the NoNetworkCommunication flag does? It definitely seems logical that it still permits network communication if the download cache is specified as a remote http location, but surely it is not logical for it to ever attempt to talk to the web based phoronix mirrors when this is set, or else what is its function?



  6. #6


    The NoNetworkCommunication basically blocks the user from potentially uploading any results to Phoronix Global, not submitting any statistical data if you opt to do so when prompted, etc. Though in PTS3 this will be cleared up more and refined.

    I'll take a look into your network mirror issue and get back to you soon as I've seen if there's an issue in the network part of it (should know by Monday). I use download cache shares all the time on PTS 2.8/3.0 when using it off an external hard drive attached to the machine where it auto-detects it and works just fine locally, but there might be a bug then in the latest version [I rewrote the test installation code recently] if your network mirror isn't working as it does look like you have it setup correctly.

    -- Michael

  7. #7


    In Phoronix Test Suite 3.0 Alpha 3 to be released in a few days (likely this week or early next week if I end up squeezing a few more things into it) contains a new code path being used in the download mechanism that should better support network mirrors, but let me know if it doesn't work out for you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts