askill
smoke-zenoh-someip-ps-someip-publisher-zenoh-subscriber

smoke-zenoh-someip-ps-someip-publisher-zenoh-subscriberSafety 85Repository

Validate SOME/IP publisher to Zenoh subscriber pub/sub forwarding through the zenoh_someip streamer.

0 stars
1.2k downloads
Updated 2/23/2026

Package Files

Loading files...
SKILL.md

Scope

Run and validate this binary triad:

  • Streamer: up-linux-streamer bin zenoh_someip
  • Publisher: example-streamer-uses bin someip_publisher
  • Subscriber: example-streamer-uses bin zenoh_subscriber

Execution

  1. Setup from repo root:
    • source build/envsetup.sh highest
    • export REPORT_DIR="$OPENCODE_CONFIG_DIR/reports/transport-smoke-skills/smoke-zenoh-someip-ps-someip-publisher-zenoh-subscriber"
    • mkdir -p "$REPORT_DIR"
    • export LD_LIBRARY_PATH="$(ls -d "$PWD"/target/debug/build/vsomeip-sys-*/out/vsomeip/vsomeip-install/lib | head -n1):${LD_LIBRARY_PATH}"
  2. Build binaries:
    • cargo build -p up-linux-streamer --bin zenoh_someip --features "zenoh-transport,vsomeip-transport,bundled-vsomeip"
    • cargo build -p example-streamer-uses --bin someip_publisher --features "vsomeip-transport,bundled-vsomeip"
    • cargo build -p example-streamer-uses --bin zenoh_subscriber --features zenoh-transport
  3. Start streamer from example-streamer-implementations:
    • source ../build/envsetup.sh highest
    • export LD_LIBRARY_PATH="$(ls -d ../target/debug/build/vsomeip-sys-*/out/vsomeip/vsomeip-install/lib | head -n1):${LD_LIBRARY_PATH}"
    • export RUST_LOG="up_transport_vsomeip=trace,up_streamer=debug,up_linux_streamer=debug,example_streamer_uses=debug"
    • cargo run --bin zenoh_someip --features "zenoh-transport,vsomeip-transport,bundled-vsomeip" -- --config "DEFAULT_CONFIG.json5" > "$REPORT_DIR/streamer.log" 2>&1 & echo $! > "$REPORT_DIR/streamer.pid"
  4. Start subscriber from repo root (aligned with static subscription sink URI):
    • source build/envsetup.sh highest
    • RUST_LOG=info cargo run -p example-streamer-uses --bin zenoh_subscriber --features zenoh-transport -- --uauthority authority-b --uentity 0x5678 --uversion 0x1 --resource 0x1234 --source-authority authority-a --source-uentity 0x5BA0 --source-uversion 0x1 --source-resource 0x8001 > "$REPORT_DIR/subscriber.log" 2>&1 & echo $! > "$REPORT_DIR/subscriber.pid"
  5. Run publisher from repo root:
    • source build/envsetup.sh highest
    • export LD_LIBRARY_PATH="$(ls -d "$PWD"/target/debug/build/vsomeip-sys-*/out/vsomeip/vsomeip-install/lib | head -n1):${LD_LIBRARY_PATH}"
    • export RUST_LOG="info,up_transport_vsomeip=trace,example_streamer_uses=debug"
    • timeout 45s cargo run -p example-streamer-uses --bin someip_publisher --features "vsomeip-transport,bundled-vsomeip" > "$REPORT_DIR/publisher.log" 2>&1; printf '%s\n' "$?" > "$REPORT_DIR/publisher.exit"

Validation

  • Publisher emitted traffic: rg -n "Sending Publish message" "$REPORT_DIR/publisher.log"
  • Subscriber received traffic: rg -n "PublishReceiver: Received a message" "$REPORT_DIR/subscriber.log"
  • Streamer forwarded traffic: rg -n "Sending on out_transport succeeded" "$REPORT_DIR/streamer.log"

Pass only when all three checks match.

Teardown

  • kill -INT "$(cat "$REPORT_DIR/subscriber.pid")" "$(cat "$REPORT_DIR/streamer.pid")" || true
  • If still alive: kill -TERM "$(cat "$REPORT_DIR/subscriber.pid")" "$(cat "$REPORT_DIR/streamer.pid")" || true
  • Verify: pgrep -fa "zenoh_someip|zenoh_subscriber|someip_publisher" || true

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

85/100Analyzed 3/1/2026

High-quality technical smoke test skill for validating SOME/IP to Zenoh pub/sub forwarding. Provides complete step-by-step execution with specific cargo commands, environment setup, validation checks, and teardown procedures. Well-structured and highly actionable for CI/CD workflows. Located in dedicated skills folder indicating reusability intent. Minor扣分 for project specificity but overall excellent skill documentation.

85
90
70
85
90

Metadata

Licenseunknown
Version-
Updated2/23/2026
PublisherPLeVasseur

Tags

ci-cd