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

Chef integration tests failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Not A Problem
    • None
    • 0.7.0
    • None
    • None

    Description

      2011-11-16 00:42:49,076 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (main) Starting to run scripts on cluster for phase configureinstances: us-east-1/i-9f7713fc
      2011-11-16 00:42:49,077 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (pool-4-thread-1) Running configure phase script on: us-east-1/i-9f7713fc
      2011-11-16 00:43:33,924 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (pool-4-thread-1) configure phase script run completed on: us-east-1/i-9f7713fc
      2011-11-16 00:43:33,924 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (main) Successfully executed configure script: [output=, error=stdin: is not a tty
      -bash: chef-solo: command not found
      , exitCode=0]
      2011-11-16 00:43:33,924 INFO  [org.apache.whirr.actions.ScriptBasedClusterAction] (main) Finished running configure phase scripts on all cluster instances
      2011-11-16 00:43:35,932 INFO  [org.apache.whirr.service.FileClusterStateStore] (main) Wrote instances file /Users/andreisavu/.whirr/chef-itest-aws-ec2-andreisavu/instances
      2011-11-16 00:43:42,898 INFO  [org.apache.whirr.service.chef.integration.ChefServiceTest] (main) Responses for Statement: [statements=[ant -version{lf}]]
      2011-11-16 00:43:42,898 INFO  [org.apache.whirr.service.chef.integration.ChefServiceTest] (main) Node[us-east-1/i-9f7713fc]: [output=bash: ant: command not found
      , error=, exitCode=127]
      2011-11-16 00:43:56,191 INFO  [org.apache.whirr.service.chef.integration.ChefServiceTest] (main) Responses for Statement: org.apache.whirr.service.chef.Recipe@7a1a79eb
      2011-11-16 00:43:56,191 INFO  [org.apache.whirr.service.chef.integration.ChefServiceTest] (main) Node[us-east-1/i-9f7713fc]: [output=, error=stdin: is not a tty
      -bash: chef-solo: command not found
      , exitCode=0]
      2011-11-16 00:44:32,350 INFO  [org.apache.whirr.service.chef.integration.ChefServiceTest] (main) Responses for Statement: org.apache.whirr.service.chef.Recipe@dc30dfa
      2011-11-16 00:44:32,350 INFO  [org.apache.whirr.service.chef.integration.ChefServiceTest] (main) Node[us-east-1/i-9f7713fc]: [output=, error=stdin: is not a tty
      -bash: chef-solo: command not found
      , exitCode=0]
      
      -------------------------------------------------------------------------------
      Test set: org.apache.whirr.service.chef.integration.ChefServiceTest
      -------------------------------------------------------------------------------
      Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 305.433 sec <<< FAILURE!
      testRecipesWereRanInServiceBootstrap(org.apache.whirr.service.chef.integration.ChefServiceTest)  Time elapsed: 2.126 sec  <<< FAILURE!junit.framework.AssertionFailedError: Node: 10073619 failed to execute the command: [statements=[ant -version{lf}]] as could not find expected text expected:<Apache Ant> but wa
      s:<[output=bash: ant: command not found^M
      , error=, exitCode=127]>
          at junit.framework.Assert.fail(Assert.java:47)
          at junit.framework.Assert.failNotEquals(Assert.java:283)
          at org.apache.whirr.service.chef.integration.ChefServiceTest.assertResponsesContain(ChefServiceTest.java:207)
          at org.apache.whirr.service.chef.integration.ChefServiceTest.testRecipesWereRanInServiceBootstrap(ChefServiceTest.java:92)
      
      testChefRunRecipeFromURL(org.apache.whirr.service.chef.integration.ChefServiceTest)  Time elapsed: 17.819 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: Could not connect with nginx server
          at junit.framework.Assert.fail(Assert.java:47)
          at junit.framework.Assert.assertTrue(Assert.java:20)
          at org.apache.whirr.service.chef.integration.ChefServiceTest.testChefRunRecipeFromURL(ChefServiceTest.java:123)
      
      testChefRunRecipesFromProvidedCookbooks(org.apache.whirr.service.chef.integration.ChefServiceTest)  Time elapsed: 8.624 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: Node: 10073619 failed to execute the command: [statements=[java -version{lf}]] as could not find expected text expected:<Java(TM) SE Runtime Environment> but was:<[output=bash: java: command not found^M
      , error=, exitCode=127]>
          at junit.framework.Assert.fail(Assert.java:47)
          at junit.framework.Assert.failNotEquals(Assert.java:283)
          at org.apache.whirr.service.chef.integration.ChefServiceTest.assertResponsesContain(ChefServiceTest.java:207)
          at org.apache.whirr.service.chef.integration.ChefServiceTest.testChefRunRecipesFromProvidedCookbooks(ChefServiceTest.java:169)
      
      

      Attachments

        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: