signature=4f6d539feab317c3d4dc8a1431893289,etcd: disable etcd when calico is disabled

TeamCity DC/OS / Open / Build / tox Build 19006 outcome was FAILURE

Summary: Tests failed: 1 (1 new), passed: 170, ignored: 1 Build time: 00:05:02

Failed tests

release.test_release.test_storage_provider_aws: release/test_release.py:199 (test_storage_provider_aws)

release_config_aws = {'bucket': 'testing.dcos.io', 'download_url': 'https://s3-us-west-2.amazonaws.com/testing.dcos.io/dcos/', 'kind': 'aws_s3', 'object_prefix': 'dcos'}

tmpdir = local('/teamcity/work/f76365414248b6de/.tox/py3-unittests/tmp/test_storage_provider_aws0')

def test_storage_provider_aws(release_config_aws, tmpdir):

s3 = boto3.session.Session().resource('s3')

bucket = release_config_aws['bucket']

s3_bucket = s3.Bucket(bucket)

assert s3_bucket in s3.buckets.all(), (

"Bucket '{}' must exist with full write access to AWS testing account and created objects must be globally "

"downloadable from: {}").format(bucket, release_config_aws['download_url'])

> exercise_storage_provider(tmpdir, 'aws_s3', release_config_aws)

release/test_release.py:208:

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

release/test_release.py:172: in exercise_storage_provider

check_file(copy_dest_path, upload_file)

release/test_release.py:127: in check_file

assert curl_fetch(path) == contents

release/test_release.py:113: in curl_fetch

store.url + path])

/usr/lib/python3.6/subprocess.py:356: in check_output

**kwargs).stdout

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

input = None, timeout = None, check = True

popenargs = (['curl', '--fail', '--location', '--silent', '--show-error', '--verbose', ...],)

kwargs = {'stdout': -1}, process =

stdout = b'', stderr = None, retcode = 77

def run(*popenargs, input=None, timeout=None, check=False, **kwargs):

"""Run command with arguments and return a CompletedProcess instance.

The returned instance will have attributes args, returncode, stdout and

stderr. By default, stdout and stderr are not captured, and those attributes

will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them.

If check is True and the exit code was non-zero, it raises a

CalledProcessError. The CalledProcessError object will have the return code

in the returncode attribute, and output & stderr attributes if those streams

were captured.

If timeout is given, and the process takes too long, a TimeoutExpired

exception will be raised.

There is an optional argument "input", allowing you to

pass a string to the subprocess's stdin. If you use this argument

you may not also use the Popen constructor's "stdin" argument, as

it will be used internally.

The other arguments are the same as for the Popen constructor.

If universal_newlines=True is passed, the "input" argument must be a

string and stdout/stderr in the returned object will be strings rather than

bytes.

"""

if input is not None:

if 'stdin' in kwargs:

raise ValueError('stdin and input arguments may not both be used.')

kwargs['stdin'] = PIPE

with Popen(*popenargs, **kwargs) as process:

try:

stdout, stderr = process.communicate(input, timeout=timeout)

except TimeoutExpired:

process.kill()

stdout, stderr = process.communicate()

raise TimeoutExpired(process.args, timeout, output=stdout,

stderr=stderr)

except:

process.kill()

process.wait()

raise

retcode = process.poll()

if check and retcode:

raise CalledProcessError(retcode, process.args,

> output=stdout, stderr=stderr)

E subprocess.CalledProcessError: Command '['curl', '--fail', '--location', '--silent', '--show-error', '--verbose', 'https://s3-us-west-2.amazonaws.com/testing.dcos.io/dcos/dcos-image-test-tmp/a8740bc419ab44dfa61b84b59cfede3a/new_dir/copy_path.txt']' returned non-zero exit status 77.

/usr/lib/python3.6/subprocess.py:438: CalledProcessError

------- Stderr: -------

[botocore.hooks] Changing event name from creating-client-class.iot-data to creating-client-class.iot-data-plane

[botocore.hooks] Changing event name from before-call.apigateway to before-call.api-gateway

[botocore.hooks] Changing event name from request-created.machinelearning.Predict to request-created.machine-learning.Predict

[botocore.hooks] Changing event name from before-parameter-build.autoscaling.CreateLaunchConfiguration to before-parameter-build.auto-scaling.CreateLaunchConfiguration

[botocore.hooks] Changing event name from before-parameter-build.route53 to before-parameter-build.route-53

[botocore.hooks] Changing event name from request-created.cloudsearchdomain.Search to request-created.cloudsearch-domain.Search

[botocore.hooks] Changing event name from docs.*.autoscaling.CreateLaunchConfiguration.complete-section to docs.*.auto-scaling.CreateLaunchConfiguration.complete-section

[botocore.hooks] Changing event name from before-parameter-build.logs.CreateExportTask to before-parameter-build.cloudwatch-logs.CreateExportTask

[botocore.hooks] Changing event name from docs.*.logs.CreateExportTask.complete-section to docs.*.cloudwatch-logs.CreateExportTask.complete-section

[botocore.hooks] Changing event name from before-parameter-build.cloudsearchdomain.Search to before-parameter-build.cloudsearch-domain.Search

[botocore.hooks] Changing event name from docs.*.cloudsearchdomain.Search.complete-section to docs.*.cloudsearch-domain.Search.complete-section

[botocore.loaders] Loading JSON file: /teamcity/work/f76365414248b6de/.tox/py3-unittests/lib/python3.6/site-packages/boto3/data/s3/2006-03-01/resources-1.json

[botocore.utils] IMDS ENDPOINT: http://169.254.169.254/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值