Skip to content

Pre-existing admin binary breaks dev environment #6874

Open
@ocket8888

Description

@ocket8888

This Bug Report affects these Traffic Control components:

None

Current behavior:

If a binary already exists at traffic_ops/app/db/admin, the Traffic Ops service of the developer environment will fail to start

Logs
Attaching to trafficcontrol_trafficops_1
trafficops_1      | db:5432 - no response
trafficops_1      | waiting for db on postgresql://db:5432/postgres
trafficops_1      | db:5432 - accepting connections
trafficops_1      | make: 'traffic_ops/app/db/admin' is up to date.
trafficops_1      | Error relocating /root/go/src/github.com/apache/trafficcontrol//traffic_ops/app/db/admin: __vfprintf_chk: symbol not found
trafficops_1      | Error relocating /root/go/src/github.com/apache/trafficcontrol//traffic_ops/app/db/admin: __fprintf_chk: symbol not found
trafficops_1      | Error on line 1 of /root/go/src/github.com/apache/trafficcontrol/dev/traffic_ops/run.sh

Expected behavior:

The success of the developer environment should not depend on the build state of the project.

Steps to reproduce:

  1. source dev/atc.dev.sh && atc stop && atc start trafficops && docker-compose logs -f trafficops

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething isn't working as intendeddev-ciabRelated to CDN in a Box for Developerslow difficultythe estimated level of effort to resolve this issue is lowlow impactaffects only a small portion of a CDN, and cannot itself break one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions