Closed Nitinvermaa closed 3 years ago
By default, Botium wait for 10 seconds for the chatbot to deliver an answer. This might be too short for Alexa.
You can increase this timeout with the WAITFORBOTTIMEOUT capability in botium.json.
As guided, I have made the changes in botium.json. Below how it looks.
botium.json content { "botium": { "Capabilities": { "PROJECTNAME": "Botium Project Alexa AVS", "CONTAINERMODE": "alexa-avs", "WAITFORBOTTIMEOUT": 50000, "ALEXA_AVS_AVS_CLIENT_ID": "amzn1.application-oa2-client.ce399dfcf5cf48958b66c5d4cd1b03", "ALEXA_AVS_AVS_CLIENT_SECRET": "53a7c2f016764402c4bcf53ce7e8a0f47026cb9a37dfa46bf2fb31e3ccf099", "ALEXA_AVS_AVS_REFRESH_TOKEN": "Atzr|IwEBILt183hD9ajSn5LcFSL-KAbigSQeEvGK7C9ZqcC7kDjWd7AbBx8XIZ5YQ3S2SaqCJc3DZOYXVB3qxpbX6BuN4WD7HfmmQmpOeRh56rQanDfbm9MXkpqNGpc5uADdxj30BDfdhew8mvLcoN7YPvEjzWABJEPAXY-4jTqU1Ba44XhP0Lr5hOn9fJojfeIa8FzrEm2UUziwgiyMLw13ODG2pvlJJVEJBalwZn-g-tapMcKG5gR7B6vxb8UFYL3Ex9oYz5lC3vpKehTDFWFQ8n1g4GZ7QuAW36K_1Mbk9K-OBx-UR1B_4flkAO9sUddZR03BqvCxXenpdgdZgGE9Rz__Btq0n15Ym1i0A4Gb_cBy0I-cEpNE9HDsUZkoAR-2xv7k", "ALEXA_AVS_AVS_LANGUAGE_CODE": "en-US", "ALEXA_AVS_TTS": "AMAZON_POLLY", "ALEXA_AVS_TTS_AMAZON_POLLY_REGION": "us-east-1", "ALEXA_AVS_TTS_AMAZON_POLLY_ACCESS_KEY_ID": "AKIAZYOFOBNZRDUP", "ALEXA_AVS_TTS_AMAZON_POLLY_SECRET_ACCESS_KEY": "jTuAUFmtQte4LfG0Qoj6IVuHS+E0kh1qJ3XVBmw", "ALEXA_AVS_TTS_AMAZON_POLLY_LANGUAGE_CODE": "en-US", "ALEXA_AVS_STT": "AMAZON_TRANSCRIBE", "ALEXA_AVS_STT_AMAZON_TRANSCRIBE_REGION": "us-east-1", "ALEXA_AVS_STT_AMAZON_TRANSCRIBE_ACCESS_KEY_ID": "AKIAZYOFOBEB32NZRDUP", "ALEXA_AVS_STT_AMAZON_TRANSCRIBE_SECRET_ACCESS_KEY": "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", "ALEXA_AVS_STT_AMAZON_TRANSCRIBE_LANGUAGE_CODE": "en-US", "ALEXA_AVS_STT_AMAZON_TRANSCRIBE_BUCKET_NAME": "nitinimagerekognition" } } }
But still I'm receiving the same issue.
alexa-voice-app-testing@1.0.0 mocha C:\RelianceHealthhubProject\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing mocha spec
Botium Project Alexa AVS 1) Ask Alexa for doctor connect
0 passing (57s) 1 failing
1) Botium Project Alexa AVS Ask Alexa for doctor connect: Error: Ask Alexa for doctor connect/Line 5: error waiting for bot - Bot did not respond within 50000 ms ######################################## Ask Alexa for doctor connect/Line 5: error waiting for bot - Bot did not respond within 50000 ms ------------ TRANSCRIPT ----------------------------
at BotiumBindings.wrapBotiumError (node_modules\botium-bindings\src\BotiumBindings.js:77:14)
at C:\RelianceHealthhubProject\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\node_modules\botium-bindings\src\BotiumBindings.js:134:33
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! alexa-voice-app-testing@1.0.0 mocha: mocha spec
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the alexa-voice-app-testing@1.0.0 mocha script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\nitin.verma\AppData\Roaming\npm-cache_logs\2021-03-19T07_40_37_196Z-debug.log
Where in S3 bucket json is created with the response. Below is the content of it.
{"jobName":"to-transcribe-job-7939y7l1w8","accountId":"670965827843","results":{"transcripts":[{"transcript":"he? Nathan. Welcome to Dr Connect. How may I assist you?"}],"items":[{"start_time":"0.04","end_time":"0.38","alternatives":[{"confidence":"1.0","content":"he"}],"type":"pronunciation"},{"alternatives":[{"confidence":"0.0","content":"?"}],"type":"punctuation"},{"start_time":"0.38","end_time":"0.98","alternatives":[{"confidence":"0.9923","content":"Nathan"}],"type":"pronunciation"},{"alternatives":[{"confidence":"0.0","content":"."}],"type":"punctuation"},{"start_time":"1.19","end_time":"1.68","alternatives":[{"confidence":"1.0","content":"Welcome"}],"type":"pronunciation"},{"start_time":"1.68","end_time":"1.8","alternatives":[{"confidence":"0.9952","content":"to"}],"type":"pronunciation"},{"start_time":"1.8","end_time":"2.16","alternatives":[{"confidence":"0.6921","content":"Dr"}],"type":"pronunciation"},{"start_time":"2.16","end_time":"2.56","alternatives":[{"confidence":"0.9991","content":"Connect"}],"type":"pronunciation"},{"alternatives":[{"confidence":"0.0","content":"."}],"type":"punctuation"},{"start_time":"2.56","end_time":"2.77","alternatives":[{"confidence":"1.0","content":"How"}],"type":"pronunciation"},{"start_time":"2.77","end_time":"2.98","alternatives":[{"confidence":"1.0","content":"may"}],"type":"pronunciation"},{"start_time":"2.98","end_time":"3.04","alternatives":[{"confidence":"1.0","content":"I"}],"type":"pronunciation"},{"start_time":"3.04","end_time":"3.48","alternatives":[{"confidence":"1.0","content":"assist"}],"type":"pronunciation"},{"start_time":"3.48","end_time":"3.76","alternatives":[{"confidence":"0.9999","content":"you"}],"type":"pronunciation"},{"alternatives":[{"confidence":"0.0","content":"?"}],"type":"punctuation"}]},"status":"COMPLETED"}
Is something I'm doing wrong. Please help me.
Regards, Nitin Verma
Can you enable the verbose logging and post the output here.
https://botium-docs.readthedocs.io/en/latest/08_troubleshooting/index.html#enable-logging
I have added below line into script section of package.json
"start": "set DEBUG=botium* & mocha spec" and executed the npm start
PS C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing> npm start
alexa-voice-app-testing@1.0.0 start C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing set DEBUG=botium* & mocha spec
botium-bindings-main Botium Bindings args: { botium-bindings-main convodirs: [ 'spec\convo' ], botium-bindings-main expandConvos: true, botium-bindings-main expandUtterancesToConvos: false, botium-bindings-main expandScriptingMemoryToConvos: false botium-bindings-main } +0ms botium-core-BotDriver Loaded Botium configuration files C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\botium.json +0ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) found filenames: doctor.convo.txt +0ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) found convos: botium-core-ScriptingProvider 1 Ask Alexa for doctor connect ({ convoDir: 'spec\convo', filename: 'doctor.convo.txt' }): Line 2: #me - Alexa, ask doctor connect | Line 5: #bot - he? Nathan, welcome to doctor connect how may i assist you +6ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) found utterances: botium-core-ScriptingProvider none +1ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) found partial convos: botium-core-ScriptingProvider none +1ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) scripting memories: botium-core-ScriptingProvider none +1ms botium-core-ScriptingProvider ExpandConvos - Using utterances expansion mode: all +0ms botium-bindings-main ready reading convos and utterances, number of test cases: (1). +414ms botium-bindings-main adding test case 1 Ask Alexa for doctor connect +0ms
Botium Project Alexa AVS
botium-core-BotDriver Build - Botium Core Version: 1.11.1 +420ms
botium-core-BotDriver Build - Capabilites: {
botium-core-BotDriver PROJECTNAME: 'Botium Project Alexa AVS',
botium-core-BotDriver TESTSESSIONNAME: 'Botium Test Session',
botium-core-BotDriver TESTCASENAME: 'Botium Test Case',
botium-core-BotDriver TEMPDIR: 'botiumwork',
botium-core-BotDriver CLEANUPTEMPDIR: true,
botium-core-BotDriver WAITFORBOTTIMEOUT: 30000,
botium-core-BotDriver SIMULATE_WRITING_SPEED: false,
botium-core-BotDriver SIMPLEREST_PING_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_PING_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_PING_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_PING_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_STOP_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_STOP_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_STOP_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_START_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_START_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_START_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_POLL_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_POLL_INTERVAL: 1000,
botium-core-BotDriver SIMPLEREST_POLL_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_METHOD: 'GET',
botium-core-BotDriver SIMPLEREST_IGNORE_EMPTY: true,
botium-core-BotDriver SIMPLEREST_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_EXTRA_OPTIONS: {},
botium-core-BotDriver SIMPLEREST_STRICT_SSL: true,
botium-core-BotDriver SIMPLEREST_INBOUND_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_CONTEXT_MERGE_OR_REPLACE: 'MERGE',
botium-core-BotDriver SCRIPTING_TXT_EOL: '\n',
botium-core-BotDriver SCRIPTING_XLSX_EOL_WRITE: '\r\n',
botium-core-BotDriver SCRIPTING_XLSX_HASHEADERS: true,
botium-core-BotDriver SCRIPTING_CSV_SKIP_HEADER: true,
botium-core-BotDriver SCRIPTING_CSV_QUOTE: '"',
botium-core-BotDriver SCRIPTING_CSV_ESCAPE: '"',
botium-core-BotDriver SCRIPTING_NORMALIZE_TEXT: true,
botium-core-BotDriver SCRIPTING_ENABLE_MEMORY: false,
botium-core-BotDriver SCRIPTING_ENABLE_MULTIPLE_ASSERT_ERRORS: false,
botium-core-BotDriver SCRIPTING_MATCHING_MODE: 'wildcardIgnoreCase',
botium-core-BotDriver SCRIPTING_UTTEXPANSION_MODE: 'all',
botium-core-BotDriver SCRIPTING_UTTEXPANSION_RANDOM_COUNT: 1,
botium-core-BotDriver SCRIPTING_UTTEXPANSION_NAMING_MODE: 'justLineTag',
botium-core-BotDriver SCRIPTING_UTTEXPANSION_NAMING_UTTERANCE_MAX: '16',
botium-core-BotDriver SCRIPTING_MEMORYEXPANSION_KEEP_ORIG: false,
botium-core-BotDriver ASSERTERS: [],
botium-core-BotDriver LOGIC_HOOKS: [],
botium-core-BotDriver USER_INPUTS: [],
botium-core-BotDriver SECURITY_ALLOW_UNSAFE: true,
botium-core-BotDriver CONTAINERMODE: 'alexa-avs',
botium-core-BotDriver ALEXA_AVS_AVS_CLIENT_ID: 'amzn1.application-oa2-client.ce399dfcf5cf48958b66c5d0c4cd1b03',
botium-core-BotDriver ALEXA_AVS_AVS_CLIENT_SECRET: '53a7c2f016764402f6c4bcf53ce7e8a0f47026cb9a37dfa46bf2fb31e3ccf099',
botium-core-BotDriver ALEXA_AVS_AVS_REFRESH_TOKEN: 'Atzr|IwEBIPZcRHTAcpGsE40ZyN_nBVFdfsnyvEibkT86t3VL50T6n1VJMEIgJ0aKvyAm2xvBOwQW0J4ybg8UFRkriH8EiU0KvjYqLQUwL2vJEOjWn9o-D_whO45apRFDHslLPVbvjTDOjmHJaZUPEdbApfu4-wpPmvOSfrw6B5enmqT7XcXeRz7t_178QpOzSTMdQXQoY-H4-ceyh7ZkKjvuTJtpJNLFQeGTmG8L1LB_4Z9H-sCIe6c79vN4IFLdWD_Mu2sEv1t7IpEJgfu1Dvxf29WB8zX2yDJgjTrOpNkwYGEXYzNP559YmXoxgC9JAosBKkuaaawrW9O7s9H-XorVzmEtKF-5gv90ndy8edLI-RxGV2GwPW_tYPlQxL4bwRzNtPwxWOE',
botium-core-BotDriver ALEXA_AVS_AVS_LANGUAGE_CODE: 'en-US',
botium-core-BotDriver ALEXA_AVS_TTS: 'AMAZON_POLLY',
botium-core-BotDriver ALEXA_AVS_TTS_AMAZON_POLLY_REGION: 'us-east-1',
botium-core-BotDriver ALEXA_AVS_TTS_AMAZON_POLLY_ACCESS_KEY_ID: 'AKIAZYOFB32NZRDUP',
botium-core-BotDriver ALEXA_AVS_TTS_AMAZON_POLLY_SECRET_ACCESS_KEY: 'jTuAUFmtQte4LfG0Qnoj6IVuHS+E01qJVBmw',
botium-core-BotDriver ALEXA_AVS_TTS_AMAZON_POLLY_LANGUAGE_CODE: 'en-US',
botium-core-BotDriver ALEXA_AVS_STT: 'AMAZON_TRANSCRIBE',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_REGION: 'us-east-1',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_ACCESS_KEY_ID: 'AKIAZYOFO2NZRDUP',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_SECRET_ACCESS_KEY: 'jTuAUFmtQte4LfG0Qnoj6IVuHS+E0kh1mw',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_LANGUAGE_CODE: 'en-US',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_BUCKET_NAME: 'nitinimagerekognition'
botium-core-BotDriver } +1ms
botium-core-BotDriver Build - Sources : { LOCALPATH: '.', GITPATH: 'git', GITBRANCH: 'master', GITDIR: '.' } +6ms
botium-core-BotDriver Build - Envs : { IS_BOTIUM_CONTAINER: true } +1ms
botium-connector-PluginConnectorContainer-helper Botium plugin botium-connector-alexa-avs loaded. Plugin version is
0.0.12 +0ms
botium-connector-alexa-avs-main Validate called +0ms
botium-connector-alexa-avs-avs Validate called +0ms
botium-connector-alexa-avs-main Build called +1s
botium-connector-alexa-avs-avs Build called +38ms
botium-connector-alexa-avs-avs Access token acquired +1s
botium-connector-alexa-avs-avs AVS http2-client created +3ms
botium-connector-alexa-avs-avs Downchannel created {
botium-connector-alexa-avs-avs ':method': 'GET',
botium-connector-alexa-avs-avs ':scheme': 'https',
botium-connector-alexa-avs-avs ':path': '/v20160207/directives',
botium-connector-alexa-avs-avs authorization: 'Bearer Atza|IwEBIJfx-WWyVR2_4m-67f6OWI3TtaPOWUaBPTFksGMvS6NUByG8VrFflCgZd8GbMRUlSHEsLkPpzv0w9JF7XhMtk8loHYXrfkZYjFKC2YoMuAT3CjiCT3vaxS2Dk9SNS_wgeyTkQCxRHcMFC8J8Kpy-Ba6rdFGlwPSRA8E_NQAXB78c4REHQ25BUVlVg8fmNiaif88RtOVF2pM5-6ILBKyDYKulKroZEcGIU11idJbcr1VRx5MxhHvyXCCiYfNyGlA0aXD896GNVwyIhJiWRAifm60kbsJQ03gm4IIZWslSxxYHUxEmy279CkzSlgcjJ1nRyOT6RTOp1UpJ3aubGn2y9v4W-rdza3xGRJP7wcjt2BmtnbA3XEMqlQTeyMxXmRke0'
botium-connector-alexa-avs-avs } +1ms
botium-connector-alexa-avs-avs Downchannel create status: {
botium-connector-alexa-avs-avs ":status": 200,
botium-connector-alexa-avs-avs "access-control-allow-headers": "authorization,x-amz-access-token",
botium-connector-alexa-avs-avs "access-control-allow-origin": "",
botium-connector-alexa-avs-avs "content-type": "multipart/related; boundary=------abcde123; type=application/json",
botium-connector-alexa-avs-avs "x-amzn-requestid": ""
botium-connector-alexa-avs-avs } +707ms
botium-connector-alexa-avs-avs Downchannel data received --------abcde123
botium-connector-alexa-avs-avs +1ms
botium-connector-alexa-avs-main Start called +2s
botium-connector-alexa-avs-stt-amazon-transcribe Start called +0ms
botium-connector-alexa-avs-avs Start called +3ms
botium-bindings-main running testcase1 Ask Alexa for doctor connect +4s
botium-core-Convo Ask Alexa for doctor connect/Line 2: user says (cleaned by binary and base64 data and sourceData)
{
botium-core-Convo "sender": "me",
botium-core-Convo "channel": null,
botium-core-Convo "not": false,
botium-core-Convo "optional": false,
botium-core-Convo "messageText": "Alexa, ask doctor connect",
botium-core-Convo "media": null,
botium-core-Convo "buttons": null,
botium-core-Convo "cards": null,
botium-core-Convo "forms": null,
botium-core-Convo "attachments": null,
botium-core-Convo "asserters": [],
botium-core-Convo "userInputs": [],
botium-core-Convo "logicHooks": []
botium-core-Convo } +0ms
botium-connector-alexa-avs-main UserSays called: Alexa, ask doctor connect +7ms
botium-connector-alexa-avs-main User text "Alexa, ask doctor connect" converting to speech... +0ms
botium-connector-alexa-avs-tts-amazon-polly Synthesize called +0ms
botium-connector-alexa-avs-tts-amazon-polly Synthesize finised +3s
botium-connector-alexa-avs-main User text "Alexa, ask doctor connect" conversion to speech succeeded +3s
botium-connector-alexa-avs-main Alexa answering... +1ms
botium-connector-alexa-avs-avs UserSays called +3s
botium-connector-alexa-avs-http2 HTTP2 request {
botium-connector-alexa-avs-http2 ":method": "POST",
botium-connector-alexa-avs-http2 ":scheme": "https",
botium-connector-alexa-avs-http2 ":path": "/v20160207/events",
botium-connector-alexa-avs-http2 "authorization": "Bearer Atza|IwEBIJfx-WWyVR2_4m-67f6OWI3TtaPOWUaBPTFksGMvS6NUByG8VrFflCgZd8GbMRUlSHEsLkPpzv0w9JF7XhMtk8loHYXrfkZYjFKC2YoMuAT3CjiCT3vaxS2Dk9SNS_wgeyTkQCxRHcMFC8J8Kpy-Ba6rdFGlwPSRA8E_NQAXB78cRo4REHQ25BUVlVg8fmNiaif88RtOVF2pM5-6ILBKyDYKulKroZEcGIU11idJbcr1VRx5MxhHvyXCCiYfNyGlA0aXD896VwyIhJiWRAifm60kbsJQ03gm4IIZWslSxxYHUxEmy279CkzSlgcjJ1nRyOT6RTOp1UpJ3aubGn2y9v4W-rdza3xGRJP7wcjt2BmtnbA3XEMqlQTeyMxXmRke0",
botium-connector-alexa-avs-http2 "content-type": "multipart/form-data; boundary=--------------------------993494352868557346561733"
botium-connector-alexa-avs-http2 } +0ms
botium-connector-alexa-avs-avs Downchannel data received Content-Type: application/json
botium-connector-alexa-avs-avs
botium-connector-alexa-avs-avs {"directive":{"header":{"namespace":"SpeechRecognizer","name":"StopCapture","messageId":"69ed5b7b-b072-4315-af46-5db941e4e02a","dialogRequestId":"eb8bed20-8896-11eb-bf78-1b82ff64f38a"},"payload":{}}}
botium-connector-alexa-avs-avs --------abcde123
botium-connector-alexa-avs-avs +2s
botium-connector-alexa-avs-http2 HTTP2 request to /v20160207/events got response: {
botium-connector-alexa-avs-http2 ":status": 200,
botium-connector-alexa-avs-http2 "x-amzn-requestid": "2da637ac-9302-4857-853d-0747c4789065, 0a8715fffefead6b-00016bb6-002665f8-9262b5ae1d98a6e3-1b0ece17-3",
botium-connector-alexa-avs-http2 "content-type": "multipart/related; boundary=------abcde123; start=metadata.1616091704999; type=\"application/json\"",
botium-connector-alexa-avs-http2 "access-control-allow-origin": ""
botium-connector-alexa-avs-http2 } +3s
botium-connector-alexa-avs-avs UserSays response, multipart 0 Body:
botium-connector-alexa-avs-avs {"directive":{"header":{"namespace":"SpeechSynthesizer","name":"Speak","messageId":"69567baf-de35-4ebc-a86d-4e4c742e007d","dialogRequestId":"eb8bed20-8896-11eb-bf78-1b82ff64f38a"},"payload":{"url":"cid:ValidatedSpeakDirective_amzn1.ask.skill.57732bed-73c7-4caf-b5fa-5c50a3ef5b20_57017509-eb00-43e6-ad5b-236d0b352725_VoiceInitiated_2079468092","format":"AUDIO_MPEG","token":"amzn1.as-ct.v1.ThirdPartySdkSpeechlet#ACRI#ValidatedSpeakDirective_amzn1.ask.skill.57732bed-73c7-4caf-b5fa-5c50a3ef5b20_57017509-eb00-43e6-ad5b-236d0b352725_VoiceInitiated#ACRI#[[ENCRYPTED_WITH_AlexaServiceKeyMasterUtil]]AAAAAAAAAQDeSB+/wWJXcSC/uG2sBHTVUAAAAAAAAABjQhrf+NcdmjSwtCpsRhWR0ebzFZM7mM3vjfJu92LKu8lrzDV+YILgaGe1dX5FqJKqna2tTlimNXavzo9TyCoSC7tvVGbO5noMhxmxJbQ=="}}}
botium-connector-alexa-avs-avs +1s
botium-connector-alexa-avs-avs UserSays response, multipart 1: {
botium-connector-alexa-avs-avs headers: {
botium-connector-alexa-avs-avs 'Content-ID': '
0 passing (40s) 1 failing
1) Botium Project Alexa AVS Ask Alexa for doctor connect: Error: Ask Alexa for doctor connect/Line 5: error waiting for bot - Bot did not respond within 30000 ms ######################################## Ask Alexa for doctor connect/Line 5: error waiting for bot - Bot did not respond within 30000 ms ------------ TRANSCRIPT ----------------------------
at BotiumBindings.wrapBotiumError (node_modules\botium-bindings\src\BotiumBindings.js:77:14)
at C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\node_modules\botium-bindings\src\BotiumBindings.js:134:33
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! alexa-voice-app-testing@1.0.0 start: set DEBUG=botium* & mocha spec
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the alexa-voice-app-testing@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\nitin.verma\AppData\Roaming\npm-cache_logs\2021-03-19T09_39_27_554Z-debug.log
Thanks for the detailed log output, it helped to find and fix the issue. The latest Github commit has the fix, but it may take some time for this to be part of the release. In the meanwhile you can install the Botium AVS connector directly from Github:
npm install codeforequity-at/botium-connector-alexa-avs#master
Thanks it worked, below is the log. PS C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing> npm start
alexa-voice-app-testing@1.0.0 start C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing set DEBUG=botium* & mocha spec
botium-bindings-main Botium Bindings args: { botium-bindings-main convodirs: [ 'spec\convo' ], botium-bindings-main expandConvos: true, botium-bindings-main expandUtterancesToConvos: false, botium-bindings-main expandScriptingMemoryToConvos: false botium-bindings-main } +0ms botium-core-BotDriver Loaded Botium configuration files C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\botium.json +0ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) found filenames: doctor.convo.txt +0ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) found convos: botium-core-ScriptingProvider 1 Ask Alexa for doctor connect ({ convoDir: 'spec\convo', filename: 'doctor.convo.txt' }): Line 2:
botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) found utterances: botium-core-ScriptingProvider none +0ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) found partial convos: botium-core-ScriptingProvider none +1ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) scripting memories: botium-core-ScriptingProvider none +0ms botium-core-ScriptingProvider ExpandConvos - Using utterances expansion mode: all +1ms botium-bindings-main ready reading convos and utterances, number of test cases: (1). +409ms botium-bindings-main adding test case 1 Ask Alexa for doctor connect +1ms
Botium Project Alexa AVS
botium-core-BotDriver Build - Botium Core Version: 1.11.1 +420ms
botium-core-BotDriver Build - Capabilites: {
botium-core-BotDriver PROJECTNAME: 'Botium Project Alexa AVS',
botium-core-BotDriver TESTSESSIONNAME: 'Botium Test Session',
botium-core-BotDriver TESTCASENAME: 'Botium Test Case',
botium-core-BotDriver TEMPDIR: 'botiumwork',
botium-core-BotDriver CLEANUPTEMPDIR: true,
botium-core-BotDriver WAITFORBOTTIMEOUT: 40000,
botium-core-BotDriver SIMULATE_WRITING_SPEED: false,
botium-core-BotDriver SIMPLEREST_PING_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_PING_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_PING_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_PING_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_STOP_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_STOP_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_STOP_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_START_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_START_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_START_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_POLL_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_POLL_INTERVAL: 1000,
botium-core-BotDriver SIMPLEREST_POLL_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_METHOD: 'GET',
botium-core-BotDriver SIMPLEREST_IGNORE_EMPTY: true,
botium-core-BotDriver SIMPLEREST_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_EXTRA_OPTIONS: {},
botium-core-BotDriver SIMPLEREST_STRICT_SSL: true,
botium-core-BotDriver SIMPLEREST_INBOUND_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_CONTEXT_MERGE_OR_REPLACE: 'MERGE',
botium-core-BotDriver SCRIPTING_TXT_EOL: '\n',
botium-core-BotDriver SCRIPTING_XLSX_EOL_WRITE: '\r\n',
botium-core-BotDriver SCRIPTING_XLSX_HASHEADERS: true,
botium-core-BotDriver SCRIPTING_CSV_SKIP_HEADER: true,
botium-core-BotDriver SCRIPTING_CSV_QUOTE: '"',
botium-core-BotDriver SCRIPTING_CSV_ESCAPE: '"',
botium-core-BotDriver SCRIPTING_NORMALIZE_TEXT: true,
botium-core-BotDriver SCRIPTING_ENABLE_MEMORY: false,
botium-core-BotDriver SCRIPTING_ENABLE_MULTIPLE_ASSERT_ERRORS: false,
botium-core-BotDriver SCRIPTING_MATCHING_MODE: 'wildcardIgnoreCase',
botium-core-BotDriver SCRIPTING_UTTEXPANSION_MODE: 'all',
botium-core-BotDriver SCRIPTING_UTTEXPANSION_RANDOM_COUNT: 1,
botium-core-BotDriver SCRIPTING_UTTEXPANSION_NAMING_MODE: 'justLineTag',
botium-core-BotDriver SCRIPTING_UTTEXPANSION_NAMING_UTTERANCE_MAX: '16',
botium-core-BotDriver SCRIPTING_MEMORYEXPANSION_KEEP_ORIG: false,
botium-core-BotDriver ASSERTERS: [],
botium-core-BotDriver LOGIC_HOOKS: [],
botium-core-BotDriver USER_INPUTS: [],
botium-core-BotDriver SECURITY_ALLOW_UNSAFE: true,
botium-core-BotDriver CONTAINERMODE: 'alexa-avs',
botium-core-BotDriver ALEXA_AVS_AVS_CLIENT_ID: 'amzn1.application-oa2-client.ce399dfcf5cf48958b66c5d0c4cd1b03',
botium-core-BotDriver ALEXA_AVS_AVS_CLIENT_SECRET: '53a7c2f016764402f6c4bcf53ce7e8a0f47026cb9a37dfa46bf2fb31e3ccf099',
botium-core-BotDriver ALEXA_AVS_AVS_REFRESH_TOKEN: 'Atzr|IwEBIFbPddglY-6qH4jV9NzRH-ge5Q1W3k7IiY2YtYWvtNKmwFxj8i-wy2EzdC7_OJWbUk-MOHN_3DFlXzyZjdQzRmhYuxqWDsNMDh-5-ip7hjdPV6-CHAI9gniJoqxafqRjJhBsoTM66UVfoR3DodTujrUcVaZlU7UOVu2mKDLKDXWYG4AhvCO0d8fRUoQvUdanGb4QbxcLF_kRNiipoCzISvBfB6H7wIscJjSbAfe6QlcHgshZ3Fx2f_2q_wfP467x5e7qCmfcvpCsMrWPTZohZSBxSnAB_OT584ANdMHOK24pKapmScebOxh3NHkZiJtRv_qyDBCFh3OlX04GWyTKY-hn88iD2VHt7e52w7lBrd3LPSgF_zC95MniAL6AE4Mo0',
botium-core-BotDriver ALEXA_AVS_AVS_LANGUAGE_CODE: 'en-US',
botium-core-BotDriver ALEXA_AVS_TTS: 'AMAZON_POLLY',
botium-core-BotDriver ALEXA_AVS_TTS_AMAZON_POLLY_REGION: 'us-east-1',
botium-core-BotDriver ALEXA_AVS_TTS_AMAZON_POLLY_ACCESS_KEY_ID: 'AKIAZYOFOBEB32NZRDUP',
botium-core-BotDriver ALEXA_AVS_TTS_AMAZON_POLLY_SECRET_ACCESS_KEY: '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',
botium-core-BotDriver ALEXA_AVS_TTS_AMAZON_POLLY_LANGUAGE_CODE: 'en-US',
botium-core-BotDriver ALEXA_AVS_STT: 'AMAZON_TRANSCRIBE',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_REGION: 'us-east-1',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_ACCESS_KEY_ID: 'AKIAZYOFOBEB32NZRDUP',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_SECRET_ACCESS_KEY: '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',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_LANGUAGE_CODE: 'en-US',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_BUCKET_NAME: 'nitinimagerekognition'
botium-core-BotDriver } +3ms
botium-core-BotDriver Build - Sources : { LOCALPATH: '.', GITPATH: 'git', GITBRANCH: 'master', GITDIR: '.' } +8ms
botium-core-BotDriver Build - Envs : { IS_BOTIUM_CONTAINER: true } +0ms
botium-connector-PluginConnectorContainer-helper Botium plugin botium-connector-alexa-avs loaded. Plugin version is 0.0.12 +0ms
botium-connector-alexa-avs-main Validate called +0ms
botium-connector-alexa-avs-avs Validate called +0ms
botium-connector-alexa-avs-main Build called +1s
botium-connector-alexa-avs-avs Build called +33ms
botium-connector-alexa-avs-avs Access token acquired +1s
botium-connector-alexa-avs-avs AVS http2-client created +2ms
botium-connector-alexa-avs-avs Downchannel created {
botium-connector-alexa-avs-avs ':method': 'GET',
botium-connector-alexa-avs-avs ':scheme': 'https',
botium-connector-alexa-avs-avs ':path': '/v20160207/directives',
botium-connector-alexa-avs-avs authorization: 'Bearer Atza|IwEBILiMGmIzyIQKQyDeri9zQlXTRr9p6dnJANYD1kf7H_TngTMAb_Sd9FLi5eCTiqq1GBnjVp7uChtfb7iA1fQoQUmjT8_hQtjhy7bAwLCF_jSRUTt-TjIo2ZGeSlEIKbrt3_TlRJeOhwfvyCqd8QxtmZiLnzYHx_otZjGgL-ll1h9QFOglIMjbWnS7GHzwYevw8EcrjDvMgWhjrdBaDbF0n-xV1ZsxscsutYUGldUZ5qmcWNkWxDCENa1lBX1Uy2GIU-Qc22LOcofYr5U64yINiuCaedxL7IcYI975ysPsTJwK-WaIS7kz5zu8Y9E7TG3evX0HsMM-sjFsW9fuFlVAC9HxS_NUmdM4gXZNIXYirT2m3SfzPT1nWRFUdGrJqWmn9oo'
botium-connector-alexa-avs-avs } +1ms
botium-connector-alexa-avs-avs Downchannel create status: {
botium-connector-alexa-avs-avs ":status": 200,
botium-connector-alexa-avs-avs "access-control-allow-headers": "authorization,x-amz-access-token",
botium-connector-alexa-avs-avs "access-control-allow-origin": "",
botium-connector-alexa-avs-avs "content-type": "multipart/related; boundary=------abcde123; type=application/json",
botium-connector-alexa-avs-avs "x-amzn-requestid": ""
botium-connector-alexa-avs-avs } +683ms
botium-connector-alexa-avs-avs Downchannel data received --------abcde123
botium-connector-alexa-avs-avs +1ms
botium-connector-alexa-avs-main Start called +2s
botium-connector-alexa-avs-stt-amazon-transcribe Start called +0ms
botium-connector-alexa-avs-avs Start called +3ms
botium-bindings-main running testcase1 Ask Alexa for doctor connect +3s
botium-core-Convo Ask Alexa for doctor connect/Line 2: user says (cleaned by binary and base64 data and sourceData) {
botium-core-Convo "sender": "me",
botium-core-Convo "channel": null,
botium-core-Convo "not": false,
botium-core-Convo "optional": false,
botium-core-Convo "messageText": "Alexa, ask doctor connect",
botium-core-Convo "media": null,
botium-core-Convo "buttons": null,
botium-core-Convo "cards": null,
botium-core-Convo "forms": null,
botium-core-Convo "attachments": null,
botium-core-Convo "asserters": [],
botium-core-Convo "userInputs": [],
botium-core-Convo "logicHooks": []
botium-core-Convo } +0ms
botium-connector-alexa-avs-main UserSays called: Alexa, ask doctor connect +7ms
botium-connector-alexa-avs-main User text "Alexa, ask doctor connect" converting to speech... +1ms
botium-connector-alexa-avs-tts-amazon-polly Synthesize called +0ms
botium-connector-alexa-avs-tts-amazon-polly Synthesize finised +2s
botium-connector-alexa-avs-main User text "Alexa, ask doctor connect" conversion to speech succeeded +2s
botium-connector-alexa-avs-main Alexa answering... +1ms
botium-connector-alexa-avs-avs UserSays called +2s
botium-connector-alexa-avs-http2 HTTP2 request {
botium-connector-alexa-avs-http2 ":method": "POST",
botium-connector-alexa-avs-http2 ":scheme": "https",
botium-connector-alexa-avs-http2 ":path": "/v20160207/events",
botium-connector-alexa-avs-http2 "authorization": "Bearer Atza|IwEBILiMGmIzyIQKQyDeri9zQlXTRr9p6dnJANYD1kf7H_TngTMAb_Sd9FLi5eCTiqq1GBnjVp7uChtfb7iA1fQoQUmjT8_hQtjhy7bAwLCF_jSRUTt-TjIo2ZGeSlEIKbrt3_TlRJeOhwfvyCqd8QxtmZiLnzYHx_otZjGgL-ll1h9QFOglIMjbWnS7GHzwYevw8EcrjDvMgWhjrdBaDbF0n-xV1ZsxscsutYUGldUZ5qmcWNkWxDCENa1lBX1Uy2GIU-Qc22LOcofYr5U64yINiuCaedxL7IcYI975ysPsTJwK-WaIS7kz5zu8Y9E7TG3evX0HsMM-sjFsW9fuFlVAC9HxS_NUmdM4gXZNIXYirT2m3SfzPT1nWRFUdGrJqWmn9oo",
botium-connector-alexa-avs-http2 "content-type": "multipart/form-data; boundary=--------------------------489237901479262101000418"
botium-connector-alexa-avs-http2 } +0ms
botium-connector-alexa-avs-avs Downchannel data received Content-Type: application/json
botium-connector-alexa-avs-avs
botium-connector-alexa-avs-avs {"directive":{"header":{"namespace":"SpeechRecognizer","name":"StopCapture","messageId":"b73b30fb-2b5e-46ae-9bfd-cc3355d4dfcd","dialogRequestId":"b4816891-88b5-11eb-b447-f515ad071d85"},"payload":{}}}
botium-connector-alexa-avs-avs --------abcde123
botium-connector-alexa-avs-avs +2s
botium-connector-alexa-avs-http2 HTTP2 request to /v20160207/events got response: {
botium-connector-alexa-avs-http2 ":status": 200,
botium-connector-alexa-avs-http2 "x-amzn-requestid": "44daa962-7681-40a6-a3b3-abdb60ad7268, 06f7d1fffe397a5b-00000ff6-0026a354-0b42905248d29d25-4cd9a192-3",
botium-connector-alexa-avs-http2 "content-type": "multipart/related; boundary=------abcde123; start=metadata.1616091688081; type=\"application/json\"",
botium-connector-alexa-avs-http2 "access-control-allow-origin": ""
botium-connector-alexa-avs-http2 } +3s
botium-connector-alexa-avs-avs UserSays response, multipart 0 Body:
botium-connector-alexa-avs-avs {"directive":{"header":{"namespace":"SpeechSynthesizer","name":"Speak","messageId":"b31961f9-45b3-435d-9281-5651fbb57cbf","dialogRequestId":"b4816891-88b5-11eb-b447-f515ad071d85"},"payload":{"url":"cid:ValidatedSpeakDirective_amzn1.ask.skill.57732bed-73c7-4caf-b5fa-5c50a3ef5b20_c199759e-d473-4c6d-8db6-bcd53307eb91_VoiceInitiated_1998598586","format":"AUDIO_MPEG","token":"amzn1.as-ct.v1.ThirdPartySdkSpeechlet#ACRI#ValidatedSpeakDirective_amzn1.ask.skill.57732bed-73c7-4caf-b5fa-5c50a3ef5b20_c199759e-d473-4c6d-8db6-bcd53307eb91_VoiceInitiated#ACRI#[[ENCRYPTED_WITH_AlexaServiceKeyMasterUtil]]AAAAAAAAAQDeSB+/wWJXcSC/uG2sBHTVUAAAAAAAAACVyK55lhyfNU+y1M81MT9pfb1724xGs/ZCltzKeLSTVG9T7r6xt4lz7KFVgWH1G1gWI+1yCom6gyngafSjWNbdpfgA94UtIi/X5CUH2GZDHA=="}}}
botium-connector-alexa-avs-avs +1s
botium-connector-alexa-avs-avs UserSays response, multipart 1 Body:
botium-connector-alexa-avs-avs {"directive":{"header":{"namespace":"SpeechRecognizer","name":"ExpectSpeech","messageId":"cbc7bea0-bace-4e6a-8bca-b87d7dab8f9d","dialogRequestId":"b4816891-88b5-11eb-b447-f515ad071d85"},"payload":{"timeoutInMilliseconds":8000,"initiator":{"type":"EXPECT_SPEECH_PROMPT"}}}}
botium-connector-alexa-avs-avs +1ms
botium-connector-alexa-avs-avs UserSays response, multipart 2: {
botium-connector-alexa-avs-avs headers: {
botium-connector-alexa-avs-avs 'Content-ID': '
1 passing (35s)
I have one question regarding bot response verification, if my alexa respond with random response to same query, How to verify in that case. For Example: Instance 1: Me: Alexa, how are you bot: I have never been better. Thank you for asking.
Instance: Me: Alexa, how are you bot: I have been keeping my spirits up, thanks to some cheerful stories. If you want to hear them to, just say give me some happy news.
covo text file conatins
Alexa, how are you
I'm quite fine. Thanks for asking.
In first iteration it get pass, but in second iteration it got failed.
Hi Team,
I'm receiving Bot response time issue. While testing complete conversational flow of my alexa skill.
For single query it's working fine. Like - Ask Alexa for doctor connect
Alexa, ask doctor connect
he? Nathan. Welcome to Dr Connect. How may I assist you?
But for complete conversation it's giving bot timeout issue. Below the content of convo file:
Ask Alexa for doctor connect
Alexa, ask doctor connect
he? Nathan. Welcome to Dr Connect. How may I assist you?
book an appointment with cardiologist
Sure for which date?
Below is the log
botium-core-BotDriver Loaded Botium configuration files C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\botium.json +0ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) found filenames: doctor.convo.txt +0ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) found convos: botium-core-ScriptingProvider 1 Ask Alexa for doctor connect ({ convoDir: 'spec\convo', filename: 'doctor.convo.txt' }): Line 2:
botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) found utterances: botium-core-ScriptingProvider none +1ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) found partial convos: botium-core-ScriptingProvider none +1ms botium-core-ScriptingProvider ReadConvosFromDirectory(spec\convo) scripting memories: botium-core-ScriptingProvider none +1ms botium-core-ScriptingProvider ExpandConvos - Using utterances expansion mode: all +0ms botium-bindings-main ready reading convos and utterances, number of test cases: (1). +493ms botium-bindings-main adding test case 1 Ask Alexa for doctor connect +1ms
Botium Project Alexa AVS
botium-core-BotDriver Build - Botium Core Version: 1.11.1 +500ms
botium-core-BotDriver Build - Capabilites: {
botium-core-BotDriver PROJECTNAME: 'Botium Project Alexa AVS',
botium-core-BotDriver TESTSESSIONNAME: 'Botium Test Session',
botium-core-BotDriver TESTCASENAME: 'Botium Test Case',
botium-core-BotDriver TEMPDIR: 'botiumwork',
botium-core-BotDriver CLEANUPTEMPDIR: true,
botium-core-BotDriver WAITFORBOTTIMEOUT: 40000,
botium-core-BotDriver SIMULATE_WRITING_SPEED: false,
botium-core-BotDriver SIMPLEREST_PING_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_PING_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_PING_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_PING_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_STOP_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_STOP_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_STOP_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_START_RETRIES: 6,
botium-core-BotDriver SIMPLEREST_START_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_START_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_POLL_VERB: 'GET',
botium-core-BotDriver SIMPLEREST_POLL_INTERVAL: 1000,
botium-core-BotDriver SIMPLEREST_POLL_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_METHOD: 'GET',
botium-core-BotDriver SIMPLEREST_IGNORE_EMPTY: true,
botium-core-BotDriver SIMPLEREST_TIMEOUT: 10000,
botium-core-BotDriver SIMPLEREST_EXTRA_OPTIONS: {},
botium-core-BotDriver SIMPLEREST_STRICT_SSL: true,
botium-core-BotDriver SIMPLEREST_INBOUND_UPDATE_CONTEXT: true,
botium-core-BotDriver SIMPLEREST_CONTEXT_MERGE_OR_REPLACE: 'MERGE',
botium-core-BotDriver SCRIPTING_TXT_EOL: '\n',
botium-core-BotDriver SCRIPTING_XLSX_EOL_WRITE: '\r\n',
botium-core-BotDriver SCRIPTING_XLSX_HASHEADERS: true,
botium-core-BotDriver SCRIPTING_CSV_SKIP_HEADER: true,
botium-core-BotDriver SCRIPTING_CSV_QUOTE: '"',
botium-core-BotDriver SCRIPTING_CSV_ESCAPE: '"',
botium-core-BotDriver SCRIPTING_NORMALIZE_TEXT: true,
botium-core-BotDriver SCRIPTING_ENABLE_MEMORY: false,
botium-core-BotDriver SCRIPTING_ENABLE_MULTIPLE_ASSERT_ERRORS: false,
botium-core-BotDriver SCRIPTING_MATCHING_MODE: 'wildcardIgnoreCase',
botium-core-BotDriver SCRIPTING_UTTEXPANSION_MODE: 'all',
botium-core-BotDriver SCRIPTING_UTTEXPANSION_RANDOM_COUNT: 1,
botium-core-BotDriver SCRIPTING_UTTEXPANSION_NAMING_MODE: 'justLineTag',
botium-core-BotDriver SCRIPTING_UTTEXPANSION_NAMING_UTTERANCE_MAX: '16',
botium-core-BotDriver SCRIPTING_MEMORYEXPANSION_KEEP_ORIG: false,
botium-core-BotDriver ASSERTERS: [],
botium-core-BotDriver LOGIC_HOOKS: [],
botium-core-BotDriver USER_INPUTS: [],
botium-core-BotDriver SECURITY_ALLOW_UNSAFE: true,
botium-core-BotDriver CONTAINERMODE: 'alexa-avs',
botium-core-BotDriver ALEXA_AVS_AVS_CLIENT_ID: 'amzn1.application-oa2-client.ce399dfcf58958b66c5d0c4cd1b03',
botium-core-BotDriver ALEXA_AVS_AVS_CLIENT_SECRET: '53a7c2f016764402f6c4bcf53ce7e8a0f47026cb9a346bf2fb31e3ccf099',
botium-core-BotDriver ALEXA_AVS_AVS_REFRESH_TOKEN: 'Atzr|IwEBIPX7lRwT5Zb9zofbebHFh82hWqEQvKiMrbXh5Ax20PW9Zq6tGpPyCuHfCGIap0mvOm6pe0LjV9y7LdNr_BEhiH3YZmUo28gi7tLzpJYTT_gZVCgiQpPcQBYamzq53t4ZIFwQBYmtMUx4hOQrVYmxGk5XmNLHBhWnOnBZVB0mZKvsdK0vrWHh1E5F0qJynb3iJ0-4wVTucbvkKEuHhO6J0n1SPYa0Mvua9c1TjNTY7Rh5Bq1a2_pubMSZONQpf2ePaLOGePoHvbjE6sZ9Fk6Nt5toIxQLNhOEr1-L_U9KB4snRxKKdMROUmRjkdQY-3e96KZlvSc8jl1Tdtc2nK5jU3vf-o-mSsOd3QIqBp740LkcFs1jhsLA9Nqmrg',
botium-core-BotDriver ALEXA_AVS_AVS_LANGUAGE_CODE: 'en-US',
botium-core-BotDriver ALEXA_AVS_TTS: 'AMAZON_POLLY',
botium-core-BotDriver ALEXA_AVS_TTS_AMAZON_POLLY_REGION: 'us-east-1',
botium-core-BotDriver ALEXA_AVS_TTS_AMAZON_POLLY_ACCESS_KEY_ID: 'AKIAZYOFOBEB32NZRDUP',
botium-core-BotDriver ALEXA_AVS_TTS_AMAZON_POLLY_SECRET_ACCESS_KEY: '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',
botium-core-BotDriver ALEXA_AVS_TTS_AMAZON_POLLY_LANGUAGE_CODE: 'en-US',
botium-core-BotDriver ALEXA_AVS_STT: 'AMAZON_TRANSCRIBE',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_REGION: 'us-east-1',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_ACCESS_KEY_ID: 'AKIAZYOEB32NZRDUP',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_SECRET_ACCESS_KEY: 'jTuAUFmtQte4LfG0Qnoj6IVuHS+E0kh13XVBmw',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_LANGUAGE_CODE: 'en-US',
botium-core-BotDriver ALEXA_AVS_STT_AMAZON_TRANSCRIBE_BUCKET_NAME: 'nitinimagerekognition'
botium-core-BotDriver } +1ms
botium-core-BotDriver Build - Sources : { LOCALPATH: '.', GITPATH: 'git', GITBRANCH: 'master', GITDIR: '.' } +10ms
botium-core-BotDriver Build - Envs : { IS_BOTIUM_CONTAINER: true } +1ms
botium-connector-PluginConnectorContainer-helper Botium plugin botium-connector-alexa-avs loaded. Plugin version is 0.0.12 +0ms
botium-connector-alexa-avs-main Validate called +0ms
botium-connector-alexa-avs-avs Validate called +0ms
botium-connector-alexa-avs-main Build called +2s
botium-connector-alexa-avs-avs Build called +39ms
botium-connector-alexa-avs-avs Access token acquired +1s
botium-connector-alexa-avs-avs AVS http2-client created +2ms
botium-connector-alexa-avs-avs Downchannel created {
botium-connector-alexa-avs-avs ':method': 'GET',
botium-connector-alexa-avs-avs ':scheme': 'https',
botium-connector-alexa-avs-avs ':path': '/v20160207/directives',
botium-connector-alexa-avs-avs authorization: 'Bearer Atza|IwEBIEKKAigFfVNlE8oMNjlJmNGJOydKRUpBrx5Ihq9NEZS1xf_r_07P-NqEz-ROeLAeA6CLfYvjCT8CfS0AttmefwRB8jhmMpBRrOzwh4302s7XV7Vyha0yFoCs0jGuYnk7SxBvjMWeUlx4214rJDUnhURaOyq2x9OkJLdn-A3szO_NKlcOSetndffyFzdyCNmgHqc-Iq066XBx_ipcZtv2PAk_ZeO0-dTUj0ldjuNjcIV1zeMnaFdtF_vqq4ChkwOXM4tHKYfae4ZTIEjDrBh543VjmeZQ43UQkKVgj0PAf6xLPmxEOrJ2A_HSFudi229A8fI1yGiwW67CsNQQPFqhSpPp6PjO6-XYXPGTug_Pvo6q0fUeOGux-CIDrEnYaFA'
botium-connector-alexa-avs-avs } +0ms
botium-connector-alexa-avs-avs Downchannel create status: {
botium-connector-alexa-avs-avs ":status": 200,
botium-connector-alexa-avs-avs "access-control-allow-headers": "authorization,x-amz-access-token",
botium-connector-alexa-avs-avs "access-control-allow-origin": "",
botium-connector-alexa-avs-avs "content-type": "multipart/related; boundary=------abcde123; type=application/json",
botium-connector-alexa-avs-avs "x-amzn-requestid": ""
botium-connector-alexa-avs-avs } +672ms
botium-connector-alexa-avs-avs Downchannel data received --------abcde123
botium-connector-alexa-avs-avs +2ms
botium-connector-alexa-avs-main Start called +2s
botium-connector-alexa-avs-stt-amazon-transcribe Start called +0ms
botium-connector-alexa-avs-avs Start called +3ms
botium-bindings-main running testcase1 Ask Alexa for doctor connect +4s
botium-core-Convo Ask Alexa for doctor connect/Line 2: user says (cleaned by binary and base64 data and sourceData) {
botium-core-Convo "sender": "me",
botium-core-Convo "channel": null,
botium-core-Convo "not": false,
botium-core-Convo "optional": false,
botium-core-Convo "messageText": "Alexa, ask doctor connect",
botium-core-Convo "media": null,
botium-core-Convo "buttons": null,
botium-core-Convo "cards": null,
botium-core-Convo "forms": null,
botium-core-Convo "attachments": null,
botium-core-Convo "asserters": [],
botium-core-Convo "userInputs": [],
botium-core-Convo "logicHooks": []
botium-core-Convo } +0ms
botium-connector-alexa-avs-main UserSays called: Alexa, ask doctor connect +8ms
botium-connector-alexa-avs-main User text "Alexa, ask doctor connect" converting to speech... +1ms
botium-connector-alexa-avs-tts-amazon-polly Synthesize called +0ms
botium-connector-alexa-avs-tts-amazon-polly Synthesize finised +2s
botium-connector-alexa-avs-main User text "Alexa, ask doctor connect" conversion to speech succeeded +2s
botium-connector-alexa-avs-main Alexa answering... +0ms
botium-connector-alexa-avs-avs UserSays called +2s
botium-connector-alexa-avs-http2 HTTP2 request {
botium-connector-alexa-avs-http2 ":method": "POST",
botium-connector-alexa-avs-http2 ":scheme": "https",
botium-connector-alexa-avs-http2 ":path": "/v20160207/events",
botium-connector-alexa-avs-http2 "authorization": "Bearer Atza|IwEBIEKKAigFfVNlE8oMNjlJmNGJOydKRUpBrx5Ihq9NEZS1xf_r_07P-NqEz-ROeLAeA6CLfYvjCT8CfS0AttmefwRB8jhmMpBRrOzwh4302s7XV7Vyha0yFoCsFfjGuYnk7SxBvjMWeUlx4214rJDUnhURaOyq2x9OkJLdn-A3szO_NKlcOSetndffyFzdyCNmgHqc-Iq066XBx_ipcZtv2PAk_ZeO0-dTUj0ldjuNjcIV1zeMnaFdtF_vqq4ChkwOXM4tHKYfae4ZTIEjDrBh543Vjme3UQkKVgj0PAf6xLPmxEOrJ2A_HSFudi229A8fI1yGiwW67CsNQQPFqhSpPp6PjO6-XYXPGTug_Pvo6q0fUeOGux-CIDrEnYaFA",
botium-connector-alexa-avs-http2 "content-type": "multipart/form-data; boundary=--------------------------644476289460835458693310"
botium-connector-alexa-avs-http2 } +0ms
botium-connector-alexa-avs-avs Downchannel data received Content-Type: application/json
botium-connector-alexa-avs-avs
botium-connector-alexa-avs-avs {"directive":{"header":{"namespace":"SpeechRecognizer","name":"StopCapture","messageId":"43fa7a55-c8a5-4146-a06e-4797fcf0f3e6","dialogRequestId":"cdff2c11-88c1-11eb-9be0-67c6572720e9"},"payload":{}}}
botium-connector-alexa-avs-avs --------abcde123
botium-connector-alexa-avs-avs +2s
botium-connector-alexa-avs-http2 HTTP2 request to /v20160207/events got response: {
botium-connector-alexa-avs-http2 ":status": 200,
botium-connector-alexa-avs-http2 "x-amzn-requestid": "1d24a56e-f888-485a-8b99-2db65fa4b845, 0683ebfffe100634-0000de42-0028365c-49510e6a6ad76568-c47e4e97-3",
botium-connector-alexa-avs-http2 "content-type": "multipart/related; boundary=------abcde123; start=metadata.1616092799282; type=\"application/json\"",
botium-connector-alexa-avs-http2 "access-control-allow-origin": ""
botium-connector-alexa-avs-http2 } +3s
botium-connector-alexa-avs-avs UserSays response, multipart 0 Body:
botium-connector-alexa-avs-avs {"directive":{"header":{"namespace":"SpeechSynthesizer","name":"Speak","messageId":"71248933-c9bb-4f71-bdf3-bd882a5d17d8","dialogRequestId":"cdff2c11-88c1-11eb-9be0-67c6572720e9"},"payload":{"url":"cid:ValidatedSpeakDirective_amzn1.ask.skill.57732bed-73c7-4caf-b5fa-5c50a3ef5b20_e0f42422-261e-4550-9fa5-38934c027189_VoiceInitiated_570692828","format":"AUDIO_MPEG","token":"amzn1.as-ct.v1.ThirdPartySdkSpeechlet#ACRI#ValidatedSpeakDirective_amzn1.ask.skill.57732bed-73c7-4caf-b5fa-5c50a3ef5b20_e0f42422-261e-4550-9fa5-38934c027189_VoiceInitiated#ACRI#[[ENCRYPTED_WITH_AlexaServiceKeyMasterUtil]]AAAAAAAAeSB+/wWJXcSC/uG2sBHTVUAAAAAAAAADeRL6p5I7UTP0bobuGxhCKPRG+tl9HeeIVA6DIIC7WXteL4VxdCSNuiiOVFqBnT3iua87HMtRaPo8T2W75hUUFWeoNR8qSLjUHyUxHzo/sVA=="}}}
botium-connector-alexa-avs-avs +2s
botium-connector-alexa-avs-avs UserSays response, multipart 1 Body:
botium-connector-alexa-avs-avs {"directive":{"header":{"namespace":"SpeechRecognizer","name":"ExpectSpeech","messageId":"af29a162-fa75-4004-8c23-21d3a288f39d","dialogRequestId":"cdff2c11-88c1-11eb-9be0-67c6572720e9"},"payload":{"timeoutInMilliseconds":8000,"initiator":{"type":"EXPECT_SPEECH_PROMPT"}}}}
botium-connector-alexa-avs-avs +1ms
botium-connector-alexa-avs-avs UserSays response, multipart 2: {
botium-connector-alexa-avs-avs headers: {
botium-connector-alexa-avs-avs 'Content-ID': '
0 passing (1m) 1 failing
1) Botium Project Alexa AVS Ask Alexa for doctor connect: Error: Timeout of 60000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\spec\botium.spec.js) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7)
botium-connector-alexa-avs-stt-amazon-transcribe S3 download transcribe succesfull {
botium-connector-alexa-avs-stt-amazon-transcribe Deleted: [
botium-connector-alexa-avs-stt-amazon-transcribe {
botium-connector-alexa-avs-stt-amazon-transcribe Key: 'to-transcribe-source-kxj8sdpobz',
botium-connector-alexa-avs-stt-amazon-transcribe DeleteMarker: true,
botium-connector-alexa-avs-stt-amazon-transcribe DeleteMarkerVersionId: '.ywr4p3bppq_sRbk4bg6Ss6graUGl6nF'
botium-connector-alexa-avs-stt-amazon-transcribe },
botium-connector-alexa-avs-stt-amazon-transcribe {
botium-connector-alexa-avs-stt-amazon-transcribe Key: 'to-transcribe-job-kxj8sdpobz.json',
botium-connector-alexa-avs-stt-amazon-transcribe DeleteMarker: true,
botium-connector-alexa-avs-stt-amazon-transcribe DeleteMarkerVersionId: 'xpMZgKsPGhjwHFCpWZa223Mltf6ZYBY1'
botium-connector-alexa-avs-stt-amazon-transcribe }
botium-connector-alexa-avs-stt-amazon-transcribe ],
botium-connector-alexa-avs-stt-amazon-transcribe Errors: []
botium-connector-alexa-avs-stt-amazon-transcribe } +551ms
botium-connector-alexa-avs-stt-amazon-transcribe Recognize finished: I don't see a calendar set up. Want me to send a link to your
phone to set up your calendar? +2ms
botium-connector-alexa-avs-main Answer converted to text succeeded: I don't see a calendar set up. Want me to send a link to your phone to set up your calendar? +550ms
botium-connector-alexa-avs-main Answer handling ready, processed 1 audio responses. +1ms
botium-core-Convo Ask Alexa for doctor connect: bot says (cleaned by binary and base64 data and sourceData) {
botium-core-Convo "sender": "bot",
botium-core-Convo "messageText": "I don't see a calendar set up. Want me to send a link to your phone to set up your calendar?",
botium-core-Convo "media": [
botium-core-Convo {
botium-core-Convo "mediaUri": "(base64 data url)",
botium-core-Convo "mimeType": "audio/mpeg3"
botium-core-Convo }
botium-core-Convo ],
botium-core-Convo "channel": "default"
botium-core-Convo } +26s
botium-core-ScriptingMemory fill start: {} +31s
botium-core-ScriptingProvider assertBotResponse Ask Alexa for doctor connect/Line 11 (Line 8: #me - book an appointment with cardiologist) BOT: I don't see a calendar set up. Want me to send a link to your phone to set up your calendar? = Sure for which date? ...
+31s
botium-bindings-main Test Case "Ask Alexa for doctor connect" failed: TranscriptError: Ask Alexa for doctor connect/Line 11: Bot response (on Line 8: #me - book an appointment with cardiologist) "I don't see a calendar set up. Want me to send a link to your phone
to set up your calendar?" expected to match "Sure for which date?"
botium-bindings-main at Convo.Run (C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\node_modules\botium-core\src\scripting\Convo.js:266:15)
botium-bindings-main at processTicksAndRejections (internal/process/task_queues.js:97:5) {
botium-bindings-main transcript: Transcript {
botium-bindings-main steps: [
botium-bindings-main [TranscriptStep],
botium-bindings-main [TranscriptStep],
botium-bindings-main [TranscriptStep],
botium-bindings-main [TranscriptStep]
botium-bindings-main ],
botium-bindings-main attachments: [],
botium-bindings-main scriptingMemory: {},
botium-bindings-main convoBegin: 2021-03-19T14:45:51.396Z,
botium-bindings-main convoEnd: 2021-03-19T14:46:51.958Z,
botium-bindings-main err: BotiumError: Ask Alexa for doctor connect/Line 11: Bot response (on Line 8: #me - book an appointment with cardiologist) "I don't see a calendar set up. Want me to send a link to your phone to set up your calendar?" expected to match
"Sure for which date?"
botium-bindings-main at ScriptingProvider.assertBotResponse (C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\node_modules\botium-core\src\scripting\ScriptingProvider.js:154:17)
botium-bindings-main at Convo.runConversation (C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\node_modules\botium-core\src\scripting\Convo.js:447:40)
botium-bindings-main at processTicksAndRejections (internal/process/task_queues.js:97:5)
botium-bindings-main at async Convo.Run (C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\node_modules\botium-core\src\scripting\Convo.js:245:7) {
botium-bindings-main context: [Object]
botium-bindings-main }
botium-bindings-main },
botium-bindings-main cause: BotiumError: Ask Alexa for doctor connect/Line 11: Bot response (on Line 8: #me - book an appointment with cardiologist) "I don't see a calendar set up. Want me to send a link to your phone to set up your calendar?" expected to match
"Sure for which date?"
botium-bindings-main at ScriptingProvider.assertBotResponse (C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\node_modules\botium-core\src\scripting\ScriptingProvider.js:154:17)
botium-bindings-main at Convo.runConversation (C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\node_modules\botium-core\src\scripting\Convo.js:447:40)
botium-bindings-main at processTicksAndRejections (internal/process/task_queues.js:97:5)
botium-bindings-main at async Convo.Run (C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\node_modules\botium-core\src\scripting\Convo.js:245:7) {
botium-bindings-main context: {
botium-bindings-main type: 'asserter',
botium-bindings-main source: 'TextMatchAsserter',
botium-bindings-main context: [Object],
botium-bindings-main cause: [Object],
botium-bindings-main message: Ask Alexa for doctor connect/Line 11: Bot response (on Line 8: #me - book an appointment with cardiologist) "I don't see a calendar set up. Want me to send a link to your phone to set up your calendar?" expected to match "Sure for which date?"
,
botium-bindings-main input: [ConvoStep],
botium-bindings-main transcript: [Array]
botium-bindings-main }
botium-bindings-main }
botium-bindings-main } +1m
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! alexa-voice-app-testing@1.0.0 start: set DEBUG=botium* & mocha spec
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the alexa-voice-app-testing@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\nitin.verma\AppData\Roaming\npm-cache_logs\2021-03-19T14_46_52_021Z-debug.log
Hi Team,
I have followed the steps mentioned in the https://chatbotslife.com/testing-alexa-skills-with-avs-mocha-and-botium-f6c22549f66e. To test Alexa skill set. But I'm getting an issues.
while running npm run mocha, I received below issue.
alexa-voice-app-testing@1.0.0 mocha C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing
Botium Project Alexa AVS 1) Ask Alexa for doctor connect
0 passing (19s) 1 failing
1) Botium Project Alexa AVS Ask Alexa for doctor connect: Error: Ask Alexa for doctor connect/Line 5: error waiting for bot - Bot did not respond within 10000 ms ######################################## Ask Alexa for doctor connect/Line 5: error waiting for bot - Bot did not respond within 10000 ms ------------ TRANSCRIPT ----------------------------
me: Alexa, ask doctor connect
at BotiumBindings.wrapBotiumError (node_modules\botium-bindings\src\BotiumBindings.js:77:14) at C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\node_modules\botium-bindings\src\BotiumBindings.js:134:33
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! alexa-voice-app-testing@1.0.0 mocha:
mocha spec
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the alexa-voice-app-testing@1.0.0 mocha script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\nitin.verma\AppData\Roaming\npm-cache_logs\2021-03-19T06_48_55_527Z-debug.log
package.json file content { "name": "alexa-voice-app-testing", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "mocha": "mocha spec" }, "author": "", "license": "ISC", "dependencies": { "botium-bindings": "^2.1.5", "botium-connector-alexa-avs": "0.0.12" }, "botium": { "convodirs": [ "spec\convo" ], "expandConvos": true, "expandUtterancesToConvos": false, "expandScriptingMemoryToConvos": false }, "devDependencies": { "mocha": "latest", "botium-bindings": "latest", "botium-connector-echo": "latest" } }
doctor.convo.txt file content
Ask Alexa for doctor connect
me
Alexa, ask doctor connect
bot
Hi Nitin, welcome to doctor connect how may i assist you
Log File content - AppData\Roaming\npm-cache_logs\2021-03-19T06_48_55_527Z-debug.log
0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\Program Files\nodejs\node.exe', 1 verbose cli 'C:\Users\nitin.verma\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js', 1 verbose cli 'run', 1 verbose cli 'mocha' 1 verbose cli ] 2 info using npm@6.14.10 3 info using node@v12.20.2 4 verbose run-script [ 'premocha', 'mocha', 'postmocha' ] 5 info lifecycle alexa-voice-app-testing@1.0.0~premocha: alexa-voice-app-testing@1.0.0 6 info lifecycle alexa-voice-app-testing@1.0.0~mocha: alexa-voice-app-testing@1.0.0 7 verbose lifecycle alexa-voice-app-testing@1.0.0~mocha: unsafe-perm in lifecycle true 8 verbose lifecycle alexa-voice-app-testing@1.0.0~mocha: PATH: C:\Users\nitin.verma\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing\node_modules.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Java\jdk1.8.0_231\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Users\nitin.verma\AppData\Local\Programs\Python\Scripts\;C:\Users\nitin.verma\AppData\Local\Programs\Python\;C:\Users\nitin.verma\AppData\Roaming\npm;C:\Users\nitin.verma\AppData\Local\Android\Sdk\platform-tools\;C:\Users\nitin.verma\AppData\Local\Android\Sdk\tools\bin\;C:\Program Files\TortoiseGit\bin;C:\Users\nitin.verma.gitconfig;C:\Ruby26-x64\bin;C:\Users\nitin.verma\AppData\Local\Android\Sdk;C:\ProjectFromOldLaptop\Selenium_NodeJsEx\resources\chromedriver.exe;C:\ffmpeg-20200203-1c15111-win64-static\bin;C:\Users\nitin.verma\AppData\Local\Taurus\bin;C:\Program Files\PuTTY\;C:\src\flutter\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Program Files\Git\cmd;C:\project\apache-maven-3.6.3\bin;C:\Program Files\nodejs\;C:\Program Files\Amazon\AWSCLI\bin\;;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Ruby26-x64\bin;C:\Users\nitin.verma\AppData\Local\Microsoft\WindowsApps;C:\Users\nitin.verma\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\nitin.verma\AppData\Roaming\npm; 9 verbose lifecycle alexa-voice-app-testing@1.0.0~mocha: CWD: C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing 10 silly lifecycle alexa-voice-app-testing@1.0.0~mocha: Args: [ '/d /s /c', 'mocha spec' ] 11 silly lifecycle alexa-voice-app-testing@1.0.0~mocha: Returned: code: 1 signal: null 12 info lifecycle alexa-voice-app-testing@1.0.0~mocha: Failed to exec mocha script 13 verbose stack Error: alexa-voice-app-testing@1.0.0 mocha: (C:\Users\nitin.verma\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:314:20)
13 verbose stack at ChildProcess. (C:\Users\nitin.verma\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:314:20)
13 verbose stack at maybeClose (internal/child_process.js:1022:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid alexa-voice-app-testing@1.0.0
15 verbose cwd C:\Jovo\Botium\Alexa-E2E-Testing\Alexa-Voice-app-Testing
16 verbose Windows_NT 10.0.17763
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\nitin.verma\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "mocha"
18 verbose node v12.20.2
19 verbose npm v6.14.10
20 error code ELIFECYCLE
21 error errno 1
22 error alexa-voice-app-testing@1.0.0 mocha:
mocha spec
13 verbose stack Exit status 1 13 verbose stack at EventEmitter.mocha spec
22 error Exit status 1 23 error Failed at the alexa-voice-app-testing@1.0.0 mocha script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]Requesting you to please help me out, to resolve it.
Thanks, Nitin Verma