Skip to content

Instantly share code, notes, and snippets.

View PlasmaPower's full-sized avatar

Lee Bousfield PlasmaPower

View GitHub Profile
This file has been truncated, but you can view the full file.
INFO global: Vagrant version: 1.8.5
INFO global: Ruby version: 2.2.4
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_OLD_ENV_SHLVL="2"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_OLD_ENV_USER="root"
INFO global: VAGRANT_OLD_ENV_PWD="/root/borg"
INFO global: VAGRANT_OLD_ENV_LANG="en_US.UTF-8"
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/gems/vagrant-1.8.5/bin/vagrant"
INFO global: VAGRANT_OLD_ENV_MAIL="/var/mail/root"
==> wheezy32: =================================== FAILURES ===================================
==> wheezy32: __________ ArchiverTestCaseBinary.test_compression_auto_compressible ___________
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_auto_compressible>
==> wheezy32: def test_compression_auto_compressible(self):
==> wheezy32: > size, csize = self._get_sizes('auto,zlib', compressible=True)
==> wheezy32: .tox/py34/lib/python3.4/site-packages/borg/testsuite/archiver.py:1264:
==> wheezy32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
==> wheezy32: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_compression_auto_compressible>
==> wheezy32: compression = 'auto,zlib', compressible = True, size = 10000
==> wheezy32: def _get_sizes(self, compression, compressible, size=10000):
Bringing machine 'wheezy32' up with 'virtualbox' provider...
==> wheezy32: Importing base box 'boxcutter/debian79-i386'...
Progress: 10% Progress: 20% Progress: 30% Progress: 40% Progress: 50% Progress: 60% Progress: 70% Progress: 80% Progress: 90% ==> wheezy32: Matching MAC address for NAT networking...
==> wheezy32: Checking if box 'boxcutter/debian79-i386' is up to date...
==> wheezy32: Setting the name of the VM: borg_wheezy32_1469922156125_88376
==> wheezy32: Clearing any previously set network interfaces...
==> wheezy32: Preparing network interfaces based on configuration...
wheezy32: Adapter 1: nat
==> wheezy32: Forwarding ports...
wheezy32: 22 (guest) => 2222 (host) (adapter 1)
Script started on Sat 30 Jul 2016 09:02:30 PM EDT
]0;root@laptop:/[root@laptop /]# # this is a fresh arch chroot with base and base-devel
]0;root@laptop:/[root@laptop /]# pacman -Qi filesystem | grep Date
Build Date : Wed Sep 30 19:17:54 2015
Install Date : Sun Jul 31 01:00:33 2016
]0;root@laptop:/[root@laptop /]# # the host already has virtualbox modules
]0;root@laptop:/[root@laptop /]# # install the stuff we need:
]0;root@laptop:/[root@laptop /]# pacman -S virtualbox vagrant rsync git openssh
resolving dependencies...
:: There are 4 providers available for libgl:

First, this failure occurs:

==> trusty64: =================================== FAILURES ===================================
==> trusty64: __________________ ArchiverTestCase.test_basic_functionality ___________________
==> trusty64: 
==> trusty64: self = <borg.testsuite.archiver.ArchiverTestCase testMethod=test_basic_functionality>
==> trusty64: 
==> trusty64:     def test_basic_functionality(self):
==> trusty64:         have_root = self.create_test_files()
==> freebsd64: =================================== FAILURES ===================================
==> freebsd64: ___________________ ArchiverTestCaseBinary.test_list_format ____________________
==> freebsd64: self = <borg.testsuite.archiver.ArchiverTestCaseBinary testMethod=test_list_format>
==> freebsd64: def test_list_format(self):
==> freebsd64: self.cmd('init', self.repository_location)
==> freebsd64: test_archive = self.repository_location + '::test'
==> freebsd64: self.cmd('create', test_archive, src_dir)
==> freebsd64: > self.cmd('list', '--list-format', '-', test_archive, exit_code=1)
==> freebsd64: .tox/py35/lib/python3.5/site-packages/borg/testsuite/archiver.py:1197:
==> freebsd64: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
index.html:36 thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', /buildslave/rust-buildbot/slave/nightly-dist-rustc-cross-rustbuild-linux/build/src/libcollections/vec.rs:1306printErr @ index.html:36put_char @ todomvc.js:2057write @ todomvc.js:1977write @ todomvc.js:3988___syscall4 @ todomvc.js:4999_write @ todomvc.js:198303__ZN3std2io5Write9write_all17h742216584040a17aE @ todomvc.js:175074__ZN94__LT_std__io__Write__write_fmt__Adaptor_LT__u27_a_C__u20_T_GT__u20_as_u20_core__fmt__Write_GT_9write_str17h64200a3d0e3b3e9bE @ todomvc.js:174793__ZN4core3fmt5write17hdd089a59fed6a1dbE @ todomvc.js:204657dynCall_iiii @ todomvc.js:205192invoke_iiii @ todomvc.js:6166__ZN3std2io5Write9write_fmt17h5cd56586e693645fE @ todomvc.js:203359__ZN3std2io5impls69__LT_impl_u20_std__io__Write_u20_for_u20__RF__u27_a_u20_mut_u20_W_GT_9write_fmt17heaa566350b27752fE @ todomvc.js:203336__ZN3std9panicking12default_hook28__u7b__u7b_closure_u7d__u7d_17h49d7d3fe3900d914E @ todomvc.js:174505dynCall_viii @ todomvc.j
let app = require('koa')();
let mount = require('koa-mount');
app.use(mount('/signin', function*(next) { this.response.redirect('/example') }));
app.listen(8080);
'use strict';
const setupRequests = require('../helpers/setup-requests.js');
const assert = require('assert');
const Koa = require('../..');
describe('app.context', () => {
const app1 = new Koa();
app1.context.msg = 'hello';
const app2 = new Koa();
const fs = require('fs');
describe('testing', () => {
it('should work', () => {
try {
fs.readFileSync('does not exist');
} catch (err) {
expect(err).toBeInstanceOf(Error);
}
});