Project

General

Profile

Actions

Bug #11966

closed

"SyntaxError (invalid syntax (test_s3.py, line 5792)) ... ERROR" in upgrade:hammer-hammer-distro-basic-vps run

Added by Yuri Weinstein almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
upgrade/hammer
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Run: http://pulpito.ceph.com/teuthology-2015-06-08_16:05:02-upgrade:hammer-hammer-distro-basic-vps
Jobs: ['925330', '925332', '925333', '925337', '925344', '925346', '925347', '925351', '925353', '925354', '925358', '925361', '925365', '925367', '925368', '925372', '925374', '925375', '925379', '925381', '925382']
Logs for one: http://qa-proxy.ceph.com/teuthology/teuthology-2015-06-08_16:05:02-upgrade:hammer-hammer-distro-basic-vps/925332/

2015-06-10T09:09:25.132 INFO:teuthology.orchestra.run.vpm180.stderr:Failure: SyntaxError (invalid syntax (test_s3.py, line 5792)) ... ERROR

...........

2015-06-10T09:09:28.500 INFO:teuthology.orchestra.run.vpm180.stderr:test_realistic.TestFiles.test_random_file_valid ... ok
2015-06-10T09:09:28.502 INFO:teuthology.orchestra.run.vpm180.stderr:
2015-06-10T09:09:28.503 INFO:teuthology.orchestra.run.vpm180.stderr:======================================================================
2015-06-10T09:09:28.503 INFO:teuthology.orchestra.run.vpm180.stderr:ERROR: Failure: SyntaxError (invalid syntax (test_s3.py, line 5792))
2015-06-10T09:09:28.503 INFO:teuthology.orchestra.run.vpm180.stderr:----------------------------------------------------------------------
2015-06-10T09:09:28.503 INFO:teuthology.orchestra.run.vpm180.stderr:Traceback (most recent call last):
2015-06-10T09:09:28.503 INFO:teuthology.orchestra.run.vpm180.stderr:  File "/home/ubuntu/cephtest/s3-tests/virtualenv/lib/python2.6/site-packages/nose/loader.py", line 414, in loadTestsFromName
2015-06-10T09:09:28.503 INFO:teuthology.orchestra.run.vpm180.stderr:    addr.filename, addr.module)
2015-06-10T09:09:28.504 INFO:teuthology.orchestra.run.vpm180.stderr:  File "/home/ubuntu/cephtest/s3-tests/virtualenv/lib/python2.6/site-packages/nose/importer.py", line 47, in importFromPath
2015-06-10T09:09:28.504 INFO:teuthology.orchestra.run.vpm180.stderr:    return self.importFromDir(dir_path, fqname)
2015-06-10T09:09:28.504 INFO:teuthology.orchestra.run.vpm180.stderr:  File "/home/ubuntu/cephtest/s3-tests/virtualenv/lib/python2.6/site-packages/nose/importer.py", line 94, in importFromDir
2015-06-10T09:09:28.504 INFO:teuthology.orchestra.run.vpm180.stderr:    mod = load_module(part_fqname, fh, filename, desc)
2015-06-10T09:09:28.504 INFO:teuthology.orchestra.run.vpm180.stderr:  File "/home/ubuntu/cephtest/s3-tests/s3tests/functional/test_s3.py", line 5792
2015-06-10T09:09:28.504 INFO:teuthology.orchestra.run.vpm180.stderr:    rmkeys = { bucket.new_key(keyname) }
2015-06-10T09:09:28.504 INFO:teuthology.orchestra.run.vpm180.stderr:                                       ^
2015-06-10T09:09:28.505 INFO:teuthology.orchestra.run.vpm180.stderr:SyntaxError: invalid syntax
2015-06-10T09:09:28.505 INFO:teuthology.orchestra.run.vpm180.stderr:
2015-06-10T09:09:28.505 INFO:teuthology.orchestra.run.vpm180.stderr:----------------------------------------------------------------------
2015-06-10T09:09:28.505 INFO:teuthology.orchestra.run.vpm180.stderr:Ran 83 tests in 6.139s
2015-06-10T09:09:28.505 INFO:teuthology.orchestra.run.vpm180.stderr:
2015-06-10T09:09:28.505 INFO:teuthology.orchestra.run.vpm180.stderr:FAILED (errors=1)
2015-06-10T09:09:28.532 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/src/teuthology_master/teuthology/contextutil.py", line 28, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/var/lib/teuthworker/src/ceph-qa-suite_hammer/tasks/s3tests.py", line 344, in run_tests
    label="s3 tests against rgw" 
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/cluster.py", line 64, in run
    return [remote.run(**kwargs) for remote in remotes]
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/remote.py", line 156, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/run.py", line 378, in run
    r.wait()
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/run.py", line 114, in wait
    label=self.label)
CommandFailedError: Command failed (s3 tests against rgw) on vpm180 with status 1: "S3TEST_CONF=/home/ubuntu/cephtest/archive/s3-tests.client.1.conf BOTO_CONFIG=/home/ubuntu/cephtest/boto.cfg /home/ubuntu/cephtest/s3-tests/virtualenv/bin/nosetests -w /home/ubuntu/cephtest/s3-tests -v -a '!fails_on_rgw'" 
Actions #1

Updated by Samuel Just almost 9 years ago

  • Project changed from Ceph to rgw
Actions #2

Updated by Yuri Weinstein almost 9 years ago

Actions #3

Updated by Yuri Weinstein almost 9 years ago

  • Priority changed from Normal to Urgent
Actions #4

Updated by Yehuda Sadeh almost 9 years ago

  • Assignee set to Yehuda Sadeh
Actions #5

Updated by Yehuda Sadeh almost 9 years ago

  • Status changed from New to Resolved

Issue with syntax, not conforming with python 2.6. Fixed in s3-tests.git commit 3fea65c3b4c535318538de7ebd6f6c5545e6e03b.

Actions

Also available in: Atom PDF