Project

General

Profile

action #121042 ยป 15-comments.pl

mkittler, 2022-11-28 12:58

 
[INFO] using database schema "tmp_qjKEgYbWToUYD6dj"
[info] [pid:1577] setting database search path to tmp_qjKEgYbWToUYD6dj when registering Minion plugin
# Starting WebUI service. Port: 51917
# PID of openqa-webapi: 1581
[info] [pid:1581] setting database search path to tmp_qjKEgYbWToUYD6dj when registering Minion plugin
ok 1 - on main page
ok 2 - back on main page
ok 3 - GET /dashboard_build_results?limit_builds=10
ok 4 - 200 OK
ok 5 - exactly two builds marked as 'reviewed'
ok 6 - one build is marked as 'reviewed-all-passed' because all tests passed
[debug] Retrieving results for up to 10 builds up to 0 days old
ok 7 - on group overview
# Subtest: commenting in the group overview
ok 1 - no comments present so far
# Subtest: add
# Wait for jQuery successful: comment added to group
ok 1 - no unexpected js warnings
ok 2 - exactly one comment heading present
ok 3 - exactly one comment body present
ok 4 - heading text
ok 5 - body text
ok 6 - anchor matches expected format
ok 7 - body found via anchor ref
1..7
ok 2 - add
# Subtest: edit
# Wait for jQuery successful: comment updated within group
ok 1 - no unexpected js warnings
ok 2 - exactly one comment heading present
ok 3 - exactly one comment body present
ok 4 - heading text
ok 5 - body text
ok 6 - anchor matches expected format
ok 7 - body found via anchor ref
1..7
ok 3 - edit
# Subtest: remove
ok 1
# Wait for jQuery successful: comment removal dismissed within group
ok 2 - comment is still there after dismissing removal
ok 3
# Wait for jQuery successful: comment removed within group
ok 4 - removed comment is actually gone
ok 5 - no unexpected js warnings
# Wait for jQuery successful: comment added to group
ok 6 - no unexpected js warnings
ok 7 - exactly one comment heading present
ok 8 - exactly one comment body present
ok 9 - heading text
ok 10 - body text
ok 11 - anchor matches expected format
ok 12 - body found via anchor ref
1..12
ok 4 - remove
1..4
ok 8 - commenting in the group overview
# Subtest: URL auto-replace
[debug] [pid:1577] build_url: http://localhost:51917/group_overview/1001
# Wait for jQuery successful: comment with URL-replacing added
ok 1
ok 2
ok 3 - url2
ok 4 - url3
ok 5 - url4
ok 6 - url5
ok 7 - url6
ok 8 - url7
ok 9 - url8
ok 10 - url9
ok 11 - url10
ok 12 - url11
ok 13 - url12
ok 14 - url14
ok 15 - url15
ok 16 - url16
ok 17 - url17
ok 18 - url18
ok 19 - url19
ok 20 - url20
ok 21 - url21
ok 22 - url2-href
ok 23 - url3-href
ok 24 - url4-href
ok 25 - url5-href
ok 26 - url6-href
ok 27 - url7-href
ok 28 - url8-href
ok 29 - url9-href
ok 30 - url10-href
ok 31 - url11-href
ok 32 - url12-href
ok 33 - url14-href
ok 34 - url15-href
ok 35 - url16-href
ok 36 - url17-href
ok 37 - url18-href
ok 38 - url19-href
ok 39 - url20-href
ok 40 - url21-href
1..40
ok 9 - URL auto-replace
# Subtest: commenting in test results including labels
ok 1 - on test result page
[debug] looking for "autoinst-log.txt" in [
"t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc",
"t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc/ulogs",
]
[debug] found bless({
path => "t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc/autoinst-log.txt",
pid => 1581,
}, "Mojo::Asset::File")
# Subtest: help popover
# Wait for jQuery successful: comments tab loaded
ok 1 - popover shown on click
1..1
ok 2 - help popover
# Subtest: add label
ok 1 - label template added
1..1
ok 3 - add label
ok 4 - no comments present so far
# Subtest: add
# Wait for jQuery successful: comment added to job
ok 1 - no unexpected js warnings
ok 2 - exactly one comment heading present
ok 3 - exactly one comment body present
ok 4 - heading text
ok 5 - body text
ok 6 - anchor matches expected format
ok 7 - body found via anchor ref
1..7
ok 5 - add
# Subtest: edit
# Wait for jQuery successful: comment updated within job
ok 1 - no unexpected js warnings
ok 2 - exactly one comment heading present
ok 3 - exactly one comment body present
ok 4 - heading text
ok 5 - body text
ok 6 - anchor matches expected format
ok 7 - body found via anchor ref
1..7
ok 6 - edit
# Subtest: remove
ok 1
# Wait for jQuery successful: comment removal dismissed within job
ok 2 - comment is still there after dismissing removal
ok 3
# Wait for jQuery successful: comment removed within job
ok 4 - removed comment is actually gone
ok 5 - no unexpected js warnings
# Wait for jQuery successful: comment added to job
ok 6 - no unexpected js warnings
ok 7 - exactly one comment heading present
ok 8 - exactly one comment body present
ok 9 - heading text
ok 10 - body text
ok 11 - anchor matches expected format
ok 12 - body found via anchor ref
1..12
ok 7 - remove
# Wait for jQuery successful
# Subtest: add job status icons
[debug] looking for "autoinst-log.txt" in [
"t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc",
"t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc/ulogs",
]
[debug] found bless({
path => "t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc/autoinst-log.txt",
pid => 1581,
}, "Mojo::Asset::File")
# Wait for jQuery successful
ok 1 - Icon for success is shown
ok 2 - Icon for failure is shown
1..2
ok 8 - add job status icons
# Subtest: check comment availability sign on test result overview
ok 1 - on the right build
ok 2 - back on test group overview
ok 3 - test results show available comment(s)
1..3
ok 9 - check comment availability sign on test result overview
# Subtest: add label and bug and check availability sign
[debug] looking for "autoinst-log.txt" in [
"t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc",
"t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc/ulogs",
]
[debug] found bless({
path => "t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc/autoinst-log.txt",
pid => 1581,
}, "Mojo::Asset::File")
# Wait for jQuery successful: comments tab of job 99938 loaded
# Wait for jQuery successful: comment added to job 99938
ok 1 - label icon shown
# Wait for jQuery successful: comments tab of job 99939 loaded
# Wait for jQuery successful: comment added to job 99939
ok 2 - force_result label icon shown
[debug] looking for "autoinst-log.txt" in [
"t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc",
"t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc/ulogs",
]
[debug] found bless({
path => "t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc/autoinst-log.txt",
pid => 1581,
}, "Mojo::Asset::File")
# Wait for jQuery successful: comments tab of job 99938 loaded
# Wait for jQuery successful: comment added to job 99938 (2)
ok 3 - bug icon shown for bsc\#1234, title rendered with new-line, HTML code is rendered as text
ok 4 - bug icon shown for poo\#4321
ok 5 - 3 bugrefs shown
ok 6 - GET http://localhost:51917/tests/overview?version=Factory&groupid=1001&build=0048&distri=opensuse
ok 7 - 200 OK
ok 8
[debug] Retrieving results for up to 10 builds up to 0 days old
ok 9 - build should be marked because all tests passed
# Subtest: progress items work, too
[debug] looking for "autoinst-log.txt" in [
"t/data/openqa/testresults/00099/00099926-opensuse-Factory-staging_e-x86_64-Build87.5011-minimalx",
"t/data/openqa/testresults/00099/00099926-opensuse-Factory-staging_e-x86_64-Build87.5011-minimalx/ulogs",
]
[debug] found bless({
path => "t/data/openqa/testresults/00099/00099926-opensuse-Factory-staging_e-x86_64-Build87.5011-minimalx/autoinst-log.txt",
pid => 1581,
}, "Mojo::Asset::File")
# Wait for jQuery successful: comments tab of job 99926 loaded
# Wait for jQuery successful: comment added to job 99926
ok 1 - on the right build
ok 2 - bolt icon shown for progress issues
1..2
ok 10 - progress items work, too
# Subtest: latest bugref first
# Wait for jQuery successful: comments tab of job 99926 loaded (2)
# Wait for jQuery successful: comment added to job 99926 (2)
ok 1 - on the right build
ok 2 - first bugref shown
ok 3 - second bugref shown
ok 4 - third bugref shown
ok 5 - correct number of bugrefs shown
ok 6 - GET http://localhost:51917/tests/overview?distri=opensuse&build=87.5011&groupid=1001&version=Factory
ok 7 - 200 OK
ok 8
1..8
ok 11 - latest bugref first
[debug] Retrieving results for up to 10 builds up to 0 days old
1..11
ok 10 - add label and bug and check availability sign
1..10
ok 10 - commenting in test results including labels
# Subtest: commenting on parent group overview
[debug] Retrieving results for up to 10 builds up to 0 days old
ok 1 - no comments present so far
# Subtest: add
# Wait for jQuery successful: comment added to group
ok 1 - no unexpected js warnings
ok 2 - exactly one comment heading present
ok 3 - exactly one comment body present
ok 4 - heading text
ok 5 - body text
ok 6 - anchor matches expected format
ok 7 - body found via anchor ref
1..7
ok 2 - add
# Subtest: edit
# Wait for jQuery successful: comment updated within group
ok 1 - no unexpected js warnings
ok 2 - exactly one comment heading present
ok 3 - exactly one comment body present
ok 4 - heading text
ok 5 - body text
ok 6 - anchor matches expected format
ok 7 - body found via anchor ref
1..7
ok 3 - edit
# Subtest: remove
ok 1
# Wait for jQuery successful: comment removal dismissed within group
ok 2 - comment is still there after dismissing removal
ok 3
# Wait for jQuery successful: comment removed within group
ok 4 - removed comment is actually gone
ok 5 - no unexpected js warnings
# Wait for jQuery successful: comment added to group
ok 6 - no unexpected js warnings
ok 7 - exactly one comment heading present
ok 8 - exactly one comment body present
ok 9 - heading text
ok 10 - body text
ok 11 - anchor matches expected format
ok 12 - body found via anchor ref
1..12
ok 4 - remove
# Wait for jQuery successful: comment added to parent group
1..4
ok 11 - commenting on parent group overview
# Subtest: editing when logged in as regular user
# Subtest: test pinned comments: /group_overview/1001
[debug] Retrieving results for up to 10 builds up to 0 days old
# Wait for jQuery successful: pinned comment added to job group
[debug] Retrieving results for up to 10 builds up to 0 days old
ok 1 - comment is pinned
1..1
ok 1 - test pinned comments: /group_overview/1001
# Subtest: test pinned comments: /parent_group_overview/1
[debug] Retrieving results for up to 10 builds up to 0 days old
# Wait for jQuery successful: pinned comment added to job group
[debug] Retrieving results for up to 10 builds up to 0 days old
ok 1 - comment is pinned
1..1
ok 2 - test pinned comments: /parent_group_overview/1
# Subtest: test results
[debug] looking for "autoinst-log.txt" in [
"t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc",
"t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc/ulogs",
]
[debug] found bless({
path => "t/data/openqa/testresults/00099/00099938-opensuse-Factory-DVD-x86_64-Build0048-doc/autoinst-log.txt",
pid => 1581,
}, "Mojo::Asset::File")
# Wait for jQuery successful: comments tab for job 99938 loaded
ok 1 - edit not displayed for other users comments
ok 2 - removal not displayed for regular user
# Wait for jQuery successful: comment for job 99938 added by regular user
ok 3 - own comments can be edited
ok 4 - no comments can be removed, even not own
1..4
ok 3 - test results
# Subtest: group overview: /group_overview/1001
[debug] Retrieving results for up to 10 builds up to 0 days old
ok 1 - edit not displayed for other users comments
ok 2 - removal not displayed for regular user
# Wait for jQuery successful: comment for group added by regular user
ok 3 - own comments can be edited
ok 4 - no comments can be removed, even not own
1..4
ok 4 - group overview: /group_overview/1001
1..4
ok 12 - editing when logged in as regular user
ok 13 - no (unexpected) warnings (via END block)
    (1-1/1)