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

Vibe Build RSpec Django   Build #182 Failed

Started: 2021-10-09T09:45:13Z
Duration: 5 minutes
Time saved by parallel: -26.9%
False alarms: 0
Change log
commit 57c75a6a38187c2888791cc91867b1670c1a1d0f Author: Courtney Zhan <qinmengzhan@gmail.com> Date: Sat Oct 9 19:44:37 2021 +1000 Changed new post message spec/post_entry_spec.rb | 2 +- spec/save_posts_spec.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 7bf1723ee72c24fed2a4cdc98ad080c046851618 Author: Courtney Zhan <qinmengzhan@gmail.com> Date: Sat Oct 9 19:41:47 2021 +1000 Change post successful message spec/daily_tasks_spec.rb | 6 +++--- spec/post_entry_gratitude_spec.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) commit 920ff3755decf364791280bb9048489109a9000c Author: Courtney Zhan <qinmengzhan@gmail.com> Date: Sat Oct 9 11:07:48 2021 +1000 Added tests for daily tasks pages/landing_page.rb | 38 +++++++++++++++++++ spec/daily_tasks_spec.rb | 99 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 137 insertions(+) commit 82ce6d98267ee5571caa4698f0f9bfc05a7a6462 Author: Courtney Zhan <qinmengzhan@gmail.com> Date: Fri Oct 8 19:32:38 2021 +1000 Removing /posts references pages/post_list_page.rb | 2 +- spec/post_entry_gratitude_spec.rb | 18 ++++++++++++++++-- spec/post_entry_spec.rb | 6 +++--- spec/post_filtering_24hours_spec.rb | 8 ++++---- spec/post_permission_admin_spec.rb | 8 ++++---- spec/post_permission_other_spec.rb | 12 ++++++------ spec/responsive_ui_spec.rb | 4 ++-- 7 files changed, 36 insertions(+), 22 deletions(-)
Test Results ( 43 tests took 5 minutes on 1 agents, 4 minutes if one machine )
Agent test file   ( 43 test cases in 19 test scripts files ) Time (s) Result
09:45:22 iMac-02
save_posts_spec.rb 29.6  48
        - Save Posts Save Post from detail page 5.5 Failure
        - Save Posts Save post from list page 8.6 Failure
        - Save Posts Cannot save post multiple times 5.1 Failure
        - Save Posts Unsave post 5.4 Failure
09:49:55 iMac-02
post_entry_spec.rb 13.5  8
        - Post Create Update Delete Add a new entry 3.1 Failure
        - Post Create Update Delete Edit an entry 2.5 OK  
        - Post Create Update Delete Delete an entry 3.0 OK  
09:45:56 iMac-02
hide_posts_spec.rb 17.0  41
        - Hide Posts Hide Post from detail page 5.3 OK  
        - Hide Posts Unhide post 5.2 OK  
        - Hide Posts Cannot hide same post multiple times 3.9 OK  
09:46:16 iMac-02
post_entry_gratitude_spec.rb 10.3  35
        - New gratitude post Add a new gratitude entry, verify the pre-filled title 2.5 OK  
        - New gratitude post Add a new gratitude entry 2.0 OK  
        - New gratitude post Cancel gratitude entry and return to feed 2.6 OK  
09:46:30 iMac-02
responsive_ui_spec.rb 7.7  35
        - Responsive UI Mobile - Add new entry 5.3 OK  
09:46:40 iMac-02
post_permission_guest_spec.rb 10.2  12
        - 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  
09:46:54 iMac-02
search_other_spec.rb 11.3  11
        - Search Post Search in Title as Other user 3.0 OK  
        - Search Post Search in Content as Other user 1.5 OK  
09:47:08 iMac-02
post_question_filtering_spec.rb 51.3  6
        - Post Question Filtering Verify can only see answers to questions user has answered 48.8 OK  
09:48:02 iMac-02
daily_tasks_spec.rb 11.5  5
        - Landing page daily tasks Complete mood task 1.4 OK  
        - Landing page daily tasks Complete post task, irrespective of post type 5.2 OK  
        - Landing page daily tasks Complete all daily tasks 2.4 OK  
09:48:16 iMac-02
post_entry_question_spec.rb 13.9  4
        - New question post Add a new question entry, verify the random title 10.7 OK  
09:48:32 iMac-02
post_filtering_24hours_spec.rb 13.1  4
        - Post Filtering by 24 hours Public Entry limited by last 24 hours for public 1.8 OK  
        - Post Filtering by 24 hours Public Entry older than 24 hours is still viewable by admin users 1.9 OK  
09:48:48 iMac-02
search_post_spec.rb 14.1  4
        - Search Post Search in Title 3.0 OK  
        - Search Post Search in Content 1.5 OK  
        - Search Post Search is limited to 24 hours only 1.4 OK  
09:49:06 iMac-02
login_spec.rb 6.9  3
        - Create and login as user Login Fail 2.1 OK  
        - Create and login as user login OK then logout 2.4 OK  
09:49:17 iMac-02
mood_permission_spec.rb 6.6  3
        - Mood Permission User can only view and edit own moods 3.6 OK  
09:49:27 iMac-02
mood_spec.rb 9.4  3
        - Mood CRUD Moods 4.2 OK  
        - Mood User can only enter one mood for one day 2.3 OK  
09:49:39 iMac-02
my_posts_spec.rb 12.3  3
        - MyPosts Check that old, gratitude and reflection show in My Posts 6.1 OK  
        - MyPosts Deleting a post is reflected in post history as well 3.0 OK  
09:50:11 iMac-02
post_permission_admin_spec.rb 8.9  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  
09:50:23 iMac-02
sign_up_spec.rb 8.2  3
        - Sign up Sign up OK 3.2 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  
09:50:35 iMac-02
post_permission_other_spec.rb 9.8  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-09 09:45:14 +0000 [Build] Start 2021-10-09 09:45:15 +0000 [INFO] buildwise-build.rb production | finding a build |182 => Vibe Build RSpec Django | (true)... 2021-10-09 09:45:15 +0000 [INFO] Running build command: for 'vibe-parallel-build-rspec', build: 182 2021-10-09 09:45:15 +0000 [INFO] Builder started: /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/.lock 2021-10-09 09:45:15 +0000 [INFO] New Build #182 2021-10-09 09:45:15 +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 7bf1723..57c75a6 django -> origin/django 2021-10-09 09:45:17 +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-09 09:45:17 +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-09 09:45:17 +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-09 09:45:17 +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 920ff375 -1 --pretty=format:"%an|%ad|%H|%s" 2021-10-09 09:45:17 +0000 [DEBUG] check Git changes, current Revision: 57c75a6a38187c2888791cc91867b1670c1a1d0f | last tested: 920ff3755decf364791280bb9048489109a9000c | new: false 2021-10-09 09:45:17 +0000 [DEBUG] #about update scm: scm_changes => true, :force => true, :last_build_ok => false| 2021-10-09 09:45:17 +0000 [DEBUG] Git determining change sets: --stat --since="2021-10-07 05:29:01" > /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/artifacts/00182-20211009094517/changeset.log 2021-10-09 09:45:17 +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-07 05:29:01" > "/home/zhimin/.buildwise/work/vibe-parallel-build-rspec/artifacts/00182-20211009094517/changeset.log" 2021-10-09 09:45:17 +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-09 09:45:17 +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 7bf1723ee72c24fed2a4cdc98ad080c046851618 HEAD /var/www/sinatra/buildwise-1.9.2/lib/buildwise/builder/base.rb:32: warning: encountered \r in middle of line, treated as a mere space 2021-10-09 09:45:17 +0000 [INFO] recent_changed_files: ["post_entry_spec.rb", "save_posts_spec.rb"] 2021-10-09 09:45:17 +0000 [INFO] Updated priority for 2 test script files 2021-10-09 09:45:17 +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/00182-20211009094517. 2021-10-09 09:45:18 +0000 [INFO] Building ... 2021-10-09 09:45:18 +0000 [INFO] Clean reports from the last build at 2021-10-09 09:45:18 +0000 [INFO] Build step: UI Test 2021-10-09 09:45:18 +0000 [INFO] Run Rake task '-f Rakefile ci:ui_tests:full' 2021-10-09 09:50:50 +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/00182-20211009094517/step_492.log && rake -f Rakefile ci:ui_tests:full >> /home/zhimin/.buildwise/work/vibe-parallel-build-rspec/artifacts/00182-20211009094517/step_492.log 2>&1 exitstatus: 255 | ["/var/www/sinatra/buildwise-1.9.2/lib/utils/command_line.rb:128:in `verify_exit_code'", "/var/www/sinatra/buildwise-1.9.2/lib/utils/command_line.rb:71:in `exec'", "/var/www/sinatra/buildwise-1.9.2/lib/utils/command_line.rb:46:in `block in execute'", "/var/www/sinatra/buildwise-1.9.2/lib/utils/command_line.rb:45:in `chdir'", "/var/www/sinatra/buildwise-1.9.2/lib/utils/command_line.rb:45:in `execute'", "/var/www/sinatra/buildwise-1.9.2/lib/buildwise/builder/rake.rb:24:in `run_task'", "/var/www/sinatra/buildwise-1.9.2/lib/buildwise/build_command.rb:517:in `block in execute_build_steps'", "/var/www/sinatra/buildwise-1.9.2/lib/buildwise/build_command.rb:501:in `each'", "/var/www/sinatra/buildwise-1.9.2/lib/buildwise/build_command.rb:501:in `execute_build_steps'", "/var/www/sinatra/buildwise-1.9.2/lib/buildwise/build_command.rb:133:in `block in run'", "/var/www/sinatra/buildwise-1.9.2/lib/buildwise/latch.rb:21:in `lock'", "/var/www/sinatra/buildwise-1.9.2/lib/buildwise/build_command.rb:58:in `run'", "/var/www/sinatra/buildwise-1.9.2/bin/buildwise-build.rb:62:in `<main>'"] 2021-10-09 09:50:50 +0000 [Build] successful? => false | current revision: 57c75a6a 2021-10-09 09:50:50 +0000 [INFO] Parsing results and save to database ... 2021-10-09 09:50:50 +0000 [DEBUG] About the parse results xml (19 test files) and save to database 2021-10-09 09:50:50 +0000 [INFO] Archiving files: [] 2021-10-09 09:50:50 +0000 [INFO] Sending notifications ... 2021-10-09 09:50:50 +0000 [INFO] Archiving the builder log for build 182: /var/www/sinatra/buildwise-1.9.2/log/builds/build_182.log 2021-10-09 09:50:50 +0000 [INFO] The build 182 ends. 2021-10-09 09:50:50 +0000 [INFO] The build 182 marked as complete 2021-10-09 09:50:50 +0000 [INFO] BuildCommand finished with exit code: #<BuildStepExecution:0x000055eefbb9ca90>
triggered by admin at 2021-10-09 09:45:13