-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix CI #1849
Fix CI #1849
Conversation
NO.. we need the helper fix.. need to fix CI some other way.. so maybe travis doesn't have the module loaded... |
the vendor tests still fail. |
@sdetweil I Will test this PR tonight. If this fixes the issue I’ll merge it since we need Travis to complete successfully in order to release 2.10 today (according to release schedule). |
How do we fix the testing cache to have the helper in the main node_modules instead the modules/node_modules? |
Will try tonight. Don’t want to have the helper in an external repo anyway. Might need to push that change onto the next release. |
I think the helper being erased is a big problem. I think it is a security fix that is erasing. If modules not listed but installed, they are removed |
Will look into it. Hope I can fix it before release.
Vriendelijke groeten,
Michael Teeuw
…---
Sent from my iPhone.
Michael Teeuw
Xonay Media
www.xonaymedia.nl
06 51 71 36 15
Op 1 jan. 2020 om 16:43 heeft sam detweiler ***@***.***> het volgende geschreven:
I think the helper being erased is a big problem. I think it is a security fix that is erasing. If modules not listed but installed, they are removed
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Another user reported that install failed to install the helper file. Which
means it was cloned and then erased on npm install
https://forum.magicmirror.builders/topic/11883/black-screen-on-startup
…On Wed, Jan 1, 2020, 10:02 AM Michael Teeuw ***@***.***> wrote:
Will look into it. Hope I can fix it before release.
Vriendelijke groeten,
Michael Teeuw
---
Sent from my iPhone.
Michael Teeuw
Xonay Media
www.xonaymedia.nl
06 51 71 36 15
> Op 1 jan. 2020 om 16:43 heeft sam detweiler ***@***.***>
het volgende geschreven:
>
>
> I think the helper being erased is a big problem. I think it is a
security fix that is erasing. If modules not listed but installed, they are
removed
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1849>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALNYHR32DGFKCUXLRCBJLTQ3S5ATANCNFSM4KBXUVLQ>
.
|
Reading that, I’m not confident it was caused by an NPM install. At at least not an non install ran in the correct folder. But non the less I will try to look for a solution. First priority is to get Travis to work again. |
Ok. I am for stable system. Test system later. The vendor stuff has been
failing for quite a while now.
Only the weather tests are affected so far by the node_helper.
…On Wed, Jan 1, 2020, 10:44 AM Michael Teeuw ***@***.***> wrote:
Reading that, I’m not confident it was caused by an NPM install. At at
least not an non install ran in the correct folder. But non the less I will
try to look for a solution. First priority is to get Travis to work again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1849>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALNYHSKAIAVDVWV6UC35ULQ3TB6PANCNFSM4KBXUVLQ>
.
|
We have a whole quarter to solve the Travis problems
…On Wed, Jan 1, 2020, 10:44 AM Michael Teeuw ***@***.***> wrote:
Reading that, I’m not confident it was caused by an NPM install. At at
least not an non install ran in the correct folder. But non the less I will
try to look for a solution. First priority is to get Travis to work again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1849>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALNYHSKAIAVDVWV6UC35ULQ3TB6PANCNFSM4KBXUVLQ>
.
|
I can't release without Travis. Releases are blocked. And for a good reason. Will work on a solution now. |
@sdetweil the node helper is no longer part op de node_modules folder. Now looking for the weather tests fails. |
I can understand why will be the better if we has a node helper in external repository and what kind of issue could fix include in this way. We should keep this code in main code of project, its to more easy maintent this code in this repo. |
I asked multiple times for Mich to create the repo on his GitHub, but got no action. So I created it on mine. Mich is welcome to move it to his. |
This is already fixed. The node helper is already outside the modules folder (in /js to be exactly). It is aliased so you can just use the same require statement. (Non breaking). I want to keep everything in one repo to keep it simple. This accomplishes that. |
As for the Travis problem there are electron version dependencies on some of the libraries used by the test cases. Spectron, for example. Tests run locally after install work great.(weather works, vendor still fails, but still reports ok) There is no change mgmt guidance for the Travis tests |
Helper in js. good! I didn't see that as a possibility. |
What O.S, npm and node versions are you using? Could you paste here the package.json in your local environment? Also, |
Will do. All tests fail on macOs Catalina. 10.15.2 I am away for most of the rest of the day I did a clone, checkout for develop, npm install, then ran two testcase sets npm list lsb_release -a No LSB modules are available. |
looks like the screen setup for travis has changed https://electronjs.org/docs/tutorial/testing-on-headless-ci when I do export DISPLAY=:0 the vendor tests are because the port didn't get set when using the js/electron.js launch Vendors if I change the get urls to the 9515 port, the it works.. this didn't work (tests/e2e/from vendor_spec.js)
that before() is never called. |
the untouched e2e test also works on macOS catalina after doing export DISPLAY=:0 |
Revert commit introduced in #1827. The change introduce a failure for all e2e tests.
This change revert the commit 2fbedca
--
Happy new year ("20".repeat(2))