Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-21869

Encoding issue in when streaming Build Logs to the console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 4.6.0.AM3
    • 4.3.1.CR1
    • openshift

      Create a new nodejs app, when a build is running, in the OpenShift Explorer, right click on the build and select the Build Log... menu.

      It'll start to spew weird characters eventually :

      I0315 10:38:28.749220       1 docker.go:286] Image "registry.access.redhat.com/openshift3/nodejs-010-rhel7:latest" not available locally, pulling ...
      I0315 10:39:16.195418       1 source.go:197] Downloading "https://github.com/openshift/nodejs-ex.git" ...
      I0315 10:39:19.670243       1 install.go:236] Using "assemble" installed from "image:///usr/libexec/s2i/assemble"
      I0315 10:39:19.670318       1 install.go:236] Using "run" installed from "image:///usr/libexec/s2i/run"
      I0315 10:39:19.670356       1 install.go:236] Using "save-artifacts" installed from "image:///usr/libexec/s2i/save-artifacts"
      ---> Installing application source
      ---> Building your Node application from source
      E0315 10:39:21.193046       1 util.go:91] npm info it worked if it ends with ok
      E0315 10:39:21.193216       1 util.go:91] npm info using npm@2.14.13
      E0315 10:39:21.193229       1 util.go:91] npm info using node@v0.10.40
      ...
      E0315 10:39:27.511826       1 util.go:91] npm info prepublish nodejs-ex@0.0.1
      ejs@2.4.1 node_modules/ejs
      
      express@4.13.4 node_modules/express
      ��������� escape-html@1.0.3
      ��������� array-flatten@1.1.1
      ��������� utils-merge@1.0.0
      ��������� cookie-signature@1.0.6
      ��������� merge-descriptors@1.0.1
      ��������� fresh@0.3.0
      ��������� methods@1.1.2
      ��������� range-parser@1.0.3
      ��������� vary@1.0.1
      ��������� path-to-regexp@0.1.7
      ��������� cookie@0.1.5
      ��������� parseurl@1.3.1
      ��������� content-type@1.0.1
      ��������� etag@1.7.0
      ��������� content-disposition@0.5.1
      ��������� serve-static@1.10.2
      ��������� depd@1.1.0
      ��������� qs@4.0.0
      ��������� finalhandler@0.4.1 (unpipe@1.0.0)
      ��������� on-finished@2.3.0 (ee-first@1.1.1)
      ��������� debug@2.2.0 (ms@0.7.1)
      ��������� proxy-addr@1.0.10 (forwarded@0.1.0, ipaddr.js@1.0.5)
      ��������� send@0.13.1 (destroy@1.0.4, statuses@1.2.1, ms@0.7.1, mime@1.3.4, http-errors@1.3.1)
      ��������� type-is@1.6.12 (media-typer@0.3.0, mime-types@2.1.10)
      ��������� accepts@1.2.13 (negotiator@0.5.3, mime-types@2.1.10)
      
      mongodb@2.1.8 node_modules/mongodb
      ��������� es6-promise@3.0.2
      ��������� mongodb-core@1.3.5 (bson@0.4.22, require_optional@1.0.0)
      ��������� readable-stream@1.0.31 (inherits@2.0.1, isarray@0.0.1, string_decoder@0.10.31, core-util-is@1.0.2)
      E0315 10:39:27.684535       1 util.go:91] npm info ok 
      I0315 10:39:42.202321       1 sti.go:245] Using provided push secret for pushing 172.30.183.94:5000/node/nodejs-mongodb-example:latest image
      I0315 10:39:42.202361       1 sti.go:249] Pushing 172.30.183.94:5000/node/nodejs-mongodb-example:latest image ...
      

      I'm running on OSX

        1. screenshot-1.png
          screenshot-1.png
          46 kB
        2. screenshot-2.png
          screenshot-2.png
          66 kB
        3. screenshot-3.png
          screenshot-3.png
          208 kB

            adietish@redhat.com André Dietisheim
            fbricon@redhat.com Fred Bricon
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: