Skip to content

Commit

Permalink
fix exit code mismatch (#1412)
Browse files Browse the repository at this point in the history
* fix exit code

* Mark bad tests as bad, pull in good tests.

Co-authored-by: David Himmelstrup <[email protected]>
  • Loading branch information
noot and lemmih authored Feb 7, 2022
1 parent fa33881 commit 1fb4282
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"class":"message","_meta":{"id":"TestAggregateBadSender","gen":[{"source":"specs-actors_test_auto_gen"}]},"car":"H4sIAAAAAAAA/+yYfTiU+RrHfzPE0ItoM1M5GVuRKWtpk0I9Bu2YXelFmZWXHTOPMWIwM0WF5nmMVmMTrbcibd5bkmWU3lDrPWGL2NYekspZSay32kPnGtpzPbrOWY+9rvPPuczf39/nue/7d9/f+5nHMg0W+vuLRUgbjWUACIHfdhOpNSu0zVhHFhXJBjo1Xk30yscynrj4Odkl5Huo01zNfT/kHYKFIr6/gBCGTx+uhIGP9XbQ3z7q7Rn99n5z/PBvG1pORDaPdp3v3dXY5G8gg9MxUruCxjvUhhf7Q3Q8K5qXWZl392ZERy4Vpjz3SFEv6L5dflcVHxK1rfh8PlWGoHQAS9touwFhL1joxfc1NjNmczj+BwVizEO3drjnG+fnnAt2frZwH3mNj3XPr59Ya90/PqRL53uzo6PBZ4C4clln7fVCCAAFUkXaRmOtUDC1p5iHYCHfiw9zhTCPLxILD2PgpJ885SKKlnAooYK2dPu4Zl3us81lt0qt6hpjLIpzj5cDSEFUlrbRnBVArSmgSOwvZPPgAP8gWIiByRrLu/N+uPQNdA1JGyAunuBxbBsCvOK/OKam8zDeD64BEIrSgZK0jeaogKlPwThCfwEGAv/4qJV7ur6lafGy0DsHWn5XLW+MqG+/PLhYWt58dJz8BYBQOuDMWLUOO3FV0YVrPjU3C+LkiSHfGJ4M9m3qf1N4/3lG64qgJHXAAFs85/GOlUyWDEjbaLsUvAXvEjwsEsN+s7j5ZfPSJpObp6g9RUFaMq1UfmzhARgb33CJgSEnNGH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1kEiM8WGlxHf68wR8XyyjIAjYg7VkWM/jdSdgAsJgRGvPl5nPtVDWckAYelh2QjOiX/WroJCEc303zd5+1EejNdRs30eoKE3Pe6DPtkspqW/Zb8yy73j1w+t0e0ATWV7XyXtpOfmFDXIAhMVjm9riaLtkAAAHQAzpa81Q9iylAwD+BQAA//8BAAD//yCciNqlGQAA","preconditions":{"variants":[{"id":"chocolate","epoch":86750,"nv":14}],"state_tree":{"root_cid":{"/":"bafy2bzacedebwfrwlb5a5m4k6hqa74h65o2prjhdljwvirmwvzpquks4hbwce"}},"basefee":0,"circ_supply":1000000000000000000000000000},"apply_messages":[{"bytes":"igBVAlkJfuBQlswlEbryev2Kkpim0DtKWDEDdEFnCg/cb6VuIQhkakL2EawRs3G+c0gV/ZpctBuY+uuoAJuAoRd0502YwAM660Y0AEAbAAAAASoF8gBAQBgaRoJDgEwCQA=="}],"postconditions":{"state_tree":{"root_cid":{"/":"bafy2bzacecw3w4ngsiwkmkn2vdr3igy4qjnqukndfzf4iqr77svnsjjxlw7k6"}},"receipts":[{"exit_code":18,"return":"","gas_used":464853}]}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"class":"message","_meta":{"id":"TestAggregateBadSender","gen":[{"source":"specs-actors_test_auto_gen"}]},"car":"H4sIAAAAAAAA/+yYfVATZxrA3yQgMUX5EgjiQOhpsVEGoR6CiLMEoRqloHxFDmEiWXAREthEBUvp7hLRi0opgqB8nOVLrC2NGK6IFaPyIU4EWskRlDG2ImIVtRwCtQfcRPRm9Zxhceb+uWH/y85vf3mf532eZ3feNWUwKpHIpLiOK3AGtJQTfXRO1v7c9WkBeYMXfX7RZ8eGeUd3DvnOH91497nySE9TlFFV/G4YlSISMS2DGp/JIMnzGi+5l4Dz3xZ4n8lPs7tRjnyrLc+44lRyaP/p/KbQCz+SUH9lx2VO+6O/pC/a3tRl5+PZ97Ai+4A1Wnw/ppil7LukvmRCTUmsa9r0HkeBEzwAy3XcLYAWBubFIYmuHq7C2FjJL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vu9HQsB/rPrk2XArkxAJnrDHWHYR7UUiGfA0Dm+lflimFcatMX54HgaGozNpMU69/0vnnno/huzz6FnerTUhZJgxYaxZbeRfpszTD3+VnX2fGINBYWC1FEIj1Lo/YMwePIM3FC4MYoVTnl4PLRDPvSqqueLeI9n2OlBD7nVk14RpSq7OOnbr/VRKW3HSjNL+isPJZ/bw3GFr14bKYzjg3jRBh969yMO8FHNUssGob2jityC6s6vfnsuEhq7wv8HVarp1N7fXxBynf6k5aJujLVrWheG+uTXXHeHUEDC1KuqxZY1AvGkq2SbkAQCbZh741Jb/Ud06bWKUazPyvx+OsyQqzZH9wVWdQ93pvo9ho8g2aYQTd66en8Zuf3JxR9l6pl8zeFLy4/5Mm5Z3Ri69cDqNxp7MIMxoGXiR/bkcRfi6y+2D6YdHNl/+W4XTuSFvM2eJk2fLkjxqy1rT3X75gAGg6llrODPCDiARE2EiqWyDgoLExMTOMIOckwjHIQEca0BwAwDc1kN9eFM7KUWm5xzJlaBqBz5tTiwQtXkKJ/HB9ifUpzXujT5veP0JHh+m3LXE8WV47Vm1SeGv251fn4LDqLzqKz6Cw6i86i/6foPjo1TkFydhZ9Xli29oH29i3+heJk7cfHY0caq7rbmxxrm4fqOh7xZvBFBkEAEK99REZbj+euOrYiua3lcYtGPHz/DydW9UmkOXTLgfav/z6QVPFu65jO6krNKGcAkOkLMMyVmlZOf8kX0aidyhyEILABLLWFnWJ+vwP4gDa68eTqFKOuI4RgoeFH+fG020r/N08Uwml2RxO+d3nz9iuRfhJAgYBmPrZKl8fdrAAABAJ6+mB3hdH2Rh4A4N8AAAD//wEAAP//4/Wlz3sWAAA=","preconditions":{"variants":[{"id":"chocolate","epoch":200,"nv":14}],"state_tree":{"root_cid":{"/":"bafy2bzacecdipesipfdjj3n7hxrn7dtdku5v5uhsiehpos7d7kyjhwoelqckm"}},"basefee":0,"circ_supply":1000000000000000000000000000},"apply_messages":[{"bytes":"igBCAGZYMQOetCGQgYT3fhuepsg4xm53f4CegoEG265Wfly0okfwMfGuXHzJiJ6Vl9ClmZXlPIABQBsAAAABKgXyAEBAGBlY9oGEiggYZNgqWCkAAYLiA4HoAiCtVzZoZRJuVWSeyyOuHUiIdUSXbv6kakjrXYWm7rTTBhjHgBoACTxC9AAAAIoIGGXYKlgpAAGC4gOB6AIgFtw2iom0KLJIVIQxO6Z6ORLKA/KytCQpF0pPiz3ITkQYx4AaAAk8QvQAAACKCBhm2CpYKQABguIDgegCIDeDTy8ldi8j4fdKUxy+RF23PWdl6+YIeKffvs19SvbhGMeAGgAJPEL0AAAAiggYZ9gqWCkAAYLiA4HoAiBFT2OsMMgyKZfvAl7f9qvSPg2+e4o9USaolOShaMG1mxjHgBoACTxC9AAAAA=="}],"postconditions":{"state_tree":{"root_cid":{"/":"bafy2bzacebziaw5kd3lrze3qc2urinwde5ekz4syafzr6atccavr2tand2qlq"}},"receipts":[{"exit_code":0,"return":"","gas_used":6459322}]}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"class":"message","_meta":{"id":"TestMinerWithdraw/withdraw_from_non-owner_address_fails","gen":[{"source":"specs-actors_test_auto_gen"}]},"car":"H4sIAAAAAAAA/+yYa1AT9/rHf0lAYgS5CQSxEKgWGnQQ9Q8opf8lgtUoBbkGqthIlhiERDapgkXcbCLlRAVUVG6lCuHi5dCUi6ItiJSLMCnQCgdQBqgiYBVFDgK2BzwTsWcWxxkWZ86Lcw77Ljvf/eR5vr/neXbn4efAiEgkEWMdTI4tIEWf6yMzYha0/JzcNGwRfHRRXswozauMvLi6M4NqkOB54Yqb38tjOKlv/UhKRa731DD5vcinhuL3Xnz+XJ8XfoJVFPDpucnD/M38/TAiFoiEpHhiaBkFB0eDL3eH6sYmkIs8DNq+WXZbuVB59TOLic9r/1+2QOJqtwgn9VQ1VzOaHn8Wt2x3Tau5m0vfI2VSogmSNbAri6bqu1nVqEMMiXnUbFvEUEgxFoDlHUxfQAoAeuGCSAcnB25YmOgLoQT3px/3hBY5FBV+HRPUrxdotiLCffC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m80CuTYAMg9N3aGoEzEr5AsAkG3+s1xRlElsDEtZwCeU2LCV4XL9psc99fsdbMfnX8LW5bHRy8TeS7XCsu8L+sz00TWLE36i8wXiMFjIRQQicQmJ2DMYiyGXSTGOIyW71DpFKh+Pt8jOv+VSJzxwGM3GpAvuFgXG7yjN+WTY8VnRjriGxOzTZ1vy0k8/+Ail8149NtcZR4elWAA5eGF8r88Z9QrD6yMHJxUn0/JbXNn08BBiLw7pO0TbQyb28kjG+W1KHlkSomytSrQJLE/2Xpt+0yE9xOaemZbnklOHDu50roMgvJh+cFdcvftEW0yZYjzp0NdOf7HHhOqvfFpDMtsnuyIdZ4jn0Axz6Mb1PWR2ra3NlKLvZqFk8bbA5bnHXBgPtM4FXxxE5NYTFXMYB+t1NtKtcPrGkMIbTUNRd9b1V4d/sSdqOWvLet3rJ/bs0q9vaDq5MZ0DjfoT8+woC8AswEPH/IUiCQOBuZGRsQwuYx8MIwwBD6VaAACommYyX7iKMWZHzFspakvMAeiaAbF8pGmrcdk/4fuZXFB/z3Vr2Pg3/7HR8p32DgVZeRPlOnkXxn+tt82Yl85L56Xz0nnpvHRe+l8qPUImplPgmC2Zh9NyPn7Y1n2XXZG1r+2TjLCxyvz2phqr4tqRsubHrDl8kUEQANiMj8hQk8mTzumr9zXUPalTC0cH/rCmFRYIav19E5suXhmMUr5bHLNRHYgR5RQAZO4ARR2IYeXk1/pMErGtzFEIAluAnRlsvetFL2AD0vjWgg3RWq2nMM5SzY/cjNhuleebG4VAkvmZiKur3rz9J6jnJYC8AMlgwrkjlbldAQDwAuS4oXal1u5KFgAgntjaecYaOSP0WYbi3mRR90CW/cCD9qH7elmnnt6tsJVdWcv764X68++wRp4NOb9Gnl8j/8+skSn/mWvkfwIAAP//AQAA//9h6dnz+hoAAA==","preconditions":{"variants":[{"id":"chocolate","epoch":0,"nv":14}],"state_tree":{"root_cid":{"/":"bafy2bzaceb4anugrr7hpag2zrmf2k6hubjg3kaqoylmzucaqqzc2tnr5kp7yy"}},"basefee":0,"circ_supply":1000000000000000000000000000},"apply_messages":[{"bytes":"igBCAGZYMQOetCGQgYT3fhuepsg4xm53f4CegoEG265Wfly0okfwMfGuXHzJiJ6Vl9ClmZXlPIACQBsAAAABKgXyAEBAEEuBSQAN4Lazp2QAAA=="}],"postconditions":{"state_tree":{"root_cid":{"/":"bafy2bzacebjmp4uqxwru77xqaiowz3yromo7syhvb5sgnekcvzku5ih5p5tuq"}},"receipts":[{"exit_code":8,"return":"","gas_used":445353}]}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"class":"message","_meta":{"id":"TestMinerWithdraw/withdraw_from_non-owner_address_fails","gen":[{"source":"specs-actors_test_auto_gen"}]},"car":"H4sIAAAAAAAA/+yYe1QTdxbHf0lAYkR5CQRxIeADGvQg6gKKtEMAq1EW5Bmo4kYyYBASmaQIFnFmEimLCqiovEothIePQyMPRVoQEVA4EWiF8ihHaIuI9VHLIlC7wJ6I3TNwPIfB0/1nl/kvc77zyb3f37135tywXBgRi6USvJPNswKUqAv9VNaWtguNuStOGZwUZd17VcW/8t2ql4UHovzLrz78i3W36wfBBGnMgtZvUppfmAYeX5QfM8zwKKcuqe3KpOsmuF+85uwzeSIsGkYkQrGIEk8OLaMR4C7OC7O3eGETKqYStrk9aRSd4FaZ53XNtK4qInE1w8yUIHVXttSymp9+FLd8X12bibNj/xNFcqIhkv1obzZD2X+r5pYWOSTuVrdzESsJwzkAlneyvQHFDywOFUbY2tvyQ0LEH4ukhD99vze42La46LOYgIHF/sarwl0Gf97oov9twrA5R7ifn5ysuQNQzUz6GitLIADUyAXyTjbPVM00mmJGw4gwVAgLEDhMKJEisQQ4vWtfmYSpjwyfq2Mbbh3Xa7o8sOlmVbVzU0uqU/nlhBoAqYka8k52gBqoPwWUSMUIPww+KD4EIwRYwcDOKLpkbXS75mqk6/aFZ+UvAu76r/OvCy+xji1wVtoACMc5gCbvZHuqYYwpWAgiFhEg8DfdHYLTqvZWXZMjtQfaf9eqaTmm6vlySFde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9L7B3iLaXSu6dkULw24g6tDRI0VaTaOlfkeK5IeOWbUaQ5Y/GGu5Lzxw5vMehAYKIYubhvXF3XMbaY8qTRpOPfGb/DxtcpPrUqy0oq2O8J8JumngOzTCHbtzUS+XWW1lOJPXfKpIu2em/Mu+EI+uhxoXAS4OI3GKsag7jYJOWK9OcoG8KKrrZ/Cyye+NAbejH+yNXcrZv0q48tX+vzp3G5tOuGTxo2JecZ8c5AOYAATriKxJLWQjMj4iIZfFZB2EYYQkFKN0UAEBXN5PJwrWsEWty3mKoFTkHoBu65PLB0tcRsn8e5mN4UfUV37nR9TvfkeGKPTa2hdn5YxVa+RdHf7hjlTkvnZfOS+el89J56bz0f1R6jEpOl0RgtmYdTc99/3H7g++5VdkH2z/MDBmpLuhorjMvqR8qb3nKmcMXGQQBgE/7iAw2HD/tkLHuYGPD8waVaPjR7xaMokJhva93YvOla4ORineLYzaqLTminAaAzAWgqC05rJz6Rp9FIbeVOQ5BYDuwNoYt9v7WB7iAMrqjcHOURtsZnLdM/SMvM/aB0n3mRsGfYnIu/Prambf/APVOAsgDUHTHHDrT2LuSAAAegBr3rEOhsa+aAwCIJ7dtnrY9RgOvPAjWjk2gFrvptn++/L5ioeL6R6Zjf6//QLZA6mS9aA67xCYtcsj57fH89vj/ZntMVdenNjDQYvT8udvj7WBx37XSQsEU9c9eI/8bAAD//wEAAP//+JJcH/EaAAA=","preconditions":{"variants":[{"id":"chocolate","epoch":0,"nv":14}],"state_tree":{"root_cid":{"/":"bafy2bzacea6njigjuirzce4nn2n436v5mgwnmjpvu5vxcvvvwhsr2kg2im7v4"}},"basefee":0,"circ_supply":1000000000000000000000000000},"apply_messages":[{"bytes":"igBCAGZYMQOetCGQgYT3fhuepsg4xm53f4CegoEG265Wfly0okfwMfGuXHzJiJ6Vl9ClmZXlPIABSQAN4Lazp2QAABsAAAABKgXyAEBAAEA="}],"postconditions":{"state_tree":{"root_cid":{"/":"bafy2bzaceb4anugrr7hpag2zrmf2k6hubjg3kaqoylmzucaqqzc2tnr5kp7yy"}},"receipts":[{"exit_code":0,"return":"","gas_used":406068}]}}
16 changes: 13 additions & 3 deletions tests/conformance_tests/tests/conformance_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ lazy_static! {
// These 2 tests ignore test cases for Chaos actor that are checked at compile time
Regex::new(r"test-vectors/corpus/vm_violations/x--state_mutation--after-transaction").unwrap(),
Regex::new(r"test-vectors/corpus/vm_violations/x--state_mutation--readonly").unwrap(),

// These tests are out of date. Ideally they would be updated in the test-vectors repo. 2022-02-03
// Updated vectors have been temporarily put in `extra-vectors/`
Regex::new(r"test-vectors/corpus/specs_actors_v6/TestMinerWithdraw/withdraw_from_non-owner_address_fails").unwrap(),
Regex::new(r"test-vectors/corpus/specs_actors_v6/TestAggregateBadSender").unwrap(),
// This test fails even after being updated.
Regex::new(r"extra-vectors/TestAggregateBadSender/8466b548087bb6c8c8469b4135521b147364ed7625467c8ac149f8785abcab5d").unwrap(),
];
}

Expand All @@ -66,8 +73,9 @@ fn is_valid_file(entry: &DirEntry) -> bool {

// only run v6 vectors
let v6_filepath = Regex::new(r"specs_actors_v6").unwrap();
if !v6_filepath.is_match(file_name) {
println!("SKIPPING: {}", file_name);
let is_extra = Regex::new(r"extra-vectors").unwrap();
if !v6_filepath.is_match(file_name) && ! is_extra.is_match(file_name) {
println!("SKIPPING: {} ", file_name);
return false;
}

Expand Down Expand Up @@ -281,7 +289,9 @@ async fn conformance_test_runner() {
.await
.unwrap();

let walker = WalkDir::new("test-vectors/corpus").into_iter();
let walker = WalkDir::new("test-vectors/corpus")
.into_iter()
.chain(WalkDir::new("extra-vectors").into_iter());
let mut failed = Vec::new();
let mut succeeded = 0;
for entry in walker.filter_map(|e| e.ok()).filter(is_valid_file) {
Expand Down
2 changes: 1 addition & 1 deletion vm/interpreter/src/default_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ where

// Check if theres is at least one match
if !addresses.into_iter().any(|a| a == imm) {
return Err(actor_error!(ErrForbidden;
return Err(actor_error!(SysErrForbidden;
"caller {} is not one of supported", self.message().caller()
));
}
Expand Down

0 comments on commit 1fb4282

Please sign in to comment.