Skip to end of metadata
Go to start of metadata
  1. install *-test at build/conf/local.conf

    IMAGE_INSTALL_append += " \
        persistence-administrator-test \
        "
  2. run system services

    systemctl start pas-daemon
    systemctl start node-startup-controller
    dbus-run-session -- sh 
  3. prepare data

    root@qemux86:~# persadmin_tool install /Data/resource2.tar.gz 
    2016/02/26 14:09:55.583198     576418 000 ECU1 0037 PASt log error V 2 [[Persadmin_Tool]: Called with:]
    2016/02/26 14:09:55.588373     576469 001 ECU1 0037 PASt log error V 2 [[Persadmin_Tool]: command        = <<install>>]
    2016/02/26 14:09:55.589349     576479 002 ECU1 0037 PASt log error V 2 [[Persadmin_Tool]: path           = <</Data/resource2.tar.gz>>]
    2016/02/26 14:09:55.590776     576493 003 ECU1 0037 PASt log error V 2 [[Persadmin_Tool]: selection type = <<-1>>]
    2016/02/26 14:09:55.591656     576502 004 ECU1 0037 PASt log error V 2 [[Persadmin_Tool]: application    = <<Not Applicable>>]
    2016/02/26 14:09:55.592638     576512 005 ECU1 0037 PASt log error V 2 [[Persadmin_Tool]: user_no        = <<-1>>]
    2016/02/26 14:09:55.593850     576524 006 ECU1 0037 PASt log error V 2 [[Persadmin_Tool]: seat_no        = <<-1>>]
    persadmin_lockSyncSem: sem_open(/PersadminAccessLibSync, O_RDONLY)() errno=<No such file or directory> !!!
    2016/02/26 14:09:55.597791     576563 007 ECU1 0037 PASt log info V 2 [[Persadmin_Tool]: persAdminResourceConfigAdd(/Data/resource2.tar.gz) returned <<-1245193>>]
  4. run test program

    root@qemux86:~# /opt/tests/persistence-administrator/pers_admin_test_framework 
    persAdminResourceConfigAdd:</tmp/PAS/resource1.tar.gz>
    persAdminResourceConfigAdd: request result=-1310719 !!!
    persAdminResourceConfigAdd:</tmp/PAS/resource2.tar.gz>
    persAdminResourceConfigAdd: request result=-1310719 !!!
    persAdminUserDataDelete: 2 1
    persAdminUserDataDelete: request result=178 !!!
    persAdminUserDataDelete: 2 2
    pers_admin_svc[262]: segfault at b577a010 ip 499da66f sp b67ae524 error 4 in libc-2.22.so[49962000+175000]

 

  • No labels