Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =================================
- Device type jinja
- =================================
- {# device_type: CY8CKIT_064B0S2_4343W #}
- {% extends 'base.jinja2' %}
- {% block body %}
- board_id: '{{ board_id|default('0000000000') }}'
- usb_vendor_id: '04b4'
- usb_product_id: 'f155'
- actions:
- boot:
- connections:
- lxc:
- serial:
- ssh:
- methods:
- lxc:
- pyocd:
- parameters:
- command:
- flash_boot_psoc64.sh
- options:
- - -d {{ debug|default('debug') }}
- deploy:
- methods:
- lxc:
- image:
- parameters:
- {% endblock body -%}
- =================================
- Device jinja
- =================================
- {% extends 'CY8CKIT_064B0S2_4343W.jinja2' %}
- {% set board_id = '201A111C02179400' %}
- {% set connection_command = 'telnet ser2net 5006' %}
- =================================
- Test job yaml
- =================================
- device_type: CY8CKIT_064B0S2_4343W
- job_name: ConfigCoreIPC
- timeouts:
- job:
- minutes: 20
- action:
- minutes: 2
- priority: medium
- visibility: public
- protocols:
- lava-lxc:
- name: lxc-test
- template: debian
- distribution: debian
- release: stretch
- mirror: http://iot-webserver.aus.cypress.com/projects/lava/mirrors/debian
- arch: amd64
- actions:
- - deploy:
- namespace: tlxc
- timeout:
- minutes: 10
- to: lxc
- os: debian
- - boot:
- namespace: tlxc
- method: lxc
- timeout:
- minutes: 5
- prompts:
- - 'root@(.*):/#'
- - deploy:
- namespace: dut
- timeout:
- minutes: 3
- to: tmpfs
- images:
- package:
- image_arg: -p {package}
- url: :IMAGE_URL:
- - boot:
- namespace: dut
- method: pyocd
- timeout:
- minutes: 16
- - test:
- namespace: tlxc
- timeout:
- minutes: 6
- monitors:
- - name: boot-sanity
- start: "Starting Cortex-M4"
- end: "Cores sync success"
- pattern: "Dummy pattern"
- =================================
- LAVA log
- =================================
- lava-dispatcher, installed at version: 2020.01
- start: 0 validate
- Start time: 2020-07-16 22:06:13.000172+00:00 (UTC)
- lava-lxc-mocker, installed at version:
- Validating that http://iot-webserver.aus.cypress.com//projects/lava/tfm/repo/tfm/trusted-firmware-m/es100/173589/ARMCLANG/psoc64-ConfigCoreIPC-Release.tgz exists
- /usr/local/bin/flash_boot_psoc64.sh, version 1.0
- validate duration: 0.23
- case: validate
- case_id: 300804
- definition: lava
- result: pass
- start: 1 lxc-deploy (timeout 00:10:00) [tlxc]
- start: 1.1 lxc-create-action (timeout 00:10:00) [tlxc]
- Calling: 'nice' 'lxc-info' 'lxc-test-17071'
- Returned 0 in 0 seconds
- lxc container 'lxc-test-17071' already exists
- end: 1.1 lxc-create-action (duration 00:00:01) [tlxc]
- case: lxc-create-action
- case_id: 300805
- definition: lava
- duration: 0.53
- extra: ...
- level: 1.1
- namespace: tlxc
- result: fail
- lxc container 'lxc-test-17071' already exists
- end: 1 lxc-deploy (duration 00:00:01) [tlxc]
- case: lxc-deploy
- case_id: 300806
- definition: lava
- duration: 0.54
- extra: ...
- level: 1
- namespace: tlxc
- result: fail
- Cleaning after the job
- start: 6.1 power-off (timeout 00:00:10) [common]
- end: 6.1 power-off (duration 00:00:00) [common]
- case: power-off
- case_id: 300807
- definition: lava
- duration: 0.00
- extra: ...
- level: 6.1
- namespace: common
- result: pass
- start: 6.2 read-feedback (timeout 00:02:00) [common]
- No connection for namespace tlxc
- No connection for namespace dut
- end: 6.2 read-feedback (duration 00:00:00) [common]
- lava-lxc protocol: issue stop
- lava-lxc protocol: executing 'lxc-stop -n lxc-test-17071 -k'
- lava-lxc protocol: issue destroy
- lava-lxc protocol: executing 'lxc-destroy -n lxc-test-17071 -f'
- Destroyed container lxc-test-17071
- lava-lxc protocol: removing /var/lib/lxc/lxc-test-17071
- lava-lxc protocol: executing 'udevadm control --reload-rules'
- lava-lxc protocol finalised.
- Root tmp directory removed at /var/lib/lava/dispatcher/tmp/17071
- InfrastructureError: The Infrastructure is not working correctly. Please report this error to LAVA admins.
- case: job
- case_id: 300808
- definition: lava
- error_msg: lxc container 'lxc-test-17071' already exists
- error_type: Infrastructure
- result: fail
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement