You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/06/01 18:04:39 UTC
[GitHub] [trafficcontrol] ocket8888 opened a new issue, #6874: Pre-existing `admin` binary breaks dev environment
ocket8888 opened a new issue, #6874:
URL: https://github.com/apache/trafficcontrol/issues/6874
## 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
<details><summary>Logs</summary>
```
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
```
</details>
## 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`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] asheikm commented on issue #6874: Pre-existing `admin` binary breaks dev environment
Posted by GitBox <gi...@apache.org>.
asheikm commented on issue #6874:
URL: https://github.com/apache/trafficcontrol/issues/6874#issuecomment-1151192237
The command should be
`source dev/atc.dev.sh && atc stop && atc start trafficops && docker-compose logs -f trafficops`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] asheikm commented on issue #6874: Pre-existing `admin` binary breaks dev environment
Posted by GitBox <gi...@apache.org>.
asheikm commented on issue #6874:
URL: https://github.com/apache/trafficcontrol/issues/6874#issuecomment-1151166730
@ocket8888 , how to repro this issue ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org