Skip to content

GHA: misc updates: impacket, timeouts, mingw-w64 32-bit - #14929

Closed
vszakats wants to merge 11 commits into
curl:masterfrom
vszakats:gha-misc
Closed

vszakats wants to merge 11 commits into
curl:masterfrom
vszakats:gha-misc

Conversation

@vszakats

@vszakats vszakats commented Sep 16, 2024 •

Copy link
Copy Markdown
Member

@vszakats vszakats added the CI Continuous Integration label Sep 16, 2024
@vszakats

vszakats commented Sep 16, 2024 •

Copy link
Copy Markdown
Member Author

For NetBSD, it's 25 extra packages for impacket. 104MB of extra disk space. I wonder if there is a slimmer SMB server around. For the single test curl needs this.

with: https://github.com/curl/curl/actions/runs/10880090598/job/30186137501?pr=14929
without: https://github.com/curl/curl/actions/runs/10879773853/job/30185159730

--- without
+++ with
@@ -7,57 +7,114 @@
   curl-8.8.0nb1 libxml2-2.12.8 nghttp2-1.62.1nb1 rsync-3.3.0nb1 xxhash-0.8.2nb2
   zstd-1.5.6
 
-14 packages to install:
-  brotli-1.1.0 cmake-3.29.6 heimdal-7.8.0nb8 libffi-3.4.6 libpsl-0.21.5
-  libssh2-1.11.0nb2 libuuid-2.32.1nb2 libuv-1.48.0 ninja-build-1.12.1
-  openldap-client-2.6.8 perl-5.38.2 pkg-config-0.29.2nb2 python311-3.11.9nb1
-  rhash-1.4.4nb2
+39 packages to install:
+  brotli-1.1.0 cmake-3.29.6 gmp-6.3.0 heimdal-7.8.0nb8 libffi-3.4.6
+  libpsl-0.21.5 libssh2-1.11.0nb2 libuuid-2.32.1nb2 libuv-1.48.0
+  ninja-build-1.12.1 openldap-client-2.6.8 perl-5.38.2 pkg-config-0.29.2nb2
+  py311-OpenSSL-24.1.0 py311-asn1-0.6.0 py311-babel-2.15.0 py311-blinker-1.8.2
+  py311-cffi-1.16.0nb1 py311-charset-normalizer-3.3.2 py311-click-8.1.7
+  py311-cparser-2.22nb1 py311-cryptodome-3.20.0 py311-cryptography-42.0.8
+  py311-dns-2.6.1 py311-dsinternals-1.2.4 py311-flask-3.0.3 py311-future-0.18.3
+  py311-idna-3.7 py311-impacket-0.11.0 py311-itsdangerous-2.2.0
+  py311-jinja2-3.1.4 py311-ldap3-2.9.1nb1 py311-ldapdomaindump-0.9.4nb1
+  py311-markupsafe-2.1.5 py311-setuptools-70.0.0 py311-six-1.16.0nb1
+  py311-werkzeug-3.0.3 python311-3.11.9nb1 rhash-1.4.4nb2
 
-0 to remove, 2 to refresh, 6 to upgrade, 14 to install
-52M to download, 296M of additional disk space will be used
+0 to remove, 2 to refresh, 6 to upgrade, 39 to install
+68M to download, 400M of additional disk space will be used
 
[...]
 pkg_install warnings: 0, errors: 0

Linux tests started to hang, so reduce the timeout from 30 minutes
to 15. These jobs normally take 3 to 6 minutes to complete.
@vszakats vszakats changed the title GHA: misc updates GHA: misc updates: impacket, timeouts, mingw-w64 32-bit Sep 16, 2024
@bagder

bagder commented Sep 16, 2024

Copy link
Copy Markdown
Member

I wonder if there is a slimmer SMB server around. For the single test curl needs this.

Ideally we would import one into the source tree even and edit/improve it to better allow the server to do bad/wrong responses as well. We should also ideally have many more test cases.

@vszakats

vszakats commented Sep 16, 2024 •

Copy link
Copy Markdown
Member Author

More tests would be best, I agree.

It still looks weird to install Flask + werkzeug + jinja2 + markdown processor (= complete web dev env), and also rustup environment, an extra OpenSSL copy (?), and compile that all from source in some envs, to have a headless SMB server. Not NodeJS-bad, but close.

@vszakats vszakats closed this in 8a7efdb Sep 16, 2024
@vszakats
vszakats deleted the gha-misc branch September 16, 2024 13:43
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
- NetBSD: enable impacket. Debatable if this hefty package is worth it
  for the single SMB test (1451) run curl uses it for.
  (on the upside, it seems to install instantly on NetBSD)
  It's also a versioned package name that requires active maintenance.
  The unversioned name doesn't work, though that's what the package
  search returns: https://pkgsrc.se/net/py-impacket

- FreeBSD: stop installing impacket deps explicitly.
  They are automatically installed via the impacket package.

- Linux: put time limit on test runs.
  Started hanging yesterday:
  linux: https://github.com/curl/curl/actions/runs/10875011573/job/30172946986#step:41:3731
  awslc: https://github.com/curl/curl/actions/runs/10879782864/job/30185188509
  wolfssl: https://github.com/curl/curl/actions/runs/10879782864/job/30185188509

- distcheck: reduce time limit to 15m (was 30m)
  Linux tests started to hang, so reduce the timeout from 30 minutes
  to 15. These jobs normally take 3 to 6 minutes to finish.
  https://github.com/curl/curl/actions/runs/10879479914

- Windows: add 32-bit MSYS2/mingw-w64 job.
  Follow-up to e53523f curl#14859

Closes curl#14929
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration

Development

Successfully merging this pull request may close these issues.

2 participants