# Facing issue with Jenkins pipe line setup

**URL:** <https://community.jenkins.io/t/facing-issue-with-jenkins-pipe-line-setup/5693>\
**Category:** Ask a question\
**Tags:** nodejs\
**Created:** [February 9, 2023, 3:56pm UTC](https://community.jenkins.io/t/facing-issue-with-jenkins-pipe-line-setup/5693 "2023-02-09T15:56:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akaturi1](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@akaturi1](https://community.jenkins.io/u/akaturi1)\
**Post date:** [February 9, 2023, 3:56pm UTC](https://community.jenkins.io/t/facing-issue-with-jenkins-pipe-line-setup/5693/1 "2023-02-09T15:56:20Z")

</div>

|##  
Below is the error I got in the Jenkins console:

\*\*It looks like this is your first time using Cypress: 12.5.1

[STARTED] Task without title.  
[SUCCESS] Task without title.

Opening Cypress…  
[654:0209/131501.287696:ERROR:gpu\_memory\_buffer\_support\_x11.cc(44)] dri3 extension not supported.  
There is a cypress.json file at the path: /home/jenkins/workspace/../Smoke

Cypress version 10.0.0 no longer supports cypress.json.

## Please run cypress open to launch the migration tool to migrate to cypress.config.{js,ts,mjs,cjs}.\*\*

But I installed in my Docker Component:  
Installing **Cypress (version: 8.7.0)**

[STARTED] Task without title.  
[SUCCESS] Task without title.  
[STARTED] Task without title.  
[SUCCESS] Task without title.  
[STARTED] Task without title.  
[SUCCESS] Task without title.  
You can now open Cypress by running: node\_modules/.bin/cypress open

Below are the versions installed:  
git --version # ‘git version 1.8.3.1’

- npm --version  
6.14.16
- node --version  
v14.19.0

Below are the commands I used to install dependencies:  
npm --version  
node --version  
npm ci --registry  
npm i cypress@8.7.0  
npm cypress -v

and below is the command used to run my spec:  
npx cypress run --spec ../../../file\_name.js

My code is also written in 8.7.0 and it cloned properly to Docker from GitHUB.  
But when I am running one of my test case using above mentioned command I am getting the above error.

Can you please suggest to resolve this without upgrading my Cypress version, thank you.!|

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [February 9, 2023, 7:25pm UTC](https://community.jenkins.io/t/facing-issue-with-jenkins-pipe-line-setup/5693/2 "2023-02-09T19:25:36Z")

</div>

> [@akaturi1](#):
>
> But when I am running one of my test case using above mentioned command I am getting the above error.

I have no idea what error you are getting, can you seperate your statements from output by wrapping output in three back ticks or something?

> [@akaturi1](#):
>
> You can now open Cypress by running: node\_modules/.bin/cypress open

seems to say cypress installed just fine?

---

<div class="post-metadata">

**Author:** ![a-st](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/a-st/32/3325_2.png) [@a-st](https://community.jenkins.io/u/a-st)\
**Post date:** [February 9, 2023, 8:55pm UTC](https://community.jenkins.io/t/facing-issue-with-jenkins-pipe-line-setup/5693/3 "2023-02-09T20:55:01Z")

</div>

@akaturi1 maybe have a look at [javascript - I try to run cypress, but always return me a error "dri3 extension not supported" - Stack Overflow](https://stackoverflow.com/questions/74920578/i-try-to-run-cypress-but-always-return-me-a-error-dri3-extension-not-supported)

---

<div class="post-metadata">

**Author:** ![akaturi1](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@akaturi1](https://community.jenkins.io/u/akaturi1)\
**Post date:** [February 14, 2023, 9:39am UTC](https://community.jenkins.io/t/facing-issue-with-jenkins-pipe-line-setup/5693/6 "2023-02-14T09:39:53Z")

</div>

Hi, Thank you for the response. Please see below the error message which I am getting. Please suggest and let me know If u need any more information. Thank you.!

=====================================================

- npx cypress@8.7.0 run --browser chrome --spec cypress/integration/ **/**.js  
It looks like this is your first time using Cypress: 8.7.0

[STARTED] Task without title.  
[SUCCESS] Task without title.

Opening Cypress…  
[439:0214/092913.843768:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system\_bus\_socket: No such file or directory  
[439:0214/092913.845438:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)  
[439:0214/092913.845462:ERROR:bus.cc(392)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are “tcp” and on UNIX “unix”)  
[592:0214/092913.860870:ERROR:gpu\_init.cc(441)] Passthrough is not supported, GL is swiftshader  
The plugins file is missing or invalid.

Your `pluginsFile` is set to `/home/jenkins/workspace/ ***/*** /cypress/plugins/index.js`, but either the file is missing, it contains a syntax error, or threw an error when required. The `pluginsFile` must be a `.js`, `.ts`, or `.coffee` file.

Or you might have renamed the extension of your `pluginsFile`. If that’s the case, restart the test runner.

Please fix this, or set `pluginsFile` to `false` if a plugins file is not necessary for your project.

Error: Cannot find module ‘fs-extra’  
Require stack:

- /home/jenkins/workspace/_ **/** _/cypress/plugins/index.js
- /home/jenkins/.cache/Cypress/8.7.0/Cypress/resources/app/packages/server/lib/plugins/child/run\_plugins.js
- /home/jenkins/.cache/Cypress/8.7.0/Cypress/resources/app/packages/server/lib/plugins/child/index.js  
at Function.Module.\_resolveFilename (internal/modules/cjs/loader.js:892:15)  
at Module.\_load (internal/modules/cjs/loader.js:737:27)  
at Function.f.\_load (electron/js2c/asar\_bundle.js:5:12913)  
at Module.require (internal/modules/cjs/loader.js:964:19)  
at require (internal/modules/cjs/helpers.js:88:18)  
at Object. (/home/jenkins/workspace/ **/** /cypress/plugins/index.js:20:12)  
at Module.\_compile (internal/modules/cjs/loader.js:1083:30)  
at Object.Module.\_extensions…js (internal/modules/cjs/loader.js:1113:10)  
at Module.load (internal/modules/cjs/loader.js:940:32)  
at Module.\_load (internal/modules/cjs/loader.js:781:14)  
at Function.f.\_load (electron/js2c/asar\_bundle.js:5:12913)  
at Module.require (internal/modules/cjs/loader.js:964:19)  
at require (internal/modules/cjs/helpers.js:88:18)  
at runPlugins (/home/jenkins/.cache/Cypress/8.7.0/Cypress/resources/app/packages/server/lib/plugins/child/run\_plugins.js:175:15)  
at Object. (/home/jenkins/.cache/Cypress/8.7.0/Cypress/resources/app/packages/server/lib/plugins/child/index.js:8:25)  
at Module.\_compile (internal/modules/cjs/loader.js:1083:30)  
=============================================
