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

UNIT_AudioDecoder_TEST test disabled #3

Closed
osrf-migration opened this issue Sep 16, 2015 · 3 comments
Closed

UNIT_AudioDecoder_TEST test disabled #3

osrf-migration opened this issue Sep 16, 2015 · 3 comments
Labels
bug Something isn't working tests Broken or missing tests / testing infra

Comments

@osrf-migration
Copy link

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


It fails in drone and on my desktop (see also #2):

3: [==========] Running 6 tests from 1 test case.
3: [----------] Global test environment set-up.
3: [----------] 6 tests from AudioDecoder
3: [ RUN      ] AudioDecoder.FileNotSet
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:32: Failure
3: Value of: audio.Decode(&dataBuffer, &dataBufferSize)
3:   Actual: true
3: Expected: false
3: [  FAILED  ] AudioDecoder.FileNotSet (0 ms)
3: [ RUN      ] AudioDecoder.MissingFile
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:41: Failure
3: Value of: audio.Decode(&dataBuffer, &dataBufferSize)
3:   Actual: true
3: Expected: false
3: [  FAILED  ] AudioDecoder.MissingFile (0 ms)
3: [ RUN      ] AudioDecoder.BufferSizeInvalid
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:50: Failure
3: Value of: audio.SetFile(path)
3:   Actual: false
3: Expected: true
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:54: Failure
3: Value of: audio.Decode(&dataBuffer, dataBufferSize)
3:   Actual: true
3: Expected: false
3: [  FAILED  ] AudioDecoder.BufferSizeInvalid (1 ms)
3: [ RUN      ] AudioDecoder.DataBuffer
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:64: Failure
3: Value of: audio.SetFile(path)
3:   Actual: false
3: Expected: true
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:74: Failure
3: Value of: dataBufferSize
3:   Actual: 27
3: Expected: dataBufferSize2
3: Which is: 0
3: [  FAILED  ] AudioDecoder.DataBuffer (0 ms)
3: [ RUN      ] AudioDecoder.NoCodec
3: [       OK ] AudioDecoder.NoCodec (0 ms)
3: [ RUN      ] AudioDecoder.CheerFile
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:112: Failure
3: Value of: audio.SetFile(path)
3:   Actual: false
3: Expected: true
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:113: Failure
3: Value of: path
3:   Actual: "/home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/test/data/cheer.wav"
3: Expected: audio.GetFile()
3: Which is: ""
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:114: Failure
3: Value of: 48000
3: Expected: audio.GetSampleRate()
3: Which is: 0
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:117: Failure
3: Value of: 5428692u
3:   Actual: 5428692
3: Expected: dataBufferSize
3: Which is: 14431128
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:124: Failure
3: Value of: audio.SetFile(path)
3:   Actual: false
3: Expected: true
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:125: Failure
3: Value of: path
3:   Actual: "/home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/test/data/cheer.ogg"
3: Expected: audio.GetFile()
3: Which is: ""
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:126: Failure
3: Value of: 44100
3: Expected: audio.GetSampleRate()
3: Which is: 0
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:132: Failure
3: Value of: dataBufferSize == 4989184u || dataBufferSize == 4989184u * 2u
3:   Actual: false
3: Expected: true
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:139: Failure
3: Value of: audio.SetFile(path)
3:   Actual: false
3: Expected: true
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:140: Failure
3: Value of: path
3:   Actual: "/home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/test/data/cheer.mp3"
3: Expected: audio.GetFile()
3: Which is: ""
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:141: Failure
3: Value of: 44100
3: Expected: audio.GetSampleRate()
3: Which is: 0
3: /home/ubuntu/src/bitbucket.org/ignitionrobotics/ign-common/src/AudioDecoder_TEST.cc:144: Failure
3: Value of: 4995072u
3:   Actual: 4995072
3: Expected: dataBufferSize
3: Which is: 14431128
3: [  FAILED  ] AudioDecoder.CheerFile (2 ms)
3: [----------] 6 tests from AudioDecoder (5 ms total)
3: 
3: [----------] Global test environment tear-down
3: [==========] 6 tests from 1 test case ran. (6 ms total)
3: [  PASSED  ] 1 test.
3: [  FAILED  ] 5 tests, listed below:
3: [  FAILED  ] AudioDecoder.FileNotSet
3: [  FAILED  ] AudioDecoder.MissingFile
3: [  FAILED  ] AudioDecoder.BufferSizeInvalid
3: [  FAILED  ] AudioDecoder.DataBuffer
3: [  FAILED  ] AudioDecoder.CheerFile
3: 
3:  5 FAILED TESTS
 3/18 Test  #3: UNIT_AudioDecoder_TEST ...........***Failed    0.01 sec
@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


test disabled in pull request #7

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


  • changed title from "UNIT_AudioDecoder_TEST test failure" to "UNIT_AudioDecoder_TEST test disabled"

@osrf-migration osrf-migration added major bug Something isn't working labels Apr 15, 2020
@chapulina chapulina added tests Broken or missing tests / testing infra and removed major labels May 26, 2020
@mjcarroll
Copy link
Contributor

Test was re-enabled in #81

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

No branches or pull requests

3 participants