 |
New ticket
#4916
by
simon28li
For
Beanbag, Inc.
▸
RBTools
Execute the test case parse_revision_spec to report an error
What version are you running?
2.0
What steps will reproduce the problem?
- python ./tests/runtests.py
What is the expected output? What do you see instead?
Expect to execute test cases without failure
What operating system are you using?
CentOS 8.0
kernel:4.18.0-193.el8.aarch64
Error report
======================================================================
ERROR: Testing SVNClient.parse_revision_spec with one revision and a repository URL
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/root/spack-stage/spack-stage-py-rbtools-2.0-t7oemjhzkyi63h6vgaspg34itm4325k6/spack-src/rbtools/clients/tests/test_svn.py", line 364, in test_parse_revision_spec_one_revision_url
revisions = self.client.parse_revision_spec(['1549823'])
File "/tmp/root/spack-stage/spack-stage-py-rbtools-2.0-t7oemjhzkyi63h6vgaspg34itm4325k6/spack-src/rbtools/clients/svn.py", line 237, in parse_revision_spec
raise InvalidRevisionSpecError(
rbtools.clients.errors.InvalidRevisionSpecError: "1549823" does not appear to be a valid revision or changelist name
-------------------- >> begin captured logging << --------------------
root: DEBUG: Running: svn co file:///tmp/root/spack-stage/spack-stage-py-rbtools-2.0-t7oemjhzkyi63h6vgaspg34itm4325k6/spack-src/rbtools/clients/tests/testdata/svn-repo svn-repo
root: DEBUG: Running: svn --non-interactive log --xml -r 1549823 -l 1 http://svn.apache.org/repos/asf/subversion/trunk
root: DEBUG: Command exited with rc 1: ['svn', '--non-interactive', 'log', '--xml', '-r', '1549823', '-l', '1', 'http://svn.apache.org/repos/asf/subversion/trunk']
b'<?xml version="1.0" encoding="UTF-8"?>\n<log>\n'---
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: Testing SVNClient.parse_revision_spec with R1:R2 syntax and a repository URL
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/root/spack-stage/spack-stage-py-rbtools-2.0-t7oemjhzkyi63h6vgaspg34itm4325k6/spack-src/rbtools/clients/tests/test_svn.py", line 378, in test_parse_revision_spec_two_revisions_url
revisions = self.client.parse_revision_spec(['1549823:1550211'])
File "/tmp/root/spack-stage/spack-stage-py-rbtools-2.0-t7oemjhzkyi63h6vgaspg34itm4325k6/spack-src/rbtools/clients/svn.py", line 248, in parse_revision_spec
raise InvalidRevisionSpecError(
rbtools.clients.errors.InvalidRevisionSpecError: Could not parse specified revisions: ['1549823', '1550211']
-------------------- >> begin captured logging << --------------------
root: DEBUG: Running: svn co file:///tmp/root/spack-stage/spack-stage-py-rbtools-2.0-t7oemjhzkyi63h6vgaspg34itm4325k6/spack-src/rbtools/clients/tests/testdata/svn-repo svn-repo
root: DEBUG: Running: svn --non-interactive log --xml -r 1549823 -l 1 http://svn.apache.org/repos/asf/subversion/trunk
root: DEBUG: Command exited with rc 1: ['svn', '--non-interactive', 'log', '--xml', '-r', '1549823', '-l', '1', 'http://svn.apache.org/repos/asf/subversion/trunk']
b'<?xml version="1.0" encoding="UTF-8"?>\n<log>\n'---
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 263 tests in 288.461s
FAILED (SKIP=64, errors=2)
Please provide any additional information below.
Can you give me some help?
New
Priority:Medium
Type:Defect
|