Functional test case are failed "Invalid: Url can't contain 4 byte unicode characters."
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Glance |
Undecided
|
Unassigned |
Bug Description
Here is a log trace
2015-06-15 08:09:36,098 INFO 127.0.0.1 - - [15/Jun/2015 08:09:36] "POST /rpc HTTP/1.1" 200 782 0.030830
2015-06-15 08:09:36,099 DEBUG Reloaded policy file: /tmp/tmphXORLJ/
2015-06-15 08:09:36,100 DEBUG Reloaded policy file: /tmp/tmphXORLJ/
2015-06-15 08:09:36,107 ERROR RPC Call Error: Url can't contain 4 byte unicode characters.
Traceback (most recent call last):
File "glance/
result = method(req.context, **kwargs)
File "glance/
return _image_
File "/usr/lib/
return Retrying(*dargs, **dkw).call(f, *args, **kw)
File "/usr/lib/
return attempt.
File "/usr/lib/
six.
File "/usr/lib/
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File "glance/
return f(*args, **kwargs)
File "glance/
session=
File "glance/
image_
File "glance/
_check_
File "glance/
raise exception.
Invalid: Url can't contain 4 byte unicode characters.
Any pointer to fix this issue
Ian Cordasco (icordasc) wrote : | #1 |
Ian Cordasco (icordasc) wrote : | #2 |
Also, what version of glance are you running these tests against? What operating system are you using? etc.
Changed in glance: | |
status: | New → Incomplete |
ranjan kumar (ranjankumar188) wrote : | #3 |
I have checkout out stable/kilo branch from glance repository.
Operation system: RHEL7
Failing test case: ./run_tests.sh glance.
Question: Do we need to start any glance services before running functional test?
ranjan kumar (ranjankumar188) wrote : | #4 |
When i am using nosetests with --pdb debugger getting this error
Content type=text/
File "/glance/
super(
File "/glance/
super(
File "/glance/
use_
File "/glance/
CONF.
File "/usr/lib/
result = f(self, *args, **kwargs)
File "/usr/lib/
opt_info = self._get_
File "/usr/lib/
raise NoSuchOptError(
Changed in glance: | |
status: | Incomplete → Opinion |
Ian Cordasco (icordasc) wrote : | #5 |
> Question: Do we need to start any glance services before running functional test?
No.
Instead of using nosetests (which OpenStack doesn't use) why not run
$ ./run-tests.sh -d
Further, can you please provide what test this fails on? Which test case is actually failing? Without that there's nothing anyone can do to help you debug this.
Changed in glance: | |
status: | Opinion → Incomplete |
ranjan kumar (ranjankumar188) wrote : | #6 |
$ ./run_tests.sh -d crash just after tests starts Here is a log
# ./run_tests.sh -d
No virtual environment found...create one? (Y/n) n
tail: run_tests.log: file truncated
Tests running...
2015-06-17 08:25:56,817 DEBUG *******
2015-06-17 08:25:56,818 DEBUG Configuration options gathered from:
2015-06-17 08:25:56,818 DEBUG command line args: ['--config-file', '/tmp/tmpQS0vW7
2015-06-17 08:25:56,819 DEBUG config files: ['/tmp/
2015-06-17 08:25:56,819 DEBUG =======
2015-06-17 08:25:56,820 DEBUG admin_role = admin
2015-06-17 08:25:56,820 DEBUG allow_additiona
2015-06-17 08:25:56,820 DEBUG allow_anonymous
2015-06-17 08:25:56,821 DEBUG allowed_
2015-06-17 08:25:56,821 DEBUG api_limit_max = 1000
2015-06-17 08:25:56,821 DEBUG backlog = 4096
2015-06-17 08:25:56,822 DEBUG bind_host = 127.0.0.1
2015-06-17 08:25:56,823 DEBUG bind_port = 45856
2015-06-17 08:25:56,823 DEBUG ca_file = None
2015-06-17 08:25:56,823 DEBUG cert_file = None
2015-06-17 08:25:56,824 DEBUG config_dir = None
2015-06-17 08:25:56,824 DEBUG config_file = ['/tmp/
2015-06-17 08:25:56,824 DEBUG data_api = glance.
2015-06-17 08:25:56,825 DEBUG debug = True
2015-06-17 08:25:56,825 DEBUG default_log_levels = ['amqp=WARN', 'amqplib=WARN', 'boto=WARN', 'qpid=WARN', 'sqlalchemy=WARN', 'suds=INFO', 'oslo.messaging
2015-06-17 08:25:56,826 DEBUG default_
2015-06-17 08:25:56,826 DEBUG digest_algorithm = sha1
2015-06-17 08:25:56,826 DEBUG disabled_
2015-06-17 08:25:56,827 DEBUG enable_v1_api = True
2015-06-17 08:25:56,827 DEBUG enable_v1_registry = True
2015-06-17 08:25:56,827 DEBUG enable_v2_api = True
2015-06-17 08:25:56,828 DEBUG enable_v2_registry = True
2015-06-17 08:25:56,828 DEBUG fatal_deprecations = False
2015-06-17 08:25:56,828 DEBUG http_keepalive = True
2015-06-17 08:25:56,829 DEBUG image_location_
2015-06-17 08:25:56,829 DEBUG image_member_quota = 128
2015-06-17 08:25:56,830 DEBUG image_property_
2015-06-17 08:25:56,830 DEBUG image_size_cap = 1099511627776
2015-06-17 08:25:56,830 DEBUG image_tag_quota = 128
2015-06-17 08:25:56,831 DEBUG instance_format ...
How did you run the test case?