Announcement

Collapse
No announcement yet.

Can't copy test suites to embedded. - Can't compile tests once embedded.

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

  • Can't copy test suites to embedded. - Can't compile tests once embedded.

    I am trying to test embedded system images, and I am having some difficulty getting pts to run the tests.
    On a development system, I can install pts, and run the following command to get a basic test setup

    phoronix-test-suite install pts/xrender
    phoronix-test-suite install pts/gui-toolkits
    phoronix-test-suite install pts/x11perf

    If I run phoronix-test-suite list-installed-tests, I get
    Phoronix Test Suite v7.2.0
    4 Tests Installed

    pts/gtkperf-1.2.1 - GtkPerf
    pts/qgears2-1.0.1 - QGears2
    pts/render-bench-1.1.2 - Render Bench
    pts/x11perf-1.1.1 - x11perf

    If I run phoronix-test-suite list-installed-suites, I get
    Phoronix Test Suite v7.2.0
    2 Suites Installed

    -
    -

    Now, I copy /var/lib/phoronix-test-suite to my embedded filesystem, and chroot to it.
    If I run phoronix-test-suite list-installed-tests, I get
    Phoronix Test Suite v7.2.0
    4 Tests Installed

    pts/gtkperf-1.2.1 - GtkPerf
    pts/qgears2-1.0.1 - QGears2
    pts/render-bench-1.1.2 - Render Bench
    pts/x11perf-1.1.1 - x11perf

    If I run phoronix-test-suite list-installed-suites, I get
    Phoronix Test Suite v7.2.0
    0 Suites Installed

    If I then run phoronix-test-suite install pts/gui-toolkits
    Some additional dependencies are required, but they could not be installed automatically for your operating system.

    Below are the software packages that must be installed.

    Phoronix Test Suite v7.2.0
    GTK Development Files
    Possible Package Names: libgtk2.0-dev

    The above dependencies should be installed before proceeding. Press any key when you're ready to continue.

    To Install: pts/gtkperf-1.2.1
    To Install: pts/qgears2-1.0.1

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

    2 Tests To Install
    1MB Of Disk Space Is Needed

    pts/gtkperf-1.2.1:
    Test Installation 1 of 2
    1 File Needed [0.38 MB / 1 Minute]
    File Found: gtkperf_0.40.tar.gz [0.38MB]
    Installation Size: 0.11 MB
    Installing Test @ 12:51:37
    The installer exited with a non-zero exit status.
    ERROR: C compiler cannot create executables
    LOG: /var/lib/phoronix-test-suite/installed-tests/pts/gtkperf-1.2.1/install-failed.log

    pts/qgears2-1.0.1:
    Test Installation 2 of 2
    1 File Needed [0.26 MB / 1 Minute]
    File Found: qgears2.tar.bz2 [0.26MB]
    Installation Size: 0.5 MB
    Installing Test @ 12:51:45
    The installer exited with a non-zero exit status.
    ERROR: qgears.h:4:19: fatal error: QWidget: No such file or directory
    LOG: /var/lib/phoronix-test-suite/installed-tests/pts/qgears2-1.0.1/install-failed.log

    The following tests failed to install:

    - pts/gtkperf-1.2.1
    - pts/qgears2-1.0.1


    Soooooo, the tests were there, but the suites were lost. When I try and put the suites back, the tests are deleted and pts trys to recompile them. How do I break the cycle?

  • #2
    When you use the 'benchmark' command the test will try to reinstall itself if needed. It will try that behavior as if it detects the CPU/compiler (among other attributes) changed, it will try to reinstall the test.

    Have you tried doing just "phoronix-test-suite run gtkperf qgears2" after copying to the target? The 'run' command will not do the install checks.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      Yes. If I run the tests instead of trying install a suite, they will run......but I also want to use the phoromatic server, and when I push a test to the client, it hara kiri's the tests binaries. Can I disable this update check?

      Comment


      • #4
        Originally posted by davinci View Post
        Yes. If I run the tests instead of trying install a suite, they will run......but I also want to use the phoromatic server, and when I push a test to the client, it hara kiri's the tests binaries. Can I disable this update check?
        From the Phoromatic UI settings page do you have it checked about installing tests prior to test installation?
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #5
          That was it. Ty!

          Comment

          Working...
          X