Skip to content

Running package tests individually is broken for some packages #1090

@qmonnet

Description

@qmonnet
for i in \
    args cli concurrency concurrency-macros config dataplane flow-info hardware \
    id interface-manager left-right-tlcache mgmt nat net pipeline pkt-meta \
    routing stats tracectl vpcmap; \
do \
    echo ""; echo $i; echo ""; \
    just cargo nextest run -p dataplane-$i; \
done

(The list contains all internal crates, minus the ones that don't have internal tests)

Building the tests binary for some packages is broken because of some missing features following bd0fc65

Some of the packages apparently had this build broken even before that commit (stats, concurrency, concurrency-macros, others?).

We need to fix these, and to figure a way to validate these in CI, to avoid breaking them accidentally again (it's apparently different from the build from the global just cargo nextest run that we do in CI).

Internal discussion thread

Metadata

Metadata

Labels

bugSomething isn't workingciContinuous Integration

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions