Skip to content

Instantly share code, notes, and snippets.

@cs278
Created June 26, 2015 10:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cs278/7e60c231159bc2249cd8 to your computer and use it in GitHub Desktop.
Save cs278/7e60c231159bc2249cd8 to your computer and use it in GitHub Desktop.
Composer SSH multiplexing timeout (#4180)
chris.smith@wp-040-du:/tmp/test $ ssh -V; ssh github.com; ssh -O exit github.com; ssh -O exit github.com
OpenSSH_6.6.1p1 Ubuntu-2ubuntu2, OpenSSL 1.0.1f 6 Jan 2014
Hi cs278! You've successfully authenticated, but GitHub does not provide shell access.
Exit request sent.
Control socket connect(/home/chris.smith/.ssh/sockets/wp-040-du-git@github.com:22): No such file or directory
chris.smith@wp-040-du:/tmp/test $ composer require -vvv --profile --prefer-source psr/log '*'
[4.3MB/0.01s] Reading ./composer.json
[4.5MB/0.01s] Loading config file /home/chris.smith/.config/composer/config.json
[4.5MB/0.01s] Loading config file /home/chris.smith/.config/composer/auth.json
[4.5MB/0.01s] Loading config file ./composer.json
[5.1MB/0.01s] Executing command (CWD): git describe --exact-match --tags
[5.4MB/0.02s] Executing command (CWD): git branch --no-color --no-abbrev -v
[5.4MB/0.02s] Executing command (CWD): hg branch
[5.5MB/0.03s] Executing command (CWD): svn info --xml
[7.2MB/0.04s] Reading /home/chris.smith/.config/composer/composer.json
[7.2MB/0.04s] Loading config file /home/chris.smith/.config/composer/config.json
[7.2MB/0.04s] Loading config file /home/chris.smith/.config/composer/auth.json
[7.2MB/0.04s] Loading config file /home/chris.smith/.config/composer/composer.json
[7.2MB/0.04s] Loading config file /home/chris.smith/.config/composer/auth.json
[7.2MB/0.04s] Executing command (CWD): git describe --exact-match --tags
[7.2MB/0.05s] Executing command (CWD): git branch --no-color --no-abbrev -v
[7.2MB/0.05s] Executing command (CWD): hg branch
[7.2MB/0.05s] Executing command (CWD): svn info --xml
[7.9MB/0.09s] ./composer.json has been created
[7.9MB/0.09s] Reading ./composer.json
[7.9MB/0.09s] Loading config file /home/chris.smith/.config/composer/config.json
[7.9MB/0.09s] Loading config file /home/chris.smith/.config/composer/auth.json
[7.9MB/0.10s] Loading config file ./composer.json
[7.9MB/0.10s] Executing command (CWD): git describe --exact-match --tags
[7.9MB/0.10s] Executing command (CWD): git branch --no-color --no-abbrev -v
[7.9MB/0.10s] Executing command (CWD): hg branch
[7.9MB/0.10s] Executing command (CWD): svn info --xml
[8.6MB/0.59s] Reading /home/chris.smith/.config/composer/composer.json
[8.6MB/0.59s] Loading config file /home/chris.smith/.config/composer/config.json
[8.6MB/0.59s] Loading config file /home/chris.smith/.config/composer/auth.json
[8.6MB/0.59s] Loading config file /home/chris.smith/.config/composer/composer.json
[8.7MB/0.59s] Loading config file /home/chris.smith/.config/composer/auth.json
[8.7MB/0.59s] Executing command (CWD): git describe --exact-match --tags
[8.7MB/0.60s] Executing command (CWD): git branch --no-color --no-abbrev -v
[8.7MB/0.60s] Executing command (CWD): hg branch
[8.7MB/0.60s] Executing command (CWD): svn info --xml
[9.4MB/0.62s] Loading composer repositories with package information
[9.6MB/0.63s] Downloading https://packagist.org/packages.json
[9.7MB/0.75s] Writing /home/chris.smith/.cache/composer/repo/https---packagist.org/packages.json into cache
[9.8MB/0.78s] Updating dependencies (including require-dev)
[10.1MB/0.78s] Reading /home/chris.smith/.cache/composer/repo/https---packagist.org/p-provider-2013.json from cache
[10.2MB/0.78s] Reading /home/chris.smith/.cache/composer/repo/https---packagist.org/p-provider-2014.json from cache
[10.2MB/0.78s] Reading /home/chris.smith/.cache/composer/repo/https---packagist.org/p-provider-2014-07.json from cache
[10.2MB/0.78s] Reading /home/chris.smith/.cache/composer/repo/https---packagist.org/p-provider-2014-10.json from cache
[10.2MB/0.78s] Reading /home/chris.smith/.cache/composer/repo/https---packagist.org/p-provider-2015-01.json from cache
[10.2MB/0.85s] Reading /home/chris.smith/.cache/composer/repo/https---packagist.org/p-provider-2015-04.json from cache
[49.3MB/1.10s] Reading /home/chris.smith/.cache/composer/repo/https---packagist.org/p-provider-archived.json from cache
[42.3MB/1.13s] Downloading http://packagist.org/p/provider-latest$9ed1caaac58d08a3a99611cdcab8b59aea488dcd55a7b0bc8798d821483a2131.json
[47.0MB/1.48s] Writing /home/chris.smith/.cache/composer/repo/https---packagist.org/p-provider-latest.json into cache
[46.8MB/1.53s] Reading /home/chris.smith/.cache/composer/repo/https---packagist.org/provider-psr$log.json from cache
[47.3MB/1.55s] - Installing psr/log (1.0.0)
[47.4MB/1.55s] Cloning fe0936ee26643249e916849d48e3a51d5f5e278b
[47.4MB/1.55s] Executing command (CWD): git clone --no-checkout 'git@github.com:php-fig/log.git' '/tmp/test/vendor/psr/log' && cd '/tmp/test/vendor/psr/log' && git remote add composer 'git@github.com:php-fig/log.git' && git fetch composer
[47.5MB/301.74s] Failed: [Symfony\Component\Process\Exception\ProcessTimedOutException] The process "git clone --no-checkout 'git@github.com:php-fig/log.git' '/tmp/test/vendor/psr/log' && cd '/tmp/test/vendor/psr/log' && git remote add composer 'git@github.com:php-fig/log.git' && git fetch composer" exceeded the timeout of 300 seconds.
[47.5MB/301.74s] Failed to download psr/log from source: The process "git clone --no-checkout 'git@github.com:php-fig/log.git' '/tmp/test/vendor/psr/log' && cd '/tmp/test/vendor/psr/log' && git remote add composer 'git@github.com:php-fig/log.git' && git fetch composer" exceeded the timeout of 300 seconds.
[47.5MB/301.74s] Now trying to download from dist
[47.5MB/301.74s] - Installing psr/log (1.0.0)
[47.5MB/301.75s] Reading /home/chris.smith/.cache/composer/files/psr/log/fe0936ee26643249e916849d48e3a51d5f5e278b.zip from cache
[47.5MB/301.76s] Loading from cache
[47.5MB/301.76s] Extracting archive
[47.5MB/301.76s] Executing command (CWD): unzip '/tmp/test/vendor/psr/log/9bf71a76d2a2638b90f58256ade75469' -d '/tmp/test/vendor/composer/a4c1542e' && chmod -R u+w '/tmp/test/vendor/composer/a4c1542e'
[47.5MB/301.84s]
[47.4MB/301.84s] REASON: Required by root: Install command rule (install psr/log 1.0.0)
[47.4MB/301.84s]
[47.0MB/301.97s] Writing lock file
[47.0MB/301.97s] Generating autoload files
[47.0MB/301.98s] Memory usage: 47MB (peak: 54.94MB), time: 301.98s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment