Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index container not building properly on CI #406

Closed
mario-nt opened this issue Nov 22, 2023 · 3 comments
Closed

Index container not building properly on CI #406

mario-nt opened this issue Nov 22, 2023 · 3 comments
Labels
Continuous Integration Workflows and Automation

Comments

@mario-nt
Copy link
Contributor

@josecelano @josecelano

When running the E2E tests for the GUI in the CI checks, we have the same error that happened last time, the Index container is not running and the tests fail:

Container torrust-mysql-1 is healthy
CONTAINER ID   IMAGE                       COMMAND                  CREATED          STATUS                    PORTS                                                                                                                             NAMES
d42a6485a6ee   torrust-idx-fron            "docker-entrypoint.s…"   31 seconds ago   Up 29 seconds             0.0.0.0:3000->3000/tcp, :::3000->3000/tcp, 0.0.0.0:24678->24678/tcp, :::24678->24678/tcp                                          torrust-idx-fron-1
901434eed650   torrust/tracker:develop     "/usr/local/bin/entr…"   31 seconds ago   Up 29 seconds             0.0.0.0:1212->1212/tcp, :::1212->1212/tcp, 0.0.0.0:7070->7070/tcp, :::7070->7070/tcp, 0.0.0.0:6969->6969/udp, :::6969->6969/udp   torrust-tracker-1
477b2c8c536f   dockage/mailcatcher:0.8.2   "entrypoint mailcatc…"   31 seconds ago   Up 30 seconds             0.0.0.0:1025->1025/tcp, :::1025->1025/tcp, 0.0.0.0:1080->1080/tcp, :::1080->1080/tcp                                              torrust-mailcatcher-1
1ee4d2960dc5   mysql:8.0                   "docker-entrypoint.s…"   31 seconds ago   Up 30 seconds (healthy)   0.0.0.0:3306->3306/tcp, :::3306->3306/tcp, 33060/tcp                                                                              torrust-mysql-1

> cypress:run
> cypress run 
       Spec                                              Tests  Passing  Failing  Pending  Skipped  
  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✖  category/specs/add.cy.ts                 00:13        3        1        2        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  category/specs/delete.cy.ts              00:12        3        1        2        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  torrent/specs/download.cy.ts             00:12        2        -        2        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  torrent/specs/upload.cy.ts               00:07        2        1        1        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  user/specs/authentication.cy.ts          00:11        2        -        2        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  user/specs/registration.cy.ts            00:05        1        -        1        -        - │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  torrent/specs/details/magnet_link.c      00:06        1        -        1        -        - │
  │    y.ts                                                                                        │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  torrent/specs/list/magnet_link.cy.t      00:06        2        -        1        -        1 │
  │    s                                                                                           │
  ├────────────────────────────────────────────────────────────────────────────────────────────────┤
  │ ✖  torrent/specs/list/no_torrents_to_d      218ms        1        -        1        -        - │
  │    isplay.cy.ts                                                                                │
  └────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✖  9 of 9 failed (100%)                     01:17       17        3       13        -      
@mario-nt mario-nt added the Continuous Integration Workflows and Automation label Nov 22, 2023
@josecelano
Copy link
Member

Hi @mario-nt that's probably because of one of the latest changes in this issue: #384. I think we should open an issue on the GUI to fix it there.

@josecelano
Copy link
Member

Hi @mario-nt I can't reproduce the problem with the develop branch. Could you tell me which branch you are using?

@mario-nt
Copy link
Contributor Author

Wrong repository. Opened by mistake.

@mario-nt mario-nt closed this as not planned Won't fix, can't repro, duplicate, stale Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Continuous Integration Workflows and Automation
Projects
Archived in project
Development

No branches or pull requests

2 participants