Skip to content

Instantly share code, notes, and snippets.

Avatar

Adam Spiers aspiers

View GitHub Profile
View sphinx-err-f1qihx11.log
# Sphinx version: 2.1.1
# Python version: 3.6.1 (CPython)
# Docutils version: 0.14
# Jinja2 version: 2.10.1
# Last messages:
# Loaded extensions:
Traceback (most recent call last):
File "/home/adam/SUSE/cloud/OpenStack/git/nova/.tox/docs/lib/python3.6/site-packages/sphinx/cmd/build.py", line 283, in build_main
args.tags, args.verbosity, args.jobs, args.keep_going)
@aspiers
aspiers / failure.log
Last active Feb 13, 2019
test failure in nova.tests.functional.test_servers.TraitsTrackingTests.test_resource_provider_traits
View failure.log
{0} nova.tests.functional.test_servers.TraitsTrackingTests.test_resource_provider_traits [4.705728s] ... FAILED
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/adam/SUSE/cloud/OpenStack/git/nova/.tox/functional/lib/python2.7/site-packages/mock/mock.py", line 1724, in _inner
return f(*args, **kw)
File "nova/tests/functional/test_servers.py", line 2025, in test_resource_provider_traits
self.assertEqual(traits, sorted(self._get_provider_traits(rp_uuid)))
File "/home/adam/SUSE/cloud/OpenStack/git/nova/.tox/functional/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
View gist:ca3e2b0a6dbbc52b85c1dd954e565023
2018-10-19 22:04:41.6959|DEBUG|4|Network.PeerManager|RunPeerUpdate | AllNonActiveCandidates: 15, FilteredByZeroPort: 0, FilteredByDisconnect: 3, FilteredByFailedConnection: 10, Incompatible: 0, EligibleCandidates: 2, Tried: 2, Rounds: 1, Failed initial connect: 0, Established initial connect: 0, Current candidate peers: 39, Current active peers: 25
2018-10-19 22:04:41.8455|ERROR|20|Network.P2P.Multiplexor|NettyP2PHandler error in multiplexor, channel is active System.AggregateException: One or more errors occurred. (Exception of type 'DotNetty.Codecs.EncoderException' was thrown.) ---> DotNetty.Codecs.EncoderException: Exception of type 'DotNetty.Codecs.EncoderException' was thrown. ---> System.DllNotFoundException: Unable to load shared library 'snappy' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libsnappy: cannot open shared object file: No such file or directory
at Snappy.Native.snappy_max_compressed_length(UInt32 input_len
View gist:b6c5a9bd4e9c39be700bf7e296d424e7
docs develop-inst-nodeps: /home/adam/SUSE/cloud/OpenStack/git/self-healing-sig
WARNING:Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration.
docs installed: certifi==2018.4.16,chardet==3.0.4,cssselect==1.0.3,docutils==0.14,idna==2.7,Jinja2==2.10,lxml==4.2.4,MarkupSafe==1.0,oslosphinx==4.18.0,pbr==1.10.0,Pygments==2.2.0,pyquery==1.4.0,requests==2.19.1,-e git://git.openstack.org/openstack/self-healing-sig.git@33f2c04a5223376164be4781da327745f5647a80#egg=self_healing_sig,six==1.11.0,Sphinx==1.2.3,urllib3==1.23,yasfb==0.7.1
docs runtests: PYTHONHASHSEED='1210489117'
docs runtests: commands[0] | python setup.py build_sphinx
running build_sphinx
[pbr] Writing ChangeLog
[pbr] Generating ChangeLog
[pbr] ChangeLog complete (0.1s)
[pbr] Generating AUTHORS
@aspiers
aspiers / setup.py
Created May 17, 2018
Why oh why does `pip --no-cache-dir install -vvv .` fail on this?
View setup.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
def setup_package():
# This only works if relaxed to 2.5.6! Despite all versions up to
# 2.5.11 being clearly present at https://pypi.org/simple/pyscaffold/
@aspiers
aspiers / ansible.out
Last active Dec 18, 2017
Ansible output
View ansible.out
ansible-playbook 2.4.1.0
config file = /home/aspiers/.ansible.cfg
configured module search path = [u'/home/aspiers/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.13 (default, Jan 03 2017, 17:41:54) [GCC]
Using /home/aspiers/.ansible.cfg as config file
setting up inventory plugins
Set default localhost to localhost
Parsed /home/aspiers/ardana-dev-tools/ansible/hosts/localhost inventory source with ini plugin
@aspiers
aspiers / Gemfile
Created Dec 10, 2017
Gemfile for guard SuperCollider hack
View Gemfile
source "https://rubygems.org"
gem "guard-shell"
gem "libnotify"
gem "colorize"
@aspiers
aspiers / unit-test-cli.scd
Created Dec 10, 2017
CLI test runner for SuperCollider UnitTest tests
View unit-test-cli.scd
// Allow running tests from CLI. Example invocations:
//
// sclang unit-test.sc // runs all tests
// sclang unit-test.sc MyClass
// sclang unit-test.sc TestMyClass
// sclang unit-test.sc TestMyClass:test_my_method
//
// Multiple arguments are supported.
var excludes = [
@aspiers
aspiers / Guardfile
Last active Dec 10, 2017
Guardfile for testing SuperCollider
View Guardfile
require 'colorize'
#directories %w(. lib/classes lib/tests) \
# .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
def sclang(test)
tester = ["sclang", "unit-test-cli.scd"]
cmd = ["timeout", "3"] + tester
if test
cmd << test
View .inputrc
# Fix bash's utterly moronic defaults for completion by adding these to your ~/.inputrc
set bell-style visible
set show-all-if-ambiguous on
set show-all-if-unmodified on
You can’t perform that action at this time.