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 2021/10/14 15:57:26 UTC

[GitHub] [trafficcontrol] zrhoffman opened a new issue #6283: TP GHA Fails: -bash: export: `demo3'': not a valid identifier

zrhoffman opened a new issue #6283:
URL: https://github.com/apache/trafficcontrol/issues/6283


   <!--
   ************ STOP!! ************
   If this issue identifies a security vulnerability, DO NOT submit it! Instead, contact
   the Apache Traffic Control Security Team at security@trafficcontrol.apache.org and follow the
   guidelines at https://apache.org/security regarding vulnerability disclosure.
   
   - For *SUPPORT QUESTIONS*, use the #traffic-control channel on the ASF slack (https://s.apache.org/tc-slack-request)
   or the Traffic Control Users mailing list (send an email to users-subscribe@trafficcontrol.apache.org to subscribe).
   - Before submitting, please **SEARCH GITHUB** for a similar issue or PR
       * https://github.com/apache/trafficcontrol/issues
       * https://github.com/apache/trafficcontrol/pulls
   -->
   
   <!-- Do not submit security vulnerabilities or support requests here - see above -->
   ## This Bug Report affects these Traffic Control components:
   <!-- delete all those that don't apply -->
   - Automation - GitHub Actions <!-- Please specify which (GitHub Actions, Docker images, Ansible Roles, etc.) -->
   
   ## Current behavior:
   <!-- Describe how the bug happens -->
   Ever since #6265 (quoted variables that contain spaces in CDN in a Box's env file) was merged, the Traffic Portal Integration Tests GitHub Action has failed:
   ```
   /home/runner/work/trafficcontrol/trafficcontrol/.github/actions/tp-integration-tests/entrypoint.sh: line 113: export: `demo3'': not a valid identifier
   /home/runner/work/trafficcontrol/trafficcontrol/.github/actions/tp-integration-tests/entrypoint.sh: line 113: export: `Cole'': not a valid identifier
   Child process " /home/runner/work/trafficcontrol/trafficcontrol/.github/actions/tp-integration-tests/entrypoint.sh " exited with status code 1 !
   ```
   
   ## Expected behavior:
   <!-- Describe what the behavior would be without the bug -->
   As of #6188, the Traffic Portal and Traffic Ops Integration Tests GitHub Actions no longer start Traffic Vault, Exporting variables from the CDN in a Box env file is no longer necessary, those lines can be removed.
   
   ## Steps to reproduce:
   <!-- If the current behavior is a bug, please provide the *STEPS TO REPRODUCE* and
   include the applicable TC version.
   -->
   ```
   [user@computer trafficcontrol]$ export $(<infrastructure/cdn-in-a-box/variables.env sed '/^#/d')
   -bash: export: `demo3'': not a valid identifier
   -bash: export: `Cole'': not a valid identifier
   ```


-- 
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