Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis-ci linux build script is missing curl #9357

Closed
GingerAdonis opened this issue Jun 3, 2019 · 2 comments · Fixed by #9404
Closed

Travis-ci linux build script is missing curl #9357

GingerAdonis opened this issue Jun 3, 2019 · 2 comments · Fixed by #9404
Labels
build Pertains to compilation, language standard, external dependencies. Linux (OS) Related to the Linux version of OpenRCT2.

Comments

@GingerAdonis
Copy link
Contributor

GingerAdonis commented Jun 3, 2019

As can be viewed in the numerous Travis-ci Linux build logs, the curl command is missing. It's used to push builds to https://openrct2.org .
macOS builds are unaffected.

@GingerAdonis GingerAdonis changed the title Jenkins linux build script is missing curl Travis-ci linux build script is missing curl Jun 3, 2019
@Broxzier Broxzier added build Pertains to compilation, language standard, external dependencies. Linux (OS) Related to the Linux version of OpenRCT2. labels Jun 4, 2019
janisozaur added a commit that referenced this issue Jun 5, 2019
@janisozaur
Copy link
Member

Hmm, are you sure?
It seems to me the problem may actually lie on your side, openrct2.org seems to refuse to take our builds:

curl -m $CURL_MAX_TIME --connect-timeout $CURL_CONNECT_TIMEOUT --upload-file openrct2-linux.tar.gz https://transfer.sh/openrct2-linux-x86_64.tar.gz -o link && cat link || if [[ $? ]] ; then echo "Failed transfer.sh upload" ; fi; fi
* Hostname was NOT found in DNS cache
*   Trying 216.239.36.21...
* Connected to openrct2.org (216.239.36.21) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server key exchange (12):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* 	 subject: CN=openrct2.org
* 	 start date: 2019-06-02 13:12:04 GMT
* 	 expire date: 2019-08-31 13:12:04 GMT
* 	 subjectAltName: openrct2.org matched
* 	 issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
* 	 SSL certificate verify ok.
> POST /altapi/?command=push-build HTTP/1.1
> User-Agent: curl/7.35.0
> Host: openrct2.org
> Accept: */*
> Content-Length: 35200858
> Expect: 100-continue
> Content-Type: multipart/form-data; boundary=------------------------19c4ad3ffeeb82be
> 
< HTTP/1.1 100 Continue
} [data not shown]
< HTTP/1.1 413 Request Entity Too Large
< Date: Wed, 05 Jun 2019 07:41:00 GMT
< Content-Type: text/html; charset=UTF-8
* Server Google Frontend is not blacklisted
< Server: Google Frontend
< Content-Length: 294
* HTTP error before end of send, stop sending
< 
{ [data not shown]
* Closing connection 0
* SSLv3, TLS alert, Client hello (1):
} [data not shown]
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>413 Request Entity Too Large</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Request Entity Too Large</h1>
<h2>Your client issued a request that was too large.
</h2>
<h2></h2>
</body></html>

From latest build on develop: https://travis-ci.org/OpenRCT2/OpenRCT2/jobs/541598157

@GingerAdonis
Copy link
Contributor Author

Thanks for the extra information. It seems that there is an upload size limit on Google App Engine, which the API uses.

@janisozaur I'll send you a message on Gitter about an alternative.

janisozaur added a commit that referenced this issue Jun 11, 2019
In #9357 it was found that
the archive to be uploaded is too big, over 32MiB quota imposed by
Google App Engine. To alleviate that, switch GCC to `-Os -g` to help
reduce the code size a bit.

Fixes #9357
janisozaur added a commit that referenced this issue Jun 25, 2019
In #9357 it was found that
the archive to be uploaded is too big, over 32MiB quota imposed by
Google App Engine. To alleviate that, switch GCC to `-Os -g` to help
reduce the code size a bit.

Fixes #9357
Gymnasiast pushed a commit that referenced this issue Jun 26, 2019
In #9357 it was found that
the archive to be uploaded is too big, over 32MiB quota imposed by
Google App Engine. To alleviate that, switch GCC to `-Os -g` to help
reduce the code size a bit.

Fixes #9357
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Pertains to compilation, language standard, external dependencies. Linux (OS) Related to the Linux version of OpenRCT2.
Projects
None yet
3 participants