Skip to content

curl fails to download after a certain time, but wget does not. #11

@manojkiraneda

Description

@manojkiraneda

The container seems to use curl to download the .sh file and that is failing for some reason, but the wget on the same file seems to work. Can you guys help me to figure out what is the issue here ?

Even with wget, it seems like we are reconnection after certain time, do i need to enable some option in curl to get this working ?


----------------------------------------------------------------------------------------------------------------------
Attempting to download https://jenkins.openbmc.org/job/latest-master-sdk/label=docker-builder,target=witherspoon/lastSuccessfulBuild/artifact/deploy/sdk/oecore-x86_64-arm1176jzs-toolchain-nodistro.0.sh
#####                                                                      7.1%
curl: (18) transfer closed with 314315481 bytes remaining to read
Unable to download "https://jenkins.openbmc.org/job/latest-master-sdk/label=docker-builder,target=witherspoon/lastSuccessfulBuild/artifact/deploy/sdk/oecore-x86_64-arm1176jzs-toolchain-nodistro.0.sh".


----------------------------------------------------------------------------------------------------------------------------
[Juliet@juliet ci-stage-area]$ wget https://jenkins.openbmc.org/job/latest-master-sdk/label=docker-builder,target=witherspoon/lastSuccessfulBuild/artifact/deploy/sdk/oecore-x86_64-arm1176jzs-toolchain-nodistro.0.sh
--2020-10-11 11:27:51--  https://jenkins.openbmc.org/job/latest-master-sdk/label=docker-builder,target=witherspoon/lastSuccessfulBuild/artifact/deploy/sdk/oecore-x86_64-arm1176jzs-toolchain-nodistro.0.sh
Resolving jenkins.openbmc.org (jenkins.openbmc.org)... 169.44.58.24
Connecting to jenkins.openbmc.org (jenkins.openbmc.org)|169.44.58.24|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 338280321 (323M) [application/x-sh]
Saving to: ‘oecore-x86_64-arm1176jzs-toolchain-nodistro.0.sh’

oecore-x86_64-arm1176jzs-toolchain-nodistro.0.s   6%[=====>                                                                                                ]  20.84M   324KB/s    in 71s     

2020-10-11 11:29:05 (303 KB/s) - Connection closed at byte 21854168. Retrying.

--2020-10-11 11:29:06--  (try: 2)  https://jenkins.openbmc.org/job/latest-master-sdk/label=docker-builder,target=witherspoon/lastSuccessfulBuild/artifact/deploy/sdk/oecore-x86_64-arm1176jzs-toolchain-nodistro.0.sh
Connecting to jenkins.openbmc.org (jenkins.openbmc.org)|169.44.58.24|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 338280321 (323M), 316426153 (302M) remaining [application/x-sh]
Saving to: ‘oecore-x86_64-arm1176jzs-toolchain-nodistro.0.sh’

oecore-x86_64-arm1176jzs-toolchain-nodistro.0.s  12%[++++++=====>                                                                                          ]  39.44M   392KB/s    in 46s     

2020-10-11 11:29:54 (410 KB/s) - Connection closed at byte 41353000. Retrying.

--2020-10-11 11:29:56--  (try: 3)  https://jenkins.openbmc.org/job/latest-master-sdk/label=docker-builder,target=witherspoon/lastSuccessfulBuild/artifact/deploy/sdk/oecore-x86_64-arm1176jzs-toolchain-nodistro.0.sh
Connecting to jenkins.openbmc.org (jenkins.openbmc.org)|169.44.58.24|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 338280321 (323M), 296927321 (283M) remaining [application/x-sh]
Saving to: ‘oecore-x86_64-arm1176jzs-toolchain-nodistro.0.sh’

oecore-x86_64-arm1176jzs-toolchain-nodistro.0.s  19%[++++++++++++======> 

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