Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-432

Puppet integration tests failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.7.0
    • 0.7.0
    • None
    • None

    Description

      The integration tests for Puppet are failing both on aws-ec2 and cloudservers:

      2011-11-16 00:28:42,576 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (main) Starting to run scripts on cluster for phase configureinstances: 10073614
      2011-11-16 00:28:42,576 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (pool-4-thread-1) Running configure phase script on: 10073614
      2011-11-16 00:28:54,508 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (pool-4-thread-1) configure phase script run completed on: 10073614
      2011-11-16 00:28:54,508 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (main) Successfully executed configure script: [output=, error=rm: cannot remove `/etc/puppet/manifests/site.pp': No such file or directory
      /tmp/configure-puppet:apache_puppet:ntp/configure-puppet:apache_puppet:ntp.sh: line 41: puppet: command not found
      /tmp/configure-puppet:apache_puppet:ntp/configure-puppet:apache_puppet:ntp.sh: line 53: puppet: command not found
      , exitCode=0]
      2011-11-16 00:28:54,508 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (main) Finished running configure phase scripts on all cluster instances
      
      
      -------------------------------------------------------------------------------
      Test set: org.apache.whirr.service.puppet.integration.PuppetServiceTest
      -------------------------------------------------------------------------------
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 400.771 sec <<< FAILURE!
      testHttpAvailable(org.apache.whirr.service.puppet.integration.PuppetServiceTest)  Time elapsed: 400.658 sec  <<< FAILURE!
      java.lang.AssertionError: Instance{roles=[puppet:apache, puppet:ntp], publicIp=67.202.46.241, privateIp=10.190.222.170, id=us-east-1/i-07630764, nodeMetadata=[id=us-east-1/i-07630764, providerId=i-07630764, group=puppet-itest-aws-ec2-andreisavu, name=puppet-itest-aws-ec2-andreisavu-07630764, location=[id=us-east-1b, scope=ZONE, description=us-east-1b, parent=us-east-1, iso3166Codes=[US-VA], metadata={}], uri=null, imageId=us-east-1/ami-ab36fbc2, os=[name=null, family=ubuntu, version=10.04, arch=paravirtual, is64Bit=false, description=099720109477/ebs/ubuntu-images/ubuntu-lucid-10.04-i386-server-20110930], state=RUNNING, loginPort=22, hostname=ip-10-190-222-170, privateAddresses=[10.190.222.170], publicAddresses=[67.202.46.241], hardware=[id=m1.small, providerId=m1.small, name=null, processors=[[cores=1.0, speed=1.0]], ram=1740, volumes=[[id=null, type=LOCAL, size=150.0, device=/dev/sda2, durable=false, isBootDevice=false], [id=vol-600ac50d, type=SAN, size=null, device=/dev/sda1, durable=true, isBootDevice=true]], supportsImage=And(ALWAYS_TRUE,Or(isWindows(),requiresVirtualizationType(paravirtual)),ALWAYS_TRUE,Not(is64Bit())), tags=[]], loginUser=ubuntu, userMetadata={Name=puppet-itest-aws-ec2-andreisavu-07630764}, tags=[]]}
          at org.apache.whirr.service.puppet.integration.PuppetServiceTest.testHttpAvailable(PuppetServiceTest.java:70)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
      

      Attachments

        1. WHIRR-432.patch
          0.5 kB
          Alex Heneveld

        Activity

          People

            alex.heneveld Alex Heneveld
            savu.andrei Andrei Savu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: