Whirr
  1. Whirr
  2. WHIRR-432

Puppet integration tests failing

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.0
    • Component/s: None
    • Labels:
      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)
      
      1. WHIRR-432.patch
        0.5 kB
        Alex Heneveld

        Activity

        Hide
        Andrei Savu added a comment -

        +1 & committed. Thanks Alex for looking into this.

        Show
        Andrei Savu added a comment - +1 & committed. Thanks Alex for looking into this.
        Hide
        David Alves added a comment -

        Alex: great work!
        Let me know if there is still a problem with WHIRR-433.

        Show
        David Alves added a comment - Alex: great work! Let me know if there is still a problem with WHIRR-433 .
        Hide
        Andrei Savu added a comment -

        Alex thanks for fixing this. Is this also working for WHIRR-433?

        Show
        Andrei Savu added a comment - Alex thanks for fixing this. Is this also working for WHIRR-433 ?
        Hide
        Alex Heneveld added a comment -

        the (simple) fix attached

        Show
        Alex Heneveld added a comment - the (simple) fix attached
        Hide
        Alex Heneveld added a comment -

        installing ruby now needs an apt-get update, integration tests now passing

        Show
        Alex Heneveld added a comment - installing ruby now needs an apt-get update , integration tests now passing
        Hide
        Alex Heneveld added a comment -

        it looks like install_git does an apt-get update -qq, but this is happening after the failing install_ruby (which wants libc-dev). am trying with the apt-get update added to install_ruby, which will hopefully fix this as well as WHIRR-433.

        Show
        Alex Heneveld added a comment - it looks like install_git does an apt-get update -qq , but this is happening after the failing install_ruby (which wants libc-dev ). am trying with the apt-get update added to install_ruby , which will hopefully fix this as well as WHIRR-433 .
        Hide
        Alex Heneveld added a comment -

        installing manually succeeds, but uses a different server:

        http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-libc-dev 2.6.32-35.78 [829kB]

        Show
        Alex Heneveld added a comment - installing manually succeeds, but uses a different server: http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid-updates/main linux-libc-dev 2.6.32-35.78 [829kB]
        Hide
        Andrei Savu added a comment -

        Looks like

        Show
        Andrei Savu added a comment - Looks like
        Hide
        Alex Heneveld added a comment -

        logs on server show:

        Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_2.6.32-34.77_i386.deb 404 Not Found

        ubuntu #fail ?

        Show
        Alex Heneveld added a comment - logs on server show: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_2.6.32-34.77_i386.deb 404 Not Found ubuntu #fail ?

          People

          • Assignee:
            Alex Heneveld
            Reporter:
            Andrei Savu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development