matrix-org / matrix-org/complement-crypto

Test logs full of `Unknown IPAddressSpace value: Loopback`

Open
#212 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
18
Forks
12
Avg merge
2d 12h
Merged PRs (30d)
6

Description

It doesn't seem to affect the tests, but the logs in CI are full of:

```
2025-10-20T16:01:02Z [chromedp: ERROR] could not unmarshal event: json: cannot unmarshal JSON string into Go network.IPAddressSpace within "/resourceIPAddressSpace": unknown IPAddressSpace value: Loopback
2025-10-20T16:01:02Z [chromedp: ERROR] could not unmarshal event: json: cannot unmarshal JSON string into Go network.IPAddressSpace within "/clientSecurityState/initiatorIPAddressSpace": unknown IPAddressSpace value: Loopback
```

(many times every test). This makes reading the test logs very confusing, as they are big and red and they look like the reason a test is failing, whereas they appear to be expected at present

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the tests that produce the chromedp errors and trace the JSON unmarshalling of the reported IPAddressSpace fields. Determine why the Loopback value is rejected and whether the errors can be resolved without masking genuine test failures; done means the misleading repeated errors no longer fill CI logs.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.