Errors at the CF Acceptance Tests (CATs) in my bosh-lite

85 views
Skip to first unread message

Neihy Rincon

unread,
Jul 10, 2014, 12:46:13 PM7/10/14
to bosh-...@cloudfoundry.org
Hello everyone,
Recently I've been installing bosh-lite in order to run the CF acceptance test (CATs).
After a succeed installation of bosch-lite with version 173 of cf, I've been trying to run the acceptance test, but is showing me couple errors that I really don't understand, here the errors :

RUNNING LOCAL CODE
+ ginkgo -r -skipPackage=diego -slowSpecThreshold=120
Will skip diego
[1405009298] Applications - 29/29 specs 

------------------------------
Failure [0.028 seconds]
[BeforeSuite] BeforeSuite 

  Expected error:
      <*exec.Error | 0xc2080479c0>: {
          Name: "gcf",
          Err: {
              s: "executable file not found in $PATH",
          },
      }
      exec: "gcf": executable file not found in $PATH
  not to have occurred

------------------------------

> gcf logout 
Failure [0.005 seconds]
[AfterSuite] AfterSuite 

  Expected error:
      <*exec.Error | 0xc208047d20>: {
          Name: "gcf",
          Err: {
              s: "executable file not found in $PATH",
          },
      }
      exec: "gcf": executable file not found in $PATH
  not to have occurred

------------------------------

Ran 29 of 29 Specs in 0.033 seconds
FAIL! -- 0 Passed | 29 Failed | 0 Pending | 0 Skipped Failed to create JUnit report file: ../results/junit-Applications-1.xml
open ../results/junit-Applications-1.xml: no such file or directoryFailed to generate JUnit report
invalid argument--- FAIL: TestApplications (0.04 seconds)
FAIL

Ginkgo ran in 2.043843315s
Test Suite Failed

I also was wondering for what reason is using >gcf as a command, could be that this test is a bit old? 
I really appreciate any help that you could  please provide me,
Thanks a lot in advance,

Regards,

Neihy

Simon Johansson

unread,
Jul 10, 2014, 1:15:20 PM7/10/14
to bosh-...@cloudfoundry.org
Hey, as far as why they choose to name it gcf, no idea. :)
As a workaround, just make a link from cf to gcf and it will work
$ pwd
/home/simon/bin
$ ln -s cf gcf
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bosh-users+...@cloudfoundry.org.

Wayne E. Seguin

unread,
Jul 10, 2014, 1:28:59 PM7/10/14
to bosh-users
Historical note, 'gcf' is the rewrite in golang "go cf" while there were two versions until the golang version was ready to replace the old ruby version at which point it was renamed back to 'cf'.

Neihy Rincon

unread,
Jul 10, 2014, 1:50:25 PM7/10/14
to bosh-...@cloudfoundry.org
the information that was missing:

*** LOCAL GEMS ***

bosh-release (1.2624.0)
bosh_cli (1.2624.0, 1.2334.0)
bosh_common (1.2624.0, 1.2334.0)

Config
             /home/neihy/.bosh_config

Director
  Name       Bosh Lite Director
  URL        https://192.168.50.4:25555
  Version    1.2559.0 (fe0b2436)
  User       admin
  UUID       c5f8d0da-f8ac-4918-a1a3-0a846fb97d09
  CPI        warden
  dns        disabled
  compiled_package_cache enabled (provider: local)
  snapshots  disabled

Deployment
  Manifest   /home/neihy/workspace/bosh-lite/manifests/cf-manifest.yml
  
   Name                                      | Version | CID                                           |
+--------------------------------------------+---------+-----------------------------------------------+
| bosh-warden-boshlite-ubuntu-lucid-go_agent | 60*     | stemcell-1b200964-5e50-4511-bb6a-0a5430f6ae5e |
+--------------------------------------------+---------+-----------------------------------------------+

(*) Currently in-use

Stemcells total: 1

the release you are trying to deploy : cf-v173 
cf-manifest.yml

Neihy Rincon

unread,
Jul 10, 2014, 5:52:42 PM7/10/14
to bosh-...@cloudfoundry.org
Thanks for your help, I already changed the link (ln -s /usr/bin/cf /usr/bin/gcf) and it works, but now another issue is showing up :

RUNNING LOCAL CODE
+ ginkgo -r -skipPackage=diego -slowSpecThreshold=120
Will skip diego
[1405028533] Applications - 29/29 specs 
Setting api endpoint to api.10.244.0.34.xip.io...
FAILED
Invalid SSL Cert for api.10.244.0.34.xip.io
TIP: Use 'gcf api --skip-ssl-validation' to continue with an insecure API endpoint

------------------------------
Failure [0.361 seconds]
[BeforeSuite] BeforeSuite 

  Expected
      <int>: 1
  to match exit code:
      <int>: 0

------------------------------

> gcf logout 
Logging out...
OK

Setting api endpoint to api.10.244.0.34.xip.io...
FAILED
Invalid SSL Cert for api.10.244.0.34.xip.io
TIP: Use 'gcf api --skip-ssl-validation' to continue with an insecure API endpoint
Failure [0.341 seconds]
[AfterSuite] AfterSuite 

  Expected
      <int>: 1
  to match exit code:
      <int>: 0

------------------------------

Ran 29 of 29 Specs in 0.702 seconds
FAIL! -- 0 Passed | 29 Failed | 0 Pending | 0 Skipped --- FAIL: TestApplications (0.71 seconds)
FAIL

Ginkgo ran in 1.965634629s
Test Suite Failed

According with this I need to add this comment (--skip-ssl-validation) at the code, the thing is that I've looking for the file to do the change, but I didn't find  it, Do you guys knows how can I do that?

Thanks again for your help,

Cheers

On Thursday, July 10, 2014 12:46:13 PM UTC-4, Neihy Rincon wrote:

Karl Isenberg

unread,
Jul 10, 2014, 9:34:09 PM7/10/14
to bosh-...@cloudfoundry.org
This is a question better posed on the CF mailing list, but I happen to know that that 
  "skip_ssl_validation": true
 is required in the config file when using bosh-lite. 


-Karl
To unsubscribe from this group and stop receiving emails from it, send an email to bosh-users+...@cloudfoundry.org.

Neihy Rincon

unread,
Jul 11, 2014, 8:43:31 AM7/11/14
to bosh-...@cloudfoundry.org
Thanks for your answer... and you're right. I need to post this in Cloud Foundry Developers group, anyway your comments were really helpful, many thanks again,
Cheers,

Neihy
Reply all
Reply to author
Forward
0 new messages