2 failures
Build Prepare
Git Pull
Build Steps
UI Test
Finalize Build
Send Notifications

Vibe Build RSpec Django   Build #178 Failed

Started: 2021-10-07T02:17:35Z
Duration: 4 minutes
Time saved by parallel: -40.8%
False alarms: 0
Change log
commit 998a9e07dfa105a3faf8fcd8e37b537f5adb3206 Author: Courtney Zhan <courtney@d-i89-212-205.student.eduroam.uq.edu.au> Date: Thu Oct 7 11:53:15 2021 +1000 Stabilise tests spec/save_posts_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1a2f17cce008ee913d57ab085ec4122e01a77be8 Author: Courtney Zhan <courtney@d-i89-212-205.student.eduroam.uq.edu.au> Date: Thu Oct 7 11:48:24 2021 +1000 Stabilise tests pages/new_post_page.rb | 2 +- spec/save_posts_spec.rb | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) commit 5071e1bed687f4db07dacfd5571649457668db3c Author: Courtney Zhan <courtney@ZhiminMacBook16.local> Date: Thu Oct 7 08:16:42 2021 +1000 My Posts History accurate after posts are deleted spec/my_posts_spec.rb | 86 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 53 insertions(+), 33 deletions(-) commit dd6a238fdffc54721b05fdd17370d51207710a16 Author: Courtney Zhan <courtney@ZhiminMacBook16.local> Date: Thu Oct 7 08:11:23 2021 +1000 Add basic test for My Post History page pages/new_post_page.rb | 5 +++ spec/my_posts_spec.rb | 61 +++++++++++++++++++++++++++++++++++++ spec/post_filtering_24hours_spec.rb | 4 +-- 3 files changed, 67 insertions(+), 3 deletions(-) commit cae6df1950042da03e4d94fd73b00ea94f971a8b Author: Courtney Zhan <courtney@ZhiminMacBook16.local> Date: Thu Oct 7 07:58:21 2021 +1000 Added hidden posts should not be able to be hidden multiple times spec/hide_posts_spec.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit d8026a209e0d9763d1ec3b68e771bc5623285e79 Author: Courtney Zhan <qinmengzhan@gmail.com> Date: Thu Oct 7 00:17:56 2021 +1000 Navbar link name changes spec/post_question_filtering_spec.rb | 2 +- spec/save_posts_spec.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 3b998a4ca55b85abd6200d2e2dc5412473de5afc Author: Courtney Zhan <qinmengzhan@gmail.com> Date: Thu Oct 7 00:13:20 2021 +1000 Cannot save the same post multiple times spec/save_posts_spec.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 6c074f0c4fe503f801f801946aadbe93270a949c Author: Courtney Zhan <qinmengzhan@gmail.com> Date: Thu Oct 7 00:11:24 2021 +1000 Removed searching as guest as guest cannot access search bar anymore spec/search_guest_spec.rb | 57 ----------------------------------------------- 1 file changed, 57 deletions(-) commit a7059af2eebe961f179ad3548ebc91c494537ec9 Author: Courtney Zhan <qinmengzhan@gmail.com> Date: Thu Oct 7 00:10:40 2021 +1000 Updated navbar links spec/post_question_filtering_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 950302448aad188aec7f6ffb5127a1ef95947ec1 Author: Courtney Zhan <qinmengzhan@gmail.com> Date: Thu Oct 7 00:00:47 2021 +1000 Saved posts from post listpage spec/save_posts_spec.rb | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-)
Test Results ( 38 tests took 4 minutes on 1 agents, 3 minutes if one machine )
Agent test file   ( 38 test cases in 18 test scripts files ) Time (s) Result
02:17:47 Agent-01
save_posts_spec.rb 28.6  80
        - Save Posts Save Post from detail page 5.8 OK  
        - Save Posts Save post from list page 8.7 OK  
        - Save Posts Cannot save post multiple times 4.9 Failure
        - Save Posts Unsave post 5.8 OK  
02:18:20 Agent-01
hide_posts_spec.rb 17.1  73
        - Hide Posts Hide Post from detail page 5.2 OK  
        - Hide Posts Unhide post 5.1 OK  
        - Hide Posts Cannot hide same post multiple times 3.8 Failure
02:18:41 Agent-01
post_entry_spec.rb 12.1  35
        - Post Create Update Delete Add a new entry 4.7 OK  
        - Post Create Update Delete Edit an entry 2.2 OK  
        - Post Create Update Delete Delete an entry 2.7 OK  
02:18:56 Agent-01
post_permission_guest_spec.rb 9.3  14
        - Post Permission by Guest Guest user cannot delete existing entry 0.7 OK  
        - Post Permission by Guest Guest user cannot edit existing entry 0.6 OK  
        - Post Permission by Guest Guest user cannot create new entry 0.6 OK  
02:19:08 Agent-01
search_other_spec.rb 10.1  13
        - Search Post Search in Title as Other user 2.9 OK  
        - Search Post Search in Content as Other user 1.4 OK  
02:19:20 Agent-01
post_filtering_24hours_spec.rb 11.9  6
        - Post Filtering by 24 hours Public Entry limited by last 24 hours for public 1.7 OK  
        - Post Filtering by 24 hours Public Entry older than 24 hours is still viewable by admin users 1.7 OK  
02:19:36 Agent-01
post_question_filtering_spec.rb 15.7  5
        - Post Question Filtering Verify can only see answers to questions user has answered 14.0 OK  
02:19:54 Agent-01
mood_permission_spec.rb 5.7  4
        - Mood Permission User can only view and edit own moods 3.4 OK  
02:20:03 Agent-01
mood_spec.rb 8.2  4
        - Mood CRUD Moods 3.8 OK  
        - Mood User can only enter one mood for one day 2.0 OK  
02:20:15 Agent-01
post_entry_question_spec.rb 12.9  4
        - New question post Add a new question entry, verify the random title 10.5 OK  
02:20:32 Agent-01
login_spec.rb 6.1  3
        - Create and login as user Login Fail 2.1 OK  
        - Create and login as user login OK then logout 2.2 OK  
02:20:41 Agent-01
my_posts_spec.rb 10.7  3
        - MyPosts Check that old, gratitude and reflection show in My Posts 5.7 OK  
        - MyPosts Deleting a post is reflected in post history as well 2.7 OK  
02:20:56 Agent-01
post_entry_gratitude_spec.rb 7.0  3
        - New gratitude post Add a new gratitude entry, verify the pre-filled title 2.6 OK  
        - New gratitude post Add a new gratitude entry 1.9 OK  
02:21:08 Agent-01
post_permission_admin_spec.rb 7.8  3
        - Post Permission by Admin Admin user can edit other users' existing post 0.9 OK  
        - Post Permission by Admin Admin user can delete other users' existing post 0.2 OK  
02:21:21 Agent-01
responsive_ui_spec.rb 7.3  3
        - Responsive UI Mobile - Add new entry 5.5 OK  
02:21:30 Agent-01
search_post_spec.rb 10.7  8
        - Search Post Search in Title 3.0 OK  
        - Search Post Search in Content 1.5 OK  
02:21:45 Agent-01
sign_up_spec.rb 7.5  3
        - Sign up Sign up OK 2.9 OK  
        - Sign up Can't sign up with the same username twice 2.0 OK  
        - Sign up Sign up Validation: password match 0.9 OK  
02:21:57 Agent-01
post_permission_other_spec.rb 8.7  1
        - Post Permission by Other One user cannot edit other's existing post 0.3 OK  
        - Post Permission by Other One user cannot delete other's existing post 0.1 OK  
Build log
2021-10-07 02:17:36 +0000 [Build] Start 2021-10-07 02:17:37 +0000 [INFO] buildwise-build.rb production | finding a build |178 => Vibe Build RSpec Django | (true)... 2021-10-07 02:17:37 +0000 [INFO] Running build command: for 'vibe-parallel-build-rspec', build: 178 2021-10-07 02:17:37 +0000 [INFO] Builder started: /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/.lock 2021-10-07 02:17:37 +0000 [INFO] New Build #178 2021-10-07 02:17:37 +0000 [INFO] Execute Git Command => cd /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources && git --git-dir=/home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources/.git fetch 2021-10-07 02:17:40 +0000 [INFO] Execute Git Command => cd /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources && git --git-dir=/home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources/.git reset --hard origin/django Checking out branch: django 2021-10-07 02:17:40 +0000 [INFO] Execute Git Command => cd /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources && git --git-dir=/home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources/.git checkout django Already on 'django' 2021-10-07 02:17:40 +0000 [INFO] Execute Git Command => cd /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources && git --git-dir=/home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources/.git log origin/django -1 --pretty=format:"%an|%ad|%H|%s" 2021-10-07 02:17:40 +0000 [INFO] Execute Git Command => cd /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources && git --git-dir=/home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources/.git log 998a9e07 -1 --pretty=format:"%an|%ad|%H|%s" 2021-10-07 02:17:40 +0000 [DEBUG] check Git changes, current Revision: 998a9e07dfa105a3faf8fcd8e37b537f5adb3206 | last tested: 998a9e07dfa105a3faf8fcd8e37b537f5adb3206 | new: false 2021-10-07 02:17:40 +0000 [DEBUG] #about update scm: scm_changes => false, :force => true, :last_build_ok => false| 2021-10-07 02:17:40 +0000 [DEBUG] Git determining change sets: --stat --since="2021-10-05 14:07:23" > /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/artifacts/00178-20211007021740/changeset.log 2021-10-07 02:17:40 +0000 [INFO] Execute Git Command => cd /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources && git --git-dir=/home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources/.git log --stat --since="2021-10-05 14:07:23" > "/home/zhimin/.buildwise/work/vibe-parallel-build-rspec/artifacts/00178-20211007021740/changeset.log" 2021-10-07 02:17:40 +0000 [INFO] Execute Git Command => cd /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources && git --git-dir=/home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources/.git log --stat -1 2021-10-07 02:17:40 +0000 [INFO] Execute Git Command => cd /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources && git --git-dir=/home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources/.git diff --name-only 998a9e07dfa105a3faf8fcd8e37b537f5adb3206 HEAD /var/www/sinatra/buildwise-1.9.1/lib/buildwise/builder/base.rb:32: warning: encountered \r in middle of line, treated as a mere space 2021-10-07 02:17:40 +0000 [INFO] recent_changed_files: [] 2021-10-07 02:17:40 +0000 [INFO] Updated priority for 0 test script files 2021-10-07 02:17:40 +0000 [INFO] Copy UI tests /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources/spec to artifacts dir: /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/artifacts/00178-20211007021740. 2021-10-07 02:17:40 +0000 [INFO] Building ... 2021-10-07 02:17:40 +0000 [INFO] Clean reports from the last build at 2021-10-07 02:17:40 +0000 [INFO] Build step: UI Test 2021-10-07 02:17:40 +0000 [INFO] Run Rake task '-f Rakefile ci:ui_tests:full' 2021-10-07 02:22:13 +0000 [ERROR] {Builder} run task error | dir : /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources command : echo /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/sources zhimin$ rake\ -f\ Rakefile\ ci:ui_tests:full >> /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/artifacts/00178-20211007021740/step_481.log && rake -f Rakefile ci:ui_tests:full >> /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/artifacts/00178-20211007021740/step_481.log 2>&1 exitstatus: 255 | ["/var/www/sinatra/buildwise-1.9.1/lib/utils/command_line.rb:128:in `verify_exit_code'", "/var/www/sinatra/buildwise-1.9.1/lib/utils/command_line.rb:71:in `exec'", "/var/www/sinatra/buildwise-1.9.1/lib/utils/command_line.rb:46:in `block in execute'", "/var/www/sinatra/buildwise-1.9.1/lib/utils/command_line.rb:45:in `chdir'", "/var/www/sinatra/buildwise-1.9.1/lib/utils/command_line.rb:45:in `execute'", "/var/www/sinatra/buildwise-1.9.1/lib/buildwise/builder/rake.rb:24:in `run_task'", "/var/www/sinatra/buildwise-1.9.1/lib/buildwise/build_command.rb:517:in `block in execute_build_steps'", "/var/www/sinatra/buildwise-1.9.1/lib/buildwise/build_command.rb:501:in `each'", "/var/www/sinatra/buildwise-1.9.1/lib/buildwise/build_command.rb:501:in `execute_build_steps'", "/var/www/sinatra/buildwise-1.9.1/lib/buildwise/build_command.rb:133:in `block in run'", "/var/www/sinatra/buildwise-1.9.1/lib/buildwise/latch.rb:21:in `lock'", "/var/www/sinatra/buildwise-1.9.1/lib/buildwise/build_command.rb:58:in `run'", "/var/www/sinatra/buildwise-1.9.1/bin/buildwise-build.rb:62:in `<main>'"] 2021-10-07 02:22:13 +0000 [Build] successful? => false | current revision: 998a9e07 2021-10-07 02:22:13 +0000 [INFO] Parsing results and save to database ... 2021-10-07 02:22:13 +0000 [DEBUG] About the parse results xml (18 test files) and save to database 2021-10-07 02:22:13 +0000 [INFO] Archiving files: [] 2021-10-07 02:22:13 +0000 [INFO] Sending notifications ... 2021-10-07 02:22:13 +0000 [INFO] Archiving the builder log for build 178: /var/www/sinatra/buildwise-1.9.1/log/builds/build_178.log 2021-10-07 02:22:13 +0000 [INFO] The build 178 ends. 2021-10-07 02:22:13 +0000 [INFO] The build 178 marked as complete 2021-10-07 02:22:13 +0000 [INFO] BuildCommand finished with exit code: #<BuildStepExecution:0x0000562ec87c1030>
triggered by admin at 2021-10-07 02:17:35