Giter Site home page Giter Site logo

phpunit's People

Contributors

djoos avatar michael-misshore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

phpunit's Issues

The phpunit cookbook has a new comment from praveensl

http://community.opscode.com/cookbooks/phpunit/comments#comment_comment_1251

Hi, I started getting this error today, when i tried to run the phpunit cookbook. ================================================================================ Error executing action upgrade on resource 'php_pear[PHPUnit]' ================================================================================ Mixlib::ShellOut::CommandTimeout -------------------------------- command timed out: ---- Begin output of pear -d preferred_state=stable search -c pear.phpunit.de PHPUnit ---- STDOUT: Retrieving data...0% ....50%... STDERR: ---- End output of pear -d preferred_state=stable search -c pear.phpunit.de PHPUnit ---- Cookbook Trace: --------------- /var/chefrepo/cookbooks/php/providers/pear.rb:253:in pecl?' /var/chefrepo/cookbooks/php/providers/pear.rb:107:inload_current_resource' Resource Declaration: --------------------- # In /var/chefrepo/cookbooks/phpunit/recipes/pear.rb 32: php_pear "PHPUnit" do 33: channel pearhub_chan.channel_name 34: if node[:phpunit][:version] != "latest" 35: version "#{node[:phpunit][:version]}" 36: end 37: action :upgrade if node[:phpunit][:version] == "latest" Compiled Resource: ------------------ # Declared in /var/chefrepo/cookbooks/phpunit/recipes/pear.rb:32:in `from_file' php_pear("PHPUnit") do package_name "PHPUnit" recipe_name "pear" channel "pear.phpunit.de" cookbook_name :phpunit retry_delay 2 preferred_state "stable" retries 0 action [:upgrade] end

But running the following command on the terminal works. =========== sudo pear -d preferred_state=stable search -c pear.phpunit.de PHPUnit

Testing Issues/Failures

After following the instructions as per TESTING.md, running bundle exec rake gives me the following:

RSpec

No examples found.

Finished in 0.37701 seconds
0 examples, 0 failures

ChefSpec

================================================================================       
Error executing action `install` on resource 'package[php5-cgi]'       
================================================================================       


Mixlib::ShellOut::ShellCommandFailed       
------------------------------------       
Expected process to exit with [0], but received '100'       
---- Begin output of apt-get -q -y install php5-cgi=5.3.10-1ubuntu3.6 ----       
STDOUT: Reading package lists...       
Building dependency tree...       
Reading state information...       
       The following extra packages will be installed:

         php5-common
       Suggested packages:
         php-pear php5-suhosin
       The following NEW packages will be installed:
         php5-cgi php5-common
       0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
       Need to get 6,533 kB of archives.
       After this operation, 17.2 MB of additional disk space will be used.
       Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main php5-common amd64 5.3.10-1ubuntu3.6
         404  Not Found [IP: 91.189.91.13 80]
       Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-common amd64 5.3.10-1ubuntu3.6
         404  Not Found [IP: 91.189.91.13 80]
       Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-cgi amd64 5.3.10-1ubuntu3.6
         404  Not Found [IP: 91.189.91.13 80]
       STDERR: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-common_5.3.10-1ubuntu3.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
       Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-cgi_5.3.10-1ubuntu3.6_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
       E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
       ---- End output of apt-get -q -y install php5-cgi=5.3.10-1ubuntu3.6 ----
       Ran apt-get -q -y install php5-cgi=5.3.10-1ubuntu3.6 returned 100


       Resource Declaration:
       ---------------------

       # In /tmp/kitchen/cookbooks/php/recipes/package.rb

        59:     package pkg do
        60:       action :install
        61:     end
        62:   end



       Compiled Resource:
       ------------------
       # Declared in /tmp/kitchen/cookbooks/php/recipes/package.rb:59:in `block in from_file'

       package("php5-cgi") do
         action [:install]

         retries 0
         retry_delay 2
         guard_interpreter :default
         package_name "php5-cgi"
         version "5.3.10-1ubuntu3.6"
         cookbook_name :php
         recipe_name "package"
       end



       [2014-04-22T23:22:17+00:00] INFO: Running queued delayed notifications before re-raising exception


Running handlers:       
[2014-04-22T23:22:17+00:00] ERROR: Running exception handlers       
Running handlers complete       

       [2014-04-22T23:22:17+00:00] ERROR: Exception handlers complete

       [2014-04-22T23:22:17+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out

Chef Client failed. 0 resources updated in 7.215515341 seconds

Is this expected? Assuming not, do you have a solution off-hand? If not, I don't mind taking a look, if this is indeed an issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.