-
Notifications
You must be signed in to change notification settings - Fork 209
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
fixing various error occuring during testing (some related to window keyword, some gl-context/puppeteer) #1285
Comments
Is there anything you all can see particularly linking the Also cc'ing @aashna27 @harshkhandeparkar @harshithpabbati @tech4GT @Divy123 in case you all have insights here. Thanks! Testing and stabilizing our tests will do a huge amount to strengthen the core of our code! |
right now No, i think it's just because of upgrade in version of mixing-deep |
We could test this by opening a PR rolling back the version and seeing if
the tests run correctly?
…On Mon, Oct 28, 2019, 3:48 PM keshav234156 ***@***.***> wrote:
No i think it's because of upgrade in version of mixing-deep
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1285?email_source=notifications&email_token=AAAF6J26E63IKLQKDP3LMF3QQ46VLA5CNFSM4JF6SB22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECOFEQA#issuecomment-547115584>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF6J236AYAXCLQ62NJX6TQQ46VLANCNFSM4JF6SB2Q>
.
|
Hmm. is the next step to try to get the failing tests to cause Travis to return a failure? |
@jywarren I was about to suggest that! |
@jywarren So the problem is with PR #1090. After reverting the changes of #1090(as done in #1289) the modules that are preventing all modules to being tested are: 1.fisheye-gl only after soving errors related to the above mentioned modules we would be able to test are modules completely. Next we should try to fix the errors that are found in modules.These modules include : |
Oh wow! So, wait, can you clarify... 1.fisheye-gl
Thank you so much for this excellent detective work!!!! |
@jywarren |
Uh ok - so i believe there is a way we can see if we're in a browser environment, but i'm a little rusty. It could be either |
@jywarren after merging #1289 , our next step should be to solve the error as given in the below error logs.Do you have any idea how can we solve this?
|
This last error happens because it's designed for use in a browser -- which has the variable image-sequencer/src/ImageSequencer.js Line 1 in f1c94fd
|
@jywarren ok,I added the following the lines of code in the test file
adding this error logs where fisheye-gl module loads correctly
fisheye-gl module loads with correct options
fisheye-gl module works correctly
So now we can test that the module loads correctly with the correct option. Do you know, why the error is occurring in the works correctly part? |
This is some great progress!!! Awesome!!! I don't know what this error is about, but maybe @Divy123 or @harshkhandeparkar or others from @publiclab/is-reviewers or @publiclab/image-sequencer-guides knows? |
Perhaps we should merge what we have so far here, and work on the remainder in a fresh issue? To build on the great progress you've made so far!? |
Ok, found that error is occurring as we are using gl-context which in turn is using puppeteer. It is a Code Transpilation Issues ie If you are using a JavaScript transpiler like babel or TypeScript, calling evaluate() with an async function might not work. This is because while puppeteer uses Function.prototype.toString() to serialize functions while transpilers could be changing the output code in such a way it's incompatible with the puppeteer. also before the PR #1007, we were not using gl-context, so the test worked for them |
whoa, excellent investigating!
…On Tue, Dec 3, 2019 at 4:07 PM keshav234156 ***@***.***> wrote:
Ok, found that error is occurring as we gl-context which in turn is using
puppeteer. It is a Code Transpilation Issues ie If you are using a
JavaScript transpiler like babel or TypeScript, calling evaluate() with an
async function might not work. This is because while puppeteer uses
Function.prototype.toString() to serialize functions while transpilers
could be changing the output code in such a way it's incompatible with the
puppeteer.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1285?email_source=notifications&email_token=AAAF6JYZYKUEAKY7B2MKDZTQW3C6RA5CNFSM4JF6SB22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF22BUI#issuecomment-561357009>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF6J3K5A6WCAN4XE7XRZDQW3C6RANCNFSM4JF6SB2Q>
.
|
our next step should be fix 7 modules.For that, i found the module was changed as it has some bugs like the rotate module was earlier having fixed dimension but corresponding benchmarks were not changed as a result they are failing. So for this, we can change the benchmarks of those modules. Then our next step should be if there is any failure in the test then Travis should raise an error rather than passing it |
I think you guys will teach me IS this GCI. |
My inbox has more IS emails than other repos and I am reviewing some PRs too. :-) 🚀 |
:-) thanks for being on top of this, Sidharth!!!!
…On Tue, Dec 10, 2019 at 1:27 PM Sidharth Bansal ***@***.***> wrote:
My inbox has more IS emails than other repos and I am reviewing some PRs
too. :-) 🚀
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1285?email_source=notifications&email_token=AAAF6J4WAGOJ2RYGVFMNAYLQX7NPNA5CNFSM4JF6SB22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGQIKWQ#issuecomment-564168026>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF6J2P44DTP3S2OGYL6LDQX7NPNANCNFSM4JF6SB2Q>
.
|
I'm closing this in favor of the now narrowed #1378! Thanks! |
A lot errors(reference errors,type errors,Unhandled 'error' events,WebAssembly acceleration error) could be seen in travis logs.this could be seen in https://travis-ci.org/publiclab/image-sequencer/jobs/595161585?utm_medium=notification&utm_source=github_status .These errors our preventing us to completly test our module ie all the individual modules are not being tested.Some of these errors have occured after merging PR #1234 (as all the individual modules were tested before this in #1233 travis logs. )
The text was updated successfully, but these errors were encountered: