Jenkins job fails: AttributeError: 'spawn' object has no attribute 'match'

Bug #1348601 reported by Ionuț Arțăriși
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Low
Ionuț Arțăriși

Bug Description

I've been seeing this jenkins job failure when doing changes seemingly unrelated to the failing test.

2014-07-24 19:03:38.315 | FAIL: guestagent.test_pkg.PkgRPMRemoveTestCase.test_success_remove
2014-07-24 19:03:38.315 | tags: worker-3
2014-07-24 19:03:38.315 | ----------------------------------------------------------------------
2014-07-24 19:03:38.315 | Traceback (most recent call last):
2014-07-24 19:03:38.315 | File "/home/jenkins/workspace/gate-trove-python27/trove/tests/unittests/guestagent/test_pkg.py", line 450, in test_success_remove
2014-07-24 19:03:38.315 | self.assertTrue(self.pkg.pkg_remove(self.pkgName, 5000) is None)
2014-07-24 19:03:38.315 | File "trove/guestagent/pkg.py", line 215, in pkg_remove
2014-07-24 19:03:38.315 | result = self._remove(package_name, time_out)
2014-07-24 19:03:38.315 | File "trove/guestagent/pkg.py", line 165, in _remove
2014-07-24 19:03:38.316 | i, match = self.pexpect_run(cmd, output_expects, time_out)
2014-07-24 19:03:38.316 | File "trove/guestagent/pkg.py", line 92, in pexpect_run
2014-07-24 19:03:38.316 | match = child.match
2014-07-24 19:03:38.316 | AttributeError: 'spawn' object has no attribute 'match'
2014-07-24 19:03:38.316 | ======================================================================

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/109611

Changed in trove:
assignee: nobody → Ionuț Arțăriși (mapleoin)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/109611
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=d2b95d18b760f844726c7bc70065cb0c9d2e87ce
Submitter: Jenkins
Branch: master

commit d2b95d18b760f844726c7bc70065cb0c9d2e87ce
Author: Ionuț Arțăriși <email address hidden>
Date: Fri Jul 25 16:46:52 2014 +0200

    fix pexpect.spawn.match AttributeError

    Jenkins randomly throws AttributeErrors on pexpect.spawn.match, mock the
    return value to fix this.

    Co-Authored-By: Denis M. <email address hidden>
    Change-Id: I8b0ed7f8c474bedbbd60944bdd5a4119b0a6faea
    Closes-Bug: #1348601

Changed in trove:
status: In Progress → Fix Committed
Changed in trove:
importance: Undecided → Low
milestone: none → juno-3
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: juno-3 → 2014.2
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.