Four gate tests fail for environmental reasons rather than defects
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 25/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- bash, python
- Domaine
- testing-qa
Piste de recherche
Four independent test fixes, each in one file: tests/session/control_dir_claim.sh (skip with exit 77 when ECCE_SSH_CONTROL_DIR is unset), tests/look/modiagramheads.py (probe DISPLAY with xdpyinfo, fall back to xvfb-run -a), tests/releaseround/run_round.py (step W5.5, count only processes under the install prefix or isolated home), and tests/apps/builder_pdb_open_test.py (raise settle to 300 s). Work exists on branch wip/1329-test-env-robustness, so check that branch first. Done means each test passes or skips cleanly under the offload harness, verified in a real gate run.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Four tests failed in the 9.6.1 release gate on one host. None indicates a defect in shipping code; each is sensitive to the test environment, which makes it indistinguishable from a regression in a gate.
-
tests/session/control_dir_claim.sh:ecce_ssh_control_setupdeliberately leavesECCE_SSH_CONTROL_DIRunset when no candidate root is short enough for a unix socket path (${#dir} -le 66). Under the offload harness TMPDIR is long, so the test died on the unbound variable (set -u). Fix: skip with exit 77 and a message that no candidate directory was short enough. -
tests/look/modiagramheads.py: thexvfb-run -afallback was used only when DISPLAY was empty. The offload harness setsDISPLAY=:987on purpose (no server), so GTK failed to initialise. Fix: DISPLAY is probed withxdpyinfo(10 s timeout); a failed or timed-out probe, or a missingxdpyinfo(reported), falls back toxvfb-run -a. -
tests/releaseround/run_round.py, step W5.5: processes carryingECCE_LOCAL_DATA=<data>in their environment were counted as left over. This also matcheduim-helper-serv, forked by GTK inside the Organizer; it inherits the environment and outlives ECCE by design. Fix: a process counts only if its executable or command line lies under the install prefix or the isolated home. -
tests/apps/builder_pdb_open_test.py:apps.run(..., settle=90)watches a fixed window and then sends SIGTERM to the process group, wherever the Builder script has got to. Under parallel load the script was cut short, which showed up as wrong atom counts and "File > Save did not go to Save As". The script ends inquitandapps.runreturns as soon as the process exits, so settle is raised to a 300 s ceiling that acts as a timeout. Areadypredicate was not added: it cannot see the log, and the script has no marker-file step short of theshotpause mechanism.
Branch: wip/1329-test-env-robustness. Not run: items 2 (with a live DISPLAY), 3 and 4 against a real gate run.
- Langage dominant
- C
- Étoiles
- 10
- Forks
- 8
- Merge moyen
- 6 h 32 min
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de FriendsofECCE/ECCE
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
FriendsofECCE/ECCE#1353 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
FriendsofECCE/ECCE#1348 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
FriendsofECCE/ECCE#1345 ·
Toutes les issues de FriendsofECCE/ECCE
Issues similaires
-
Installation fails from source: missing libintl.h on macOS, undeclared R_typeToChar() on R 4.6Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
vincentarelbundock/xtx#11 ·
-
Difficulté 1/5 1-3 heures Accessibilité débutants 88/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
compiler-explorer/compiler-explorer#9738 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 1/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 3 jours
-
[Android Auto] MU1017 (MHI2Q_JP_AUG22_P1017) cluster map works with a pinned profile — values insideOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
kamgurgul/mib2q-carplay#74 ·