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

Vibe Build RSpec Django   Build #172 Failed

Started: 2021-10-07T00:32:26Z
Duration: 2 minutes
Time saved by parallel: 20.2%
False alarms: 0
Change log
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 2 minutes on 2 agents, 3 minutes if one machine )
Agent test file   ( 38 test cases in 18 test scripts files ) Time (s) Result
00:34:53 Agent-01
(iMac-02)
hide_posts_spec.rb 19.2  28
        - Hide Posts Hide Post from detail page 6.0 OK  
        - Hide Posts Unhide post 5.8 OK  
        - Hide Posts Cannot hide same post multiple times 3.0 Failure
00:35:04 iMac-02
   (Agent-01)
save_posts_spec.rb 24.7  50
        - Save Posts Save Post from detail page 6.6 OK  
        - Save Posts Save post from list page 2.8 Failure
        - Save Posts Cannot save post multiple times 4.7 Failure
        - Save Posts Unsave post 5.6 OK  
00:32:33 iMac-02
my_posts_spec.rb 13.6  54
        - MyPosts Check that old, gratitude and reflection show in My Posts 6.6 OK  
        - MyPosts Deleting a post is reflected in post history as well 3.1 OK  
00:33:04 Agent-01
post_filtering_24hours_spec.rb 13.8  10
        - Post Filtering by 24 hours Public Entry limited by last 24 hours for public 1.9 OK  
        - Post Filtering by 24 hours Public Entry older than 24 hours is still viewable by admin users 2.0 OK  
00:33:16 iMac-02
mood_permission_spec.rb 7.0  7
        - Mood Permission User can only view and edit own moods 3.7 OK  
00:33:22 Agent-01
mood_spec.rb 10.5  7
        - Mood CRUD Moods 5.3 OK  
        - Mood User can only enter one mood for one day 2.5 OK  
00:33:28 iMac-02
post_question_filtering_spec.rb 17.7  5
        - Post Question Filtering Verify can only see answers to questions user has answered 15.0 OK  
00:33:37 Agent-01
post_entry_question_spec.rb 13.9  4
        - New question post Add a new question entry, verify the random title 10.8 OK  
00:33:49 iMac-02
search_post_spec.rb 11.5  4
        - Search Post Search in Title 3.0 OK  
        - Search Post Search in Content 1.5 OK  
00:33:55 Agent-01
login_spec.rb 6.8  3
        - Create and login as user Login Fail 2.3 OK  
        - Create and login as user login OK then logout 2.4 OK  
00:34:03 iMac-02
post_entry_gratitude_spec.rb 7.8  3
        - New gratitude post Add a new gratitude entry, verify the pre-filled title 2.1 OK  
        - New gratitude post Add a new gratitude entry 2.2 OK  
00:34:08 Agent-01
post_entry_spec.rb 13.5  3
        - Post Create Update Delete Add a new entry 4.6 OK  
        - Post Create Update Delete Edit an entry 2.7 OK  
        - Post Create Update Delete Delete an entry 3.0 OK  
00:34:13 iMac-02
post_permission_admin_spec.rb 9.0  3
        - Post Permission by Admin Admin user can edit other users' existing post 1.0 OK  
        - Post Permission by Admin Admin user can delete other users' existing post 0.2 OK  
00:34:26 iMac-02
post_permission_other_spec.rb 9.8  3
        - 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  
00:34:26 Agent-01
post_permission_guest_spec.rb 10.3  3
        - 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  
00:34:39 iMac-02
responsive_ui_spec.rb 7.6  3
        - Responsive UI Mobile - Add new entry 5.1 OK  
00:34:41 Agent-01
sign_up_spec.rb 8.6  3
        - Sign up Sign up OK 3.3 OK  
        - Sign up Can't sign up with the same username twice 2.2 OK  
        - Sign up Sign up Validation: password match 1.0 OK  
00:34:50 iMac-02
search_other_spec.rb 11.5  2
        - Search Post Search in Title as Other user 3.0 OK  
        - Search Post Search in Content as Other user 1.5 OK  
Build log
2021-10-07 00:32:27 +0000 [Build] Start 2021-10-07 00:32:28 +0000 [INFO] buildwise-build.rb production | finding a build |172 => Vibe Build RSpec Django | (true)... 2021-10-07 00:32:28 +0000 [INFO] Running build command: for 'vibe-parallel-build-rspec', build: 172 2021-10-07 00:32:28 +0000 [INFO] Builder started: /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/.lock 2021-10-07 00:32:28 +0000 [INFO] New Build #172 2021-10-07 00:32:28 +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 From github.com:NewVibeMedia/vibe-ui-tests d8026a2..5071e1b django -> origin/django 2021-10-07 00:32:30 +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 00:32:30 +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 00:32:30 +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 00:32:30 +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 d8026a20 -1 --pretty=format:"%an|%ad|%H|%s" 2021-10-07 00:32:30 +0000 [DEBUG] check Git changes, current Revision: 5071e1bed687f4db07dacfd5571649457668db3c | last tested: d8026a209e0d9763d1ec3b68e771bc5623285e79 | new: false 2021-10-07 00:32:30 +0000 [DEBUG] #about update scm: scm_changes => true, :force => true, :last_build_ok => false| 2021-10-07 00:32:30 +0000 [DEBUG] Git determining change sets: --stat --since="2021-10-05 14:07:23" > /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/artifacts/00172-20211007003230/changeset.log 2021-10-07 00:32:30 +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/00172-20211007003230/changeset.log" 2021-10-07 00:32:30 +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 00:32:30 +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 d8026a209e0d9763d1ec3b68e771bc5623285e79 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 00:32:31 +0000 [INFO] recent_changed_files: ["hide_posts_spec.rb", "my_posts_spec.rb", "post_filtering_24hours_spec.rb"] 2021-10-07 00:32:31 +0000 [INFO] Updated priority for 2 test script files 2021-10-07 00:32:31 +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/00172-20211007003230. 2021-10-07 00:32:31 +0000 [INFO] Building ... 2021-10-07 00:32:31 +0000 [INFO] Clean reports from the last build at 2021-10-07 00:32:31 +0000 [INFO] Build step: UI Test 2021-10-07 00:32:31 +0000 [INFO] Run Rake task '-f Rakefile ci:ui_tests:full' 2021-10-07 00:35:19 +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/00172-20211007003230/step_464.log && rake -f Rakefile ci:ui_tests:full >> /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/artifacts/00172-20211007003230/step_464.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 00:35:19 +0000 [Build] successful? => false | current revision: 5071e1be 2021-10-07 00:35:19 +0000 [INFO] Parsing results and save to database ... 2021-10-07 00:35:19 +0000 [DEBUG] About the parse results xml (18 test files) and save to database 2021-10-07 00:35:19 +0000 [INFO] Archiving files: [] 2021-10-07 00:35:19 +0000 [INFO] Sending notifications ... 2021-10-07 00:35:19 +0000 [INFO] Archiving the builder log for build 172: /var/www/sinatra/buildwise-1.9.1/log/builds/build_172.log 2021-10-07 00:35:19 +0000 [INFO] The build 172 ends. 2021-10-07 00:35:19 +0000 [INFO] The build 172 marked as complete 2021-10-07 00:35:19 +0000 [INFO] BuildCommand finished with exit code: #<BuildStepExecution:0x000055a465550f00>
triggered by admin at 2021-10-07 00:32:26