Advertisement
Guest User

lava_lxc_error

a guest
Jul 16th, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.19 KB | None | 0 0
  1. =================================
  2. Device type jinja
  3. =================================
  4. {# device_type: CY8CKIT_064B0S2_4343W #}
  5. {% extends 'base.jinja2' %}
  6. {% block body %}
  7. board_id: '{{ board_id|default('0000000000') }}'
  8. usb_vendor_id: '04b4'
  9. usb_product_id: 'f155'
  10.  
  11. actions:
  12. boot:
  13. connections:
  14. lxc:
  15. serial:
  16. ssh:
  17. methods:
  18. lxc:
  19. pyocd:
  20. parameters:
  21. command:
  22. flash_boot_psoc64.sh
  23. options:
  24. - -d {{ debug|default('debug') }}
  25. deploy:
  26. methods:
  27. lxc:
  28. image:
  29. parameters:
  30. {% endblock body -%}
  31.  
  32. =================================
  33. Device jinja
  34. =================================
  35. {% extends 'CY8CKIT_064B0S2_4343W.jinja2' %}
  36. {% set board_id = '201A111C02179400' %}
  37. {% set connection_command = 'telnet ser2net 5006' %}
  38.  
  39. =================================
  40. Test job yaml
  41. =================================
  42. device_type: CY8CKIT_064B0S2_4343W
  43. job_name: ConfigCoreIPC
  44.  
  45. timeouts:
  46. job:
  47. minutes: 20
  48. action:
  49. minutes: 2
  50. priority: medium
  51. visibility: public
  52.  
  53. protocols:
  54. lava-lxc:
  55. name: lxc-test
  56. template: debian
  57. distribution: debian
  58. release: stretch
  59. mirror: http://iot-webserver.aus.cypress.com/projects/lava/mirrors/debian
  60. arch: amd64
  61.  
  62. actions:
  63. - deploy:
  64. namespace: tlxc
  65. timeout:
  66. minutes: 10
  67. to: lxc
  68. os: debian
  69.  
  70. - boot:
  71. namespace: tlxc
  72. method: lxc
  73. timeout:
  74. minutes: 5
  75. prompts:
  76. - 'root@(.*):/#'
  77.  
  78. - deploy:
  79. namespace: dut
  80. timeout:
  81. minutes: 3
  82. to: tmpfs
  83. images:
  84. package:
  85. image_arg: -p {package}
  86. url: :IMAGE_URL:
  87.  
  88. - boot:
  89. namespace: dut
  90. method: pyocd
  91. timeout:
  92. minutes: 16
  93.  
  94. - test:
  95. namespace: tlxc
  96. timeout:
  97. minutes: 6
  98. monitors:
  99. - name: boot-sanity
  100. start: "Starting Cortex-M4"
  101. end: "Cores sync success"
  102. pattern: "Dummy pattern"
  103.  
  104. =================================
  105. LAVA log
  106. =================================
  107. lava-dispatcher, installed at version: 2020.01
  108. start: 0 validate
  109. Start time: 2020-07-16 22:06:13.000172+00:00 (UTC)
  110. lava-lxc-mocker, installed at version:
  111. Validating that http://iot-webserver.aus.cypress.com//projects/lava/tfm/repo/tfm/trusted-firmware-m/es100/173589/ARMCLANG/psoc64-ConfigCoreIPC-Release.tgz exists
  112. /usr/local/bin/flash_boot_psoc64.sh, version 1.0
  113. validate duration: 0.23
  114. case: validate
  115. case_id: 300804
  116. definition: lava
  117. result: pass
  118. start: 1 lxc-deploy (timeout 00:10:00) [tlxc]
  119. start: 1.1 lxc-create-action (timeout 00:10:00) [tlxc]
  120. Calling: 'nice' 'lxc-info' 'lxc-test-17071'
  121. Returned 0 in 0 seconds
  122. lxc container 'lxc-test-17071' already exists
  123. end: 1.1 lxc-create-action (duration 00:00:01) [tlxc]
  124. case: lxc-create-action
  125. case_id: 300805
  126. definition: lava
  127. duration: 0.53
  128. extra: ...
  129. level: 1.1
  130. namespace: tlxc
  131. result: fail
  132. lxc container 'lxc-test-17071' already exists
  133. end: 1 lxc-deploy (duration 00:00:01) [tlxc]
  134. case: lxc-deploy
  135. case_id: 300806
  136. definition: lava
  137. duration: 0.54
  138. extra: ...
  139. level: 1
  140. namespace: tlxc
  141. result: fail
  142. Cleaning after the job
  143. start: 6.1 power-off (timeout 00:00:10) [common]
  144. end: 6.1 power-off (duration 00:00:00) [common]
  145. case: power-off
  146. case_id: 300807
  147. definition: lava
  148. duration: 0.00
  149. extra: ...
  150. level: 6.1
  151. namespace: common
  152. result: pass
  153. start: 6.2 read-feedback (timeout 00:02:00) [common]
  154. No connection for namespace tlxc
  155. No connection for namespace dut
  156. end: 6.2 read-feedback (duration 00:00:00) [common]
  157. lava-lxc protocol: issue stop
  158. lava-lxc protocol: executing 'lxc-stop -n lxc-test-17071 -k'
  159. lava-lxc protocol: issue destroy
  160. lava-lxc protocol: executing 'lxc-destroy -n lxc-test-17071 -f'
  161. Destroyed container lxc-test-17071
  162. lava-lxc protocol: removing /var/lib/lxc/lxc-test-17071
  163. lava-lxc protocol: executing 'udevadm control --reload-rules'
  164. lava-lxc protocol finalised.
  165. Root tmp directory removed at /var/lib/lava/dispatcher/tmp/17071
  166. InfrastructureError: The Infrastructure is not working correctly. Please report this error to LAVA admins.
  167. case: job
  168. case_id: 300808
  169. definition: lava
  170. error_msg: lxc container 'lxc-test-17071' already exists
  171. error_type: Infrastructure
  172. result: fail
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement