Skip to content

tests fail with board 'my_avr_platform' with 32-bit Intel host #255

Open
@andreasbaumann

Description

@andreasbaumann

go test arduino.cc/...

fails on 32-bit Intel with:

Warning: Board my_avr_platform:avr:mymega doesn't define a 'build.board' preference. Auto-set to: AVR_MYMEGA
Warning: Board my_symlinked_avr_platform:avr:mymega doesn't define a 'build.board' preference. Auto-set t
o: AVR_MYMEGA
Warning: Board my_symlinked_avr_platform:avr:mymega doesn't define a 'build.board' preference. Auto-set t
o: AVR_MYMEGA
...
--- FAIL: TestBuilderEmptySketch (0.00s)
        assertions.go:239: ^M                          ^M       Error Trace:    helper.go:72
                ^M                      ^M                      builder_test.go:74
                ^M      Error:          Received unexpected error:
                ^M                      stat /tmp/test_build_path564566314/core/HardwareSerial.cpp.o: no such file or directory
--- FAIL: TestBuilderBridge (0.00s)
        assertions.go:239: ^M                          ^M       Error Trace:    helper.go:72
                ^M                      ^M                      builder_test.go:99
                ^M      Error:          Received unexpected error:
                ^M                      stat /tmp/test_build_path582351489/core/HardwareSerial.cpp.o: no such file or directory
--- FAIL: TestBuilderSketchWithConfig (0.00s)
        assertions.go:239: ^M                          ^M       Error Trace:    helper.go:72
                ^M                      ^M                      builder_test.go:126
                ^M      Error:          Received unexpected error:
                ^M                      stat /tmp/test_build_path162130412/core/HardwareSerial.cpp.o: no such file or directory
--- FAIL: TestBuilderBridgeTwice (0.00s)
        assertions.go:239: ^M                          ^M       Error Trace:    helper.go:72
                ^M                      ^M                      builder_test.go:158
                ^M      Error:          Received unexpected error:
                ^M                      stat /tmp/test_build_path205896795/core/HardwareSerial.cpp.o: no such file or directory
--- FAIL: TestBuilderBridgeSAM (0.00s)
        assertions.go:239: ^M                          ^M       Error Trace:    helper.go:72
                ^M                      ^M                      builder_test.go:186
                ^M      Error:          Received unexpected error:
                ^M                      stat /tmp/test_build_path209285118/core/syscalls_sam3.c.o: no such file or directory
--- FAIL: TestBuilderBridgeRedBearLab (0.00s)
        assertions.go:239: ^M                          ^M       Error Trace:    helper.go:72
                ^M                      ^M                      builder_test.go:224
                ^M      Error:          Received unexpected error:
                ^M                      stat /tmp/test_build_path031066437/core/HardwareSerial.cpp.o: no such file or directory
--- FAIL: TestBuilderSketchNoFunctions (0.00s)
        assertions.go:239: ^M                          ^M       Error Trace:    builder_test.go:250
                ^M      Error:          An error is expected but got nil.
--- FAIL: TestBuilderSketchBuildPathContainsUnusedPreviouslyCompiledLibrary (0.00s)
        assertions.go:239: ^M                          ^M       Error Trace:    builder_test.go:313
                ^M      Error:          An error is expected but got nil.
--- FAIL: TestBuilderCacheCoreAFile (0.00s)
        assertions.go:239: ^M                          ^M       Error Trace:    builder_test.go:360
                ^M      Error:          Received unexpected error:
                ^M                      stat core_arduino_avr_uno_5a0232b855defa2754e82e47db0a2b8a.a: no such file or directory
...
Warning: Board my_avr_platform:avr:mymega doesn't define a 'build.board' preference. Auto-set to: AVR_MYMEGA
Warning: Board my_symlinked_avr_platform:avr:mymega doesn't define a 'build.board' preference. Auto-set to: AVR_MYMEGA
WARNING: Category '' in library SPI is not valid. Setting to 'Uncategorized'
Build options changed, rebuilding all
FAIL
FAIL    arduino.cc/builder/test 87.396s

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions