[Bug 278413] www/chromium: --headless seems to be broken
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278413 Bug ID: 278413 Summary: www/chromium: --headless seems to be broken Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: chrom...@freebsd.org Reporter: open...@getsnappy.com Flags: maintainer-feedback?(chrom...@freebsd.org) Assignee: chrom...@freebsd.org During my latest upgrade, some of my Nagios monitors broke. I am using Python webdriver to control Chrome in headless mode through the chromedriver built as part of www/chromium. The error message I received was: raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally. (chrome not reachable) (The process started from chrome location /usr/local/bin/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Testing --headless from the command line with the following command fails to save a screenshot and exits with the normal exit code 0. So, in short, it seems like --headless just doesn't work correctly anymore. /usr/local/bin/chrome --headless --disable-gpu --screenshot https://www.google.com I first noticed with the build chromium-122.0.6261.111. I also tried using the most recent version, chromium-123.0.6312.122. With a little work, I reverted back to chromium-118.0.5993.88, and everything worked as expected. The command line generates a screenshot, and my tests using Python webdriver pass. -- You are receiving this mail because: You are the assignee for the bug.
maintainer-feedback requested: [Bug 278413] www/chromium: --headless seems to be broken
Bugzilla Automation has asked freebsd-chromium (Nobody) for maintainer-feedback: Bug 278413: www/chromium: --headless seems to be broken https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278413 --- Description --- During my latest upgrade, some of my Nagios monitors broke. I am using Python webdriver to control Chrome in headless mode through the chromedriver built as part of www/chromium. The error message I received was: raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally. (chrome not reachable) (The process started from chrome location /usr/local/bin/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Testing --headless from the command line with the following command fails to save a screenshot and exits with the normal exit code 0. So, in short, it seems like --headless just doesn't work correctly anymore. /usr/local/bin/chrome --headless --disable-gpu --screenshot https://www.google.com I first noticed with the build chromium-122.0.6261.111. I also tried using the most recent version, chromium-123.0.6312.122. With a little work, I reverted back to chromium-118.0.5993.88, and everything worked as expected. The command line generates a screenshot, and my tests using Python webdriver pass.
[Bug 244532] www/chromium - Makefile.local contrib for ensuring ccache is used during build
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244532 Denis Shaposhnikov changed: What|Removed |Added CC||d...@bamus.cz --- Comment #2 from Denis Shaposhnikov --- my temporary (I hope it is temporary) solution is using custom bsd.overlay.mk: if !defined(_DSH_OVERLAY_INCLUDED) _DSH_OVERLAY_INCLUDED= yes if defined(WITH_CCACHE_BUILD) && !defined(NO_CCACHE) # From bsd.ccache.mk, because it isn't included yet. The system includes # bsd.ccache.mk after bsd.overlay.mk. if defined(CCACHE_WRAPPER_PATH) CCACHE_PKG_PREFIX= ${CCACHE_WRAPPER_PATH:C,/libexec/ccache$,,} endif CCACHE_PKG_PREFIX?= ${LOCALBASE} CCACHE_WRAPPER_PATH?= ${CCACHE_PKG_PREFIX}/libexec/ccache CCACHE_BIN?=${CCACHE_PKG_PREFIX}/bin/ccache if ${.CURDIR:M*/www/ungoogled-chromium} # https://chromium.googlesource.com/chromium/src.git/+/master/docs/ccache_macmd#use-with-gn GN_ARGS+= cc_wrapper="${SETENV} CCACHE_SLOPPINESS=time_macros ${CCACHE_BIN}" endif endif # defined(WITH_CCACHE_BUILD) && !defined(NO_CCACHE) endif # !defined(_DSH_OVERLAY_INCLUDED) and build it using poudriere with my own overlay ports tree. -- You are receiving this mail because: You are the assignee for the bug.