Page MenuHomePhabricator
Paste P5111

Error: Could not apply complete catalog: Found 1 dependency cycle
ArchivedPublic

Authored by zeljkofilipin on Mar 22 2017, 5:30 PM.
$ git clone --recursive 'ssh://zfilipin@gerrit.wikimedia.org:29418/mediawiki/vagrant'
Cloning into 'vagrant'...
remote: Counting objects: 2732, done
remote: Finding sources: 100% (1288/1288)
remote: Getting sizes: 100% (743/743)
remote: Compressing objects: 100% (489062/489062)
remote: Total 18503 (delta 529), reused 18174 (delta 398)
Receiving objects: 100% (18503/18503), 2.93 MiB | 265.00 KiB/s, done.
Resolving deltas: 100% (12919/12919), done.
Submodule 'puppet/modules/cdh' (https://gerrit.wikimedia.org/r/operations/puppet/cdh) registered for path 'puppet/modules/cdh'
Submodule 'puppet/modules/nginx' (https://gerrit.wikimedia.org/r/operations/puppet/nginx) registered for path 'puppet/modules/nginx'
Submodule 'puppet/modules/wikimetrics' (https://gerrit.wikimedia.org/r/operations/puppet/wikimetrics) registered for path 'puppet/modules/wikimetrics'
Cloning into '/Users/z/Documents/gerrit/mediawiki/vagrant/puppet/modules/cdh'...
Cloning into '/Users/z/Documents/gerrit/mediawiki/vagrant/puppet/modules/nginx'...
Cloning into '/Users/z/Documents/gerrit/mediawiki/vagrant/puppet/modules/wikimetrics'...
Submodule path 'puppet/modules/cdh': checked out '248216fc71b974e99ffd8d235d8afe289703b976'
Submodule path 'puppet/modules/nginx': checked out 'd41ab2cc4dd560f1483247bf2e1487d77b7e451c'
Submodule path 'puppet/modules/wikimetrics': checked out '5f416bbce4188914f48a044a8df09f1c34b07183'
$ cd vagrant/
$ ./setup.sh
Your git/Gerrit username
Enter 'anonymous' for anonymous access, leave blank to manage it yourself
git_user:
You're all set! Simply run `vagrant up` to boot your new environment.
(Or try `vagrant config --list` to see what else you can tweak.)
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'debian/contrib-jessie64' is up to date...
==> default: Pruning invalid NFS exports. Administrator privileges will be required...
Password:
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 8080 (guest) => 8080 (host) (adapter 1)
default: 443 (guest) => 4430 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.3.36
default: VirtualBox Version: 5.1
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Exporting NFS shared folders...
==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
==> default: Mounting NFS shared folders...
==> default: Running provisioner: lsb_check...
==> default: Running provisioner: shell...
default: Running: /var/folders/jh/mngv0tys7b1dbx2h276vjz0m0000gn/T/vagrant-shell20170322-6314-1fh0n7v.sh
==> default: Running provisioner: puppet...
==> default: Running Puppet with site.pp...
==> default: Info: Loading facts
==> default: Notice: Compiled catalog for mediawiki-vagrant.dev in environment production in 1.87 seconds
==> default: Info: Applying configuration version '1490203634.no-git'
==> default: Error: Could not apply complete catalog: Found 1 dependency cycle:
==> default: (Exec[add_nodesource_apt_key] => File[/etc/apt/sources.list.d/nodesource.list] => Apt::Pin[nodejs] => File[/etc/apt/preferences.d/nodejs.pref] => Exec[apt-get update] => Class[Apt] => Package[build-essential] => Class[Packages::Build_essential] => Class[Mwv] => Group[vagrant_share] => File[/etc/apt/sources.list.d/nodesource.list])
==> default: Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz
==> default: Info: Creating state file /var/lib/puppet/state/state.yaml
==> default: Notice: Finished catalog run in 0.22 seconds
==> default: Machine 'default' has a post `vagrant up` message. This is a message
==> default: from the creator of the Vagrantfile, and not from Vagrant itself:
==> default:
==> default: Vanilla Debian box. See https://atlas.hashicorp.com/debian/ for help and bug reports