[E2E] network lifecycle test scenario
I maintainer di solito rispondono entro 3 giorni
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- networking, testing-qa
Direzione di ricerca
Start by locating the repository’s E2E test entry points and existing network and instance lifecycle scenarios; the issue does not name files or tests. Use the supplied Gherkin scenario as the acceptance checklist for OVN network creation, instance connectivity, DHCP range behavior, detach and deletion, including cleanup after failures.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
As a user, I expect the network lifecycle should works on the microcloud cluster.
Example test scenario:
Feature: Network lifecycle
Background:
Given a MicroCloud cluster with all members Online
And the "e2e-testing" project exists
Scenario: Create, configure, attach, and delete OVN networks across live instances
Given two randomly generated network names prefixed with "e2e-net-"
("net1", kept for the whole scenario, and "net2", removed partway through)
And each network is deleted at the end of the scenario, even if a prior step fails
When I create "net1" as an OVN network, using the cluster's "UPLINK" network,
with IPv6 enabled
And I create "net2" as an OVN network, using the cluster's "UPLINK" network,
with IPv6 enabled
Then both networks are created successfully and report state "Created"
Given two randomly generated instance names prefixed with "e2e-net-lifecycle-"
("instance-a" and "instance-b"), targeted at two distinct, randomly selected
cluster members
And each instance is deleted at the end of the scenario, even if a prior step fails
When I create "instance-a" with a NIC on "net1" and a NIC on "net2"
And I create "instance-b" with a NIC on "net1" only
And I start both instances
Then both instances reach the "Running" state
And "instance-a" acquires an IPv4 address on each of its NICs
And "instance-b" acquires an IPv4 address on its NIC
And if "net1"/"net2" report IPv6 as enabled, each instance also acquires an
IPv6 address on the corresponding NIC(s); otherwise this is noted and skipped
When "instance-b" probes "instance-a" on its "net1" address(es)
Then the probe succeeds
When "instance-b" probes "instance-a" on its "net2" address(es)
Then the probe succeeds
When I set "ipv4.dhcp.ranges" on "net2" to a narrow, randomly generated subrange
of its subnet
And I create a third instance, "instance-c", with a NIC on "net2" only, and
the instance is deleted at the end of the scenario even if a prior step fails
And I start "instance-c"
Then "instance-c" reaches the "Running" state
And "instance-c"'s acquired IPv4 address falls inside the narrowed range
When I delete "instance-c"
And I detach "instance-a"'s NIC on "net2"
Then "instance-a" no longer reports an address on "net2"
When "instance-b" probes "instance-a"'s former "net2" address(es)
Then the probe consistently fails over a short window, showing the address
is no longer reachable
When "instance-b" probes "instance-a" on its "net1" address(es)
Then the probe still succeeds
When I delete "net2"
Then "net2" no longer appears in the network list
When I delete "instance-a" and "instance-b"
And I delete "net1"
Then "net1" no longer appears in the network list
- Lingua principale
- Go
- Stelle
- 552
- Fork
- 96
- Merge medio
- 4g 10h
- PR unite (30g)
- 21
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di canonical/microcloud
-
Bug Documentation Jira
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
canonical/microcloud#1506 · 1 reazione ·
I maintainer di solito rispondono entro 3 giorni
-
microcloud remove unnecessarily changes default Ceph pool replication factorForse già presa @roosterfish l’ha presa 5 giorni fa. ApertaBug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
canonical/microcloud#1705 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
canonical/microcloud#1688 · 4 commenti ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
canonical/microcloud#1687 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
canonical/microcloud#1686 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di canonical/microcloud
Issue simili
-
mcpx scan: flag unsafe tool namesForse già presa @zeyadbadawyy l’ha presa oggi. Apertaarea/scan enhancement good first issue priority/medium size/small
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
rohitgollarahalli/mcpx#45 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Mend: dependency security vulnerability
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Windows 主机
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Lee-xeo/Claude-Cage#1550 ·
I maintainer di solito rispondono entro 1 giorno
-
(bug) ui: spanPaint can index spans past their end (panic: index out of range)Forse già presa @MaxMiksa l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
I maintainer di solito rispondono entro 1 giorno