Michael,

Can login into the go agent and run the same command as the user that runs
the go agent process? If it still continues to fail, you should probably
consider adding the `env` command to your shell script to see if there's
any missing environment variables that gauge depends on.


On Wed, Aug 24, 2016 at 2:24 PM Michael Pauli <[email protected]>
wrote:

> Hi again,
>
>
> I’ve tried  to check out a lot of things, like the gauge installation or
> the java plugin on the gocd server. Everything is there and should work
> like wished. I’ve triggered the tests from my local machine with the bash
> script. Also the one, that is used by gocd (With Selenium Grid on a test
> VM). I’ve also checked the files in the Go agent pipelines on the go
> sever…everything was there and at the same place like locally. But still
> the same problem: The specs could not find the step implementations. Only
> running on the gocd server.
>
>
> I have absolutely no idea anymore…
>
>
> Cheers,
>
> michael
>
> Am Montag, 22. August 2016 14:46:36 UTC+2 schrieb Michael Pauli:
>>
>> Hi Ketan!
>>
>> Thanks for the response!
>>
>> Here is the xml part:
>>
>> <exec command="sh">
>>                 <arg>semigator_GaugeTests_ci.sh</arg>
>>                 <runif status="any" />
>> </exec>
>>
>>
>> Am Montag, 22. August 2016 11:59:51 UTC+2 schrieb Ketan Padegaonkar:
>>>
>>> Could you provide us the contents of the `<exec/>` task xml?
>>>
>>> On Mon, Aug 22, 2016 at 3:16 PM Michael Pauli <[email protected]>
>>> wrote:
>>>
>>>> No idea at all, that could help me with my problem?
>>>>
>>>> Cheers,
>>>> michael
>>>>
>>>>
>>>> Am Mittwoch, 3. August 2016 17:30:23 UTC+2 schrieb Michael Pauli:
>>>>>
>>>>> Hi!
>>>>>
>>>>> I have a problem with the triggering of Gauge tests from GoCD.
>>>>>
>>>>> My GoCD (Go Version: 16.7.0) Machine is a Mac OSX 10.11.6 with one Go
>>>>> Server and two Go Agents.
>>>>> The following versions auf Gauge/Plugins are installed on this machine:
>>>>> Gauge version: 0.6.1
>>>>> Plugins
>>>>> -------
>>>>> html-report (2.1.1)
>>>>> java (0.5.0)
>>>>>
>>>>> The task is a custom command that start a .sh file in the root of the
>>>>> project. Inside the script is only the command mvn gauge:execute
>>>>> -DspecsDir=specs -Denv="ci" (ci is my user.propertie under env/ci beside
>>>>> the default folder).
>>>>>
>>>>> If I trigger now GoCD to build the test, I get the following error for
>>>>> all of my steps/specs:
>>>>> [ValidationError] /Users/admin/Library/Application Support/Go
>>>>> Agent/pipelines/GaugeTests/specs/xxx.spec:11: Step implementation not 
>>>>> found
>>>>> => '...'
>>>>>
>>>>> I'm asking the question here and not in the Gauge Group cause if I run
>>>>> the test with the same .sh file on my local machine (via Selenium Grid)
>>>>> with the same Gauge/Plugin versions, every test works fine. I also have no
>>>>> problems with GoCD and Selenium tests, JMeter tests and RestAssured tests.
>>>>>
>>>>> I'm new to GoCD so it could also be, that the bug sits in front of the
>>>>> display ;-)
>>>>>
>>>>> Thanks and cheers,
>>>>> michael
>>>>>
>>>>> --
>>>> 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 [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to