test(continuity): bring back the additional-CA removal checks as a disruption

Đang mở
#5,917 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
62/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
testing

Hướng nghiên cứu

Read the two dropped checks in e2e/rust/tests/additional_ca.rs first, then decision D and E in the #5297 plan comment for what was intentionally left out. Find the runner's disruption registry and an existing disruption installed under /var/lib/openshell-qualification/disruptions/ to copy its shape, and look at an existing continuity scenario to see how seed and verify are written. Done means a remove-additional-ca entry in the registry, an installer that strips the CA from the gateway config and restarts it, and a scenario whose seed proves trust and whose verify proves it is gone — while still passing under the other disruptions.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

topic:testing

User Story

I'm moving the e2e/rust tests onto testkit (#5281). The port drops two additional_ca checks because they restart the gateway and edit its host files, which ordinary tests must not do. I want a tracked way to bring that coverage back if CA rotation becomes a priority.

Description

e2e/rust/tests/additional_ca.rs has two checks the port drops (decision D in the #5297 plan):

  • tampering with the configured additional-CA file, then restarting the gateway;
  • removing the additional CA, then restarting the gateway, and checking that sandboxes no longer trust it.

They can come back as a continuity scenario (#3521) under a new disruption, for example remove-additional-ca. The installer stages the disruption as an executable under /var/lib/openshell-qualification/disruptions/; it removes the CA from the gateway config and restarts the gateway. seed checks that a sandbox trusts a server signed by the CA; verify checks that it doesn't any more.

Context

  • Decision D (drops) and E (how the additional-CA test gets its CA) in the #5297 plan.
  • Continuity runs every scenario under every disruption, so the new scenario must tolerate the other disruptions, and the other scenarios must tolerate this one.
  • Low priority. Not needed to delete e2e/rust.

Definition of Done

  • A remove-additional-ca disruption in the runner's registry, with an installer executable on at least one row.
  • A continuity scenario that checks trust before the disruption and its absence after.
Ngôn ngữ chính
Rust
Star
21.5k
Fork
2.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NVIDIA/OpenShell

Tất cả issue của NVIDIA/OpenShell

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.