pyparsing.ParseException when running job audio/speaker-headphone-plug-detection on Ubuntu 20.04

Bug #1871322 reported by Pierre Equoy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Maciej Kisielewski

Bug Description

[Summary]

[Steps to reproduce]

1. Run job audio/speaker-headphone-plug-detection on 20.04.

[Expected result]

1. Job completes

[Actual result]

1. it fails with the following logs:

Traceback (most recent call last):
  File "/tmp/nest-jy4vaoy3.44ccba4503553477bd35b7457239873165b3f38cb7624d3ed35a63828a1ba746/pulse-active-port-change", line 149, in <module>
    raise SystemExit(AudioPlugDetection.main())
  File "/tmp/nest-jy4vaoy3.44ccba4503553477bd35b7457239873165b3f38cb7624d3ed35a63828a1ba746/pulse-active-port-change", line 107, in main
    return cls(ns.timeout, ns.mode).run()
  File "/tmp/nest-jy4vaoy3.44ccba4503553477bd35b7457239873165b3f38cb7624d3ed35a63828a1ba746/pulse-active-port-change", line 120, in run
    initial_cfg = self.get_sound_config()
  File "/tmp/nest-jy4vaoy3.44ccba4503553477bd35b7457239873165b3f38cb7624d3ed35a63828a1ba746/pulse-active-port-change", line 71, in get_sound_config
    doc = parse_pactl_output(text)
  File "/usr/lib/python3/dist-packages/checkbox_support/parsers/pactl.py", line 592, in parse_pactl_output
    return Document.Syntax.parseString(output, parseAll=True)[0]
  File "/usr/lib/python3/dist-packages/pyparsing.py", line 1947, in parseString
    raise exc
  File "/usr/lib/python3/dist-packages/pyparsing.py", line 1941, in parseString
    se._parse(instring, loc)
  File "/usr/lib/python3/dist-packages/pyparsing.py", line 1838, in _parseCache
    value = self._parseNoCache(instring, loc, doActions, callPreParse)
  File "/usr/lib/python3/dist-packages/pyparsing.py", line 1677, in _parseNoCache
    loc, tokens = self.parseImpl(instring, preloc, doActions)
  File "/usr/lib/python3/dist-packages/pyparsing.py", line 4052, in parseImpl
    loc, exprtokens = e._parse(instring, loc, doActions)
  File "/usr/lib/python3/dist-packages/pyparsing.py", line 1838, in _parseCache
    value = self._parseNoCache(instring, loc, doActions, callPreParse)
  File "/usr/lib/python3/dist-packages/pyparsing.py", line 1681, in _parseNoCache
    loc, tokens = self.parseImpl(instring, preloc, doActions)
  File "/usr/lib/python3/dist-packages/pyparsing.py", line 3798, in parseImpl
    raise ParseException(instring, loc, self.errmsg, self)
pyparsing.ParseException: Expected end of text, found '\t' (at char 5920), (line:167, col:1)

[Failure rate]

5 times out of 5.

[Additional information]
SKU: 201911-27083
system-manufacturer: Dell Inc.
system-product-name: Vostro 5590
bios-version: 1.1.0
CPU: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8x)
GPU: 00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9b41] (rev 02)
01:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:1d13] (rev a1)
kernel-version: 5.4.0-21-generic

checkbox-ng: 1.7.0
checkbox-support: 0.44.0
checkbox-provider-phoronix: 0.5.0
com.canonical.ce:oem: 1.0
certification-client: 0.39.0
plainbox-provider-checkbox: 0.51.0
plainbox-provider-resource-generic: 0.43.0
plainbox-provider-sru: 1.17.0
plainbox-provider-tpm2: 1.12.0

Related branches

Revision history for this message
Pierre Equoy (pieq) wrote :

Automatically attached

Revision history for this message
Pierre Equoy (pieq) wrote :

Automatically attached

Revision history for this message
Pierre Equoy (pieq) wrote :

Automatically attached

Revision history for this message
Pierre Equoy (pieq) wrote :

Automatically attached

Revision history for this message
Pierre Equoy (pieq) wrote :
Changed in plainbox-provider-checkbox:
assignee: nobody → Sylvain Pineau (sylvain-pineau)
description: updated
Changed in plainbox-provider-checkbox:
status: New → In Progress
assignee: Sylvain Pineau (sylvain-pineau) → Maciej Kisielewski (kissiel)
Revision history for this message
Maciej Kisielewski (kissiel) wrote :
Changed in plainbox-provider-checkbox:
importance: Undecided → High
status: In Progress → Fix Committed
Changed in plainbox-provider-checkbox:
milestone: none → 0.53.0
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.