Commit Graph

4976 Commits (mark-ii/gui-replace-page)

Author SHA1 Message Date
Åke Forslund 2a7b0ccef9 Update voight kampff Readme with some extra info 2020-03-24 10:42:07 +01:00
Chris Veilleux 5801a6af09 added stage to build major release docker image for skill testing 2020-03-24 10:42:07 +01:00
Chris Veilleux 71b2c3549e changed naming of docker image and added platform variable 2020-03-24 10:42:07 +01:00
Chris Veilleux 1a643b0d4d re-order build steps for performance. least likely to change first. 2020-03-24 10:42:07 +01:00
Åke Forslund a6d1e91942 Add auto-retry
This switches behave to the current dev release including the autoretry
system.
2020-03-24 10:42:07 +01:00
Åke Forslund 35d9558998 Handle communication failure with converse handler 2020-03-24 10:42:07 +01:00
Åke Forslund 0ad91ce321 Add an event that can be waited on instead of sleep 2020-03-24 10:42:07 +01:00
Åke Forslund b52722faf3 Add dummy TTS backend
The backend doesn't generate any audio playback, only consumes the
messages
2020-03-24 10:42:07 +01:00
Åke Forslund 223274d2ad Update environment variables for job
Set USER and CI
2020-03-24 10:42:07 +01:00
Åke Forslund 27de6c72c4 Add empty tts output on execute exception
This will make sure that the isSpeaking flag is cleared correctly
2020-03-24 10:42:07 +01:00
Åke Forslund d86e8257a4 Add a basic mycroft.conf 2020-03-24 10:42:07 +01:00
Åke Forslund 0f860162e3 Update run_test_suite.sh
- Pulseaudio is launched if on CI
- remove hard-coding of start-mycroft.sh
2020-03-24 10:42:02 +01:00
Åke Forslund 353239cbc2 Move more common functions to voight kampff tools 2020-03-23 11:41:13 +01:00
Åke Forslund 0d5520be4a Reduce sleep time while waiting for response 2020-03-23 11:41:13 +01:00
Åke Forslund 2055b50238 Add before_feature logging current test 2020-03-23 11:41:13 +01:00
Åke Forslund fa88562a8c Fix timeout of wait for message
The counter didn't increment as intended
2020-03-23 11:41:13 +01:00
Åke Forslund 9a5f1f6f7e Add shared tools 2020-03-23 11:41:13 +01:00
Åke Forslund 0ea1af126d Reduce safety timeouts 2020-03-23 11:41:13 +01:00
Åke Forslund d451e1c1e0 Add more info on captured response (skill and dialog) 2020-03-23 11:41:13 +01:00
Åke Forslund d7cab332fe Add skill to speak meta information 2020-03-23 11:41:13 +01:00
Åke Forslund ce1952fcfc Increase Jenkins job Timeout to 60 minutes 2020-03-23 11:41:13 +01:00
Åke Forslund b79fe04eb8 Extend timeout after scenario 2020-03-23 11:41:13 +01:00
Åke Forslund 51f07a5d96 Add assert message if no dialog is recorded 2020-03-23 11:41:13 +01:00
Åke Forslund 7bc0e7a855 Remove allure temporary files 2020-03-23 11:41:13 +01:00
Åke Forslund c159377acb Consume matched messages. 2020-03-23 11:41:13 +01:00
Åke Forslund b43785a403 Recreate messed up assert messages 2020-03-23 11:41:13 +01:00
Åke Forslund 1470151c2b Add alternatives for user replies 2020-03-23 11:41:13 +01:00
Åke Forslund 0c873b5065 Update skill list for default skills test 2020-03-23 11:41:13 +01:00
Åke Forslund 75f92a66dd Add handler to capture messages of specific type 2020-03-23 11:41:13 +01:00
Åke Forslund 12f2e63cc3 Share only identity and allure in separate volume
- Sharing only the identity file removes the need for clearing the skill
sandbox dir and padatious cache
- Make things a bit cleaner with separate Allure volume
2020-03-23 11:41:13 +01:00
Åke Forslund 5bcc533583 Don't run scenarios marked with @xfail 2020-03-23 11:41:13 +01:00
Åke Forslund 2592c9b1c2 Add clearer feedback on failures
Will now print all responses received from Mycroft
2020-03-23 11:41:13 +01:00
Åke Forslund 15148fadf5 Rework bus hooks
Override the bus clients on_message method and collect all messages in a
list. This will make it harder to miss a message during a test
2020-03-23 11:41:13 +01:00
Åke Forslund d9d5f57a4f Add meta information about the speech dialog
Provides meta data such as dialog used and data that was inserted.
2020-03-23 11:41:13 +01:00
Åke Forslund 38d43f2bb7 Move Jenkins specific commands into Jenkinsfile
Allure commandline and chown command are now run through the Jenkinsfile
instead of through the run_test_suite.sh
2020-03-23 11:41:13 +01:00
Chris Veilleux 7c038f19d9 fixed spelling of voight-kampff for consistency 2020-03-23 11:41:13 +01:00
Chris Veilleux 0edccca65a remove the -v from the chown command in prepare-msm
This reduces the verbosity during the operation. This is not of much
interest, mainly success or failure is what matters.
2020-03-23 11:41:13 +01:00
Åke Forslund d0a6ff4a80 Add mycroft-core to python-path 2020-03-23 11:41:13 +01:00
Chris Veilleux 00acf2b10c Update docker build
Docker build will now perform most actions of the dev-setup making it
possible to use caches in a greater extent speeding up the build
2020-03-23 11:41:13 +01:00
Chris Veilleux b436e5575a Add allure test reports
Behave will generate test results in the allure format, this will be
picked up by Jenkins and sent of to a standalone webserver.
2020-03-23 11:41:13 +01:00
Åke Forslund 51f03fc0ce Add Branch alias
Some branches have a "/" in their name (e.g. feature/new-and-cool)
Some commands, such as those tha deal with directories, don't
play nice with this naming convention. Define an alias for the
branch name that can be used in these scenarios.
2020-03-23 11:41:13 +01:00
Åke Forslund fc9c462a37 Add possibility to send a user response as Then step 2020-03-23 11:41:13 +01:00
Åke Forslund 5bfe869424 Jenkinsfile 2020-03-23 11:41:13 +01:00
Åke Forslund 4a1dbd7e04 Add dockerfile for running voight_kampff test 2020-03-23 11:41:13 +01:00
Åke Forslund b4507b7866 Add Voight Kampff test
The Voight kampff test is an integration test collecting and running
behave test of skills.
2020-03-23 11:41:09 +01:00
Kris Gesling 8a3cf544cd
Merge pull request #2487 from tycrek/patch-1
Fixed typo "Devloper" to "Developer"
2020-03-17 11:06:48 +09:30
Åke Forslund 6dce1096e3 Test that all skill_id's are processed
Including a case where an error occur.
2020-03-15 22:23:16 +01:00
Åke Forslund f0a6d1a714 Minor clean up of intent_service.py
- Remove print statement
- Remove unused import
- Updated some docstrings
2020-03-15 19:23:25 +01:00
Åke Forslund 4982af46b1 Add check for empty skill IDs
Only allow non-empty skill IDs into the list of active skills
2020-03-15 19:23:25 +01:00
Åke Forslund af50fb5e59 Override make_active for padatious
Padatious doesn't shouldn't report active like other skills, this only
sent an empty skill entry to the active skills list.
2020-03-15 19:23:25 +01:00