Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pepoviola committed Sep 24, 2024
1 parent dfd3baf commit fe486f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ native-integration-test:
for bin in polakdot polkadot-execute-worker polkadot-prepare-worker; do
echo "downloading $bin";
curl -L -o /tmp/$bin https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-stable2407-2/$bin;
chmod +x /tmp/$bin;
chmod 755 /tmp/$bin;
done
- ls /tmp
- ls -ltr /tmp
- export PATH=/tmp:$PATH
- echo $PATH
- RUST_LOG=zombienet_orchestrator=trace,zombienet_provider=debug cargo test --test smoke-native -- --nocapture
Expand Down
4 changes: 3 additions & 1 deletion crates/orchestrator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,9 @@ fn validate_spec_with_provider_capabilities(
!parts.iter().any(|part| {
let path_to = format!("{}/{}", part, cmd);
trace!("checking {path_to}");
std::fs::metadata(path_to).is_ok()
let check_result = std::fs::metadata(path_to);
trace!("result {:?}", check_result);
check_result.is_ok()
})
};

Expand Down

0 comments on commit fe486f0

Please sign in to comment.