Testcase: apparmor-easyprof-ubuntu

Build #:228:20140309:20140304
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
apparmor-easyprof-ubuntu
testsuite
/tmp/tmpiGHOyR/testsuites/security
returncode
0
command
../run_test.sh apparmor-easyprof-ubuntu
stdout
running test as phablet user...
RUNNING FROM HOST
Checking click availability ... [OK]
Checking pkcon availability ... [OK]
=== default ubuntu/1.0 ===
Creating click package with default (ubuntu/1.0) ...
{
"policy_groups": [],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]

Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e XDG_CACHE_HOME=/home/phablet/.cache'... [OK] (rc=0)
Checking '-e XDG_CONFIG_HOME=/home/phablet/.config'... [OK] (rc=0)
Checking '-e XDG_DATA_HOME=/home/phablet/.local/share'... [OK] (rc=0)
Checking '-e XDG_RUNTIME_DIR=/run/user/32011'... [OK] (rc=0)
Checking '-e UBUNTU_APPLICATION_ISOLATION=1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-e LD_LIBRARY_PATH=/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf:/foo'... [OK] (rc=0)
Checking '-e QML2_IMPORT_PATH=/foo:/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf'... [OK] (rc=0)
Checking '-e
PATH=/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf/bin:/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'...
[OK] (rc=0)

==== read/write system files ====
Checking '-W /dev/binder'... [OK] (rc=0)
Checking '-W /sys/devices/virtual/timed_output/vibrator/enable'... [OK] (rc=0)
Checking '-W /sys/class/timed_output/vibrator/enable'... [OK] (rc=0)

==== read-only system files ====
Checking '-r /proc/self/cmdline'... [OK] (rc=0)
Checking '-w /proc/self/cmdline'... [OK] (rc=1)
Checking '-r /proc/self/status'... [OK] (rc=0)
Checking '-w /proc/self/status'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-w /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=1)
Checking '-r /custom/xdg/data/themes/Ubuntu/Custom/parent_theme': SKIP (does not exist)

==== read/write user files ====
Checking '-W /home/phablet/.cache/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.config/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.local/share/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)

==== read/write user files for FIXME bugs ====
Checking '-W /run/shm/hybris_shm_data'... [OK] (rc=0)
Checking '-W /run/shm/WK2SharedMemory.0test'... [OK] (rc=0)

==== deny read system files ====
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /dev/input/event0'... [OK] (rc=1)

==== deny write system files ====
Checking '-w /dev/log_main'... [OK] (rc=1)
Checking '-w /dev/log_radio'... [OK] (rc=1)
Checking '-w /dev/log_events'... [OK] (rc=1)
Checking '-w /dev/log_system'... [OK] (rc=1)
Checking '-w /dev/input/event0'... [OK] (rc=1)

==== deny write user files ====
Checking '-w /home/phablet/.cache/tncache-write-text.null'... [OK] (rc=1)
Checking '-w /tmp/orcexec.test'... [OK] (rc=1)
Checking '-w /home/phablet/orcexec.test'... [OK] (rc=1)
Checking '-w /run/user/32011/orcexec.test'... [OK] (rc=1)
Checking '-w /run/shm/lttng-ust-wait-5-nonexistent'... [OK] (rc=1)

==== deny access to other apps ====
Checking '-r /home/phablet/.local/share/nonexistent-app/read'... [OK] (rc=1)
Checking '-w /home/phablet/.local/share/nonexistent-app/write'... [OK] (rc=1)
Checking '-W /home/phablet/.local/share/nonexistent-app/readwrite'... [OK] (rc=1)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]

Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e XDG_CACHE_HOME=/home/phablet/.cache'... [OK] (rc=0)
Checking '-e XDG_CONFIG_HOME=/home/phablet/.config'... [OK] (rc=0)
Checking '-e XDG_DATA_HOME=/home/phablet/.local/share'... [OK] (rc=0)
Checking '-e XDG_RUNTIME_DIR=/run/user/32011'... [OK] (rc=0)
Checking '-e UBUNTU_APPLICATION_ISOLATION=1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-e LD_LIBRARY_PATH=/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf:/foo'... [OK] (rc=0)
Checking '-e QML2_IMPORT_PATH=/foo:/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf'... [OK] (rc=0)
Checking '-e
PATH=/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf/bin:/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'...
[OK] (rc=0)

==== read/write system files ====
Checking '-W /dev/binder'... [OK] (rc=0)
Checking '-W /sys/devices/virtual/timed_output/vibrator/enable'... [OK] (rc=0)
Checking '-W /sys/class/timed_output/vibrator/enable'... [OK] (rc=0)

==== read-only system files ====
Checking '-r /proc/self/cmdline'... [OK] (rc=0)
Checking '-w /proc/self/cmdline'... [OK] (rc=1)
Checking '-r /proc/self/status'... [OK] (rc=0)
Checking '-w /proc/self/status'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-w /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=1)
Checking '-r /custom/xdg/data/themes/Ubuntu/Custom/parent_theme': SKIP (does not exist)

==== read/write user files ====
Checking '-W /home/phablet/.cache/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.config/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.local/share/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)

==== read/write user files for FIXME bugs ====
Checking '-W /run/shm/hybris_shm_data'... [OK] (rc=0)
Checking '-W /run/shm/WK2SharedMemory.0test'... [OK] (rc=0)

==== deny read system files ====
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /dev/input/event0'... [OK] (rc=1)

==== deny write system files ====
Checking '-w /dev/log_main'... [OK] (rc=1)
Checking '-w /dev/log_radio'... [OK] (rc=1)
Checking '-w /dev/log_events'... [OK] (rc=1)
Checking '-w /dev/log_system'... [OK] (rc=1)
Checking '-w /dev/input/event0'... [OK] (rc=1)

==== deny write user files ====
Checking '-w /home/phablet/.cache/tncache-write-text.null'... [OK] (rc=1)
Checking '-w /tmp/orcexec.test'... [OK] (rc=1)
Checking '-w /home/phablet/orcexec.test'... [OK] (rc=1)
Checking '-w /run/user/32011/orcexec.test'... [OK] (rc=1)
Checking '-w /run/shm/lttng-ust-wait-5-nonexistent'... [OK] (rc=1)

==== deny access to other apps ====
Checking '-r /home/phablet/.local/share/nonexistent-app/read'... [OK] (rc=1)
Checking '-w /home/phablet/.local/share/nonexistent-app/write'... [OK] (rc=1)
Checking '-W /home/phablet/.local/share/nonexistent-app/readwrite'... [OK] (rc=1)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - accounts ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"accounts"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - audio ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"audio"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - calendar ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"calendar"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - camera ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"camera"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - connectivity ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"connectivity"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - contacts ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"contacts"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - content_exchange ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"content_exchange"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - content_exchange_source ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"content_exchange_source"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - friends ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"friends"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - history ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"history"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - location ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"location"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - microphone ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"microphone"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - music_files ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"music_files"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - music_files_read ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"music_files_read"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - networking ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"networking"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - picture_files ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"picture_files"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - picture_files_read ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"picture_files_read"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - sensors ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"sensors"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - usermetrics ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"usermetrics"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - video ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"video"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - video_files ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"video_files"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - video_files_read ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"video_files_read"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.0 - all ===
Creating click package with ubuntu-sdk (ubuntu/1.0) ...
{
"policy_groups": [
"accounts",
"audio",
"calendar",
"camera",
"connectivity",
"contacts",
"content_exchange",
"content_exchange_source",
"friends",
"history",
"location",
"microphone",
"music_files",
"music_files_read",
"networking",
"picture_files",
"picture_files_read",
"sensors",
"usermetrics",
"video",
"video_files",
"video_files_read"
],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]

Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e XDG_CACHE_HOME=/home/phablet/.cache'... [OK] (rc=0)
Checking '-e XDG_CONFIG_HOME=/home/phablet/.config'... [OK] (rc=0)
Checking '-e XDG_DATA_HOME=/home/phablet/.local/share'... [OK] (rc=0)
Checking '-e XDG_RUNTIME_DIR=/run/user/32011'... [OK] (rc=0)
Checking '-e UBUNTU_APPLICATION_ISOLATION=1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)

==== read/write system files ====
Checking '-W /dev/binder'... [OK] (rc=0)
Checking '-W /sys/devices/virtual/timed_output/vibrator/enable'... [OK] (rc=0)
Checking '-W /sys/class/timed_output/vibrator/enable'... [OK] (rc=0)

==== read-only system files ====
Checking '-r /proc/self/cmdline'... [OK] (rc=0)
Checking '-w /proc/self/cmdline'... [OK] (rc=1)
Checking '-r /proc/self/status'... [OK] (rc=0)
Checking '-w /proc/self/status'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-w /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=1)
Checking '-r /custom/xdg/data/themes/Ubuntu/Custom/parent_theme': SKIP (does not exist)

==== read/write user files ====
Checking '-W /home/phablet/.cache/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.config/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.local/share/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)

==== read/write user files for FIXME bugs ====
Checking '-W /run/shm/hybris_shm_data'... [OK] (rc=0)
Checking '-W /run/shm/WK2SharedMemory.0test'... [OK] (rc=0)

==== deny read system files ====
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /dev/input/event0'... [OK] (rc=1)

==== deny write system files ====
Checking '-w /dev/log_main'... [OK] (rc=1)
Checking '-w /dev/log_radio'... [OK] (rc=1)
Checking '-w /dev/log_events'... [OK] (rc=1)
Checking '-w /dev/log_system'... [OK] (rc=1)
Checking '-w /dev/input/event0'... [OK] (rc=1)

==== deny write user files ====
Checking '-w /home/phablet/.cache/tncache-write-text.null'... [OK] (rc=1)
Checking '-w /tmp/orcexec.test'... [OK] (rc=1)
Checking '-w /home/phablet/orcexec.test'... [OK] (rc=1)
Checking '-w /run/user/32011/orcexec.test'... [OK] (rc=1)
Checking '-w /run/shm/lttng-ust-wait-5-nonexistent'... [OK] (rc=1)

==== deny access to other apps ====
Checking '-r /home/phablet/.local/share/nonexistent-app/read'... [OK] (rc=1)
Checking '-w /home/phablet/.local/share/nonexistent-app/write'... [OK] (rc=1)
Checking '-W /home/phablet/.local/share/nonexistent-app/readwrite'... [OK] (rc=1)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-webapp ubuntu/1.0 ===
Creating click package with ubuntu-webapp (ubuntu/1.0) ...
{
"template": "ubuntu-webapp",
"policy_groups": [],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]

Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e XDG_CACHE_HOME=/home/phablet/.cache'... [OK] (rc=0)
Checking '-e XDG_CONFIG_HOME=/home/phablet/.config'... [OK] (rc=0)
Checking '-e XDG_DATA_HOME=/home/phablet/.local/share'... [OK] (rc=0)
Checking '-e XDG_RUNTIME_DIR=/run/user/32011'... [OK] (rc=0)
Checking '-e UBUNTU_APPLICATION_ISOLATION=1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-e LD_LIBRARY_PATH=/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf:/foo'... [OK] (rc=0)
Checking '-e QML2_IMPORT_PATH=/foo:/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf'... [OK] (rc=0)
Checking '-e
PATH=/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf/bin:/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'...
[OK] (rc=0)

==== read/write system files ====
Checking '-W /dev/binder'... [OK] (rc=0)
Checking '-W /sys/devices/virtual/timed_output/vibrator/enable'... [OK] (rc=0)
Checking '-W /sys/class/timed_output/vibrator/enable'... [OK] (rc=0)

==== read-only system files ====
Checking '-r /proc/self/cmdline'... [OK] (rc=0)
Checking '-w /proc/self/cmdline'... [OK] (rc=1)
Checking '-r /proc/self/status'... [OK] (rc=0)
Checking '-w /proc/self/status'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-w /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=1)
Checking '-r /custom/xdg/data/themes/Ubuntu/Custom/parent_theme': SKIP (does not exist)

==== read/write user files ====
Checking '-W /home/phablet/.cache/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.config/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.local/share/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)

==== read/write user files for FIXME bugs ====
Checking '-W /run/shm/hybris_shm_data'... [OK] (rc=0)
Checking '-W /run/shm/WK2SharedMemory.0test'... [OK] (rc=0)

==== deny read system files ====
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /dev/input/event0'... [OK] (rc=1)

==== deny write system files ====
Checking '-w /dev/log_main'... [OK] (rc=1)
Checking '-w /dev/log_radio'... [OK] (rc=1)
Checking '-w /dev/log_events'... [OK] (rc=1)
Checking '-w /dev/log_system'... [OK] (rc=1)
Checking '-w /dev/input/event0'... [OK] (rc=1)

==== deny write user files ====
Checking '-w /home/phablet/.cache/tncache-write-text.null'... [OK] (rc=1)
Checking '-w /tmp/orcexec.test'... [OK] (rc=1)
Checking '-w /home/phablet/orcexec.test'... [OK] (rc=1)
Checking '-w /run/user/32011/orcexec.test'... [OK] (rc=1)
Checking '-w /run/shm/lttng-ust-wait-5-nonexistent'... [OK] (rc=1)

==== deny access to other apps ====
Checking '-r /home/phablet/.local/share/nonexistent-app/read'... [OK] (rc=1)
Checking '-w /home/phablet/.local/share/nonexistent-app/write'... [OK] (rc=1)
Checking '-W /home/phablet/.local/share/nonexistent-app/readwrite'... [OK] (rc=1)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== unconfined ubuntu/1.0 ===
Creating click package with unconfined (ubuntu/1.0) ...
{
"template": "unconfined",
"policy_groups": [],
"policy_vendor": "ubuntu",
"policy_version": 1.0
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== unconfined tests ====
Checking '-r /etc/issue'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== default ubuntu/1.1 ===
Creating click package with default (ubuntu/1.1) ...
{
"policy_groups": [],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]

Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e XDG_CACHE_HOME=/home/phablet/.cache'... [OK] (rc=0)
Checking '-e XDG_CONFIG_HOME=/home/phablet/.config'... [OK] (rc=0)
Checking '-e XDG_DATA_HOME=/home/phablet/.local/share'... [OK] (rc=0)
Checking '-e XDG_RUNTIME_DIR=/run/user/32011'... [OK] (rc=0)
Checking '-e UBUNTU_APPLICATION_ISOLATION=1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-e LD_LIBRARY_PATH=/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf:/foo'... [OK] (rc=0)
Checking '-e QML2_IMPORT_PATH=/foo:/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf'... [OK] (rc=0)
Checking '-e
PATH=/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf/bin:/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'...
[OK] (rc=0)

==== read/write system files ====
Checking '-W /dev/binder'... [OK] (rc=0)
Checking '-W /sys/devices/virtual/timed_output/vibrator/enable'... [OK] (rc=0)
Checking '-W /sys/class/timed_output/vibrator/enable'... [OK] (rc=0)

==== read-only system files ====
Checking '-r /proc/self/cmdline'... [OK] (rc=0)
Checking '-w /proc/self/cmdline'... [OK] (rc=1)
Checking '-r /proc/self/status'... [OK] (rc=0)
Checking '-w /proc/self/status'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-w /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=1)
Checking '-r /custom/xdg/data/themes/Ubuntu/Custom/parent_theme': SKIP (does not exist)

==== read/write user files ====
Checking '-W /home/phablet/.cache/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.config/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.local/share/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)

==== read/write user files for FIXME bugs ====
Checking '-W /run/shm/hybris_shm_data'... [OK] (rc=0)
Checking '-W /run/shm/WK2SharedMemory.0test'... [OK] (rc=0)

==== deny read system files ====
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /dev/input/event0'... [OK] (rc=1)

==== deny write system files ====
Checking '-w /dev/log_main'... [OK] (rc=1)
Checking '-w /dev/log_radio'... [OK] (rc=1)
Checking '-w /dev/log_events'... [OK] (rc=1)
Checking '-w /dev/log_system'... [OK] (rc=1)
Checking '-w /dev/input/event0'... [OK] (rc=1)

==== deny write user files ====
Checking '-w /home/phablet/.cache/tncache-write-text.null'... [OK] (rc=1)
Checking '-w /tmp/orcexec.test'... [OK] (rc=1)
Checking '-w /home/phablet/orcexec.test'... [OK] (rc=1)
Checking '-w /run/user/32011/orcexec.test'... [OK] (rc=1)
Checking '-w /run/shm/lttng-ust-wait-5-nonexistent'... [OK] (rc=1)
Checking '-W /tmp/mir_socket'... [OK] (rc=1)

==== deny access to other apps ====
Checking '-r /home/phablet/.local/share/nonexistent-app/read'... [OK] (rc=1)
Checking '-w /home/phablet/.local/share/nonexistent-app/write'... [OK] (rc=1)
Checking '-W /home/phablet/.local/share/nonexistent-app/readwrite'... [OK] (rc=1)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]

Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e XDG_CACHE_HOME=/home/phablet/.cache'... [OK] (rc=0)
Checking '-e XDG_CONFIG_HOME=/home/phablet/.config'... [OK] (rc=0)
Checking '-e XDG_DATA_HOME=/home/phablet/.local/share'... [OK] (rc=0)
Checking '-e XDG_RUNTIME_DIR=/run/user/32011'... [OK] (rc=0)
Checking '-e UBUNTU_APPLICATION_ISOLATION=1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-e LD_LIBRARY_PATH=/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf:/foo'... [OK] (rc=0)
Checking '-e QML2_IMPORT_PATH=/foo:/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf'... [OK] (rc=0)
Checking '-e
PATH=/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf/bin:/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'...
[OK] (rc=0)

==== read/write system files ====
Checking '-W /dev/binder'... [OK] (rc=0)
Checking '-W /sys/devices/virtual/timed_output/vibrator/enable'... [OK] (rc=0)
Checking '-W /sys/class/timed_output/vibrator/enable'... [OK] (rc=0)

==== read-only system files ====
Checking '-r /proc/self/cmdline'... [OK] (rc=0)
Checking '-w /proc/self/cmdline'... [OK] (rc=1)
Checking '-r /proc/self/status'... [OK] (rc=0)
Checking '-w /proc/self/status'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-w /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=1)
Checking '-r /custom/xdg/data/themes/Ubuntu/Custom/parent_theme': SKIP (does not exist)

==== read/write user files ====
Checking '-W /home/phablet/.cache/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.config/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.local/share/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)

==== read/write user files for FIXME bugs ====
Checking '-W /run/shm/hybris_shm_data'... [OK] (rc=0)
Checking '-W /run/shm/WK2SharedMemory.0test'... [OK] (rc=0)

==== deny read system files ====
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /dev/input/event0'... [OK] (rc=1)

==== deny write system files ====
Checking '-w /dev/log_main'... [OK] (rc=1)
Checking '-w /dev/log_radio'... [OK] (rc=1)
Checking '-w /dev/log_events'... [OK] (rc=1)
Checking '-w /dev/log_system'... [OK] (rc=1)
Checking '-w /dev/input/event0'... [OK] (rc=1)

==== deny write user files ====
Checking '-w /home/phablet/.cache/tncache-write-text.null'... [OK] (rc=1)
Checking '-w /tmp/orcexec.test'... [OK] (rc=1)
Checking '-w /home/phablet/orcexec.test'... [OK] (rc=1)
Checking '-w /run/user/32011/orcexec.test'... [OK] (rc=1)
Checking '-w /run/shm/lttng-ust-wait-5-nonexistent'... [OK] (rc=1)
Checking '-W /tmp/mir_socket'... [OK] (rc=1)

==== deny access to other apps ====
Checking '-r /home/phablet/.local/share/nonexistent-app/read'... [OK] (rc=1)
Checking '-w /home/phablet/.local/share/nonexistent-app/write'... [OK] (rc=1)
Checking '-W /home/phablet/.local/share/nonexistent-app/readwrite'... [OK] (rc=1)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - accounts ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"accounts"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - audio ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"audio"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - calendar ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"calendar"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - camera ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"camera"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - connectivity ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"connectivity"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - contacts ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"contacts"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - content_exchange ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"content_exchange"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - content_exchange_source ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"content_exchange_source"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - friends ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"friends"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - history ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"history"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - location ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"location"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - microphone ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"microphone"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - music_files ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"music_files"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - music_files_read ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"music_files_read"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - networking ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"networking"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - picture_files ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"picture_files"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - picture_files_read ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"picture_files_read"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - sensors ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"sensors"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - usermetrics ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"usermetrics"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - video ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"video"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - video_files ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"video_files"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - video_files_read ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"video_files_read"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - webview ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"webview"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== reduced tests ====
Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-sdk ubuntu/1.1 - all ===
Creating click package with ubuntu-sdk (ubuntu/1.1) ...
{
"policy_groups": [
"accounts",
"audio",
"calendar",
"camera",
"connectivity",
"contacts",
"content_exchange",
"content_exchange_source",
"friends",
"history",
"location",
"microphone",
"music_files",
"music_files_read",
"networking",
"picture_files",
"picture_files_read",
"sensors",
"usermetrics",
"video",
"video_files",
"video_files_read",
"webview"
],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]

Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e XDG_CACHE_HOME=/home/phablet/.cache'... [OK] (rc=0)
Checking '-e XDG_CONFIG_HOME=/home/phablet/.config'... [OK] (rc=0)
Checking '-e XDG_DATA_HOME=/home/phablet/.local/share'... [OK] (rc=0)
Checking '-e XDG_RUNTIME_DIR=/run/user/32011'... [OK] (rc=0)
Checking '-e UBUNTU_APPLICATION_ISOLATION=1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)

==== read/write system files ====
Checking '-W /dev/binder'... [OK] (rc=0)
Checking '-W /sys/devices/virtual/timed_output/vibrator/enable'... [OK] (rc=0)
Checking '-W /sys/class/timed_output/vibrator/enable'... [OK] (rc=0)

==== read-only system files ====
Checking '-r /proc/self/cmdline'... [OK] (rc=0)
Checking '-w /proc/self/cmdline'... [OK] (rc=1)
Checking '-r /proc/self/status'... [OK] (rc=0)
Checking '-w /proc/self/status'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-w /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=1)
Checking '-r /custom/xdg/data/themes/Ubuntu/Custom/parent_theme': SKIP (does not exist)

==== read/write user files ====
Checking '-W /home/phablet/.cache/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.config/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.local/share/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)

==== read/write user files for FIXME bugs ====
Checking '-W /run/shm/hybris_shm_data'... [OK] (rc=0)
Checking '-W /run/shm/WK2SharedMemory.0test'... [OK] (rc=0)

==== deny read system files ====
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /dev/input/event0'... [OK] (rc=1)

==== deny write system files ====
Checking '-w /dev/log_main'... [OK] (rc=1)
Checking '-w /dev/log_radio'... [OK] (rc=1)
Checking '-w /dev/log_events'... [OK] (rc=1)
Checking '-w /dev/log_system'... [OK] (rc=1)
Checking '-w /dev/input/event0'... [OK] (rc=1)

==== deny write user files ====
Checking '-w /home/phablet/.cache/tncache-write-text.null'... [OK] (rc=1)
Checking '-w /tmp/orcexec.test'... [OK] (rc=1)
Checking '-w /home/phablet/orcexec.test'... [OK] (rc=1)
Checking '-w /run/user/32011/orcexec.test'... [OK] (rc=1)
Checking '-w /run/shm/lttng-ust-wait-5-nonexistent'... [OK] (rc=1)
Checking '-W /tmp/mir_socket'... [OK] (rc=1)

==== deny access to other apps ====
Checking '-r /home/phablet/.local/share/nonexistent-app/read'... [OK] (rc=1)
Checking '-w /home/phablet/.local/share/nonexistent-app/write'... [OK] (rc=1)
Checking '-W /home/phablet/.local/share/nonexistent-app/readwrite'... [OK] (rc=1)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== ubuntu-webapp ubuntu/1.1 ===
Creating click package with ubuntu-webapp (ubuntu/1.1) ...
{
"template": "ubuntu-webapp",
"policy_groups": [],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]

Checking '-e APP_ID=com.example.confined-basic_confined-basic_0.1'... [OK] (rc=0)
Checking '-e XDG_CACHE_HOME=/home/phablet/.cache'... [OK] (rc=0)
Checking '-e XDG_CONFIG_HOME=/home/phablet/.config'... [OK] (rc=0)
Checking '-e XDG_DATA_HOME=/home/phablet/.local/share'... [OK] (rc=0)
Checking '-e XDG_RUNTIME_DIR=/run/user/32011'... [OK] (rc=0)
Checking '-e UBUNTU_APPLICATION_ISOLATION=1'... [OK] (rc=0)
Checking '-e TMPDIR=/run/user/32011/confined/com.example.confined-basic'... [OK] (rc=0)
Checking '-e LD_LIBRARY_PATH=/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf:/foo'... [OK] (rc=0)
Checking '-e QML2_IMPORT_PATH=/foo:/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf'... [OK] (rc=0)
Checking '-e
PATH=/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/lib/arm-linux-gnueabihf/bin:/opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'...
[OK] (rc=0)

==== read/write system files ====
Checking '-W /dev/binder'... [OK] (rc=0)
Checking '-W /sys/devices/virtual/timed_output/vibrator/enable'... [OK] (rc=0)
Checking '-W /sys/class/timed_output/vibrator/enable'... [OK] (rc=0)

==== read-only system files ====
Checking '-r /proc/self/cmdline'... [OK] (rc=0)
Checking '-w /proc/self/cmdline'... [OK] (rc=1)
Checking '-r /proc/self/status'... [OK] (rc=0)
Checking '-w /proc/self/status'... [OK] (rc=1)
Checking '-r /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=0)
Checking '-w /opt/click.ubuntu.com/.click/users/phablet/com.example.confined-basic/confined-basic.json'... [OK] (rc=1)
Checking '-r /custom/xdg/data/themes/Ubuntu/Custom/parent_theme': SKIP (does not exist)

==== read/write user files ====
Checking '-W /home/phablet/.cache/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.config/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /home/phablet/.local/share/com.example.confined-basic/test.rw'... [OK] (rc=0)
Checking '-W /run/user/32011/confined/com.example.confined-basic/test.rw'... [OK] (rc=0)

==== read/write user files for FIXME bugs ====
Checking '-W /run/shm/hybris_shm_data'... [OK] (rc=0)
Checking '-W /run/shm/WK2SharedMemory.0test'... [OK] (rc=0)

==== deny read system files ====
Checking '-r /etc/issue'... [OK] (rc=1)
Checking '-r /dev/input/event0'... [OK] (rc=1)

==== deny write system files ====
Checking '-w /dev/log_main'... [OK] (rc=1)
Checking '-w /dev/log_radio'... [OK] (rc=1)
Checking '-w /dev/log_events'... [OK] (rc=1)
Checking '-w /dev/log_system'... [OK] (rc=1)
Checking '-w /dev/input/event0'... [OK] (rc=1)

==== deny write user files ====
Checking '-w /home/phablet/.cache/tncache-write-text.null'... [OK] (rc=1)
Checking '-w /tmp/orcexec.test'... [OK] (rc=1)
Checking '-w /home/phablet/orcexec.test'... [OK] (rc=1)
Checking '-w /run/user/32011/orcexec.test'... [OK] (rc=1)
Checking '-w /run/shm/lttng-ust-wait-5-nonexistent'... [OK] (rc=1)
Checking '-W /tmp/mir_socket'... [OK] (rc=1)

==== deny access to other apps ====
Checking '-r /home/phablet/.local/share/nonexistent-app/read'... [OK] (rc=1)
Checking '-w /home/phablet/.local/share/nonexistent-app/write'... [OK] (rc=1)
Checking '-W /home/phablet/.local/share/nonexistent-app/readwrite'... [OK] (rc=1)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

=== unconfined ubuntu/1.1 ===
Creating click package with unconfined (ubuntu/1.1) ...
{
"template": "unconfined",
"policy_groups": [],
"policy_vendor": "ubuntu",
"policy_version": 1.1
}
Successfully built package in './com.example.confined-basic_0.1_armhf.click'.
[OK]
Checking click package availability (com.example.confined-basic_0.1_armhf.click) ... [OK]
Installing click package ...
Installing files 7
Waiting in queue 7
Starting 7
Installing files 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7

[OK]


==== unconfined tests ====
Checking '-r /etc/issue'... [OK] (rc=0)
Uninstalling click package ...
Removing 7
Waiting in queue 7
Starting 7
Removing 7
Waiting in queue 7
Waiting for authentication 7
Waiting in queue 7
Starting 7



apparmor-easyprof-ubuntu tests
Passed: 545/545
Failed: 0/545

ADB_RC=0
command_type
testcase_test