docker-rt icon indicating copy to clipboard operation
docker-rt copied to clipboard

RT 6+ add support for --enable-dashboard-chart-emails

Open netsandbox opened this issue 6 months ago • 0 comments

https://github.com/bestpractical/rt/commit/4f2930d819d9f61e4adebbf43847cf36af066ce6

Do we really want this? Because of Docker image size increase!

Currently WWW::Mechanize::Chrome tests fail:

Test results
t/00-load.t ................................... ok
Unhandled type: GLOB at /usr/local/share/perl/5.36.0/Devel/Cycle.pm line 107.
t/01-chrome-devtools-protocol-target-cycle.t .. ok
t/01-chrome-devtools-protocol-target.t ........ ok
t/01-chrome-devtools-protocol.t ............... ok
t/01-select-backend-implementation.t .......... skipped: No backend other than IO::Async available
t/02-chrome-devtools-tab.t .................... ok
t/03-listener-leak-test.t ..................... ok
t/47-mech-simplest.t .......................... ok
Option remote-allow-origins does not take an argument
Unknown option: no-default-browser-check
Unknown option: no-sandbox
Unknown option: safebrowsing-disable-auto-update
Unknown option: disable-background-timer-throttling
Unknown option: disable-backgrounding-occluded-windows
Unknown option: disable-breakpad
Unknown option: disable-default-apps
Unknown option: disable-dev-shm-usage
Unknown option: disable-domain-reliability
Unknown option: disable-ipc-flooding-protection
Unknown option: disable-client-side-phishing-detection
Unknown option: disable-component-update
Unknown option: disable-popup-blocking
Unknown option: disable-prompt-on-repost
Unknown option: disable-renderer-backgrounding
Unknown option: disable-translate
Unknown option: disable-web-resources
Option remote-allow-origins does not take an argument
Unknown option: no-default-browser-check
Unknown option: no-sandbox
Unknown option: safebrowsing-disable-auto-update
Unknown option: disable-background-timer-throttling
Unknown option: disable-backgrounding-occluded-windows
Unknown option: disable-breakpad
Unknown option: disable-default-apps
Unknown option: disable-dev-shm-usage
Unknown option: disable-domain-reliability
Unknown option: disable-ipc-flooding-protection
Unknown option: disable-client-side-phishing-detection
Unknown option: disable-component-update
Unknown option: disable-popup-blocking
Unknown option: disable-prompt-on-repost
Unknown option: disable-renderer-backgrounding
Unknown option: disable-translate
Unknown option: disable-web-resources
t/49-command-line-options.t ................... ok
t/49-existing-port.t .......................... ok
t/49-launch.t ................................. ok
t/49-mech-get-file.t .......................... ok
t/49-mech-nav.t ............................... ok
t/49-pipe.t ................................... ok
t/49-port.t ................................... ok
t/50-follow-link.t ............................ ok
Use of apostrophe as package separator was deprecated in Perl 5.37.9,
and will be removed in Perl 5.42.0.  You should change code that uses
Test::More::isn't() to use Test::More::isnt() as a replacement at t/50-form-with-fields-gh48.t line 67
t/50-form-with-fields-gh48.t .................. ok
t/50-form-with-fields.t ....................... ok
t/50-form2.t .................................. ok
t/50-gh63-encode-response-content.t ........... ok

#   Failed test 'The Chrome process stays alive if 'autoclose' is set to 0'
#   at t/50-mech-autoclose.t line 47.
#          got: '2'
#     expected: '1'
# Looks like you failed 1 test of 1.
t/50-mech-autoclose.t ......................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
t/50-mech-content-nonhtml.t ................... ok
t/50-mech-content.t ........................... ok
t/50-mech-ct.t ................................ ok
t/50-mech-encoding.t .......................... ok
t/50-mech-eval.t .............................. ok
t/50-mech-forms.t ............................. ok
t/50-mech-get-nonexistent.t ................... ok
t/50-mech-get.t ............................... ok
t/50-mech-new-dsl.t ........................... ok
t/50-mech-new-tab.t ........................... ok

#   Failed test 'We got the correct error message'
#   at t/50-mech-new.t line 176.
#                   'No target with given id found
# 
# -32602 at /root/.cpanm/work/1748799911.6793/WWW-Mechanize-Chrome-0.73/blib/lib/Chrome/DevToolsProtocol.pm line 533
# '
#     doesn't match '(?^:Couldn't find a tab matching)'
# Looks like you failed 1 test of 11.
t/50-mech-new.t ............................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests 
t/50-mech-redirect.t .......................... ok

#   Failed test 'We moved to the start URL instead of about:blank'
#   at t/50-mech-start-url.t line 42.
#          got: ''
#     expected: 'http://127.0.0.1:37775/'
# Looks like you failed 1 test of 2.
t/50-mech-start-url.t ......................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests 
t/50-mech-status.t ............................ ok
t/50-mech-text.t .............................. ok
t/50-popup.t .................................. ok
t/50-tick.t ................................... ok
t/51-click-intrapage.t ........................ ok
t/51-mech-find-all-links.t .................... ok
t/51-mech-form-with-fields.t .................. ok
t/51-mech-links.t ............................. ok
t/51-mech-set-content.t ....................... ok
t/51-mech-submit.t ............................ ok
t/52-mech-logfh.t ............................. ok
t/53-mech-capture-js-error.t .................. ok
t/56-render-content.t ......................... ok
t/58-alert.t .................................. ok
t/60-list-tabs.t .............................. ok
t/60-mech-cookies.t ........................... ok
t/60-mech-custom-headers.t .................... ok
t/61-mech-download.t .......................... ok
Can't locate Filter/signatures.pm in @INC (you may need to install the Filter::signatures module) (@INC contains: /root/.cpanm/work/1748799911.6793/WWW-Mechanize-Chrome-0.73/blib/lib /root/.cpanm/work/1748799911.6793/WWW-Mechanize-Chrome-0.73/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl .) at t/61-popup.t line 7.
BEGIN failed--compilation aborted at t/61-popup.t line 7.
t/61-popup.t .................................. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/61-screencast.t ............................. ok
t/62-networkstatus.t .......................... ok
t/62-viewport-size.t .......................... ok
t/65-is_visible-2.t ........................... ok
t/65-is_visible.t ............................. ok
t/65-save-content.t ........................... ok
t/65-wait_until_visible.t ..................... ok
t/70-mech-png.t ............................... ok
t/75-classnames.t ............................. ok
t/76-scroll.t ................................. ok
t/77-reload-fragment.t ........................ ok
Unhandled type: GLOB at /usr/local/share/perl/5.36.0/Devel/Cycle.pm line 107.
t/78-memleak.t ................................ ok
Unhandled type: GLOB at /usr/local/share/perl/5.36.0/Devel/Cycle.pm line 107.
t/78-two-instances.t .......................... ok
Can't locate Filter/signatures.pm in @INC (you may need to install the Filter::signatures module) (@INC contains: /root/.cpanm/work/1748799911.6793/WWW-Mechanize-Chrome-0.73/blib/lib /root/.cpanm/work/1748799911.6793/WWW-Mechanize-Chrome-0.73/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl .) at t/99-interactive-single-window.t line 7.
BEGIN failed--compilation aborted at t/99-interactive-single-window.t line 7.
t/99-interactive-single-window.t .............. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
t/rt127588.t .................................. ok
t/rt130999.t .................................. ok
t/select.t .................................... skipped: Couldn't connect to Chrome:

Test Summary Report
-------------------
t/50-mech-autoclose.t                       (Wstat: 256 (exited 1) Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/50-mech-new.t                             (Wstat: 256 (exited 1) Tests: 11 Failed: 1)
  Failed test:  11
  Non-zero exit status: 1
t/50-mech-start-url.t                       (Wstat: 256 (exited 1) Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
t/61-popup.t                                (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
t/99-interactive-single-window.t            (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=70, Tests=525, 78 wallclock secs ( 0.17 usr  0.06 sys + 22.19 cusr  3.51 csys = 25.93 CPU)
Result: FAIL
Failed 5/70 test programs. 3/525 subtests failed.
make: *** [Makefile:1017: test_dynamic] Error 255
-> FAIL Installing WWW::Mechanize::Chrome failed. See /root/.cpanm/work/1748799911.6793/build.log for details. Retry with --force to force install it.

netsandbox avatar Jun 01 '25 17:06 netsandbox