Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10882

hawtio-online patternfly 4 update causing proxy issues building in production

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • fuse-7.5-ER1
    • fuse-7.4-GA
    • Hawtio

    Description

      http://orch.psi.redhat.com/pnc-web/#/projects/88/build-configs/1698/build-records/23725/result

      This appears related to the patternfly 4 update, and we need a way of getting gulp-minify-css to go through the proxy to grab the google fonts.

      [INFO] [13:28:39] img-copy node_modules/@hawtio/core/dist/img/img_avatar.svg
      [INFO] [13:28:39] site fonts fontawesome-webfont.woff
      [ERROR] [13:28:40] '[online] Site bundle' errored after 14 s
      [ERROR] [13:28:40] Error in plugin 'gulp-minify-css'
      [ERROR] Message:
      [ERROR]     Broken @import declaration of "https://fonts.googleapis.com/css?family=Overpass|Overpass+Mono" - socket hang up
      [ERROR] Details:
      [ERROR]     fileName: /tmp/hawtio-online-1.0.0-7.4.0/packages/online/node_modules/@hawtio/core/dist/css/patternfly.css
      [ERROR]     domainEmitter: [object Object]
      [ERROR]     domain: [object Object]
      [ERROR]     domainThrown: false
      [INFO] [13:28:40] The following tasks did not complete: site, online::site, <parallel>, [online] Copy fonts to site, [online] Copy images to site, [online] Copy deps images to site, <series>
      [INFO] [13:28:40] Did you forget to signal async completion?
      [ERROR] /tmp/hawtio-online-1.0.0-7.4.0/node_modules/async-done/index.js:18
      [ERROR]     throw err;
      [ERROR]     ^
      [ERROR] 
      [ERROR] Error: Unhandled "error" event. ([object Object])
      [ERROR]     at Gulp.emit (events.js:186:19)
      [ERROR]     at Gulp.src.emit (/tmp/hawtio-online-1.0.0-7.4.0/node_modules/fwd/index.js:31:10)
      [ERROR]     at Object.error (/tmp/hawtio-online-1.0.0-7.4.0/node_modules/undertaker/lib/helpers/createExtensions.js:61:10)
      [ERROR]     at handler (/tmp/hawtio-online-1.0.0-7.4.0/node_modules/now-and-later/lib/mapSeries.js:43:14)
      [ERROR]     at f (/tmp/hawtio-online-1.0.0-7.4.0/node_modules/once/once.js:25:25)
      [ERROR]     at f (/tmp/hawtio-online-1.0.0-7.4.0/node_modules/once/once.js:25:25)
      [ERROR]     at tryCatch (/tmp/hawtio-online-1.0.0-7.4.0/node_modules/async-done/index.js:24:15)
      [ERROR]     at done (/tmp/hawtio-online-1.0.0-7.4.0/node_modules/async-done/index.js:40:12)
      [ERROR]     at Domain.onError (/tmp/hawtio-online-1.0.0-7.4.0/node_modules/async-done/index.js:51:5)
      [ERROR]     at Object.onceWrapper (events.js:315:30)
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 15:52 min
      [INFO] Finished at: 2019-06-21T13:28:40+00:00
      [INFO] Final Memory: 20M/786M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:gulp (gulp site) on project hawtio-online: Failed to run task: 'gulp --series build site' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:gulp (gulp site) on project hawtio-online: Failed to run task
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      Caused by: org.apache.maven.plugin.MojoFailureException: Failed to run task
      	at com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute(AbstractFrontendMojo.java:100)
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      	... 20 more
      Caused by: com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'gulp --series build site' failed.
      	at com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute(NodeTaskExecutor.java:63)
      	at com.github.eirslett.maven.plugins.frontend.mojo.GulpMojo.execute(GulpMojo.java:64)
      	at com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute(AbstractFrontendMojo.java:94)
      	... 22 more
      Caused by: com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutionException: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
      	at com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutor.execute(ProcessExecutor.java:82)
      	at com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutor.executeAndRedirectOutput(ProcessExecutor.java:64)
      	at com.github.eirslett.maven.plugins.frontend.lib.NodeExecutor.executeAndRedirectOutput(NodeExecutor.java:29)
      	at com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute(NodeTaskExecutor.java:58)
      	... 24 more
      Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
      	at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
      	at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
      	at com.github.eirslett.maven.plugins.frontend.lib.ProcessExecutor.execute(ProcessExecutor.java:74)
      	... 27 more
      [ERROR] 
      [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
      % # Command finished with status: FAILED
      

      Attachments

        Activity

          People

            abrianik Alexandre Briani Kieling
            tcunning@redhat.com Thomas Cunningham
            Lucia Drozdova Lucia Drozdova
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: