[Erics-MBP-2][ericxtang]-> bash test.sh
Testing core
? github.com/livepeer/lpms/core [no test files]
Testing vidplayer
E0430 12:48:45.262234 53379 player.go:62] Error getting stream: error
E0430 12:48:45.262380 53379 player.go:62] Error getting stream: error
PASS
ok github.com/livepeer/lpms/vidplayer 0.025s
Testing vidlistener
E0430 12:48:47.599966 53397 listener.go:48] Error RTMP gotStream handler: Should fail
E0430 12:48:47.600137 53397 basic_rtmp_videostream.go:112] Error reading packet from RTMP: read tcp [::1]:1938->[::1]:51735: use of closed network connection
PASS
ok github.com/livepeer/lpms/vidlistener 1.360s
Testing Stream
E0430 12:48:48.196688 53408 basic_hls_video_manifest.go:67] Variant with Bandwidth 10 and Resolution 10x10 already exists
I0430 12:48:48.196911 53408 basic_rtmp_videostream_test.go:84]
TestWriteBasicRTMP
I0430 12:48:48.299684 53408 basic_rtmp_videostream_test.go:123]
TestReadBasicRTMPError
I0430 12:48:48.299842 53408 basic_rtmp_videostream.go:42] RTMP stream got error: BadPacket
PASS
ok github.com/livepeer/lpms/stream 0.115s
Testing Transcoder
transcoder: Too many outputs
I0430 12:48:59.422307 53423 ffmpeg.go:68] Transcoder Return : Invalid argument
E0430 12:48:59.422429 53423 ffmpeg_segment_transcoder.go:28] Error transcoding: Invalid argument
No audio stream found in input
No video stream found in input
[mpegts @ 0x5801c00] frame size not set
demuxer: Unable to open input
transcoder: Unable to open input
I0430 12:49:01.314605 53423 ffmpeg.go:68] Transcoder Return : No such file or directory
E0430 12:49:01.314618 53423 ffmpeg_segment_transcoder.go:28] Error transcoding: No such file or directory
demuxer: Unable to open input
transcoder: Unable to open input
I0430 12:49:01.314827 53423 ffmpeg.go:68] Transcoder Return : Invalid data found when processing input
E0430 12:49:01.314878 53423 ffmpeg_segment_transcoder.go:28] Error transcoding: Invalid data found when processing input
[libx264 @ 0x6830800] height not divisible by 2 (852x479)
Error opening video encoder
transcoder: Unable to open output
I0430 12:49:01.329403 53423 ffmpeg.go:68] Transcoder Return : Generic error in an external library
E0430 12:49:01.329423 53423 ffmpeg_segment_transcoder.go:28] Error transcoding: Generic error in an external library
Error opening output file
transcoder: Unable to open output
I0430 12:49:01.344964 53423 ffmpeg.go:68] Transcoder Return : No such file or directory
E0430 12:49:01.344983 53423 ffmpeg_segment_transcoder.go:28] Error transcoding: No such file or directory
PASS
ok github.com/livepeer/lpms/transcoder 11.946s
Testing Segmener
[tcp @ 0x54026c0] Connection to tcp://localhost:19355 failed (Connection refused), trying next address
[tcp @ 0x54026c0] Connection to tcp://localhost:19355 failed: Connection refused
[rtmp @ 0x54005c0] Cannot open connection tcp://localhost:19355
segmenter: Unable to open input
I0430 12:49:06.045147 53449 ffmpeg.go:32] RTMP2HLS Transmux Return : Connection refused
segmenter: Unable to open input
I0430 12:49:06.150374 53449 ffmpeg.go:32] RTMP2HLS Transmux Return : Input/output error
--- FAIL: TestMissingKeyframe (0.02s)
video_segmenter_test.go:423: First video packet of test file was not a keyframe '' - <nil>
FAIL
exit status 1
FAIL github.com/livepeer/lpms/segmenter 3.120s
Testing FFmpeg
len: packets exceeded maximum
len: packets exceeded maximum
len: packets exceeded maximum
--- FAIL: TestLength (0.04s)
ffmpeg_test.go:23: Could not extract packet count from sample strconv.Atoi: parsing "": invalid syntax
ffmpeg_test.go:33: Could not extract timestamp from sample strconv.ParseFloat: parsing "": invalid syntax
ffmpeg_test.go:40: Media sanity check failed
FAIL
exit status 1
FAIL github.com/livepeer/lpms/ffmpeg 0.058s
Some Tests Failed
Created
April 30, 2018 16:49
-
-
Save ericxtang/12142e39fbdd1128e3aac909f2d64933 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment