v2.0.0-alpha.33 #64
Annotations
24 errors
|
basic puppeteerExtractor tests › should call close on puppeteer automatically:
undefined#L0
TargetCloseError: Protocol error (Target.setDiscoverTargets): Target closed
at CallbackRegistry.clear (node_modules/puppeteer-core/src/common/CallbackRegistry.ts:90:30)
at Connection.#onClose (node_modules/puppeteer-core/src/cdp/Connection.ts:208:21)
at Socket.<anonymous> (node_modules/puppeteer-core/src/node/PipeTransport.ts:40:22)
|
|
basic puppeteerExtractor tests › waits until run method is explicitly called:
undefined#L0
TargetCloseError: Protocol error (Target.setDiscoverTargets): Target closed
at CallbackRegistry.clear (node_modules/puppeteer-core/src/common/CallbackRegistry.ts:90:30)
at Connection.#onClose (node_modules/puppeteer-core/src/cdp/Connection.ts:208:21)
at Socket.<anonymous> (node_modules/puppeteer-core/src/node/PipeTransport.ts:40:22)
|
|
|
|
basic SessionResourcesWatch tests › can find a resource:
build/agent/main/lib/DevtoolsSession.ts#L144
BrowserLaunchError:
at DevtoolsSession.onClosed (agent/main/lib/DevtoolsSession.ts:144:21)
at Connection.onClosed (agent/main/lib/Connection.ts:97:15)
at PipeTransport.onReadClosed (agent/main/lib/PipeTransport.ts:85:42)
------DEVTOOLS------------------------------------
------DEVTOOLS_SESSION_ID=------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at DevtoolsSession.send (agent/main/lib/DevtoolsSession.ts:84:37)
at Browser.testConnection (agent/main/lib/Browser.ts:342:32)
at Browser.launch (agent/main/lib/Browser.ts:157:18)
at async Object.cb (agent/main/lib/Pool.ts:181:7)
at async Queue.next (node_modules/commons/lib/Queue.ts:188:19)
------BROWSER_CREATION_Q--------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (agent/main/lib/Pool.ts:144:44)
at Agent.open (agent/main/lib/Agent.ts:122:34)
at async Session.openBrowser (node_modules/core/lib/Session.ts:280:5)
at async Function.create (node_modules/core/lib/Session.ts:961:7)
at async Object.<anonymous> (../desktop/core/test/SessionResourcesWatch.test.ts:40:30)
|
|
it should be able to capture stack origins:
datastore/plugins/hero-core/test/basic.test.ts#L97
TypeError: Cannot read properties of undefined (reading '0')
at Object.<anonymous> (../datastore/plugins/hero-core/test/basic.test.ts:97:29)
|
|
it should be able to upload a datastore and run it by hash:
datastore/plugins/hero-core/test/basic.test.ts#L63
expect(received).resolves.toEqual(expected) // deep equality
- Expected - 5
+ Received + 8
Object {
"latestVersion": "0.0.1",
"metadata": Any<Object>,
- "outputs": Array [
- Object {
- "title": "Datastore!",
- },
- ],
+ "runError": [BrowserLaunchError: Ulixee Cloud failed to launch Chrome - Failed to launch Chrome! Cancel Pending Promise (Target.setAutoAttach): Target closed.
+
+
+ Sometimes a reason can be found in the Chrome Stderr logs:
+ [0529/144818.690921:WARNING:chrome/app/chrome_main_linux.cc:80] Read channel stable from /home/runner/.cache/ulixee/chrome/136.0.7103.113/CHROME_VERSION_EXTRA
+ [4343:4343:0529/144818.701616:FATAL:sandbox/linux/suid/client/setuid_sandbox_host.cc:163] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/runner/.cache/ulixee/chrome/136.0.7103.113/chrome-sandbox is owned by root and has mode 4755.
+ [0529/144818.710525:ERROR:third_party/crashpad/crashpad/util/file/file_io_posix.cc:145] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
+ [0529/144818.710567:ERROR:third_party/crashpad/crashpad/util/file/file_io_posix.cc:145] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2). See Cloud console logs for details.],
}
at Object.toEqual (../node_modules/jest-cli/node_modules/expect/build/index.js:2086:20)
at Object.<anonymous> (../datastore/plugins/hero-core/test/basic.test.ts:63:14)
|
|
allows you to delete hero sessions if desktop is enabled:
build/agent/main/lib/DevtoolsSession.ts#L144
---> const meta = await hero.meta;
BrowserLaunchError:
at DevtoolsSession.onClosed (agent/main/lib/DevtoolsSession.ts:144:21)
at Connection.onClosed (agent/main/lib/Connection.ts:97:15)
at PipeTransport.onReadClosed (agent/main/lib/PipeTransport.ts:85:42)
------DEVTOOLS------------------------------------
------DEVTOOLS_SESSION_ID=------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at DevtoolsSession.send (agent/main/lib/DevtoolsSession.ts:84:37)
at Browser.testConnection (agent/main/lib/Browser.ts:342:32)
at Browser.launch (agent/main/lib/Browser.ts:157:18)
at async Object.cb (agent/main/lib/Pool.ts:181:7)
at async Queue.next (node_modules/commons/lib/Queue.ts:188:19)
------BROWSER_CREATION_Q--------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (agent/main/lib/Pool.ts:144:44)
at Agent.open (agent/main/lib/Agent.ts:122:34)
at async Session.openBrowser (node_modules/core/lib/Session.ts:280:5)
at async Function.create (node_modules/core/lib/Session.ts:961:7)
at async ConnectionToHeroClient.createSession (node_modules/core/connections/ConnectionToHeroClient.ts:196:30)
at async CommandRunner.runFn (node_modules/core/lib/CommandRunner.ts:36:14)
at async ConnectionToHeroClient.executeCommand (node_modules/core/connections/ConnectionToHeroClient.ts:258:12)
at async ConnectionToHeroClient.handleRequest (node_modules/core/connections/ConnectionToHeroClient.ts:66:14)
------CONNECTION----------------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at PendingMessages.create (node_modules/net/lib/PendingMessages.ts:47:44)
at ConnectionToHeroCore.sendRequest (node_modules/net/lib/ConnectionToCore.ts:155:50)
at async CoreCommandQueue.sendRequest (node_modules/client/lib/CoreCommandQueue.ts:317:12)
at async Object.cb (node_modules/client/lib/CoreCommandQueue.ts:231:16)
at async Queue.next (node_modules/commons/lib/Queue.ts:188:19)
------CORE COMMANDS-------------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at CoreCommandQueue.run (node_modules/client/lib/CoreCommandQueue.ts:220:8)
at Object.queue.run.timeoutMillis [as cb] (node_modules/client/lib/CoreSessions.ts:36:66)
at Queue.next (node_modules/commons/lib/Queue.ts:188:44)
at Queue.run (node_modules/commons/lib/Queue.ts:72:10)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get meta [as meta] (node_modules/client/lib/Hero.ts:218:53)
at Object.<anonymous> (../datastore/plugins/hero-core/test/ReplayRegistry.test.ts:155:27)
------AGENT QUEUE---------------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get meta [as meta] (node_modules/client/lib/Hero.ts:218:53)
at Object.<anonymous> (../datastore/plugins/hero-core/test/ReplayRegistry.test.ts:155:27)
|
|
should get hero sessions from the registry:
datastore/plugins/hero-core/test/ReplayRegistry.test.ts#L80
expect(received).resolves.toBeTruthy()
Received promise rejected instead of resolved
Rejected to value: [BrowserLaunchError: Ulixee Cloud failed to launch Chrome - Failed to launch Chrome! Cancel Pending Promise (Target.setAutoAttach): Target closed.··
Sometimes a reason can be found in the Chrome Stderr logs:
[0529/144802.142726:WARNING:chrome/app/chrome_main_linux.cc:80] Read channel stable from /home/runner/.cache/ulixee/chrome/136.0.7103.113/CHROME_VERSION_EXTRA
[4004:4004:0529/144802.151942:FATAL:sandbox/linux/suid/client/setuid_sandbox_host.cc:163] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/runner/.cache/ulixee/chrome/136.0.7103.113/chrome-sandbox is owned by root and has mode 4755.
[0529/144802.160700:ERROR:third_party/crashpad/crashpad/util/file/file_io_posix.cc:145] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0529/144802.160739:ERROR:third_party/crashpad/crashpad/util/file/file_io_posix.cc:145] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2). See Cloud console logs for details.]
at expect (../node_modules/jest-cli/node_modules/expect/build/index.js:2063:15)
at Object.<anonymous> (../datastore/plugins/hero-core/test/ReplayRegistry.test.ts:80:9)
|
|
basic output tests › can add observables directly:
build/agent/main/lib/DevtoolsSession.ts#L144
---> const sessionId = await hero.sessionId;
BrowserLaunchError:
at DevtoolsSession.onClosed (agent/main/lib/DevtoolsSession.ts:144:21)
at Connection.onClosed (agent/main/lib/Connection.ts:97:15)
at PipeTransport.onReadClosed (agent/main/lib/PipeTransport.ts:85:42)
------DEVTOOLS------------------------------------
------DEVTOOLS_SESSION_ID=------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at DevtoolsSession.send (agent/main/lib/DevtoolsSession.ts:84:37)
at Browser.testConnection (agent/main/lib/Browser.ts:342:32)
at Browser.launch (agent/main/lib/Browser.ts:157:18)
at async Object.cb (agent/main/lib/Pool.ts:181:7)
at async Queue.next (node_modules/commons/lib/Queue.ts:188:19)
------CONNECTION----------------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at PendingMessages.create (node_modules/net/lib/PendingMessages.ts:47:44)
at ConnectionToHeroCore.sendRequest (node_modules/net/lib/ConnectionToCore.ts:155:50)
at ConnectionToHeroCore.sendRequest (node_modules/client/connections/ConnectionToHeroCore.ts:57:18)
at CoreCommandQueue.sendRequest (node_modules/client/lib/CoreCommandQueue.ts:317:34)
at Object.cb (node_modules/client/lib/CoreCommandQueue.ts:231:27)
at Queue.next (node_modules/commons/lib/Queue.ts:188:44)
at Queue.run (node_modules/commons/lib/Queue.ts:72:10)
at CoreCommandQueue.run (node_modules/client/lib/CoreCommandQueue.ts:220:8)
at Object.queue.run.timeoutMillis [as cb] (node_modules/client/lib/CoreSessions.ts:36:66)
at Queue.next (node_modules/commons/lib/Queue.ts:188:44)
at Queue.run (node_modules/commons/lib/Queue.ts:72:10)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get sessionId [as sessionId] (node_modules/client/lib/Hero.ts:209:53)
at Object.run (../datastore/plugins/hero-client/test/output.test.ts:167:36)
at ExtractorInternal.run (../datastore/main/lib/ExtractorInternal.ts:72:42)
at ../datastore/main/lib/Extractor.ts:124:54
------CORE COMMANDS-------------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at CoreCommandQueue.run (node_modules/client/lib/CoreCommandQueue.ts:220:8)
at Object.queue.run.timeoutMillis [as cb] (node_modules/client/lib/CoreSessions.ts:36:66)
at Queue.next (node_modules/commons/lib/Queue.ts:188:44)
at Queue.run (node_modules/commons/lib/Queue.ts:72:10)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get sessionId [as sessionId] (node_modules/client/lib/Hero.ts:209:53)
at Object.run (../datastore/plugins/hero-client/test/output.test.ts:167:36)
at ExtractorInternal.run (../datastore/main/lib/ExtractorInternal.ts:72:42)
at ../datastore/main/lib/Extractor.ts:124:54
------AGENT QUEUE---------------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get sessionId [as sessionId] (node_modules/client/lib/Hero.ts:209:53)
at Object.run (../datastore/plugins/hero-client/test/output.test.ts:167:36)
at ExtractorInternal.run (../datastore/main/lib/ExtractorInternal.ts:72:42)
at ../datastore/main/lib/Extractor.ts:124:54
|
|
basic output tests › records object changes:
build/agent/main/lib/DevtoolsSession.ts#L144
---> const sessionId = await hero.sessionId;
BrowserLaunchError:
at DevtoolsSession.onClosed (agent/main/lib/DevtoolsSession.ts:144:21)
at Connection.onClosed (agent/main/lib/Connection.ts:97:15)
at PipeTransport.onReadClosed (agent/main/lib/PipeTransport.ts:85:42)
------DEVTOOLS------------------------------------
------DEVTOOLS_SESSION_ID=------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at DevtoolsSession.send (agent/main/lib/DevtoolsSession.ts:84:37)
at Browser.testConnection (agent/main/lib/Browser.ts:342:32)
at Browser.launch (agent/main/lib/Browser.ts:157:18)
at async Object.cb (agent/main/lib/Pool.ts:181:7)
at async Queue.next (node_modules/commons/lib/Queue.ts:188:19)
------BROWSER_CREATION_Q--------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (agent/main/lib/Pool.ts:144:44)
at Agent.open (agent/main/lib/Agent.ts:122:34)
at async Session.openBrowser (node_modules/core/lib/Session.ts:280:5)
at async Function.create (node_modules/core/lib/Session.ts:961:7)
at async ConnectionToHeroClient.createSession (node_modules/core/connections/ConnectionToHeroClient.ts:196:30)
at async CommandRunner.runFn (node_modules/core/lib/CommandRunner.ts:36:14)
at async ConnectionToHeroClient.executeCommand (node_modules/core/connections/ConnectionToHeroClient.ts:258:12)
at async ConnectionToHeroClient.handleRequest (node_modules/core/connections/ConnectionToHeroClient.ts:66:14)
------CONNECTION----------------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at PendingMessages.create (node_modules/net/lib/PendingMessages.ts:47:44)
at ConnectionToHeroCore.sendRequest (node_modules/net/lib/ConnectionToCore.ts:155:50)
at async CoreCommandQueue.sendRequest (node_modules/client/lib/CoreCommandQueue.ts:317:12)
at async Object.cb (node_modules/client/lib/CoreCommandQueue.ts:231:16)
at async Queue.next (node_modules/commons/lib/Queue.ts:188:19)
------CORE COMMANDS-------------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at CoreCommandQueue.run (node_modules/client/lib/CoreCommandQueue.ts:220:8)
at Object.queue.run.timeoutMillis [as cb] (node_modules/client/lib/CoreSessions.ts:36:66)
at Queue.next (node_modules/commons/lib/Queue.ts:188:44)
at Queue.run (node_modules/commons/lib/Queue.ts:72:10)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get sessionId [as sessionId] (node_modules/client/lib/Hero.ts:209:53)
at Object.run (../datastore/plugins/hero-client/test/output.test.ts:94:40)
at ExtractorInternal.run (../datastore/main/lib/ExtractorInternal.ts:72:42)
at ../datastore/main/lib/Extractor.ts:124:54
------AGENT QUEUE---------------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get sessionId [as sessionId] (node_modules/client/lib/Hero.ts:209:53)
at Object.run (../datastore/plugins/hero-client/test/output.test.ts:94:40)
at ExtractorInternal.run (../datastore/main/lib/ExtractorInternal.ts:72:42)
at ../datastore/main/lib/Extractor.ts:124:54
|
|
|
|
basic puppeteerExtractor tests › waits until run method is explicitly called:
undefined#L0
TargetCloseError: Protocol error (Target.setDiscoverTargets): Target closed
at CallbackRegistry.clear (node_modules/puppeteer-core/src/common/CallbackRegistry.ts:90:30)
at Connection.#onClose (node_modules/puppeteer-core/src/cdp/Connection.ts:208:21)
at Socket.<anonymous> (node_modules/puppeteer-core/src/node/PipeTransport.ts:40:22)
|
|
|
|
basic SessionResourcesWatch tests › can find a resource:
build/agent/main/lib/DevtoolsSession.ts#L144
BrowserLaunchError:
at DevtoolsSession.onClosed (agent/main/lib/DevtoolsSession.ts:144:21)
at Connection.onClosed (agent/main/lib/Connection.ts:97:15)
at PipeTransport.onReadClosed (agent/main/lib/PipeTransport.ts:85:42)
------DEVTOOLS------------------------------------
------DEVTOOLS_SESSION_ID=------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at DevtoolsSession.send (agent/main/lib/DevtoolsSession.ts:84:37)
at Browser.testConnection (agent/main/lib/Browser.ts:342:32)
at Browser.launch (agent/main/lib/Browser.ts:157:18)
at async Object.cb (agent/main/lib/Pool.ts:181:7)
at async Queue.next (node_modules/commons/lib/Queue.ts:188:19)
------BROWSER_CREATION_Q--------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (agent/main/lib/Pool.ts:144:44)
at Agent.open (agent/main/lib/Agent.ts:122:34)
at async Session.openBrowser (node_modules/core/lib/Session.ts:280:5)
at async Function.create (node_modules/core/lib/Session.ts:961:7)
at async Object.<anonymous> (../desktop/core/test/SessionResourcesWatch.test.ts:40:30)
|
|
it should be able to capture stack origins:
datastore/plugins/hero-core/test/basic.test.ts#L97
TypeError: Cannot read properties of undefined (reading '0')
at Object.<anonymous> (../datastore/plugins/hero-core/test/basic.test.ts:97:29)
|
|
it should be able to upload a datastore and run it by hash:
datastore/plugins/hero-core/test/basic.test.ts#L63
expect(received).resolves.toEqual(expected) // deep equality
- Expected - 5
+ Received + 8
Object {
"latestVersion": "0.0.1",
"metadata": Any<Object>,
- "outputs": Array [
- Object {
- "title": "Datastore!",
- },
- ],
+ "runError": [BrowserLaunchError: Ulixee Cloud failed to launch Chrome - Failed to launch Chrome! Cancel Pending Promise (Target.setAutoAttach): Target closed.
+
+
+ Sometimes a reason can be found in the Chrome Stderr logs:
+ [0529/144843.164336:WARNING:chrome/app/chrome_main_linux.cc:80] Read channel stable from /home/runner/.cache/ulixee/chrome/136.0.7103.113/CHROME_VERSION_EXTRA
+ [4294:4294:0529/144843.173782:FATAL:sandbox/linux/suid/client/setuid_sandbox_host.cc:163] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/runner/.cache/ulixee/chrome/136.0.7103.113/chrome-sandbox is owned by root and has mode 4755.
+ [0529/144843.186417:ERROR:third_party/crashpad/crashpad/util/file/file_io_posix.cc:145] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
+ [0529/144843.186477:ERROR:third_party/crashpad/crashpad/util/file/file_io_posix.cc:145] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2). See Cloud console logs for details.],
}
at Object.toEqual (../node_modules/jest-cli/node_modules/expect/build/index.js:2086:20)
at Object.<anonymous> (../datastore/plugins/hero-core/test/basic.test.ts:63:14)
|
|
allows you to delete hero sessions if desktop is enabled:
build/agent/main/lib/DevtoolsSession.ts#L144
---> const meta = await hero.meta;
BrowserLaunchError:
at DevtoolsSession.onClosed (agent/main/lib/DevtoolsSession.ts:144:21)
at Connection.onClosed (agent/main/lib/Connection.ts:97:15)
at PipeTransport.onReadClosed (agent/main/lib/PipeTransport.ts:85:42)
------DEVTOOLS------------------------------------
------DEVTOOLS_SESSION_ID=------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at DevtoolsSession.send (agent/main/lib/DevtoolsSession.ts:84:37)
at Browser.testConnection (agent/main/lib/Browser.ts:342:32)
at Browser.launch (agent/main/lib/Browser.ts:157:18)
at async Object.cb (agent/main/lib/Pool.ts:181:7)
at async Queue.next (node_modules/commons/lib/Queue.ts:188:19)
------BROWSER_CREATION_Q--------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (agent/main/lib/Pool.ts:144:44)
at Agent.open (agent/main/lib/Agent.ts:122:34)
at async Session.openBrowser (node_modules/core/lib/Session.ts:280:5)
at async Function.create (node_modules/core/lib/Session.ts:961:7)
at async ConnectionToHeroClient.createSession (node_modules/core/connections/ConnectionToHeroClient.ts:196:30)
at async CommandRunner.runFn (node_modules/core/lib/CommandRunner.ts:36:14)
at async ConnectionToHeroClient.executeCommand (node_modules/core/connections/ConnectionToHeroClient.ts:258:12)
at async ConnectionToHeroClient.handleRequest (node_modules/core/connections/ConnectionToHeroClient.ts:66:14)
------CONNECTION----------------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at PendingMessages.create (node_modules/net/lib/PendingMessages.ts:47:44)
at ConnectionToHeroCore.sendRequest (node_modules/net/lib/ConnectionToCore.ts:155:50)
at async CoreCommandQueue.sendRequest (node_modules/client/lib/CoreCommandQueue.ts:317:12)
at async Object.cb (node_modules/client/lib/CoreCommandQueue.ts:231:16)
at async Queue.next (node_modules/commons/lib/Queue.ts:188:19)
------CORE COMMANDS-------------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at CoreCommandQueue.run (node_modules/client/lib/CoreCommandQueue.ts:220:8)
at Object.queue.run.timeoutMillis [as cb] (node_modules/client/lib/CoreSessions.ts:36:66)
at Queue.next (node_modules/commons/lib/Queue.ts:188:44)
at Queue.run (node_modules/commons/lib/Queue.ts:72:10)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get meta [as meta] (node_modules/client/lib/Hero.ts:218:53)
at Object.<anonymous> (../datastore/plugins/hero-core/test/ReplayRegistry.test.ts:155:27)
------AGENT QUEUE---------------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get meta [as meta] (node_modules/client/lib/Hero.ts:218:53)
at Object.<anonymous> (../datastore/plugins/hero-core/test/ReplayRegistry.test.ts:155:27)
|
|
should get hero sessions from the registry:
datastore/plugins/hero-core/test/ReplayRegistry.test.ts#L80
expect(received).resolves.toBeTruthy()
Received promise rejected instead of resolved
Rejected to value: [BrowserLaunchError: Ulixee Cloud failed to launch Chrome - Failed to launch Chrome! Cancel Pending Promise (Target.setAutoAttach): Target closed.··
Sometimes a reason can be found in the Chrome Stderr logs:
[0529/144832.418046:WARNING:chrome/app/chrome_main_linux.cc:80] Read channel stable from /home/runner/.cache/ulixee/chrome/136.0.7103.113/CHROME_VERSION_EXTRA
[4029:4029:0529/144832.428770:FATAL:sandbox/linux/suid/client/setuid_sandbox_host.cc:163] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/runner/.cache/ulixee/chrome/136.0.7103.113/chrome-sandbox is owned by root and has mode 4755.
[0529/144832.441758:ERROR:third_party/crashpad/crashpad/util/file/file_io_posix.cc:145] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[0529/144832.441820:ERROR:third_party/crashpad/crashpad/util/file/file_io_posix.cc:145] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2). See Cloud console logs for details.]
at expect (../node_modules/jest-cli/node_modules/expect/build/index.js:2063:15)
at Object.<anonymous> (../datastore/plugins/hero-core/test/ReplayRegistry.test.ts:80:9)
|
|
basic output tests › can add observables directly:
build/agent/main/lib/DevtoolsSession.ts#L144
---> const sessionId = await hero.sessionId;
BrowserLaunchError:
at DevtoolsSession.onClosed (agent/main/lib/DevtoolsSession.ts:144:21)
at Connection.onClosed (agent/main/lib/Connection.ts:97:15)
at PipeTransport.onReadClosed (agent/main/lib/PipeTransport.ts:85:42)
------DEVTOOLS------------------------------------
------DEVTOOLS_SESSION_ID=------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at DevtoolsSession.send (agent/main/lib/DevtoolsSession.ts:84:37)
at Browser.testConnection (agent/main/lib/Browser.ts:342:32)
at Browser.launch (agent/main/lib/Browser.ts:157:18)
at async Object.cb (agent/main/lib/Pool.ts:181:7)
at async Queue.next (node_modules/commons/lib/Queue.ts:188:19)
------CONNECTION----------------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at PendingMessages.create (node_modules/net/lib/PendingMessages.ts:47:44)
at ConnectionToHeroCore.sendRequest (node_modules/net/lib/ConnectionToCore.ts:155:50)
at ConnectionToHeroCore.sendRequest (node_modules/client/connections/ConnectionToHeroCore.ts:57:18)
at CoreCommandQueue.sendRequest (node_modules/client/lib/CoreCommandQueue.ts:317:34)
at Object.cb (node_modules/client/lib/CoreCommandQueue.ts:231:27)
at Queue.next (node_modules/commons/lib/Queue.ts:188:44)
at Queue.run (node_modules/commons/lib/Queue.ts:72:10)
at CoreCommandQueue.run (node_modules/client/lib/CoreCommandQueue.ts:220:8)
at Object.queue.run.timeoutMillis [as cb] (node_modules/client/lib/CoreSessions.ts:36:66)
at Queue.next (node_modules/commons/lib/Queue.ts:188:44)
at Queue.run (node_modules/commons/lib/Queue.ts:72:10)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get sessionId [as sessionId] (node_modules/client/lib/Hero.ts:209:53)
at Object.run (../datastore/plugins/hero-client/test/output.test.ts:167:36)
at ExtractorInternal.run (../datastore/main/lib/ExtractorInternal.ts:72:42)
at ../datastore/main/lib/Extractor.ts:124:54
------CORE COMMANDS-------------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at CoreCommandQueue.run (node_modules/client/lib/CoreCommandQueue.ts:220:8)
at Object.queue.run.timeoutMillis [as cb] (node_modules/client/lib/CoreSessions.ts:36:66)
at Queue.next (node_modules/commons/lib/Queue.ts:188:44)
at Queue.run (node_modules/commons/lib/Queue.ts:72:10)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get sessionId [as sessionId] (node_modules/client/lib/Hero.ts:209:53)
at Object.run (../datastore/plugins/hero-client/test/output.test.ts:167:36)
at ExtractorInternal.run (../datastore/main/lib/ExtractorInternal.ts:72:42)
at ../datastore/main/lib/Extractor.ts:124:54
------AGENT QUEUE---------------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get sessionId [as sessionId] (node_modules/client/lib/Hero.ts:209:53)
at Object.run (../datastore/plugins/hero-client/test/output.test.ts:167:36)
at ExtractorInternal.run (../datastore/main/lib/ExtractorInternal.ts:72:42)
at ../datastore/main/lib/Extractor.ts:124:54
|
|
basic output tests › records object changes:
build/agent/main/lib/DevtoolsSession.ts#L144
---> const sessionId = await hero.sessionId;
BrowserLaunchError:
at DevtoolsSession.onClosed (agent/main/lib/DevtoolsSession.ts:144:21)
at Connection.onClosed (agent/main/lib/Connection.ts:97:15)
at PipeTransport.onReadClosed (agent/main/lib/PipeTransport.ts:85:42)
------DEVTOOLS------------------------------------
------DEVTOOLS_SESSION_ID=------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at DevtoolsSession.send (agent/main/lib/DevtoolsSession.ts:84:37)
at Browser.testConnection (agent/main/lib/Browser.ts:342:32)
at Browser.launch (agent/main/lib/Browser.ts:157:18)
at async Object.cb (agent/main/lib/Pool.ts:181:7)
at async Queue.next (node_modules/commons/lib/Queue.ts:188:19)
------BROWSER_CREATION_Q--------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at Pool.getBrowser (agent/main/lib/Pool.ts:144:44)
at Agent.open (agent/main/lib/Agent.ts:122:34)
at async Session.openBrowser (node_modules/core/lib/Session.ts:280:5)
at async Function.create (node_modules/core/lib/Session.ts:961:7)
at async ConnectionToHeroClient.createSession (node_modules/core/connections/ConnectionToHeroClient.ts:196:30)
at async CommandRunner.runFn (node_modules/core/lib/CommandRunner.ts:36:14)
at async ConnectionToHeroClient.executeCommand (node_modules/core/connections/ConnectionToHeroClient.ts:258:12)
at async ConnectionToHeroClient.handleRequest (node_modules/core/connections/ConnectionToHeroClient.ts:66:14)
------CONNECTION----------------------------------
at new Resolvable (node_modules/commons/lib/Resolvable.ts:19:18)
at createPromise (node_modules/commons/lib/utils.ts:138:10)
at PendingMessages.create (node_modules/net/lib/PendingMessages.ts:47:44)
at ConnectionToHeroCore.sendRequest (node_modules/net/lib/ConnectionToCore.ts:155:50)
at async CoreCommandQueue.sendRequest (node_modules/client/lib/CoreCommandQueue.ts:317:12)
at async Object.cb (node_modules/client/lib/CoreCommandQueue.ts:231:16)
at async Queue.next (node_modules/commons/lib/Queue.ts:188:19)
------CORE COMMANDS-------------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at CoreCommandQueue.run (node_modules/client/lib/CoreCommandQueue.ts:220:8)
at Object.queue.run.timeoutMillis [as cb] (node_modules/client/lib/CoreSessions.ts:36:66)
at Queue.next (node_modules/commons/lib/Queue.ts:188:44)
at Queue.run (node_modules/commons/lib/Queue.ts:72:10)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get sessionId [as sessionId] (node_modules/client/lib/Hero.ts:209:53)
at Object.run (../datastore/plugins/hero-client/test/output.test.ts:94:40)
at ExtractorInternal.run (../datastore/main/lib/ExtractorInternal.ts:72:42)
at ../datastore/main/lib/Extractor.ts:124:54
------AGENT QUEUE---------------------------------
at Queue.run (node_modules/commons/lib/Queue.ts:63:19)
at CoreSessions.create (node_modules/client/lib/CoreSessions.ts:34:8)
at ConnectionToHeroCore.createSession (node_modules/client/connections/ConnectionToHeroCore.ts:69:38)
at Hero._Hero_getCoreSessionOrReject (node_modules/client/lib/Hero.ts:686:10)
at Hero.get sessionId [as sessionId] (node_modules/client/lib/Hero.ts:209:53)
at Object.run (../datastore/plugins/hero-client/test/output.test.ts:94:40)
at ExtractorInternal.run (../datastore/main/lib/ExtractorInternal.ts:72:42)
at ../datastore/main/lib/Extractor.ts:124:54
|
|
Test Node.js 18 on windows-latest
Process completed with exit code 1.
|
|
Test Node.js 18 on windows-latest
Process completed with exit code 1.
|
|
Test Node.js 20 on windows-latest
Process completed with exit code 1.
|
|
Test Node.js 20 on windows-latest
Process completed with exit code 1.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
test-dbs-ubuntu-latest-18
Expired
|
293 KB |
sha256:197c45053894fc9a5aab4a67e1dcb0c40cd890f77fc6b90b3ca9e3bd7e831b8e
|
|
|
test-dbs-ubuntu-latest-20
Expired
|
300 KB |
sha256:cf088eaeebdbfd01aed16a0ee02108a80cb461145ae0c489d834e0afaa482797
|
|
|
test-dbs-windows-latest-18
Expired
|
149 Bytes |
sha256:719ffee5f1f32f5a5c6ef5b0b78c974efb45af45849208e3e6849bbe35aabad8
|
|
|
test-dbs-windows-latest-20
Expired
|
149 Bytes |
sha256:4c41d551b9ae900c1255011c34f9678ca28a58c1a0938996cbd001a35281dd53
|
|