However, when running the submission through the newest parser I get:
$ plainbox dev parse submission </tmp/sub.xml >/tmp/sub.json
viERROR:root:Error running event handler for 'test_run' with args (<checkbox_support.parsers.submission.TestRun object at 0x7f21a13ecb38>,) {}
Traceback (most recent call last):
File "/src/checkbox/bzr/trunk/checkbox-support/checkbox_support/parsers/submission.py", line 308, in publishEvent
listener.notify(event)
File "/src/checkbox/bzr/trunk/checkbox-support/checkbox_support/parsers/submission.py", line 242, in notify
notify(event)
File "/src/checkbox/bzr/trunk/checkbox-support/checkbox_support/parsers/submission.py", line 216, in notify
self.handler(**self.kwargs)
File "/src/checkbox/bzr/trunk/checkbox-support/checkbox_support/parsers/submission.py", line 687, in setProcessorState
cache=processor["cache"], other=processor["other"],
KeyError: 'cache'
Also, Sylvain found that the architecture's name is mutating:
17:37 < spineau> roadmr: sounds crazy but it seems that somebody decided to rename ppc64el to ppc64le
(https://lists.debian.org/debian-powerpc/2014/08/msg00040.html).
17:37 < spineau> roadmr: only ppc64le is properly recognized by the parser
17:37 < spineau> roadmr: and guess what the submission has, <architecture value="ppc64el"/>
The processor information is being (almost) correctly extracted from cpuinfo according to Ashley's powerpc updates:
<processors> >1</property> /property> revision" type="str" >2.0</property> version" type="str">pvr 004b 0200</property> >pSeries< /property> >3457</ property> >pSeries< /property>
<processor id="0" name="0">
<property name="count" type="str"
<property name="model" type="str">POWER8E (raw), altivec supported<
<property name="model_number" type="str">IBM pSeries (emulated by qemu)</property>
<property name="model_
<property name="model_
<property name="other" type="str">emulated by qemu</property>
<property name="platform" type="str"
<property name="speed" type="str"
<property name="type" type="str"
</processor>
</processors>
However, when running the submission through the newest parser I get:
$ plainbox dev parse submission </tmp/sub.xml >/tmp/sub.json support. parsers. submission. TestRun object at 0x7f21a13ecb38>,) {} bzr/trunk/ checkbox- support/ checkbox_ support/ parsers/ submission. py", line 308, in publishEvent notify( event) bzr/trunk/ checkbox- support/ checkbox_ support/ parsers/ submission. py", line 242, in notify bzr/trunk/ checkbox- support/ checkbox_ support/ parsers/ submission. py", line 216, in notify handler( **self. kwargs) bzr/trunk/ checkbox- support/ checkbox_ support/ parsers/ submission. py", line 687, in setProcessorState processor[ "cache" ], other=processor ["other" ],
viERROR:root:Error running event handler for 'test_run' with args (<checkbox_
Traceback (most recent call last):
File "/src/checkbox/
listener.
File "/src/checkbox/
notify(event)
File "/src/checkbox/
self.
File "/src/checkbox/
cache=
KeyError: 'cache'
Also, Sylvain found that the architecture's name is mutating:
17:37 < spineau> roadmr: sounds crazy but it seems that somebody decided to
rename ppc64el to ppc64le /lists. debian. org/debian- powerpc/ 2014/08/ msg00040. html).
value= "ppc64el" />
(https:/
17:37 < spineau> roadmr: only ppc64le is properly recognized by the parser
17:37 < spineau> roadmr: and guess what the submission has, <architecture