Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save kevindjacobson/2326765c6df068aeb335361f6b05a19b to your computer and use it in GitHub Desktop.

Select an option

Save kevindjacobson/2326765c6df068aeb335361f6b05a19b to your computer and use it in GitHub Desktop.
Creating network "hubot_default" with the default driver
Pulling redis (redis:latest)...
latest: Pulling from library/redis
Digest: sha256:6b9f935e89af002225c0dcdadf1fd74245b4cc1e3e91222f7e4769c236cf80d4
Status: Downloaded newer image for redis:latest
Pulling postgres (postgres:9.5)...
9.5: Pulling from library/postgres
Digest: sha256:888b62ebb1265a7df59258fa22227e707faa2b39d9abfe2a1d6f9e3cd5936468
Status: Downloaded newer image for postgres:9.5
Creating hubot_postgres_1 ...
Creating hubot_redis_1 ...
 Creating hubot_postgres_1 ... done  Creating hubot_redis_1 ... done Building app
Step 1/9 : FROM node:8
8: Pulling from library/node
Digest: sha256:26e4c77f9f797c3993780943239fa79419f011dd93ae4e0097089e2145aeaa24
Status: Downloaded newer image for node:8
---> 4635bc7d130c
Step 2/9 : RUN apt-get update -qq && apt-get install -q -y build-essential git libpq5 s3cmd sudo
---> Running in 76a79dfcbe1a
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version.
libpq5 is already the newest version.
libpq5 set to manually installed.
The following NEW packages will be installed:
build-essential python-dateutil python-magic s3cmd sudo
0 upgraded, 5 newly installed, 0 to remove and 12 not upgraded.
Need to get 1034 kB of archives.
After this operation, 3124 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian/ jessie/main build-essential amd64 11.7 [7114 B]
Get:2 http://deb.debian.org/debian/ jessie/main python-dateutil all 2.2-2 [51.3 kB]
Get:3 http://deb.debian.org/debian/ jessie/main s3cmd all 1.5.0~rc1-2 [75.7 kB]
Get:4 http://deb.debian.org/debian/ jessie/main sudo amd64 1.8.10p3-1+deb8u5 [854 kB]
Get:5 http://deb.debian.org/debian/ jessie/main python-magic all 1:5.22+15-2+deb8u3 [45.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1034 kB in 1s (966 kB/s)
Selecting previously unselected package build-essential.
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21671 files and directories currently installed.)
Preparing to unpack .../build-essential_11.7_amd64.deb ...
Unpacking build-essential (11.7) ...
Selecting previously unselected package python-dateutil.
Preparing to unpack .../python-dateutil_2.2-2_all.deb ...
Unpacking python-dateutil (2.2-2) ...
Selecting previously unselected package s3cmd.
Preparing to unpack .../s3cmd_1.5.0~rc1-2_all.deb ...
Unpacking s3cmd (1.5.0~rc1-2) ...
Selecting previously unselected package sudo.
Preparing to unpack .../sudo_1.8.10p3-1+deb8u5_amd64.deb ...
Unpacking sudo (1.8.10p3-1+deb8u5) ...
Selecting previously unselected package python-magic.
Preparing to unpack .../python-magic_1%3a5.22+15-2+deb8u3_all.deb ...
Unpacking python-magic (1:5.22+15-2+deb8u3) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up build-essential (11.7) ...
Setting up python-dateutil (2.2-2) ...
Setting up s3cmd (1.5.0~rc1-2) ...
Setting up sudo (1.8.10p3-1+deb8u5) ...
Setting up python-magic (1:5.22+15-2+deb8u3) ...
Processing triggers for systemd (215-17+deb8u7) ...
Removing intermediate container 76a79dfcbe1a
---> 837056f43a00
Step 3/9 : RUN wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
---> Running in 32f4fd90c3b1
converted 'https://toolbelt.heroku.com/install-ubuntu.sh' (ANSI_X3.4-1968) -> 'https://toolbelt.heroku.com/install-ubuntu.sh' (UTF-8)
--2018-04-19 18:22:37-- https://toolbelt.heroku.com/install-ubuntu.sh
Resolving toolbelt.heroku.com (toolbelt.heroku.com)... 54.225.166.120, 23.23.151.98, 184.73.181.149
Connecting to toolbelt.heroku.com (toolbelt.heroku.com)|54.225.166.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 719 [text/plain]
Saving to: 'STDOUT'

0K 100% 8.29M=0s
2018-04-19 18:22:38 (8.29 MB/s) - written to stdout [719/719]
This script requires superuser access to install apt packages.
You will be prompted for your password by sudo.
converted 'https://toolbelt.heroku.com/apt/release.key' (ANSI_X3.4-1968) -> 'https://toolbelt.heroku.com/apt/release.key' (UTF-8)
--2018-04-19 18:22:38-- https://toolbelt.heroku.com/apt/release.key
Resolving toolbelt.heroku.com (toolbelt.heroku.com)... 54.225.166.120, 23.23.151.98, 184.73.181.149
Connecting to toolbelt.heroku.com (toolbelt.heroku.com)|54.225.166.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1737 (1.7K) [application/octet-stream]
Saving to: 'STDOUT'
0K . 100% 70.8M=0s
2018-04-19 18:22:38 (70.8 MB/s) - written to stdout [1737/1737]
OK
Hit http://security.debian.org jessie/updates InRelease
Ign http://deb.debian.org jessie InRelease
Get:1 http://security.debian.org jessie/updates/main amd64 Packages [645 kB]
Hit http://deb.debian.org jessie-updates InRelease
Ign http://toolbelt.heroku.com ./ InRelease
Hit http://deb.debian.org jessie Release.gpg
Get:2 http://toolbelt.heroku.com ./ Release.gpg [473 B]
Hit http://deb.debian.org jessie Release
Get:3 http://toolbelt.heroku.com ./ Release [1609 B]
Get:4 http://deb.debian.org jessie-updates/main amd64 Packages [23.1 kB]
Get:5 http://toolbelt.heroku.com ./ Packages [636 B]
Get:6 http://deb.debian.org jessie/main amd64 Packages [9064 kB]
Fetched 9735 kB in 10s (940 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
heroku
The following NEW packages will be installed:
heroku heroku-toolbelt
0 upgraded, 2 newly installed, 0 to remove and 12 not upgraded.
Need to get 1492 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://toolbelt.heroku.com/ubuntu/ ./ heroku 3.99.4 [790 B]
Get:2 http://toolbelt.heroku.com/ubuntu/ ./ heroku-toolbelt 3.99.4 [702 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 1492 B in 0s (1673 B/s)
Selecting previously unselected package heroku.
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21830 files and directories currently installed.)
Preparing to unpack .../archives/heroku_3.99.4_all.deb ...
Unpacking heroku (3.99.4) ...
Selecting previously unselected package heroku-toolbelt.
Preparing to unpack .../heroku-toolbelt_3.99.4_all.deb ...
Unpacking heroku-toolbelt (3.99.4) ...
Setting up heroku (3.99.4) ...
+ uname -m
+ MACHINE_TYPE=x86_64
+ [ x86_64 = x86_64 ]
+ ARCH=x64
+ mkdir -p /usr/local
+ cd /usr/local
+ wget -qO- https://cli-assets.heroku.com/heroku-cli/channels/stable/heroku-cli-linux-x64.tar.gz
+ tar xz
+ rm -rf /usr/local/heroku
+ mv /usr/local/heroku-cli-v6.16.14-583e9cb-linux-x64 /usr/local/heroku
+ ln -sf /usr/local/heroku/bin/heroku /usr/bin/heroku
Setting up heroku-toolbelt (3.99.4) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libruby2.1 ruby2.1 rubygems-integration
Suggested packages:
ri ruby-dev bundler
The following NEW packages will be installed:
libruby2.1 ruby ruby2.1 rubygems-integration
0 upgraded, 4 newly installed, 0 to remove and 12 not upgraded.
Need to get 3581 kB of archives.
After this operation, 15.3 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian/ jessie/main rubygems-integration all 1.8 [4514 B]
Get:2 http://deb.debian.org/debian/ jessie/main libruby2.1 amd64 2.1.5-2+deb8u3 [3290 kB]
Get:3 http://deb.debian.org/debian/ jessie/main ruby2.1 amd64 2.1.5-2+deb8u3 [276 kB]
Get:4 http://deb.debian.org/debian/ jessie/main ruby all 1:2.1.5+deb8u2 [9688 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 3581 kB in 1s (1982 kB/s)
Selecting previously unselected package rubygems-integration.
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21831 files and directories currently installed.)
Preparing to unpack .../rubygems-integration_1.8_all.deb ...
Unpacking rubygems-integration (1.8) ...
Selecting previously unselected package libruby2.1:amd64.
Preparing to unpack .../libruby2.1_2.1.5-2+deb8u3_amd64.deb ...
Unpacking libruby2.1:amd64 (2.1.5-2+deb8u3) ...
Selecting previously unselected package ruby2.1.
Preparing to unpack .../ruby2.1_2.1.5-2+deb8u3_amd64.deb ...
Unpacking ruby2.1 (2.1.5-2+deb8u3) ...
Selecting previously unselected package ruby.
Preparing to unpack .../ruby_1%3a2.1.5+deb8u2_all.deb ...
Unpacking ruby (1:2.1.5+deb8u2) ...
Setting up rubygems-integration (1.8) ...
Setting up libruby2.1:amd64 (2.1.5-2+deb8u3) ...
Setting up ruby2.1 (2.1.5-2+deb8u3) ...
Setting up ruby (1:2.1.5+deb8u2) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Removing intermediate container 32f4fd90c3b1
---> 768f6bfbf98b
Step 4/9 : RUN mkdir -p /app
---> Running in d95c1935c876
Removing intermediate container d95c1935c876
---> e795aac24797
Step 5/9 : WORKDIR /app
Removing intermediate container 1edc81508123
---> d97d54305803
Step 6/9 : COPY package.json /app
---> 0e606a37db41
Step 7/9 : COPY yarn.lock /app
---> 84f487934017
Step 8/9 : RUN yarn global add node-pre-gyp && yarn global add mocha coffee-script && yarn
---> Running in fa3b4e405aab
yarn global v1.5.1
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "node-pre-gyp@0.9.1" with binaries:
- node-pre-gyp
Done in 1.45s.
yarn global v1.5.1
[1/4] Resolving packages...
warning coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "mocha@5.1.1" with binaries:
- mocha
- _mocha
success Installed "coffee-script@1.12.7" with binaries:
- coffee
- cake
Done in 0.87s.
yarn install v1.5.1
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
Done in 9.70s.
Removing intermediate container fa3b4e405aab
---> d19d21042c47
Step 9/9 : COPY . /app
---> e9a6c1c24911
Successfully built e9a6c1c24911
Successfully tagged hubot_app:latest
Image for service app was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
yarn run v1.5.1
$ mocha -R spec
module.js:549
throw err;
^
Error: Cannot find module 'app-module-path'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/app/test/test_helper.coffee:9:1)
at Object.<anonymous> (/app/test/test_helper.coffee:1:1)
at Module._compile (module.js:652:30)
at Object.loadFile (/usr/local/share/.config/yarn/global/node_modules/coffee-script/lib/coffee-script/register.js:16:19)
at Module.load (/usr/local/share/.config/yarn/global/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at requires.forEach.mod (/usr/local/share/.config/yarn/global/node_modules/mocha/bin/_mocha:469:3)
at Array.forEach (<anonymous>:null:null)
at Object.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/mocha/bin/_mocha:468:10)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c mocha -R spec
Directory: /app
Output:
".
info If you think this is a bug, please open a bug report with the information provided in "/app/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment