Skip to content

test: run the M4.4 chain end to end with LS Login #44

Done

Description

@uniqueg

Why?

Each part of the M4.4 chain has its own issue, but nothing checks the whole chain with real LS Login users: client, proTES gateway, TES backends at the Nodes, and WESkit. The M4.4 report needs this as evidence. This issue covers what can be checked without the Krini rewrite; the run from Krini follows with elixir-cloud-aai/krini#135.

How?

  1. Use two LS Login test accounts: one member of elixir:ECP_CLN:EOC-Compute (or elixir:ECP_CLN:ADMIN), one account in neither group. The evidence contains no tokens and no personal identifiers.
  2. Tasks: as the member, submit a TES task through the proTES gateway with the GA4GH SDK CLI or curl, and check that it runs on the backends of at least two Nodes. Start as soon as any two Nodes are connected to proTES (ELIXIR On-Cloud TES at each Node: tokens, proTES, no anonymous access #108: FI FI: connect proTES to the FI TESK with its service token #111, CZ CZ: connect proTES to our CZ TESK #138, DE DE: connect proTES to the DE Node's TES #126); which two doesn't matter, and the others join the run when they are ready. Check that the non-member gets 403 and a request without a token gets 401.
  3. Workflows (doesn't need proTES; can run now): as the member, run one example per language that WESkit supports on the BIH deployment. If WESkit validates tokens by then (WESkit: verify and enable LS Login bearer token validation on the BIH deployment #19, nice to have), also check that the non-member is refused there.
  4. Write a short report: what ran where, timings, failures and gaps. File bugs in the owning repos and link them here. Move checks that can be automated into the service repos' test suites (e.g. test: save the Rahti checks in the test suites protes#424).

Acceptance criteria

  • The member's tasks and workflows succeed; the non-member and requests without a token are refused at the gateway.
  • At least one task ran on each Node whose backend accepts tokens.
  • The report is attached to this issue.

Activity

  1. added
    status: blocked
    type: testing
    priority: high
    type: auth
    workload: days
    ecp-wp4: M4.4
    on Nov 8, 2026
  2. removed
    type: auth
    on Nov 13, 2026
  3. added
    status: triage
    on Nov 18, 2026
  4. 19 remaining items

  5. added
    status: in progress
    and removed
    status: blocked
    on Nov 26, 2026
  6. added
    status: blocked
    and removed
    status: in progress
    on Nov 28, 2026
  7. moved this from Backlog to Ready in ELIXIR On-Cloudon Dec 1, 2026
  8. added
    status: triage
    and removed
    status: blocked
    on Dec 1, 2026
  9. uniqueg commented on Dec 2, 2026

    @uniqueg
    MemberAuthor

    Report: M4.4 chain walked end to end with LS Login (2 Dec 2026)

    Result: passed. All acceptance criteria are met. The member's tasks and workflows succeeded, at both Nodes and on all four TES backends. The non-member and requests without a token were refused. Workflows ran on Conquest (WES) at CERIT, which federates to proTES and has taken over the WESkit role (D-404).

    How it ran: the walk script m44-walk.fish in three parts, each with a fresh LS Login access token taken from the Krini portal. The tokens were neither shown nor stored. One account was a member of elixir:ECP_CLN:EOC-Compute; the other was in no ECP_CLN group and was used with its owner's consent. The evidence below contains no tokens and no personal identifiers.

    No token (2 Dec, 13:52 UTC)

    18 of 18 checks passed: proTES, Conquest and all four TES backends answer 401 without a token, or with a forged one.

    Non-member (2 Dec, 16:03 UTC): 7 of 7 passed

    Check Client Service What Expected Got
    N0 curl LS Login userinfo releases EOC-Compute no no
    N1 curl proTES POST /tasks (create) 403 403
    N2 curl proTES GET /tasks (list) 403 or empty 200, empty
    N3 curl Conquest POST /runs (submit) 403 403
    N4 curl Conquest GET /runs (list) 403 or empty 200, empty
    N5 SDK proTES tes create 403 403
    N6 SDK Conquest wes run 403 403

    Member (2 Dec, 17:32 UTC): 16 of 16 passed

    Check Client Service What Result
    M0 curl LS Login userinfo releases EOC-Compute yes
    M1, M2 curl proTES, Conquest list tasks and runs 200
    W1 SDK (ga4gh-cli 0.1.0) Conquest Nextflow run, about 2 min COMPLETE
    W2 curl Conquest WDL run, about 1 min COMPLETE
    T1 curl proTES task pinned to FI TESK, ran at FI TESK COMPLETE
    T2 curl proTES task pinned to CZ TESK, ran at CZ TESK COMPLETE
    T3 curl proTES task pinned to FI Poiesis, ran at FI Poiesis COMPLETE
    T4 curl proTES task pinned to CZ Poiesis, ran at CZ Poiesis COMPLETE
    T5 curl proTES unpinned task, ran at CZ Poiesis COMPLETE
    T6 SDK proTES unpinned task, ran at FI Poiesis COMPLETE
    M9 all TES Nodes Nodes with a COMPLETE task FI and CZ

    Every task stayed at its pin, and each task took at most about 1 minute.

    Failures and gaps

    • First member walk (16:01 UTC): 15 of 16. W1 failed with EXECUTOR_ERROR. One of its Nextflow tasks landed at FI TESK, whose file transfer pods were refused by Rahti's CPU limit-to-request ratio: tesk-core's filer default asks for 100m and allows 1 CPU, a ratio of 10, and the namespace allows at most 5. The chart 0.5.0 upgrade that morning had dropped the override for this. Fixed at 16:29 UTC with a Helm upgrade that puts tesk.filer.resources: {} into the values, and the upgrade runbook now keeps it. The re-run above passed. An upstream issue for tesk-core's filer default (a limit that fits common OpenShift ratios) is drafted.
    • Not covered here:
  10. moved this from Ready to Done in ELIXIR On-Cloudon Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ecp-wp4: M4.4priority: highstatus: triagetype: testingworkload: days

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions