Error cat: can't open tmp/pipe-19970.txt No such file or directory

Juan Roberto Honorato May 25, 2020

Hi, 

I've been using the slack-notify pipe successfully in various repos but in a new one I created today I see this error message. What could be the reason that this file is not found?

I'm using as base "image: python:3.7.3". I basically build a docker image and push it to AWS ECR.

 

Status: Downloaded newer image for bitbucketpipelines/slack-notify:0.3.5INFO: Sending notification to Slack...curl -s -X POST --output /tmp/pipe-19970.txt -w %{http_code} -H Content-Type: application/json -d {  "attachments": [    {      "fallback": ":rocket:Image '$AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/anastasia/demandforecasting-prod-dashboard-data:1.0' pushed successfully from repo 'anastasiaai/dashboard-data' and commit 'f79954b7fc0985288efa4589701f90e120b62a4d'. No tests performed.",      "color": "#439FE0",      "pretext": "Notification sent from <https://bitbucket.org/anastasiaai/dashboard-data/addon/pipelines/home#!/results/3|Pipeline #3>",      "text": ":rocket:Image '$AWS_ACCOUNT_ID.xxxxxxxxxxxx' pushed successfully from repo 'xxxxxxxxxx' and commit 'xxxxxxxxxxx'.",      "mrkdwn_in": [        "pretext"      ]    }  ]} jVOhtk5iczBnYCJOemquMvu5cat: can't open '/tmp/pipe-19970.txt': No such file or directory2020-05-26T01:38:11.253675829Z stdout P 000

1 answer

1 vote
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 26, 2020

@Juan Roberto Honorato  hello, thanks for the reporting. Looks like the file you expect to be existed is either not created or deleted. Can you share more details to help you investigate the case?

Cheers, Galyna

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events