Skip to content

Build Logs Never Load #1696

@bpholt

Description

@bpholt

I'm using the Hello, World! tutorial after installing Concourse using Docker Compose. I can create and run the pipeline, but when I view a job, the build log never loads. (It just spins with the label "loading…" indefinitely.) This happens in Safari and Chrome, with Docker for Mac 17.09.0-ce-mac33.

I noticed that during a build the status doesn't seem to update from running to finished, either. After reloading the entire page the finished status appears.

Making a request to /api/v1/builds/2/events with curl also hangs indefinitely:

$ curl --silent --verbose --cookie ATC-Authorization="Bearer …" http://10.200.10.1:18080/api/v1/builds/2/events
*   Trying 10.200.10.1...
* TCP_NODELAY set
* Connected to 10.200.10.1 (10.200.10.1) port 18080 (#0)
> GET /api/v1/builds/2/events HTTP/1.1
> Host: 10.200.10.1:18080
> User-Agent: curl/7.54.0
> Accept: */*
> Cookie: ATC-Authorization=Bearer …
> 
^C

But requesting the logs with fly watch works fine:

$ fly -t lite watch -j hello-world/hello-world -b 2
initializing
running echo Hello, world!
Hello, world!
succeeded

This is using the docker-compose.yml file as it appears in the Docker installation instructions, so I assume it's Concourse 3.5.0. fly also reports version 3.5.0:

$ fly -v
3.5.0

Here's the pipeline definition, if that's meaningful:

$ fly -t docker get-pipeline -p hello-world
groups: []
resources: []
resource_types: []
jobs:
- name: hello-world
  plan:
  - task: say-hello
    config:
      platform: linux
      image_resource:
        type: docker-image
        source:
          repository: ubuntu
      run:
        path: echo
        args:
        - Hello, world!
        dir: ""

(I'm reporting this with build 2, only because the output for build 1 includes a bunch of Docker image download logs which were noisy. The behavior is otherwise the same.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions