Skip to content

testing: the v2g suite, EVerest DC sessions over ISO 15118-2 and DIN 70121 - #34

Open
tkeairns wants to merge 1 commit into
mainfrom
feat/v2g-sil
Open

tkeairns wants to merge 1 commit into
mainfrom
feat/v2g-sil

Conversation

@tkeairns

Copy link
Copy Markdown
Contributor

What

testing/suites/v2g/: a software-in-the-loop suite where an EVerest EVSE and an EVerest EV (Josev) complete DC charging sessions over a veth pair, for ISO 15118-2 and DIN 70121, each recorded on the link.

  • just test-v2g runs it (Linux Docker; the EVerest image is pinned by digest, about 15.6 GB on disk, so no CI job yet).
  • just v2g-record records captures/{iso2-dc,din-dc}.pcapng again, each with a .messages.csv sidecar: frame number, direction and EVerest's own message name per V2GTP frame.

Tests

Test Asserts
test_session[iso2], [din] protocol selected; SessionSetup through SessionStop in order with a CurrentDemand loop; FIN, no RST
test_ev_unplug_mid_current_demand session ends in CurrentDemand with no stop sequence
test_isolation_fault CableCheck fails, no PreCharge, no CurrentDemand
test_capture_fixture the committed captures and sidecars pass the same link checks; needs only tshark

Local run on this branch: 6 passed in 132 s (Docker Desktop, arm64).

Notes

  • SLAC is simulated in process (no HomePlug frames on the link): real SLAC over a veth needs a modem to answer CM_SET_KEY.
  • EXI is not decoded by the suite; frames are named by the EVSE's record of them, matched on bytes. Requests only: this EVerest release logs responses with the request's header.
  • Not verified on a native amd64 Linux host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant