File: task.yaml

package info (click to toggle)
snapd 2.72-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 80,412 kB
  • sloc: sh: 16,506; ansic: 16,211; python: 11,213; makefile: 1,919; exp: 190; awk: 58; xml: 22
file content (29 lines) | stat: -rw-r--r-- 895 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
summary: Ensure that commands run when their core provided interfaces are connected

details: |
    Install a test snap that plugs as many core provided interfaces as is 
    possible and verify the command can run (ie, don't test the interface 
    functionality itself). This will help catch things like AppArmor 
    policy syntax errors, seccomp policy parsing, udev querying bugs, etc.

systems: [ubuntu-18*, ubuntu-2*]

environment:
    TEST: install-many-snaps
    NUM_SNAPS: 100

execute: |
    # Get the nested system to use
    NESTED_SPREAD_SYSTEM="$(tests.nested nested-system)"

    # Get spread
    SPREAD="$(tests.nested download spread)"

    # Run spread test
    export SPREAD_EXTERNAL_ADDRESS=localhost:8022
    export PERF_NUM_SNAPS="$NUM_SNAPS"

    (
        set -o pipefail
        "$SPREAD" external:"$NESTED_SPREAD_SYSTEM":tests/perf/main/"$TEST" | tee spread.log
    )