what are the tests needed after building a new rpm ?

33 views
Skip to first unread message

Soaad Mahmoud

unread,
Oct 26, 2020, 8:02:33 AM10/26/20
to go-cd

We developed our own gocd build enviroment to build GoCD servers RPMs but we need to know what kind of tests are required to be done to make sure that everything is working correctly ?

We noticed that there are some acceptance testing pipelines that are already in use here "https://build.gocd.org/go/pipelines#!/" but we need your support to guide us where we can find the code of these pipelines ?


thanks,

Soad

Sriram Narayanan

unread,
Oct 26, 2020, 8:16:46 AM10/26/20
to go...@googlegroups.com
You'd want to install the GoCD server and agent, and then run the Smoke and Regression Tests. 


This repo has full instructions: https://github.com/gocd/ruby-functional-tests

-- Ram

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/80e105db-043a-4ee4-8133-5c07afd2b9fdn%40googlegroups.com.

Soaad Mahmoud

unread,
Oct 29, 2020, 5:05:30 AM10/29/20
to go-cd
Hi,

I followed the steps mentioned in the github link and go-server started buttests failed with the below errors and also it was failing while downloadning the java package using jabble script and wen downloaded it was corrupted Any suggestion to solve these issues?
 


1- # EditStageAddNewJobFlow
  ## EditStageAddNewJobFlow      ? ? ?2020-10-29 09:34:16 WARN Selenium [DEPRECATION] :profile is deprecated. Use Selenium::WebDriver::Firefox::Options#profile= instead.
2020-10-29 09:34:16 WARN Selenium [DEPRECATION] :profile is deprecated. Use Selenium::WebDriver::Firefox::Options#profile= instead.
invalid argument: can't kill an exited process
 ? ?2020-10-29 09:34:17 WARN Selenium [DEPRECATION] :profile is deprecated. Use Selenium::WebDriver::Firefox::Options#profile= instead.
2020-10-29 09:34:17 WARN Selenium [DEPRECATION] :profile is deprecated. Use Selenium::WebDriver::Firefox::Options#profile= instead.
invalid argument: can't kill an exited process

        Failed Step: On Stage settings page of pipeline "edit-pipeline" stage "defaultStage"
        Specification: specs/EditStageAddNewJobFlow.spec:15
        Error Message: invalid argument: can't kill an exited process
        Stacktrace:

2- # SmokeTest
  ## SmokeTest   ?2020-10-29 09:34:17 WARN Selenium [DEPRECATION] :profile is deprecated. Use Selenium::WebDriver::Firefox::Options#profile= instead.
2020-10-29 09:34:18 WARN Selenium [DEPRECATION] :profile is deprecated. Use Selenium::WebDriver::Firefox::Options#profile= instead.
invalid argument: can't kill an exited process
 ? ?/home/v19smahmoud38/hotfix20ssl/ruby-functional-tests/vendor/bundle/ruby/2.7.0/gems/childprocess-1.0.1/lib/childprocess/unix/fork_exec_process.rb:26:in `chdir': No such file or directory @ dir_s_chdir - target/gauge_agents/agent-1 (Errno::ENOENT)

 
3- invalid argument: can't kill an exited process

  Error Message: 401 Unauthorized
  Stacktrace:

  > 90 | request_new.execute(& block)

  /home/v19smahmoud38/hotfix20ssl/ruby-functional-tests/step_implementations/initialize.rb:90:in `execute'
  /home/v19smahmoud38/hotfix20ssl/ruby-functional-tests/lib/helpers/api_builder.rb:47:in `all_apis'
  
Successfully generated html-report to => /home/v19smahmoud38/hotfix20ssl/ruby-functional-tests/reports/html-report/index.html

Specifications: 3 executed      0 passed        3 failed        0 skipped
Scenarios:      3 executed      0 passed        3 failed        0 skipped

Total time taken: 1m42.325s
Updates are available. Run `gauge update -c` for more info.
rake aborted!
Command failed with status (1): [bundle exec gauge --tags 'smoke' run specs...]

thanks,
SOad
Reply all
Reply to author
Forward
0 new messages