Theia: [travis] windows build failing due to ffmpeg check

Created on 16 Oct 2019  路  11Comments  路  Source: eclipse-theia/theia

Description

Recently, the _Travis for Windows CI_ check has been failing due to the ffmpeg test determining if any codecs are present which are not permitted.

Downloaded ffmpeg shared library { version: "4.2.11", dist: "C:\Users\travis\build\eclipse-theia\theia\node_modules\electron\dist" }.
Successfully replaced "C:\Users\travis\build\eclipse-theia\theia\node_modules\electron\dist\ffmpeg.dll".
Error: function not found in shared library
    at exports.libffmpegCodecs (C:\Users\travis\build\eclipse-theia\theia\dev-packages\electron\electron-ffmpeg-lib.js:105:19)
    at main (C:\Users\travis\build\eclipse-theia\theia\dev-packages\electron\electron-codecs-test.js:56:20)
    at Object.<anonymous> (C:\Users\travis\build\eclipse-theia\theia\dev-packages\electron\electron-codecs-test.js:70:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
Error: "electron-codecs-test.js" exited with 127
    at ChildProcess.subprocess.once (C:\Users\travis\build\eclipse-theia\theia\dev-packages\electron\scripts\post-install.js:36:40)
    at Object.onceWrapper (events.js:286:20)
    at ChildProcess.emit (events.js:198:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
The command "THEIA_SKIP_NPM_PREPARE=1 yarn install --skip-integrity-check" failed and exited with 1 during .
Your build has been stopped.

Additional Information

bug ci

Most helpful comment

I think with the inclusion of Travis on Windows and the removal of AppVeyor, the CI has become more stable so I wouldn't be opposed to setting the allow_failures to false for all three operating systems.

All 11 comments

Apologies for that. The PR was small, shall we revert until fixed? Especially as a CQ has now been requested for the electron upgrade?

I don't think this needs a revert, but we should definitely fix the ffmpeg tests. This means finding which function is now missing in the ffmpeg.dll file.

FYI: it is not only a Travis issue. It is not possible to build Theia on Windows currently without the THEIA_ELECTRON_SKIP_REPLACE_FFMPEG=1 env variable.

Yes, because a patch wasn't supposed to go through if it did not pass CI. We should not allow the Windows test suite to fail silently, and now we should also find what changed with ffmpeg on Windows when upgrading to Electron 5.

I won't have access to a Windows machine until next week.

@marechal-p both the macOS and Win jobs are allowed to fail, are you suggesting that we enforce that they cannot fail anymore?

The Windows job on Appveyor used to mark the overall CI as failed on error... I don't know for Mac, but Windows shouldn't be silent IMO.

I think with the inclusion of Travis on Windows and the removal of AppVeyor, the CI has become more stable so I wouldn't be opposed to setting the allow_failures to false for all three operating systems.

allow_failures to false for all three

Has anyone changed this?

allow_failures to false for all three

Has anyone changed this?

Do you believe we should enforce that each operating system cannot fail their CI?

Do you believe we should enforce that each operating system cannot fail their CI?

If it is stable and works, sure, why not. I have added an entry for the next dev-meeting.

Was this page helpful?
0 / 5 - 0 ratings