Skip to content

applying https://github.com/agracio/edge-js/pull/227

Sign in for the full log view
GitHub Actions / test-results-ubuntu-22.04-node-18 failed Oct 22, 2024 in 1s

8 passed, 67 failed and 0 skipped

Tests failed

❌ mochawesome.json

75 tests were completed in 41ms with 8 passed, 67 failed and 0 skipped.

Test suite Passed Failed Skipped Time
.net returns Func to node.js 1❌ 1ms
async call from .net to node.js 8❌ 2ms
async call from node.js to .net 10❌ 3ms
call patterns 13❌ 1ms
delayed call from node.js to .net 1❌ 0ms
edge-cs 1✔️ 24❌ 4ms
edge.func 7✔️ 5❌ 7ms
sync call from node.js to .net 5❌ 0ms

❌ .net returns Func to node.js

.net returns Func to node.js
  ❌ [CoreCLR] releases the func
	TypeError: edge.initializeClrFunc is not a function

❌ async call from .net to node.js

async call from .net to node.js
  ❌ [CoreCLR] succeeds for hello world
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly handles process.nextTick() in JS callback
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals data from .net to node.js
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals data from node.js to .net
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals empty buffer
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals object hierarchy from .net to node.js
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals v8 exception in callback
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals v8 exception on invoking thread
	TypeError: edge.initializeClrFunc is not a function

❌ async call from node.js to .net

async call from node.js to .net
  ❌ [CoreCLR] succeeds for hello world
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly handles process.nextTick in the callback
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals .net exception thrown on CLR thread from .net to node.js
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals .net exception thrown on v8 thread from .net to node.js
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals data from .net to node.js
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals data from node.js to .net
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals empty buffer
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals structured .net exception from .net to node.js
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly roundtrips empty string
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly roundtrips unicode characters
	TypeError: edge.initializeClrFunc is not a function

❌ call patterns

call patterns
  ❌ [CoreCLR] async call to exported .NET lambda
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] call exported .NET lambda with closure over CLR state
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] call JS func exported to .NET as a result of calling a JS func from .NET
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] can deserialize using XmlSerializer
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] exception when marshaling CLR data to V8 when calling exported JS function
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] exception when marshaling CLR data to V8 when completing a synchronous call from JS to .NET
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] exception when marshaling CLR data to V8 when completing an asynchronous call from JS to .NET
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] large number of concurrent callbacks from C# to JavaScript (issue #39)
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] merged dependencies choose correct version
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals .net exception thrown on CLR thread from exported CLR lambda
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals .net exception thrown on V8 thread from exported CLR lambda
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] sync call to exported .NET lambda
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] two async callouts each with async callin (issue #22)
	TypeError: edge.initializeClrFunc is not a function

❌ delayed call from node.js to .net

delayed call from node.js to .net
  ❌ [CoreCLR] succeeds for one callback after Task
	TypeError: edge.initializeClrFunc is not a function

❌ edge-cs

edge-cs
  ✔️ [CoreCLR] fails when dynamically loading an assembly that doesn't exist
  ❌ [CoreCLR] fails when Invoke method is missing
	AssertionError: Unexpected result
  ❌ [CoreCLR] fails when Startup class is missing
	AssertionError: Unexpected result
  ❌ [CoreCLR] fails with a reference to a non-existent assembly without comment in class
	AssertionError: Unexpected result
  ❌ [CoreCLR] fails with malformed class in function
	AssertionError: Unexpected result
  ❌ [CoreCLR] fails with malformed literal lambda
	AssertionError: Unexpected result
  ❌ [CoreCLR] succeeds with class in function
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with cs file with class
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with csx file with class
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with csx file with lambda
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with custom class and method name
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with dictionary input to Invoke method
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with dll from nuget package
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with dynamic input to async lambda
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with dynamic input to Invoke method
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with lambda in function
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with literal class
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with literal lambda
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with nested dynamic input to async lambda
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with nested dynamic input to Invoke method
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with System.Data.dll reference and a using statement in async lambda
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with System.Data.dll reference as comment in async lambda
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with System.Data.dll reference as comment in class
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with System.Data.dll reference without comment in async lambda
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with System.Data.dll reference without comment in class
	TypeError: edge.initializeClrFunc is not a function

❌ edge.func

edge.func
  ✔️ [CoreCLR] exists
  ✔️ [CoreCLR] fails with a unsupported language parameter
  ✔️ [CoreCLR] fails with a wrong language parameter
  ✔️ [CoreCLR] fails with a wrong parameter
  ❌ [CoreCLR] fails with assemblyFile and nonexisting type name
	AssertionError: The input did not match the regular expression /Could not load type 'Edge.Tests.idontexist'/. Input:
	
	'TypeError: edge.initializeClrFunc is not a function'
	
  ❌ [CoreCLR] fails with assemblyFile, type name and nonexisting method name
	AssertionError: The input did not match the regular expression /Unable to access the CLR method to wrap through reflection/. Input:
	
	'TypeError: edge.initializeClrFunc is not a function'
	
  ✔️ [CoreCLR] fails with both assemblyFile or source
  ✔️ [CoreCLR] fails with missing assemblyFile or source
  ❌ [CoreCLR] fails with nonexisting assemblyFile
	AssertionError: The input did not match the regular expression /System.IO.FileNotFoundException/. Input:
	
	'TypeError: edge.initializeClrFunc is not a function'
	
  ✔️ [CoreCLR] fails without parameters
  ❌ [CoreCLR] succeeds with assemblyFile and type name
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds with assemblyFile, type name, and method name
	TypeError: edge.initializeClrFunc is not a function

❌ sync call from node.js to .net

sync call from node.js to .net
  ❌ [CoreCLR] fails if C# method does not complete synchronously
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds for hello world
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] succeeds for hello world when called sync and async
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals .net exception thrown on v8 thread from .net to node.js
	TypeError: edge.initializeClrFunc is not a function
  ❌ [CoreCLR] successfuly marshals data from node.js to .net
	TypeError: edge.initializeClrFunc is not a function

Annotations

Check failure on line 174 in lib/edge.js

See this annotation in the file changed.

@github-actions github-actions / test-results-ubuntu-22.04-node-18

.net returns Func to node.js ► .net returns Func to node.js ► [CoreCLR] releases the func

Failed test found in:
  mochawesome.json
Error:
  TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
    at exports.func (lib/edge.js:174:17)
    at Context.<anonymous> (test/103_net2node.js:262:31)
    at process.processImmediate (node:internal/timers:476:21)

Check failure on line 174 in lib/edge.js

See this annotation in the file changed.

@github-actions github-actions / test-results-ubuntu-22.04-node-18

async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] succeeds for hello world

Failed test found in:
  mochawesome.json
Error:
  TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
    at exports.func (lib/edge.js:174:17)
    at Context.<anonymous> (test/103_net2node.js:26:19)
    at process.processImmediate (node:internal/timers:476:21)

Check failure on line 174 in lib/edge.js

See this annotation in the file changed.

@github-actions github-actions / test-results-ubuntu-22.04-node-18

async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly handles process.nextTick() in JS callback

Failed test found in:
  mochawesome.json
Error:
  TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
    at exports.func (lib/edge.js:174:17)
    at Context.<anonymous> (test/103_net2node.js:127:19)
    at process.processImmediate (node:internal/timers:476:21)

Check failure on line 174 in lib/edge.js

See this annotation in the file changed.

@github-actions github-actions / test-results-ubuntu-22.04-node-18

async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly marshals data from .net to node.js

Failed test found in:
  mochawesome.json
Error:
  TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
    at exports.func (lib/edge.js:174:17)
    at Context.<anonymous> (test/103_net2node.js:44:19)
    at process.processImmediate (node:internal/timers:476:21)

Check failure on line 174 in lib/edge.js

See this annotation in the file changed.

@github-actions github-actions / test-results-ubuntu-22.04-node-18

async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly marshals data from node.js to .net

Failed test found in:
  mochawesome.json
Error:
  TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
    at exports.func (lib/edge.js:174:17)
    at Context.<anonymous> (test/103_net2node.js:98:19)
    at process.processImmediate (node:internal/timers:476:21)

Check failure on line 174 in lib/edge.js

See this annotation in the file changed.

@github-actions github-actions / test-results-ubuntu-22.04-node-18

async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly marshals empty buffer

Failed test found in:
  mochawesome.json
Error:
  TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
    at exports.func (lib/edge.js:174:17)
    at Context.<anonymous> (test/103_net2node.js:188:19)
    at process.processImmediate (node:internal/timers:476:21)

Check failure on line 174 in lib/edge.js

See this annotation in the file changed.

@github-actions github-actions / test-results-ubuntu-22.04-node-18

async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly marshals object hierarchy from .net to node.js

Failed test found in:
  mochawesome.json
Error:
  TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
    at exports.func (lib/edge.js:174:17)
    at Context.<anonymous> (test/103_net2node.js:82:19)
    at process.processImmediate (node:internal/timers:476:21)

Check failure on line 174 in lib/edge.js

See this annotation in the file changed.

@github-actions github-actions / test-results-ubuntu-22.04-node-18

async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly marshals v8 exception in callback

Failed test found in:
  mochawesome.json
Error:
  TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
    at exports.func (lib/edge.js:174:17)
    at Context.<anonymous> (test/103_net2node.js:166:19)
    at process.processImmediate (node:internal/timers:476:21)

Check failure on line 174 in lib/edge.js

See this annotation in the file changed.

@github-actions github-actions / test-results-ubuntu-22.04-node-18

async call from .net to node.js ► async call from .net to node.js ► [CoreCLR] successfuly marshals v8 exception on invoking thread

Failed test found in:
  mochawesome.json
Error:
  TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
    at exports.func (lib/edge.js:174:17)
    at Context.<anonymous> (test/103_net2node.js:147:19)
    at process.processImmediate (node:internal/timers:476:21)

Check failure on line 174 in lib/edge.js

See this annotation in the file changed.

@github-actions github-actions / test-results-ubuntu-22.04-node-18

async call from node.js to .net ► async call from node.js to .net ► [CoreCLR] succeeds for hello world

Failed test found in:
  mochawesome.json
Error:
  TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
    at exports.func (lib/edge.js:174:17)
    at Context.<anonymous> (test/102_node2net.js:16:25)
    at process.processImmediate (node:internal/timers:476:21)

Check failure on line 174 in lib/edge.js

See this annotation in the file changed.

@github-actions github-actions / test-results-ubuntu-22.04-node-18

async call from node.js to .net ► async call from node.js to .net ► [CoreCLR] successfuly handles process.nextTick in the callback

Failed test found in:
  mochawesome.json
Error:
  TypeError: edge.initializeClrFunc is not a function
Raw output
TypeError: edge.initializeClrFunc is not a function
    at exports.func (lib/edge.js:174:17)
    at Context.<anonymous> (test/102_node2net.js:184:25)
    at process.processImmediate (node:internal/timers:476:21)