[bug] Pre-push hook always fails because of Selenium tests

Aperta
#785 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@shubhamk0205 ci sta già lavorando.

Dal 19/11/2026.

  • #787 di @topukumar538 — chiusa senza merge
  • #835 di @shubhamk0205 — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug

Describe the bug
The pre-push hook fails even on a clean master.

It runs ./runtests.py --parallel, which also runs the selenium tests in parallel. Selenium tests can't run in parallel so they fail.

The installation docs ask contributors to set up this hook so everyone who follows the docs will hit this.

Steps To Reproduce

  1. Run openwisp-pre-push-hook --install
  2. On a clean master, run ./run-qa-checks --pre-push
  3. 8 Selenium tests fail with this error:
    AssertionError: daemonic processes are not allowed to have children

Expected behavior
The hook should pass. ./runtests already runs selenium tests separately and passes, but the pre-push hook doesn't do this.

System Information:

  • OS: Windows 11 (WSL, Ubuntu)
  • Python Version: 3.12
  • Django Version: 5.2
Lingua principale
Python
Stelle
96
Fork
127
Merge medio
1g 5h
PR unite (30g)
21

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openwisp/openwisp-utils

Tutte le issue di openwisp/openwisp-utils

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.