This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
"flavorRef": "http://127.0.0.1:8888/v1.0/000/flavors/standard" | |
''' | |
from cassandra.cluster import Cluster | |
def init_db(): | |
cluster = Cluster(["localhost"]) | |
session = cluster.connect() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if status == 'edge host already created or pending': | |
if workFlowProgress is not None and \ | |
'error' in workFlowProgress.lower(): | |
LOG.info("SPS Pending with Error:" % | |
workFlowProgress) | |
continue | |
else: | |
pass | |
# Not sure about this status yet, comment it out now | |
# elif status == 'CPS Cancelled': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try: | |
driver.find_element_by_id("startserverbtn_env4a").click() | |
except NoSuchElementException: | |
print driver.find_element_by_id("start_form_env4a").text | |
self.assertTrue('The Studyserver is running as process' in driver.find_element_by_id("start_form_env4a").text) | |
else: | |
WebDriverWait(driver, 30).until( | |
EC.text_to_be_present_in_element((By.CSS_SELECTOR, "span.success"), | |
'The Studyserver has been sucessfully started') | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2015 Rackspace, Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"requestList": [ | |
{ | |
"enrollmentId": 22755, | |
"jobId": 78293, | |
"lastStatusChange": "2015-12-09T17:01:00Z", | |
"parameters": [ | |
{ | |
"name": "cnameHostname", | |
"value": "secure1.san1.altcdn.com" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ww1.scdn1.secure.raxcdn.com | |
ww1.scdn1.secure.raxcdn.com | |
ww2.scdn4.secure.raxcdn.com | |
ww3.scdn1.secure.raxcdn.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[formatters] | |
keys=normal,normal_with_name,debug | |
[formatter_normal] | |
format=%(asctime)s %(levelname)s %(message)s | |
[formatter_normal_with_name] | |
format=(%(name)s): %(asctime)s %(levelname)s %(message)s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2016 Rackspace, Inc. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
00:07:41 [] INFO Slf4jLogger started | |
00:07:41 [EventStream(akka://deepdive)] DEBUG logger log1-Slf4jLogger started | |
00:07:41 [EventStream(akka://deepdive)] DEBUG Default Loggers started | |
00:07:41 [Main$(akka://deepdive)] INFO Running pipeline with configuration from /root/deepdive/app/aidgrade/run/20160304/000739.333667602/deepdive.conf | |
00:07:41 [SettingsParser$(akka://deepdive)] INFO Database settings: user postgres, dbname deepdive_aidgrade, host 172.17.0.2, port 5432. | |
00:07:41 [SettingsParser$(akka://deepdive)] INFO { | |
"calibration" : { | |
"holdout_fraction" : 0.25, | |
"holdout_query" : null, | |
"observation_query" : null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File "/home/jenkins/workspace/gate-poppy-python34/.tox/py34/lib/python3.4/site-packages/openstack/nose_plugin.py", line 253, in startTest | |
2016-03-08 16:24:08.840 | 2016-03-08 16:24:08.827 7933 ERROR poppy [instance: <Mock name='mock().instance' id='139786482736376'>] self.stream.write((' ' * 4 + str(name)).ljust(65)) | |
2016-03-08 16:24:08.841 | 2016-03-08 16:24:08.827 7933 ERROR poppy [instance: <Mock name='mock().instance' id='139786482736376'>] UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position 40: ordinal not in range(128) |