Skip to content

Instantly share code, notes, and snippets.

🐜
Working from home

Sorin Sbarnea ssbarnea

🐜
Working from home
Block or report user

Report or block ssbarnea

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View -var-folders-3q-pc1jcyjj3qqbj6_x7n4kbtqw0000gn-T-python-build.20191010161927.78632.log
This file has been truncated, but you can view the full file.
/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/python-build.20191016194728.27169 ~/os/pytest-molecule
/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/python-build.20191016194728.27169/Python-3.6.9
/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/python-build.20191016194728.27169/Python-3.6.9 /var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/python-build.20191016194728.27169 ~/os/pytest-molecule
checking build system type... x86_64-apple-darwin19.0.0
checking host system type... x86_64-apple-darwin19.0.0
checking for python3.6... no
checking for python3... python3
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
View stdin.yml
#!/usr/bin/env ansible-playbook
- hosts: localhost
tasks:
- command:
md5
args:
stdin: secret
register: result
- debug: var=result
View gist:526c2c453d2714e659a9e1f6de1fbf56
failed: [ubuntu] (item={'diff': [], 'dest': '/root/src/pytest_molecule-1.1.1.dev6+g249a96a-py2.py3-none-any.whl', 'src': '/root/.ansible/tmp/ansible-tmp-1567880285.908344-123219952296567/source', 'md5sum': '5eeb9ff537d51db9c4a6c88fd7c8230f', 'checksum': 'fff3542f35e4622dd0159d511ffc3dcc6713ea7a', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0644', 'state': 'file', 'size': 6923, 'invocation': {'module_args': {'src': '/root/.ansible/tmp/ansible-tmp-1567880285.908344-123219952296567/source', 'dest': '/root/src/pytest_molecule-1.1.1.dev6+g249a96a-py2.py3-none-any.whl', '_original_basename': 'pytest_molecule-1.1.1.dev6+g249a96a-py2.py3-none-any.whl', 'follow': False, 'checksum': 'fff3542f35e4622dd0159d511ffc3dcc6713ea7a', 'backup': False, 'force': True, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'mode': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': No
View some.yml
- when: ansible_python is not defined
setup:
gather_subset: min
- debug:
msg: "{{ ansible_python.executable }}"
View .-test-py-futures-wait.py
#!/usr/bin/env python
from __future__ import print_function
# for python2.7 do `pip install futures`
from concurrent import futures
import sys
from time import sleep
from random import randint
def worker(i):
View change.diff
diff --git a/.travis.yml b/.travis.yml
index 7f4d3d8c..974e7496 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,587 +9,586 @@ cache:
bundler: true
pip: true
directories:
- - $HOME/.cache/pre-commit
- - $HOME/.pre-commit
View tox-ssl-failure.log
$ tox -e lower-constraints [17:42:24]
lower-constraints recreate: /Users/ssbarnea/rdo/python-tripleoclient/.tox/lower-constraints
lower-constraints installdeps: -c/Users/ssbarnea/rdo/python-tripleoclient/lower-constraints.txt, -r/Users/ssbarnea/rdo/python-tripleoclient/test-requirements.txt, -r/Users/ssbarnea/rdo/python-tripleoclient/requirements.txt
ERROR: invocation failed (exit code 1), logfile: /Users/ssbarnea/rdo/python-tripleoclient/.tox/lower-constraints/log/lower-constraints-1.log
ERROR: actionid: lower-constraints
msg: getenv
cmdargs: '/Users/ssbarnea/rdo/python-tripleoclient/.tox/lower-constraints/bin/pip install -c/Users/ssbarnea/rdo/python-tripleoclient/lower-constraints.txt -r/Users/ssbarnea/rdo/python-tripleoclient/test-requirements.txt -r/Users/ssbarnea/rdo/python-
View molecule-fedora-rawhide-error.log
TASK [Build an Ansible compatible image] ***************************************
task path: /Users/ssbarnea/rdo/tripleo-quickstart/.tox/molecule/lib/python2.7/site-packages/molecule/provisioner/ansible/playbooks/docker/create.yml:37
Wednesday 02 January 2019 15:10:35 +0000 (0:00:01.447) 0:00:03.463 *****
Using module file /Users/ssbarnea/rdo/tripleo-quickstart/.tox/molecule/lib/python2.7/site-packages/ansible/modules/cloud/docker/docker_image.py
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: ssbarnea
<127.0.0.1> EXEC /bin/sh -c 'echo ~ssbarnea && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-136952034710328 `" && echo ansible-tmp-1546441835.99-136952034710328="` echo /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-136952034710328 `" ) && sleep 0'
<127.0.0.1> PUT /Users/ssbarnea/.ansible/tmp/ansible-local-23710Fpfs2n/tmp3n2BMz TO /Users/ssbarnea/.ansible/tmp/ansible-tmp-1546441835.99-13
View ssl-request-transparent-proxy.txt
Summary.
It seems that request does not work with HTTPS proxies because it fails to load the REQUEST_CA_BUNDLE (or fails to validate the certificates from the proxy).
I am sure that the proxy signs correctly because the same bundle is configured because both SSL_CERT_FILE and REQUEST_CA_BUNDLE point to the same file and curl works file.
## Expected Result
You can’t perform that action at this time.