You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See attachment at the end, to look at a partial log that shows the error.
The issue is that your Vireo module is being loaded before the required type has been defined. The order in which modules are loaded is not defined since they are based on static constructors.
The workaround: Add a dependency to the required Vireo module. By using a DEFINE_VIREO_REQUIRE macro in your module definition, for example:
This issue is open so we can figure out a better way to manage module loading. The idea behind modules in Vireo is that they are easy to swap out and there is not a strict dependency on them.
Partial log that shows errors
The command "make testhttpbin" exited with 0.
180.89s$ npm run test
> vireo@8.2.1 test /home/travis/build/siddhukrs/VireoSDK
> karma start --browsers ChromeHeadlessNoSandbox,FirefoxHeadless
18 04 2018 15:59:54.063:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/
18 04 2018 15:59:54.066:INFO [launcher]: Launching browsers ChromeHeadlessNoSandbox, FirefoxHeadless with concurrency 1
18 04 2018 15:59:54.072:INFO [launcher]: Starting browser ChromeHeadless
18 04 2018 15:59:55.377:INFO [HeadlessChrome 0.0.0 (Linux 0.0.0)]: Connected on socket w-aPAhgCJceXfCGRAAAA with id 14167111
HeadlessChrome 0.0.0 (Linux 0.0.0) LOG: '(Line 1 Error "Unrecognized data type 'Occurrence'.")'
HeadlessChrome 0.0.0 (Linux 0.0.0) LOG: '(Line 1 Error "Unrecognized data type 'Occurrence'.")'
HeadlessChrome 0.0.0 (Linux 0.0.0) LOG: '(Line 1 Error "Unrecognized data type 'Occurrence'.")'
HeadlessChrome 0.0.0 (Linux 0.0.0) LOG: '(Line 1 Error "Unrecognized data type 'Occurrence'.")'
HeadlessChrome 0.0.0 (Linux 0.0.0) LOG: '(Line 1 Error "Unrecognized data type 'Occurrence'.")'
HeadlessChrome 0.0.0 (Linux 0.0.0) LOG: '(Line 1 Error "Unrecognized data type 'Occurrence'.")'
HeadlessChrome 0.0.0 (Linux 0.0.0) LOG: '(Line 1 Error "Unrecognized data type 'Occurrence'.")'
HeadlessChrome 0.0.0 (Linux 0.0.0) LOG: '(Line 1 Error "Unrecognized data type 'Occurrence'.")'
HeadlessChrome 0.0.0 (Linux 0.0.0) LOG: '(Line 1 Error "Unrecognized data type 'Occurrence'.")'
HeadlessChrome 0.0.0 (Linux 0.0.0) LOG: '(Line 1 Error "Unrecognized data type 'Occurrence'.")'
.
LOG: '(Line 1 Error "Unrecognized data type 'Occurrence'.")'
LOG: '(Line 1 Error "Unrecognized data type 'Occurrence'.")'
The text was updated successfully, but these errors were encountered:
Problem:
At some random time, on some CI, either Travis or AppVeyor. Most of the tests will start failing and the following error will appear:
LOG: '(Line 1 Error "Unrecognized data type 'sometype'.")'
See this log for a detailed example:
https://travis-ci.org/siddhukrs/VireoSDK/builds/366252739?utm_source=github_status&utm_medium=notification
See attachment at the end, to look at a partial log that shows the error.
The issue is that your Vireo module is being loaded before the required type has been defined. The order in which modules are loaded is not defined since they are based on static constructors.
The workaround: Add a dependency to the required Vireo module. By using a DEFINE_VIREO_REQUIRE macro in your module definition, for example:
DEFINE_VIREO_BEGIN(HttpClient)
DEFINE_VIREO_REQUIRE(Synchronization)
This issue is open so we can figure out a better way to manage module loading. The idea behind modules in Vireo is that they are easy to swap out and there is not a strict dependency on them.
Partial log that shows errors
The text was updated successfully, but these errors were encountered: