Teamcity fails to run Web Component Tests in build step

I'm trying to run my component tests through team city. My package has wct.conf.js configured to interface with my sauce instance and I can connect to sauce from my local environment. In my build process I include a build step to install WCT Globally which works. I then run the tester through the command line and get the following error.

[01:27:22][Step 1/7] Creating Sauce Connect tunnel
[01:27:22][Step 1/7] Sauce Connect log: /var/lib/TeamCity/agent3/temp/buildTmp/wct1161028-4662-1amlbhp.srnng66r/sc.log
[01:27:22][Step 1/7] Sauce tunnel failed:
[01:27:22][Step 1/7]
[01:27:22][Step 1/7] Error: Could not start Sauce Connect. Exit code 1 signal: null

Any ideas what I'm missing here?

0
1 comment
Avatar
Permanently deleted user

Hello Rosiol,

Could you please try to run the same step via command line on Agent and under the same user that the agent is running, as noted in the guidelines? Does the step run successfully?

Please also compare your local environment variables (set or env output) with Actual Parameters on Agent in <YourProjectName> | <YourBuildConfigurationName> | <FailedBuildId> | Parameters.

 

0

Please sign in to leave a comment.