Skip to content
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

[Bug]starcoin-main branch test error #19

Closed
nkysg opened this issue Sep 19, 2022 · 1 comment
Closed

[Bug]starcoin-main branch test error #19

nkysg opened this issue Sep 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@nkysg
Copy link

nkysg commented Sep 19, 2022

🐛 Bug

There are many test errors in starcoin-main branch. It output like that

To reproduce

Code snippet to reproduce

cd language/move-bytecode-verifier/transactional-tests/tests
cargo test
test result: FAILED. 179 passed; 130 failed; 0 ignored; 0 measured; 0 filtered out

cd language/move-stdlib/tests
cargo test
thread '<unknown>' has overflowed its stack
fatal runtime error: stack overflow

cd language/move-stdlib/nursery/tests
cargo test
thread '<unknown>' has overflowed its stack
fatal runtime error: stack overflow

cd language/move-prover/bytecode/tests
cargo test
test result: FAILED. 47 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out

cd language/tools/move-unit-test/tests
cargo test
│ 0x8000000000000000000000000000000:
│       => key 0x1::M::A {
│       => key 0x00000000000000000000000000000001::M::A {dummy_field: false}0x9000000000000000000000000000000:
│       => key 0x1::M::A {
│       => key 0x00000000000000000000000000000001::M::A {dummy_field: false}
│ 

cd language/tools/mirai-dataflow-analysis/tests
cargo test
error[E0658]: use of unstable library feature 'proc_macro_is_available'

cd language/tools/move-package/tests
cargo test
---- run_test::resolution/basic_no_deps_address_not_assigned_with_dev_assignment/Move.toml ----
Expected outputs differ for "tests/test_sources/resolution/basic_no_deps_address_not_assigned_with_dev_assignment/Move.exp":
ResolutionGraph {
    root_package_path: "tests/test_sources/resolution/basic_no_deps_address_not_assigned_with_dev_assignment",
    build_options: BuildConfig {
        dev_mode: true,
        test_mode: false,
        generate_docs: false,
        generate_abis: false,
        install_dir: Some(
            "ELIDED_FOR_TEST",
        ),
        force_recompilation: false,
        additional_named_addresses: {},
    },
    root_package: SourceManifest {
        package: PackageInfo {
            name: "test",
            version: (
                0,
                0,
                0,
            ),
            authors: [],
            license: None,
        },
        addresses: Some(
            {
                "A": None,
            },
        ),
        dev_address_assignments: Some(
            {
                "A": 00000000000000000000000000000001,
                "A": 0x00000000000000000000000000000001,
            },
        ),
        build: None,
        dependencies: {},
        dev_dependencies: {},
    },


cd language/move-vm/transactional-tests/tests
cargo test
task 2 'view'. lines 31-31:
key 0x1::M::R {
key 0x00000000000000000000000000000001::M::R {
    x: false
}

cd move-vm/integration-tests/src/tests
cargo test
Unexpected 'x2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a'        
               │  
           │          │  
            │                                  │     Unexpected 'x2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a'
        Unexpected 'x2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a'Expected '::'Unexpected 'x2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a' 
        
   Unexpected 'x2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a' 
    
 │    │Expected '::' 


cd language/move-ir-compiler/transactional-tests/tests
cargo test
task 5 'print-bytecode'. lines 38-46:
// Move bytecode v5
// Move bytecode v4
script {

Stack trace/error message

// Paste the output here

Expected Behavior

System information

Please complete the following information:

Additional context

Add any other context about the problem here.

@jiangying000
Copy link
Collaborator

language/tools/mirai-dataflow-analysis/tests is removed at 80e29d0, could be ignored

其他的我刚才测试了,都过了,应该可以关了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants