{ "id": "175920", "key": "TIMOB-28295", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2020-12-18T15:45:54.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-01-05T15:54:17.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "The test for Ti.Media.AudioRecorder '#start, #pause, #resume, #stop' intermittently hangs on the Android 5.0.2 (api level 21) emulator on our CI boxes.\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/blob/master/tests/Resources/ti.media.audiorecorder.test.js#L27\r\n\r\nHere's the test output in one of the runs that hung there:\r\n{code}\r\n[2020-12-18T15:17:21.482Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":1,\"suite\":\"Titanium.Media\",\"title\":\"#createAudioPlayer()\",\"message\":\"\"}\r\n[2020-12-18T15:17:21.482Z] [INFO] : \b\b \b !TEST_START: apiName\r\n[2020-12-18T15:17:21.482Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":2,\"suite\":\"Titanium.Media.AudioPlayer\",\"title\":\"apiName\",\"message\":\"\"}\r\n[2020-12-18T15:17:21.482Z] [INFO] : \b\b \b !TEST_START: .url\r\n[2020-12-18T15:17:21.482Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":1,\"suite\":\"Titanium.Media.AudioPlayer\",\"title\":\".url\",\"message\":\"\"}\r\n[2020-12-18T15:17:21.482Z] [INFO] : \b\b \b !TEST_START: #start, #stop\r\n[2020-12-18T15:17:21.482Z] [ERROR] : \b\b \bMediaPlayer: Should have subtitle controller already set\r\n[2020-12-18T15:17:21.482Z] [ERROR] : \b\b \bMediaPlayer: Should have subtitle controller already set\r\n[2020-12-18T15:17:22.680Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":1082,\"suite\":\"Titanium.Media.AudioPlayer\",\"title\":\"#start, #stop\",\"message\":\"\"}\r\n[2020-12-18T15:17:22.680Z] [INFO] : \b\b \b !TEST_START: #pause\r\n[2020-12-18T15:17:22.680Z] [ERROR] : \b\b \bMediaPlayer: Should have subtitle controller already set\r\n[2020-12-18T15:17:22.680Z] [ERROR] : \b\b \bMediaPlayer: Should have subtitle controller already set\r\n[2020-12-18T15:17:23.509Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":1090,\"suite\":\"Titanium.Media.AudioPlayer\",\"title\":\"#pause\",\"message\":\"\"}\r\n[2020-12-18T15:17:23.509Z] [INFO] : \b\b \b !TEST_START: #restart\r\n[2020-12-18T15:17:23.509Z] [ERROR] : \b\b \bMediaPlayer: Should have subtitle controller already set\r\n[2020-12-18T15:17:23.509Z] [ERROR] : \b\b \bMediaPlayer: Should have subtitle controller already set\r\n[2020-12-18T15:17:24.707Z] [ERROR] : \b\b \bMediaPlayer: Should have subtitle controller already set\r\n[2020-12-18T15:17:24.707Z] [ERROR] : \b\b \bMediaPlayer: error (-38, 0)\r\n[2020-12-18T15:17:24.707Z] [ERROR] : \b\b \bMediaPlayer: start called in state 0\r\n[2020-12-18T15:17:24.707Z] [ERROR] : \b\b \bMediaPlayer: error (-38, 0)\r\n[2020-12-18T15:17:24.707Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":1127,\"suite\":\"Titanium.Media.AudioPlayer\",\"title\":\"#restart\",\"message\":\"\"}\r\n[2020-12-18T15:17:24.707Z] [ERROR] : \b\b \bMediaPlayer: Should have subtitle controller already set\r\n[2020-12-18T15:17:24.707Z] [ERROR] : \b\b \bMediaPlayer: Error (-38,0)\r\n[2020-12-18T15:17:24.707Z] [INFO] : \b\b \b !TEST_START: .duration\r\n[2020-12-18T15:17:24.707Z] [ERROR] : \b\b \bMediaPlayer: Should have subtitle controller already set\r\n[2020-12-18T15:17:24.707Z] [ERROR] : \b\b \bMediaPlayer: Should have subtitle controller already set\r\n[2020-12-18T15:17:25.905Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":1113,\"suite\":\"Titanium.Media.AudioPlayer\",\"title\":\".duration\",\"message\":\"\"}\r\n[2020-12-18T15:17:25.905Z] [INFO] : \b\b \b !TEST_START: #createAudioRecorder()\r\n[2020-12-18T15:17:25.905Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":0,\"suite\":\"Titanium.Media\",\"title\":\"#createAudioRecorder()\",\"message\":\"\"}\r\n[2020-12-18T15:17:25.905Z] [INFO] : \b\b \b !TEST_START: apiName\r\n[2020-12-18T15:17:25.905Z] [INFO] : \b\b \b !TEST_END: {\"state\":\"passed\",\"duration\":3,\"suite\":\"Titanium.Media.AudioRecorder\",\"title\":\"apiName\",\"message\":\"\"}\r\n[2020-12-18T15:17:25.905Z] [INFO] : \b\b \b !TEST_START: #start, #pause, #resume, #stop\r\n[2020-12-18T15:17:25.905Z] [INFO] : \b\b \b AudioRecorder.start()\r\n[2020-12-18T15:45:22.475Z] Sending interrupt signal to process\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Ti.Media.AudioRecorder start() test hangs", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "457972", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "This looks highly relevant: https://stackoverflow.com/questions/9008770/media-player-called-in-state-0-error-38-0", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2021-01-05T15:54:17.000+0000", "updated": "2021-01-05T15:54:17.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }