-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: Run e2e tests against ic-ref #471
Conversation
Ok, this kinda works. I’ll hand this over to the SDK team, as I don’t know if they want this to be in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but will let someone else take a look since I had changes to it. I think @nomeata can also approve since his changes LGTM and I want approval for my changes ;)
I just did a shorthand for the USE_IC_REF stuff. It's more bash-y and easier to follow than strings. |
Github won’t let me formally approve, as I created this PR. But your commits LGTM. |
There is a connection error but the last changes don't seem to be the issue from a quick glance... |
Looks the merge broke A handfull of (yay for git bisect + a well-stocked nix cache to fetch any revisions This is not surprising: This PR pins a version of I’ll see what the precise differences are and if I can make a |
fix coming |
in #471 we added running the e2e tests aginst the `legacy2` branch of `ic-ref`, which was tailured to SDK’s behaviour at that time. That PR was green. But it was merged without updating the branch, and in the meantime SKD’s `master` updated `replica` to 0.5.4, and also changed `dfx` accordingly. At that version, `dfx` could no longer talk to `ic-ref`, and the test made `master` red. So I creaed a new branch `legacy3`, off `release-0.2` in `ic-ref`, making the necessary adjustments to be compatible with `dfx` again. These were: * Do not require CBOR tag * Make `sender` field optional * Do not check signatures * Do not require canister registration before installation
in #471 we added running the e2e tests aginst the `legacy2` branch of `ic-ref`, which was tailured to SDK’s behaviour at that time. That PR was green. But it was merged without updating the branch, and in the meantime SKD’s `master` updated `replica` to 0.5.4, and also changed `dfx` accordingly. At that version, `dfx` could no longer talk to `ic-ref`, and the test made `master` red. So I creaed a new branch `legacy3`, off `release-0.2` in `ic-ref`, making the necessary adjustments to be compatible with `dfx` again. These were: * Do not require CBOR tag * Make `sender` field optional * Do not check signatures * Do not require canister registration before installation
## Changelog for advisory-db: Branch: master Commits: [rustsec/advisory-db@a0e59ff2...65b9aa70](rustsec/advisory-db@a0e59ff...65b9aa7) * [`0da539a2`](rustsec/advisory-db@0da539a) Add unmaintained crate advisory for `safe-nd` ([RustSec/advisory-db#467](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/467)) * [`51fd5e3c`](rustsec/advisory-db@51fd5e3) Assigned RUSTSEC-2020-0063 to safe-nd ([RustSec/advisory-db#469](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/469)) * [`3adba0fc`](rustsec/advisory-db@3adba0f) Add unmaintained crate advisory for `ffi_utils` ([RustSec/advisory-db#464](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/464)) * [`74c2e86f`](rustsec/advisory-db@74c2e86) Assigned RUSTSEC-2020-0064 to ffi_utils ([RustSec/advisory-db#470](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/470)) * [`a949bd46`](rustsec/advisory-db@a949bd4) Add unmaintained crate advisory for `fake_clock` ([RustSec/advisory-db#465](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/465)) * [`00a4c19a`](rustsec/advisory-db@00a4c19) Assigned RUSTSEC-2020-0065 to fake_clock ([RustSec/advisory-db#471](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/471)) * [`3761ab58`](rustsec/advisory-db@3761ab5) Add unmaintained crate advisory for `safe_bindgen` ([RustSec/advisory-db#466](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/466)) * [`d5cf9d76`](rustsec/advisory-db@d5cf9d7) Assigned RUSTSEC-2020-0066 to safe_bindgen ([RustSec/advisory-db#472](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/472)) * [`9757ff20`](rustsec/advisory-db@9757ff2) Add unmaintained crate advisory for `quic-p2p` ([RustSec/advisory-db#468](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/468)) * [`65b9aa70`](rustsec/advisory-db@65b9aa7) Assigned RUSTSEC-2020-0067 to quic-p2p ([RustSec/advisory-db#473](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/473))
## Changelog for advisory-db: Branch: master Commits: [rustsec/advisory-db@a0e59ff2...65b9aa70](rustsec/advisory-db@a0e59ff...65b9aa7) * [`0da539a2`](rustsec/advisory-db@0da539a) Add unmaintained crate advisory for `safe-nd` ([RustSec/advisory-db#467](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/467)) * [`51fd5e3c`](rustsec/advisory-db@51fd5e3) Assigned RUSTSEC-2020-0063 to safe-nd ([RustSec/advisory-db#469](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/469)) * [`3adba0fc`](rustsec/advisory-db@3adba0f) Add unmaintained crate advisory for `ffi_utils` ([RustSec/advisory-db#464](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/464)) * [`74c2e86f`](rustsec/advisory-db@74c2e86) Assigned RUSTSEC-2020-0064 to ffi_utils ([RustSec/advisory-db#470](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/470)) * [`a949bd46`](rustsec/advisory-db@a949bd4) Add unmaintained crate advisory for `fake_clock` ([RustSec/advisory-db#465](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/465)) * [`00a4c19a`](rustsec/advisory-db@00a4c19) Assigned RUSTSEC-2020-0065 to fake_clock ([RustSec/advisory-db#471](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/471)) * [`3761ab58`](rustsec/advisory-db@3761ab5) Add unmaintained crate advisory for `safe_bindgen` ([RustSec/advisory-db#466](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/466)) * [`d5cf9d76`](rustsec/advisory-db@d5cf9d7) Assigned RUSTSEC-2020-0066 to safe_bindgen ([RustSec/advisory-db#472](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/472)) * [`9757ff20`](rustsec/advisory-db@9757ff2) Add unmaintained crate advisory for `quic-p2p` ([RustSec/advisory-db#468](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/468)) * [`65b9aa70`](rustsec/advisory-db@65b9aa7) Assigned RUSTSEC-2020-0067 to quic-p2p ([RustSec/advisory-db#473](http://r.duckduckgo.com/l/?uddg=https://github.com/RustSec/advisory-db/issues/473))
## Changelog for common: Branch: master Commits: [dfinity-lab/common@3da848b5...eee9aaba](https://github.com/dfinity-lab/common/compare/3da848b5128d4e3c2e673cff04c0d2904288d6fe...eee9aaba8d3ca633b2fd9fa7024aaab388cc10a4) * [`ac6fbf36`](https://github.com/dfinity-lab/common/commit/ac6fbf365abe70a48fa9efcf952e38615f66b5cd) Add SSH key for Eero Kelly ([dfinity-lab/common#470](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/470)) * [`eee9aaba`](https://github.com/dfinity-lab/common/commit/eee9aaba8d3ca633b2fd9fa7024aaab388cc10a4) Change Andriy's SSH key from RSA to ED ([dfinity-lab/common#471](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/471))
## Changelog for common: Branch: master Commits: [dfinity-lab/common@3da848b5...eee9aaba](https://github.com/dfinity-lab/common/compare/3da848b5128d4e3c2e673cff04c0d2904288d6fe...eee9aaba8d3ca633b2fd9fa7024aaab388cc10a4) * [`ac6fbf36`](https://github.com/dfinity-lab/common/commit/ac6fbf365abe70a48fa9efcf952e38615f66b5cd) Add SSH key for Eero Kelly ([dfinity-lab/common#470](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/470)) * [`eee9aaba`](https://github.com/dfinity-lab/common/commit/eee9aaba8d3ca633b2fd9fa7024aaab388cc10a4) Change Andriy's SSH key from RSA to ED ([dfinity-lab/common#471](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/471))
this is a failed attempt; I don’t understand how this
bats
works or how todebug it. @hansl, do you want to take over?