Skip to content

Instantly share code, notes, and snippets.

View tonytan4ever's full-sized avatar

Tony Tan tonytan4ever

View GitHub Profile
Login Post body:
{
"usernameOrEmail": "[email protected]",
"password":"password"
}
import datetime
import optparse
from django.conf import settings
from django.core.mail import EmailMultiAlternatives
from dashboardv2.views.reports_home import REPORT_TYPES
from utils.management.base import LoggingCommand
from utils.misc import send_email_with_retry
2016-06-10 03:23:53.607 | neutron.tests.tempest.api.test_qos.QosBandwidthLimitRuleTestJSON.test_rule_create_fail_for_the_same_type[id-8a59b00b-ab01-4787-92f8-93a5cdf5e378]
2016-06-10 03:23:53.608 | -------------------------------------------------------------------------------------------------------------------------------------------------
2016-06-10 03:23:53.608 |
2016-06-10 03:23:53.608 | Captured traceback:
2016-06-10 03:23:53.608 | ~~~~~~~~~~~~~~~~~~~
2016-06-10 03:23:53.608 | Traceback (most recent call last):
2016-06-10 03:23:53.608 | File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_qos.py", line 353, in test_rule_create_fail_for_the_same_type
2016-06-10 03:23:53.608 | max_burst_kbps=1337)
2016-06-10 03:23:53.608 | File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 341, in create_qos_bandwidth_limit_rule
2016-06-10 03:23:53.608 | policy_id, max_kbps, max_burst_kbps)
contractor@partpicgpu1:/data/slow/vol2/digitsjobs/20160613-174816-7286$ /home/partpic/DIGITS_INSTALL/caffe/build/tools/caffe test --model=snapshot_iter_30.caffemodel --weights=train_test.prototxt
I0614 14:14:28.013159 29441 caffe.cpp:203] Use CPU.
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 2:1: Invalid control characters encountered in text.
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 2:2: Expected identifier.
F0614 14:14:28.480512 29441 upgrade_proto.cpp:928] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: snapshot_iter_30.caffemodel
*** Check failure stack trace: ***
@ 0x7fadfe3d7daa (unknown)
@ 0x7fadfe3d7ce4 (unknown)
@ 0x7fadfe3d76e6 (unknown)
@ 0x7fadfe3da687 (unknown)
OpenDaylight CI
2:14 PM
Patch Set 8:
Build Failed
https://jenkins.opendaylight.org/releng/job/netvirt-openstack-gerrit/797/ : FAILURE For more information on OpenDaylight CI, visit https://wiki.openstack.org/wiki/ThirdPartySystems/OpenDaylight_CI
In [9]: os.remove('/home/contractor/digitsjobs-dev/20160608-135552-c6b8/job_id_model_files.zip')
In [10]: with libarchive.Archive(target_file_name, 'w') as a:
....: for file_name in model_files:
....: a.writepath(libarchive.Entry(file_name), file_name)
....:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-10-3a91c598dd5f> in <module>()
----> 1 with libarchive.Archive(target_file_name, 'w') as a:
In [1]: import quark
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-ad5404080018> in <module>()
----> 1 import quark
/Users/tony7514/projects/Rackspace/quark/quark/__init__.py in <module>()
16 import logging
17
---> 18 from neutron.i18n import _
InvalidRequestError: Table 'agents' is already defined for this MetaData instance. Specify 'extend_existing=True' to redefine options and columns on an existing Table object.
new_model = 'neutron.db.agent.models.Agent'
LOG.warning(_LW("You are using the deprecated Agent model: "
"%(deprecated)s.Use the recommended model %(new)s instead."),
{'deprecated': '%s.Agent' % __name__,
'new': new_model})
Agent = moves.moved_class(agt.Agent, 'Agent', __name__)
{
"NeutronError": {
"message": "rule:delete_policy on {'rules': [{'max_kbps': 100, 'type': 'bandwidth_limit', 'id': 'c8ca6f7b-75bf-48a8-b136-6ded04f3f0f7', 'max_burst_kbps': 0, 'qos_policy_id': '4904b6e4-453d-41e1-bc00-2f53dc0bee3f'}], 'tenant_id': u'98abd8976b8e44aa96cb8bffbbd9ddbc', 'id': '4904b6e4-453d-41e1-bc00-2f53dc0bee3f', 'attributes_to_update': []} by {'domain': None, 'project_name': None, 'tenant_name': None, 'project_domain': None, 'timestamp': '2016-07-13 16:30:17.187248', 'auth_token': '69e40d01dc944de3aa63a072268a73d5', 'resource_uuid': None, 'is_admin': False, 'user': None, 'tenant': '98abd8976b8e44aa96cb8bffbbd9ddbc', 'read_only': False, 'project_id': '98abd8976b8e44aa96cb8bffbbd9ddbc', 'user_id': None, 'show_deleted': False, 'roles': [''], 'user_identity': u'- 98abd8976b8e44aa96cb8bffbbd9ddbc - - -', 'tenant_id': '98abd8976b8e44aa96cb8bffbbd9ddbc', 'request_id': 'req-4d8ce4b4-75d7-4373-a585-9e1145394ce8', 'user_domain': None, 'user_name': ''} disallowed by policy",
"type": "PolicyNo