Unable to build 4.3 (admin-ui-ng tests fail)

119 views
Skip to first unread message

Paul Gration

unread,
May 29, 2018, 6:55:19 AM5/29/18
to d...@opencast.org
I'm trying to build 4.3 at the moment, a clean checkout of the 4.3 tag
with `mvn clean install -Pdev` results in the following (admin-ui-ng
tests fail):

...
Tests run: 101, Failures: 0, Errors: 0, Skipped: 3

[INFO]
[INFO] --- maven-bundle-plugin:2.0.1:bundle (default-bundle) @
matterhorn-asset-manager-impl ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @
matterhorn-asset-manager-impl ---
[INFO] Installing
/home/paul/dev/opencast/modules/matterhorn-asset-manager-impl/target/matterhorn-asset-manager-impl-4.3.jar
to
/home/paul/.m2/repository/org/opencastproject/matterhorn-asset-manager-impl/4.3/matterhorn-asset-manager-impl-4.3.jar
[INFO] Installing
/home/paul/dev/opencast/modules/matterhorn-asset-manager-impl/pom.xml to
/home/paul/.m2/repository/org/opencastproject/matterhorn-asset-manager-impl/4.3/matterhorn-asset-manager-impl-4.3.pom
[INFO]
[INFO] --- maven-bundle-plugin:2.0.1:install (default-install) @
matterhorn-asset-manager-impl ---
[INFO] Parsing file:/home/paul/.m2/repository/repository.xml
[INFO] Installing
org/opencastproject/matterhorn-asset-manager-impl/4.3/matterhorn-asset-manager-impl-4.3.jar
[INFO] Writing OBR metadata
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building matterhorn-admin-ui-ng 4.3
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @
matterhorn-admin-ui-ng ---
[INFO] Deleting
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng/target
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @
matterhorn-admin-ui-ng ---
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: /bin/sh -c cd
'/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng' && 'git'
'rev-parse' '--verify' '--short=7' 'HEAD'
[INFO] Working directory:
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng
[INFO] Storing buildNumber: b645735 at timestamp: 1527590268387
[WARNING] Cannot get the branch information from the git repository:
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: /bin/sh -c cd
'/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng' && 'git'
'rev-parse' '--verify' '--short=7' 'HEAD'
[INFO] Working directory:
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (default) @
matterhorn-admin-ui-ng ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- frontend-maven-plugin:1.5:install-node-and-npm (install node
and npm) @ matterhorn-admin-ui-ng ---
[INFO] Node v8.1.4 is already installed.
[INFO] NPM 5.2.0 is already installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.5:npm (npm clean) @
matterhorn-admin-ui-ng ---
[INFO] Running 'npm cache verify' in
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng
[INFO] Cache verified and compressed (~/.npm/_cacache):
[INFO] Content verified: 1386 (63833518 bytes)
[INFO] Index entries: 2136
[INFO] Finished in 1.993s
[INFO]
[INFO] --- frontend-maven-plugin:1.5:npm (npm install) @
matterhorn-admin-ui-ng ---
[INFO] Running 'npm install --registry
https://mvncache.opencast.org/nexus/content/repositories/npmjs/' in
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng
[WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY:
fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
[WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported
platform for fsev...@1.2.4: wanted {"os":"darwin","arch":"any"}
(current: {"os":"linux","arch":"x64"})
[ERROR]
[INFO] up to date in 3.291s
[INFO]
[INFO] --- frontend-maven-plugin:1.5:grunt (grunt build) @
matterhorn-admin-ui-ng ---
[INFO] Running 'grunt build --skipTests=false' in
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng
[INFO] Running "build" task
[INFO]
[INFO] Running "clean:server" (clean) task
[INFO] >> 1 path cleaned.
[INFO]
[INFO] Running "wiredep:app" (wiredep) task
[INFO]
[INFO] Running "wiredep:test" (wiredep) task
[INFO]
[INFO] Running "wiredep:sass" (wiredep) task
[INFO]
[INFO] Running "concurrent:test" (concurrent) task
[INFO]
[INFO] Running "copy:styles" (copy) task
[INFO]
[INFO]
[INFO] Done.
[INFO]
[INFO]
[INFO] Execution Time (2018-05-29 11:37:58 UTC+1)
[INFO] loading tasks 461ms
▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 97%
[INFO] copy:styles 11ms ▇▇ 2%
[INFO] Total 477ms
[INFO]
[INFO] Running "sass:dist" (sass) task
[INFO]
[INFO] Running "sass:server" (sass) task
[INFO]
[INFO] Done.
[INFO]
[INFO]
[INFO] Execution Time (2018-05-29 11:37:58 UTC+1)
[INFO] loading tasks 457ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 43%
[INFO] sass:dist 304ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 29%
[INFO] sass:server 293ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 28%
[INFO] Total 1.1s
[INFO]
[INFO] Running "postcss:server" (postcss) task
[INFO] >> 1 processed stylesheet created.
[INFO]
[INFO] Running "postcss:dist" (postcss) task
[INFO] >> 1 processed stylesheet created.
[INFO]
[INFO] Running "connect:test" (connect) task
[INFO] Started connect web server on http://localhost:9001
[INFO]
[INFO] Running "karma:unit" (karma) task
[INFO] no match
[INFO] no match
[INFO] 29 05 2018 11:38:00.623:INFO [karma]: Karma v1.7.1 server started
at http://0.0.0.0:9876/
[INFO] 29 05 2018 11:38:00.624:INFO [launcher]: Launching browser
PhantomJS with unlimited concurrency
[INFO] 29 05 2018 11:38:00.628:INFO [launcher]: Starting browser PhantomJS
[INFO] 29 05 2018 11:38:00.956:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]:
Connected on socket hBh5wA1pCGKEWNLbAAAA with id 32336395
[INFO] PhantomJS 2.1.1 (Linux 0.0.0) ERROR
[INFO] TypeError: undefined is not an object (near
'...ntlyExecutingSuites[currentlyExecutingSu...')
[INFO] at
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:740
[INFO]
[INFO]
[INFO] PhantomJS 2.1.1 (Linux 0.0.0) ERROR
[INFO] TypeError: undefined is not an object (near
'...ntlyExecutingSuites[currentlyExecutingSu...')
[INFO] at
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:740
[INFO]
[INFO]
[INFO] PhantomJS 2.1.1 (Linux 0.0.0) ERROR
[INFO] TypeError: undefined is not an object (near
'...ntlyExecutingSuites[currentlyExecutingSu...')
[INFO] at
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:740
[INFO]
[INFO]
[INFO] PhantomJS 2.1.1 (Linux 0.0.0) ERROR
[INFO] TypeError: undefined is not an object (near
'...ntlyExecutingSuites[currentlyExecutingSu...')
[INFO] at
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:740
[INFO]
[INFO]
[INFO] PhantomJS 2.1.1 (Linux 0.0.0) ERROR
[INFO] TypeError: undefined is not an object (near
'...ntlyExecutingSuites[currentlyExecutingSu...')
[INFO] at
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:740
[INFO]
[INFO]
[INFO] PhantomJS 2.1.1 (Linux 0.0.0) ERROR
[INFO] TypeError: undefined is not an object (near
'...ntlyExecutingSuites[currentlyExecutingSu...')
[INFO] at
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:740
[INFO]
[INFO]
[INFO] PhantomJS 2.1.1 (Linux 0.0.0) ERROR
[INFO] TypeError: undefined is not an object (near
'...ntlyExecutingSuites[currentlyExecutingSu...')
[INFO] at
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:740
[INFO]
[INFO]
[INFO] Warning: Task "karma:unit" failed. Use --force to continue.
[INFO]
[INFO] Aborted due to warnings.
[INFO]
[INFO]
[INFO] Execution Time (2018-05-29 11:37:56 UTC+1)
[INFO] loading tasks 442ms ▇▇▇▇▇ 10%
[INFO] wiredep:app 64ms ▇ 1%
[INFO] concurrent:test 1.7s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 39%
[INFO] postcss:server 445ms ▇▇▇▇▇ 10%
[INFO] postcss:dist 180ms ▇▇ 4%
[INFO] loading grunt-karma 304ms ▇▇▇ 7%
[INFO] karma:unit 1.1s ▇▇▇▇▇▇▇▇▇▇▇ 26%
[INFO] Total 4.3s
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] opencast ........................................... SUCCESS [
1.352 s]
[INFO] matterhorn-urlsigning-common ....................... SUCCESS [
4.918 s]
[INFO] matterhorn-urlsigning-service-api .................. SUCCESS [
0.640 s]
[INFO] matterhorn-common .................................. SUCCESS [
38.363 s]
[INFO] matterhorn-metadata-api ............................ SUCCESS [
1.136 s]
[INFO] matterhorn-workspace-api ........................... SUCCESS [
0.425 s]
[INFO] matterhorn-dublincore .............................. SUCCESS [
2.481 s]
[INFO] matterhorn-asset-manager-api ....................... SUCCESS [
1.407 s]
[INFO] matterhorn-workflow-service-api .................... SUCCESS [
0.710 s]
[INFO] matterhorn-common-jpa-impl ......................... SUCCESS [
4.304 s]
[INFO] matterhorn-kernel .................................. SUCCESS [
13.377 s]
[INFO] matterhorn-scheduler-api ........................... SUCCESS [
0.530 s]
[INFO] matterhorn-message-broker-api ...................... SUCCESS [
0.547 s]
[INFO] matterhorn-series-service-api ...................... SUCCESS [
0.389 s]
[INFO] matterhorn-inspection-service-api .................. SUCCESS [
0.374 s]
[INFO] matterhorn-inspection-workflowoperation ............ SUCCESS [
1.444 s]
[INFO] matterhorn-search-service-api ...................... SUCCESS [
0.466 s]
[INFO] matterhorn-distribution-service-api ................ SUCCESS [
0.349 s]
[INFO] matterhorn-publication-service-api ................. SUCCESS [
0.350 s]
[INFO] matterhorn-authorization-xacml ..................... SUCCESS [
2.546 s]
[INFO] matterhorn-oaipmh-persistence ...................... SUCCESS [
4.792 s]
[INFO] matterhorn-distribution-workflowoperation .......... SUCCESS [
1.653 s]
[INFO] matterhorn-conductor ............................... SUCCESS [
11.699 s]
[INFO] matterhorn-asset-manager-util ...................... SUCCESS [
0.444 s]
[INFO] matterhorn-authorization-manager ................... SUCCESS [
11.741 s]
[INFO] matterhorn-capture-admin-service-api ............... SUCCESS [
0.350 s]
[INFO] matterhorn-search-api .............................. SUCCESS [
0.293 s]
[INFO] matterhorn-event-comment ........................... SUCCESS [
5.057 s]
[INFO] matterhorn-messages ................................ SUCCESS [
3.738 s]
[INFO] matterhorn-search .................................. SUCCESS [
12.193 s]
[INFO] matterhorn-ingest-service-api ...................... SUCCESS [
0.390 s]
[INFO] matterhorn-userdirectory ........................... SUCCESS [
10.703 s]
[INFO] matterhorn-index-service ........................... SUCCESS [
4.726 s]
[INFO] matterhorn-presets ................................. SUCCESS [
0.999 s]
[INFO] matterhorn-static-file-service-api ................. SUCCESS [
1.122 s]
[INFO] matterhorn-themes .................................. SUCCESS [
2.758 s]
[INFO] matterhorn-smil-api ................................ SUCCESS [
0.484 s]
[INFO] matterhorn-solr .................................... SUCCESS [
1.139 s]
[INFO] matterhorn-series-service-impl ..................... SUCCESS [
29.084 s]
[INFO] matterhorn-asset-manager-impl ...................... SUCCESS [
34.846 s]
[INFO] matterhorn-admin-ui-ng ............................. FAILURE [
12.999 s]
[INFO] matterhorn-annotation-api .......................... SKIPPED
[INFO] matterhorn-annotation-impl ......................... SKIPPED
[INFO] matterhorn-asset-manager-workflowoperation ......... SKIPPED
[INFO] matterhorn-asset-manager-storage-fs ................ SKIPPED
[INFO] matterhorn-caption-api ............................. SKIPPED
[INFO] matterhorn-mpeg7 ................................... SKIPPED
[INFO] matterhorn-caption-impl ............................ SKIPPED
[INFO] matterhorn-caption-remote .......................... SKIPPED
[INFO] matterhorn-capture-admin-service-impl .............. SKIPPED
[INFO] matterhorn-working-file-repository-service-api ..... SKIPPED
[INFO] matterhorn-workflow-workflowoperation .............. SKIPPED
[INFO] matterhorn-capture-workflowoperation ............... SKIPPED
[INFO] matterhorn-comments-workflowoperation .............. SKIPPED
[INFO] matterhorn-composer-service-api .................... SKIPPED
[INFO] matterhorn-composer-ffmpeg ......................... SKIPPED
[INFO] matterhorn-composer-service-remote ................. SKIPPED
[INFO] matterhorn-composer-workflowoperation .............. SKIPPED
[INFO] matterhorn-cover-image-api ......................... SKIPPED
[INFO] matterhorn-cover-image-impl ........................ SKIPPED
[INFO] matterhorn-cover-image-remote ...................... SKIPPED
[INFO] matterhorn-cover-image-workflowoperation ........... SKIPPED
[INFO] matterhorn-dataloader .............................. SKIPPED
[INFO] matterhorn-db ...................................... SKIPPED
[INFO] matterhorn-dictionary-api .......................... SKIPPED
[INFO] matterhorn-dictionary-hunspell ..................... SKIPPED
[INFO] matterhorn-dictionary-none ......................... SKIPPED
[INFO] matterhorn-dictionary-regexp ....................... SKIPPED
[INFO] matterhorn-distribution-service-acl ................ SKIPPED
[INFO] matterhorn-distribution-service-acl-remote ......... SKIPPED
[INFO] matterhorn-distribution-service-aws-s3-api ......... SKIPPED
[INFO] matterhorn-distribution-service-aws-s3 ............. SKIPPED
[INFO] matterhorn-distribution-service-aws-s3-remote ...... SKIPPED
[INFO] matterhorn-distribution-service-download ........... SKIPPED
[INFO] matterhorn-distribution-service-download-remote .... SKIPPED
[INFO] matterhorn-distribution-service-streaming .......... SKIPPED
[INFO] matterhorn-distribution-service-adaptive-streaming-wowza SKIPPED
[INFO] matterhorn-distribution-service-streaming-remote ... SKIPPED
[INFO] matterhorn-email-template-service-api .............. SKIPPED
[INFO] matterhorn-email-template-service-impl ............. SKIPPED
[INFO] matterhorn-engage-theodul-api ...................... SKIPPED
[INFO] matterhorn-engage-theodul-core ..................... SKIPPED
[INFO] matterhorn-engage-theodul-plugin-archetype ......... SKIPPED
[INFO] matterhorn-engage-theodul-plugin-controls .......... SKIPPED
[INFO] matterhorn-engage-theodul-plugin-custom-mhConnection SKIPPED
[INFO] matterhorn-engage-theodul-plugin-custom-notifications SKIPPED
[INFO] matterhorn-engage-theodul-plugin-custom-usertracking SKIPPED
[INFO] matterhorn-engage-theodul-plugin-custom-piwik ...... SKIPPED
[INFO] matterhorn-engage-theodul-plugin-description ....... SKIPPED
[INFO] matterhorn-engage-theodul-plugin-tab-description ... SKIPPED
[INFO] matterhorn-engage-theodul-plugin-tab-shortcuts ..... SKIPPED
[INFO] matterhorn-engage-theodul-plugin-tab-slidetext ..... SKIPPED
[INFO] matterhorn-engage-theodul-plugin-timeline-statistics SKIPPED
[INFO] matterhorn-engage-theodul-plugin-video-videojs ..... SKIPPED
[INFO] matterhorn-engage-ui ............................... SKIPPED
[INFO] matterhorn-execute-api ............................. SKIPPED
[INFO] matterhorn-execute-impl ............................ SKIPPED
[INFO] matterhorn-execute-remote .......................... SKIPPED
[INFO] matterhorn-execute-workflowoperation ............... SKIPPED
[INFO] matterhorn-external-api ............................ SKIPPED
[INFO] matterhorn-fileupload .............................. SKIPPED
[INFO] matterhorn-hello-world-api ......................... SKIPPED
[INFO] matterhorn-hello-world-impl ........................ SKIPPED
[INFO] matterhorn-incident-workflowoperation .............. SKIPPED
[INFO] matterhorn-working-file-repository-service-impl .... SKIPPED
[INFO] matterhorn-ingest-service-impl ..................... SKIPPED
[INFO] matterhorn-ingest-workflowoperation ................ SKIPPED
[INFO] matterhorn-inspection-service-ffmpeg ............... SKIPPED
[INFO] matterhorn-inspection-service-remote ............... SKIPPED
[INFO] matterhorn-lti ..................................... SKIPPED
[INFO] matterhorn-message-broker-impl ..................... SKIPPED
[INFO] matterhorn-metadata ................................ SKIPPED
[INFO] matterhorn-migration ............................... SKIPPED
[INFO] matterhorn-notification-workflowoperation .......... SKIPPED
[INFO] matterhorn-oaipmh-api .............................. SKIPPED
[INFO] matterhorn-oaipmh .................................. SKIPPED
[INFO] matterhorn-oaipmh-remote ........................... SKIPPED
[INFO] matterhorn-publication-service-oaipmh .............. SKIPPED
[INFO] matterhorn-publication-service-oaipmh-remote ....... SKIPPED
[INFO] matterhorn-publication-service-youtube-remote ...... SKIPPED
[INFO] matterhorn-publication-service-youtube-v3 .......... SKIPPED
[INFO] matterhorn-runtime-info ............................ SKIPPED
[INFO] matterhorn-runtime-info-ui ......................... SKIPPED
[INFO] matterhorn-runtime-info-ui-ng ...................... SKIPPED
[INFO] matterhorn-scheduler-impl .......................... SKIPPED
[INFO] matterhorn-scheduler-conflict-handler .............. SKIPPED
[INFO] matterhorn-scheduler-conflict-notifier-comment ..... SKIPPED
[INFO] matterhorn-scheduler-conflict-notifier-email ....... SKIPPED
[INFO] matterhorn-scheduler-remote ........................ SKIPPED
[INFO] matterhorn-schema .................................. SKIPPED
[INFO] matterhorn-search-service-feeds .................... SKIPPED
[INFO] matterhorn-search-service-impl ..................... SKIPPED
[INFO] matterhorn-search-service-remote ................... SKIPPED
[INFO] matterhorn-search-workflowoperation ................ SKIPPED
[INFO] matterhorn-security-shibboleth ..................... SKIPPED
[INFO] matterhorn-security-aai ............................ SKIPPED
[INFO] matterhorn-security-cas-client-wrapper ............. SKIPPED
[INFO] matterhorn-security-cas ............................ SKIPPED
[INFO] matterhorn-security-ldap ........................... SKIPPED
[INFO] matterhorn-security-openid ......................... SKIPPED
[INFO] matterhorn-series-service-remote ................... SKIPPED
[INFO] matterhorn-serviceregistry ......................... SKIPPED
[INFO] matterhorn-serviceregistry-remote .................. SKIPPED
[INFO] matterhorn-silencedetection-api .................... SKIPPED
[INFO] matterhorn-silencedetection-impl ................... SKIPPED
[INFO] matterhorn-silencedetection-remote ................. SKIPPED
[INFO] matterhorn-smil-impl ............................... SKIPPED
[INFO] matterhorn-sox-api ................................. SKIPPED
[INFO] matterhorn-sox-impl ................................ SKIPPED
[INFO] matterhorn-sox-remote .............................. SKIPPED
[INFO] matterhorn-sox-workflowoperation ................... SKIPPED
[INFO] matterhorn-static .................................. SKIPPED
[INFO] matterhorn-static-file-service-impl ................ SKIPPED
[INFO] matterhorn-textanalyzer-api ........................ SKIPPED
[INFO] matterhorn-textanalyzer-impl ....................... SKIPPED
[INFO] matterhorn-textanalyzer-remote ..................... SKIPPED
[INFO] matterhorn-textanalyzer-workflowoperation .......... SKIPPED
[INFO] matterhorn-textextractor-tesseract ................. SKIPPED
[INFO] matterhorn-themes-workflowoperation ................ SKIPPED
[INFO] matterhorn-timelinepreviews-api .................... SKIPPED
[INFO] matterhorn-timelinepreviews-ffmpeg ................. SKIPPED
[INFO] matterhorn-timelinepreviews-remote ................. SKIPPED
[INFO] matterhorn-timelinepreviews-workflowoperation ...... SKIPPED
[INFO] matterhorn-transcription-service-api ............... SKIPPED
[INFO] matterhorn-transcription-service-ibm-watson-impl ... SKIPPED
[INFO] matterhorn-transcription-service-workflowoperation . SKIPPED
[INFO] matterhorn-urlsigning-service-impl ................. SKIPPED
[INFO] matterhorn-urlsigning-verifier-service-api ......... SKIPPED
[INFO] matterhorn-urlsigning-verifier-service-impl ........ SKIPPED
[INFO] matterhorn-userdirectory-ldap ...................... SKIPPED
[INFO] matterhorn-userdirectory-sakai ..................... SKIPPED
[INFO] matterhorn-usertracking-api ........................ SKIPPED
[INFO] matterhorn-usertracking-impl ....................... SKIPPED
[INFO] matterhorn-videoeditor-api ......................... SKIPPED
[INFO] matterhorn-videoeditor-ffmpeg-impl ................. SKIPPED
[INFO] matterhorn-videoeditor-remote ...................... SKIPPED
[INFO] matterhorn-videoeditor-workflowoperation ........... SKIPPED
[INFO] matterhorn-videosegmenter-api ...................... SKIPPED
[INFO] matterhorn-videosegmenter-ffmpeg ................... SKIPPED
[INFO] matterhorn-videosegmenter-remote ................... SKIPPED
[INFO] matterhorn-videosegmenter-workflowoperation ........ SKIPPED
[INFO] matterhorn-waveform-api ............................ SKIPPED
[INFO] matterhorn-waveform-ffmpeg ......................... SKIPPED
[INFO] matterhorn-waveform-remote ......................... SKIPPED
[INFO] matterhorn-waveform-workflowoperation .............. SKIPPED
[INFO] matterhorn-workflow-service-impl ................... SKIPPED
[INFO] matterhorn-workflow-service-remote ................. SKIPPED
[INFO] matterhorn-working-file-repository-service-remote .. SKIPPED
[INFO] matterhorn-workspace-impl .......................... SKIPPED
[INFO] Assemblies ......................................... SKIPPED
[INFO] Assemblies // Apache Karaf Features ................ SKIPPED
[INFO] Assemblies // Distribution Develop ................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 03:49 min
[INFO] Finished at: 2018-05-29T11:38:01+01:00
[INFO] Final Memory: 194M/3121M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.5:grunt (grunt build) on
project matterhorn-admin-ui-ng: Failed to run task: 'grunt build
--skipTests=false' failed. org.apache.commons.exec.ExecuteException:
Process exited with an error: 3 (Exit value: 3) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :matterhorn-admin-ui-ng



I've tried on a couple of different machines now (both Ubuntu 18.04) and
have tried deleting the .m2 directory and build again but get the same
error.
Does anyone have any ideas?

Thanks,

Paul
--
Paul Gration
Multimedia Software Developer
University of Sussex
+44 (0) 1273 873269

Greg Logan

unread,
May 29, 2018, 8:43:54 AM5/29/18
to d...@opencast.org
Hi Paul, 

Try running git clean -fdx within the admin ui directory, then rebuilding. What you're seeing is actually a node.js build issue so clearing the Maven cache isn't going to help. The node cache is kept within the admin ui directory, so clearing that might resolve the issue.

G

--
You received this message because you are subscribed to the Google Groups "Opencast Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev+uns...@opencast.org.

Paul Gration

unread,
May 29, 2018, 9:25:41 AM5/29/18
to d...@opencast.org
I should've mentioned, I also deleted all module directories and then
re-checked them out before one of the build attempts and had the same
problem but I'll try your suggestion now just in case.

Thanks!

Paul
> <mailto:dev%2Bunsu...@opencast.org>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Opencast Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to dev+uns...@opencast.org
> <mailto:dev+uns...@opencast.org>.

Paul Gration

unread,
May 29, 2018, 9:39:25 AM5/29/18
to d...@opencast.org
Same problem unfortunately...

Greg Logan

unread,
May 29, 2018, 11:31:55 AM5/29/18
to d...@opencast.org
Hi Paul,

This *shouldn't* work, but try removing ~/.npm, then git clean -fdx in the admin bundle, then rebuilding.  Node has a nasty habit of caching things other than where it should.  I just did the same and everything built fine for me, but then it built correctly prior to those steps as well.

G

Same problem unfortunately...


--
You received this message because you are subscribed to the Google Groups "Opencast Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev+uns...@opencast.org <mailto:dev+unsubscribe@opencast.org>.


--
Paul Gration
Multimedia Software Developer
University of Sussex
+44 (0) 1273 873269

--
You received this message because you are subscribed to the Google Groups "Opencast Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev+uns...@opencast.org.


Paul Gration

unread,
May 29, 2018, 12:28:33 PM5/29/18
to d...@opencast.org
Same result. I'll do some more digging..

On 29/05/18 16:31, Greg Logan wrote:
> Hi Paul,
>
> This *shouldn't* work, but try removing ~/.npm, then git clean -fdx in
> the admin bundle, then rebuilding.  Node has a nasty habit of caching
> things other than where it should.  I just did the same and everything
> built fine for me, but then it built correctly prior to those steps as well.
>
> G
>
> On Tue, May 29, 2018 at 7:39 AM, Paul Gration <p.m.g...@sussex.ac.uk
> <mailto:p.m.g...@sussex.ac.uk>> wrote:
>
> Same problem unfortunately...
>
>
> On 29/05/18 14:25, Paul Gration wrote:
>
> I should've mentioned, I also deleted all module directories and
> then re-checked them out before one of the build attempts and
> had the same problem but I'll try your suggestion now just in case.
>
> Thanks!
>
> Paul
>
> On 29/05/18 13:43, Greg Logan wrote:
>
> Hi Paul,
>
> Try running git clean -fdx within the admin ui directory,
> then rebuilding. What you're seeing is actually a node.js
> build issue so clearing the Maven cache isn't going to help.
> The node cache is kept within the admin ui directory, so
> clearing that might resolve the issue.
>
> G
>
> On Tue, May 29, 2018, 04:55 Paul Gration,
> <p.m.g...@sussex.ac.uk <mailto:p.m.g...@sussex.ac.uk>
> <mailto:p.m.g...@sussex.ac.uk
> <mailto:dev%2Bunsu...@opencast.org>
>     <mailto:dev%2Bunsu...@opencast.org
> <mailto:dev%252Buns...@opencast.org>>.
>
> --
> You received this message because you are subscribed to the
> Google Groups "Opencast Development" group.
> To unsubscribe from this group and stop receiving emails
> from it, send an email to dev+uns...@opencast.org
> <mailto:dev%2Bunsu...@opencast.org>
> <mailto:dev+uns...@opencast.org
> <mailto:dev%2Bunsu...@opencast.org>>.
>
>
>
> --
> Paul Gration
> Multimedia Software Developer
> University of Sussex
> +44 (0) 1273 873269
>
> --
> You received this message because you are subscribed to the Google
> Groups "Opencast Development" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to dev+uns...@opencast.org
> <mailto:dev%2Bunsu...@opencast.org>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Opencast Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to dev+uns...@opencast.org
> <mailto:dev+uns...@opencast.org>.

Lars Kiesow

unread,
May 29, 2018, 1:31:00 PM5/29/18
to d...@opencast.org
Hi Paul,
building on that: Can you clean your cache again as instructed by Greg
but then edit the admin.ui pom.xml and remove all the definitions of:

--registry ${nexus.npm}

I've seen some weird behavior lately in regards of custom NPM
registries. Maybe this is related… or maybe it's not :D

Regards,
Lars

Paul Gration

unread,
May 30, 2018, 5:36:22 AM5/30/18
to d...@opencast.org
Thanks Lars, same error I'm afraid..

Lars Kiesow

unread,
May 30, 2018, 5:54:51 AM5/30/18
to d...@opencast.org
Ok, at least we have confirmed that it's not our registry.
Let's continue the guessing game :D

- Can you try cleaning the caches (as usual) + cleaning /tmp + cleaning
~/.m2? I've seen before that people wrote stuff to the global cache
folder and it did not get deleted since the tests execution failed, …
As for ~.m2, I know that PhantomJS is downloaded to the repository
and I've seen broken downloads before.

- If that does not help, can you specify what system you are trying to
build on? OS, version, Java, Maven, is Node/NPM installed?

–Lars


On Wed, 30 May 2018 10:36:20 +0100

Paul Gration

unread,
Jun 5, 2018, 7:47:52 AM6/5/18
to d...@opencast.org
Ok I think I've got to the bottom of this, and it's pretty silly...

tl;dr
Upgrading Ubuntu from <=17.10 to 18.04 with youtube-dl installed
breaks building of Opencast (not just Opencast 4.3 but other versions too).


Full explanation
I set up some fresh virtualbox VMs and found I could build 4.3 in Ubuntu
17.10 *and* 18.04 but it was failing to build on my 18.04 desktop
(upgraded through several Ubuntu versions over the years) so I knew it
was something specific to *my* desktop setup(s).

I also tried the develop branch today without success, then tried 4.3
again and on the latest build failure I noticed these INFO messages
which must've been present before but I'd skipped over them (also not
including them in my original post):

[INFO] > phantomjs...@2.1.16 install
/home/paul/dev/opencast/modules/admin-ui/node_modules/phantomjs-prebuilt
[INFO] > node install.js
[INFO]
[INFO] Considering PhantomJS found at /usr/bin/phantomjs
[INFO] Found PhantomJS at /usr/bin/phantomjs ...verifying
[INFO] Writing location.js file
[INFO] PhantomJS is already installed on PATH at /usr/bin/phantomjs

I thought this looked strange as I didn't remember installing phantomjs
through apt...and it turns out *I* hadn't!
I ran `apt-cache rdepends phantomjs` and found there are only a small
number of packages that depend on it, one of them being youtube-dl
(which I had installed years ago).
In Ubuntu 18.04 youtube-dl depends on and installs phantomjs-2.1.1.
Prior to the upgrade to 18.04, the youtube-dl package (in 17.10 and
earlier versions of Ubuntu) doesn't have this dependency:

https://packages.ubuntu.com/artful/youtube-dl
https://packages.ubuntu.com/bionic/youtube-dl

The Opencast build (specifically the phantomjs install.js file) looks
for a pre-existing installation of phantomjs system-wide and uses that
rather than downloading and installing a copy like this:

[INFO] > phantomjs...@2.1.16 install
/home/paul/dev/opencast/modules/matterhorn-admin-ui-ng/node_modules/phantomjs-prebuilt
[INFO] > node install.js
[INFO]
[INFO] PhantomJS not found on PATH
[INFO] Downloading
https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
[INFO] Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
[INFO] Receiving...
[INFO]
[INFO] Received 22866K total.

The version that gets pulled in for youtube-dl is shown as 2.1.1+dfsg-2
in apt or if you do `phantomjs --version`, and in the Opencast build,
the phantonjs install.js would grab 2.1.16 and then refer to it as 2.1.1
- I guess there's a subtle but important difference in versions there
that breaks the build for some reason but I'm assuming phantomjs thinks
it's ok to use the system-wide one as it's close enough in version number??

Removing youtube-dl and its dependencies then allowed me to successfully
build Opencast again :)


Paul

Greg Logan

unread,
Jun 7, 2018, 1:52:46 PM6/7/18
to d...@opencast.org
Glad to see this finally resolved!  Hopefully this helps others running into similar issues:  If you're having weird build issues, check and make sure you don't have a system-wide install of Node, Grunt, Karma, and PhantomJS.  Opencast uses its own if you don't have them, and if you *do* then you can get weird things like this happening :)

Glad things are working for you!

G

              <mailto:dev%2Bunsubscribe@opencast.org>
                   <mailto:dev%2Bunsubscribe@opencast.org
              <mailto:dev%252Bunsubscribe@opencast.org>>.


              --
              You received this message because you are subscribed
to the Google Groups "Opencast Development" group.
              To unsubscribe from this group and stop receiving
emails from it, send an email to dev+uns...@opencast.org
              <mailto:dev%2Bunsubscribe@opencast.org>
              <mailto:dev+unsubscribe@opencast.org
              <mailto:dev%2Bunsubscribe@opencast.org>>.




      --
      Paul Gration
      Multimedia Software Developer
      University of Sussex
      +44 (0) 1273 873269

      --
      You received this message because you are subscribed to the
Google Groups "Opencast Development" group.
      To unsubscribe from this group and stop receiving emails from
it, send an email to dev+uns...@opencast.org
      <mailto:dev%2Bunsubscribe@opencast.org>.



--
You received this message because you are subscribed to the Google
Groups "Opencast Development" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to dev+uns...@opencast.org
<mailto:dev+unsubscribe@opencast.org>.
 
   



--
Paul Gration
Multimedia Software Developer
University of Sussex
+44 (0) 1273 873269

--
You received this message because you are subscribed to the Google Groups "Opencast Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev+uns...@opencast.org.


fish slippery

unread,
Sep 20, 2018, 10:29:51 PM9/20/18
to Opencast Development
>                    [INFO] matt...

I still have the same problem with OC 5.0. Have tried all methods, no luck.

Paul Gration

unread,
Sep 21, 2018, 6:34:17 AM9/21/18
to d...@opencast.org
Is it the same error message that you're seeing? You definitely don't
have any of the packages that the Opencast build processes looks for
system-wide (before using it's own) installed already?
Reply all
Reply to author
Forward
0 new messages