Skip to content

Instantly share code, notes, and snippets.

View allomov-altoros's full-sized avatar

Alexander Łomov allomov-altoros

View GitHub Profile
Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main dkms all 2.2.0.3-1.1ubuntu5.14.04.1 [64.6 kB] [41/1975]
Fetched 64.6 kB in 0s (85.8 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 52443 files and directories currently installed.)
Preparing to unpack .../dkms_2.2.0.3-1.1ubuntu5.14.04.1_all.deb ...
Unpacking dkms (2.2.0.3-1.1ubuntu5.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up dkms (2.2.0.3-1.1ubuntu5.14.04.1) ...
+ enable /mnt/stemcells/null/null/ubuntu/work/work/chroot/sbin/initctl
+ '[' -L /mnt/stemcells/null/null/ubuntu/work/work/chroot/sbin/initctl ']'
Hit http://archive.ubuntu.com trusty-backports/multiverse Sources [0/1999]
Get:14 http://ports.ubuntu.com trusty-security/restricted Sources [2061 B]
Get:15 http://ports.ubuntu.com trusty-security/universe Sources [28.5 kB]
Get:16 http://ports.ubuntu.com trusty-security/multiverse Sources [2334 B]
Get:17 http://ports.ubuntu.com trusty-security/main ppc64el Packages [266 kB]
Get:18 http://ports.ubuntu.com trusty-security/restricted ppc64el Packages [28 B]
Get:19 http://ports.ubuntu.com trusty-security/universe ppc64el Packages [102 kB]
Get:20 http://ports.ubuntu.com trusty-security/multiverse ppc64el Packages [1669 B]
Hit http://ports.ubuntu.com trusty-security/main Translation-en
Hit http://ports.ubuntu.com trusty-security/multiverse Translation-en
Finished in 50 minutes 1 second (files took 0.759 seconds to load)
84 examples, 6 failures, 4 pending
Failed examples:
rspec ./spec/system/network_configuration_spec.rb:25 # network configuration resolving DNS entries forward looks up instance
rspec ./spec/system/network_configuration_spec.rb:30 # network configuration resolving DNS entries reverse looks up instance
rspec ./spec/system/network_configuration_spec.rb:35 # network configuration resolving DNS entries resolves instance names from deployed VM
rspec ./spec/system/network_configuration_spec.rb:64 # network configuration changing instance DNS (exercises configure_networks CPI method) successfully reconfigures VM with new DNS nameservers
rspec ./spec/system/with_release_stemcell_spec.rb:158 # with release and stemcell and two deployments first deployment second deployment should migrate disk contents
‘/usr/local/gccgo/share/man/man7/gfdl.7’ -> ‘/mnt/stemcells/openstack/kvm/ubuntu/work/work/chroot/var/vcap/bosh/gccgo/share/man/man7/gfdl.7’
‘/usr/local/gccgo/share/man/man7/gpl.7’ -> ‘/mnt/stemcells/openstack/kvm/ubuntu/work/work/chroot/var/vcap/bosh/gccgo/share/man/man7/gpl.7’
‘/usr/local/gccgo/share/man/man7/fsf-funding.7’ -> ‘/mnt/stemcells/openstack/kvm/ubuntu/work/work/chroot/var/vcap/bosh/gccgo/share/man/man7/fsf-funding.7’
‘/usr/local/gccgo/share/man/man1’ -> ‘/mnt/stemcells/openstack/kvm/ubuntu/work/work/chroot/var/vcap/bosh/gccgo/share/man/man1’
‘/usr/local/gccgo/share/man/man1/gcov.1’ -> ‘/mnt/stemcells/openstack/kvm/ubuntu/work/work/chroot/var/vcap/bosh/gccgo/share/man/man1/gcov.1’
‘/usr/local/gccgo/share/man/man1/gcc.1’ -> ‘/mnt/stemcells/openstack/kvm/ubuntu/work/work/chroot/var/vcap/bosh/gccgo/share/man/man1/gcc.1’
‘/usr/local/gccgo/share/man/man1/gofmt.1’ -> ‘/mnt/stemcells/openstack/kvm/ubuntu/work/work/chroot/var/vcap/bosh/gccgo/share/man/man1/gofmt.1’
‘/usr/local/gccgo/share/man/man1/g++.1’
Pending:
network configuration when using manual networking changes static IP address
# not using manual networking
# ./spec/system/network_configuration_spec.rb:76
network configuration when using manual networking deploys multiple manual networks
# not using manual networking
# ./spec/system/network_configuration_spec.rb:89
with release and stemcell and two deployments first deployment should do two deployments from one release
# This fails on OpenStack because use_static_ip only sets the floating IP but doesn't prevent collision
# ./spec/system/with_release_stemcell_spec.rb:112
D, [2015-08-05 09:47:25 #15977] [] DEBUG -- DirectorJobRunner: Lock renewal thread exiting
D, [2015-08-05 09:47:25 #15977] [task:76] DEBUG -- DirectorJobRunner: Deleted lock: lock:deployment:cf
I, [2015-08-05 09:47:25 #15977] [task:76] INFO -- DirectorJobRunner: sending update deployment error event
D, [2015-08-05 09:47:25 #15977] [task:76] DEBUG -- DirectorJobRunner: SENT: hm.director.alert {"id":"4c2cf180-9c2a-4821-bd75-298be815ebea","severity":3,"title":"director - error during update deployment","summary":"Error during update deployment for 'cf' against Director '56f4541a-ebef-45dd-9276-9df6705c9b6d': #<Bosh::Clouds::CloudError: Volume `5ff1c17d-d1ad-4fe3-ae69-af06a92c51f2' state is error, expected available>","created_at":1438768045}
E, [2015-08-05 09:47:25 #15977] [task:76] ERROR -- DirectorJobRunner: Volume `5ff1c17d-d1ad-4fe3-ae69-af06a92c51f2' state is error, expected available
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_cpi-1.0000.0/lib/cloud/external_cpi.rb:119:in `handle_error'
/var
ubuntu@ursula-tester:~/work/ursula$ sudo apt-get update
Hit http://repo.openstack.blueboxgrid.com trusty InRelease
Ign http://repos.sensuapp.org sensu InRelease
Hit http://repos.sensuapp.org sensu Release.gpg
Ign http://ports.ubuntu.com trusty InRelease
Hit http://repos.sensuapp.org sensu Release
Ign http://hwraid.le-vert.net precise InRelease
Ign http://ports.ubuntu.com trusty-updates InRelease
Hit http://hwraid.le-vert.net precise Release.gpg
Ign http://ports.ubuntu.com trusty-security InRelease
--- a/Rakefile
+++ b/Rakefile
@@ -36,6 +36,10 @@ CPU = case RbConfig::CONFIG['host_cpu'].downcase
when /amd64|x86_64/
"x86_64"
+ when /powerpc64le/
+ "ppc64le"
+
+
when /ppc64|powerpc64/
sudo apt-get udpate
sudo apt-get install -y git build-essential
sudo apt-get install -y vim tmux
apt-get install -y git libssl-dev zlib1g-dev libssl-dev libreadline6-dev libxml2-dev libsqlite3-dev
apt-get install -y libruby
apt-get install -y libxml2 libxslt
mkdir -p ~/work/ruby
pushd ~/work/ruby
#!/bin/bash
export CC_JOB_DIR=/var/vcap/jobs/cloud_controller_ng
source $CC_JOB_DIR/bin/ruby_version.sh
CC_PACKAGE_DIR=/var/vcap/packages/cloud_controller_ng
RUN_DIR=/var/vcap/sys/run/cloud_controller_ng
LOG_DIR=/var/vcap/sys/log/cloud_controller_ng
PIDFILE=$RUN_DIR/cloud_controller_ng.pid