Skip to content

Conversation

@zeroSteiner
Copy link
Contributor

TBD Once I figure out what's going on. Until then drafting a PR to get the tests running.

@zeroSteiner zeroSteiner force-pushed the fix/issue/socket-channels-udp-flakies branch 3 times, most recently from 61489f0 to d733ed8 Compare December 1, 2025 20:13
@zeroSteiner zeroSteiner force-pushed the fix/issue/socket-channels-udp-flakies branch from d733ed8 to 2bbcd7d Compare December 3, 2025 16:21
@smcintyre-r7 smcintyre-r7 added the payload-testing-branch Runs framework and custom payloads PRs - https://github.com/rapid7/metasploit-framework/pull/19390 label Dec 3, 2025
@zeroSteiner zeroSteiner force-pushed the fix/issue/socket-channels-udp-flakies branch from 2bbcd7d to 29cdc8c Compare December 3, 2025 17:30
@zeroSteiner zeroSteiner force-pushed the fix/issue/socket-channels-udp-flakies branch from 29cdc8c to da91209 Compare December 3, 2025 22:04
@zeroSteiner zeroSteiner changed the title Fix the flakey UDP channel teests Fix the flakey UDP channel tests Dec 4, 2025
@zeroSteiner zeroSteiner force-pushed the fix/issue/socket-channels-udp-flakies branch 8 times, most recently from b25ab8c to 98a21b0 Compare December 5, 2025 21:30
@zeroSteiner
Copy link
Contributor Author

zeroSteiner commented Dec 5, 2025

The PHP setup task for 7.4 and 8.3 on macos 13 are failing with this output when run with setup-php@verbose. I'm noting this here because it takes a long time to run and is important debug output as we try and figure out what the issue is with this particular matrix config. Upgrading the runner to macos-15 did not fix the error, it raised a new one instead.

PHP Setup Error with macos-13 Runner

https://github.com/rapid7/metasploit-framework/actions/runs/19974896801/job/57288717145?pr=20729

/bin/bash /Users/runner/work/_actions/shivammathur/setup-php/verbose/src/scripts/run.sh
==> Setup PHP
From https://github.com/Homebrew/brew
 * branch                  main       -> FETCH_HEAD
   31fb2adc84..e0d83cebc2  main       -> origin/main
HEAD is now at e0d83cebc2 Merge pull request #21180 from Homebrew/test-typed-strict
From https://github.com/Homebrew/homebrew-core
 * branch                    main       -> FETCH_HEAD
   2e821e2d8ae..0da38834836  main       -> origin/main
Updating files:  39% (3032/7694)
Updating files:  40% (3078/7694)
Updating files:  41% (3155/7694)
Updating files:  42% (3232/7694)
Updating files:  43% (3309/7694)
Updating files:  44% (3386/7694)
Updating files:  45% (3463/7694)
Updating files:  46% (3540/7694)
Updating files:  47% (3617/7694)
Updating files:  48% (3694/7694)
Updating files:  49% (3771/7694)
Updating files:  50% (3847/7694)
Updating files:  51% (3924/7694)
Updating files:  52% (4001/7694)
Updating files:  53% (4078/7694)
Updating files:  54% (4155/7694)
Updating files:  55% (4232/7694)
Updating files:  56% (4309/7694)
Updating files:  57% (4386/7694)
Updating files:  58% (4463/7694)
Updating files:  59% (4540/7694)
Updating files:  60% (4617/7694)
Updating files:  61% (4694/7694)
Updating files:  62% (4771/7694)
Updating files:  63% (4848/7694)
Updating files:  64% (4925/7694)
Updating files:  65% (5002/7694)
Updating files:  66% (5079/7694)
Updating files:  67% (5155/7694)
Updating files:  68% (5232/7694)
Updating files:  69% (5309/7694)
Updating files:  70% (5386/7694)
Updating files:  71% (5463/7694)
Updating files:  72% (5540/7694)
Updating files:  73% (5617/7694)
Updating files:  73% (5632/7694)
Updating files:  74% (5694/7694)
Updating files:  75% (5771/7694)
Updating files:  76% (5848/7694)
Updating files:  77% (5925/7694)
Updating files:  78% (6002/7694)
Updating files:  79% (6079/7694)
Updating files:  80% (6156/7694)
Updating files:  81% (6233/7694)
Updating files:  82% (6310/7694)
Updating files:  83% (6387/7694)
Updating files:  84% (6463/7694)
Updating files:  85% (6540/7694)
Updating files:  86% (6617/7694)
Updating files:  87% (6694/7694)
Updating files:  88% (6771/7694)
Updating files:  89% (6848/7694)
Updating files:  90% (6925/7694)
Updating files:  91% (7002/7694)
Updating files:  92% (7079/7694)
Updating files:  93% (7156/7694)
Updating files:  94% (7233/7694)
Updating files:  95% (7310/7694)
Updating files:  96% (7387/7694)
Updating files:  97% (7464/7694)
Updating files:  98% (7541/7694)
Updating files:  99% (7618/7694)
Updating files: 100% (7694/7694)
Updating files: 100% (7694/7694), done.
HEAD is now at 0da38834836 Merge pull request #257243 from Homebrew/bump-bruno-cli-2.15.1
==> Downloading https://ghcr.io/v2/homebrew/core/portable-ruby/blobs/sha256:b48c918b7693c6d27e8027dc803a18cf64ddce49552fb45d88f3cabb9eead0fd
#=#=#                                                                          
##O#-#                                                                         
######################################################################## 100.0%
==> Pouring portable-ruby-3.4.7.catalina.bottle.tar.gz
Warning: You are using macOS 13.
We (and Apple) do not provide support for this old version.
You may have better luck with MacPorts which supports older versions of macOS:
  https://www.macports.org

This is a Tier 3 configuration:
  https://docs.brew.sh/Support-Tiers#tier-3
You can report Tier 3 unrelated issues to Homebrew/* repositories!
Read the above document before opening any issues or PRs.


==> Fetching downloads for: [email protected]
✔︎ Bottle Manifest ca-certificates (2025-12-02)
✔︎ Bottle ca-certificates (2025-12-02)
✔︎ Formula openssl@3 (3.6.0)
✔︎ Formula cmake (4.2.0)
✔︎ Formula brotli (1.2.0)
✔︎ Formula libnghttp2 (1.68.0)
✔︎ Formula pcre2 (10.47)
✔︎ Formula httpd (2.4.66)
✔︎ Bottle Manifest aspell (0.60.8.1_1)
✔︎ Bottle aspell (0.60.8.1_1)
✔︎ Formula libnghttp3 (1.13.1)
✔︎ Formula libngtcp2 (1.18.0)
✔︎ Formula curl (8.17.0)
✔︎ Formula unixodbc (2.3.14)
✔︎ Formula freetds (1.5.10)
✔︎ Bottle Manifest gnu-sed (4.9)
✔︎ Bottle gnu-sed (4.9)
✔︎ Formula libpng (1.6.51)
✔︎ Formula freetype (2.14.1)
✔︎ Formula libunistring (1.4.1)
✔︎ Formula gettext (0.26)
✔︎ Formula imath (3.2.2)
✔︎ Formula libtiff (4.7.1)
✔︎ Formula libdeflate (1.25)
✔︎ Formula openjph (0.25.3)
✔︎ Formula openexr (3.4.4)
✔︎ Formula ninja (1.13.2)
✔︎ Formula sqlite (3.51.1)
✔︎ Bottle Manifest lzip (1.25)
✔︎ Bottle lzip (1.25)
✔︎ Formula expat (2.7.3)
✔︎ Resource [email protected]
✔︎ Resource [email protected]
✔︎ Resource [email protected]
✔︎ Patch 3.13-sysconfig.diff
✔︎ Formula [email protected] (3.14.1)
✔︎ Bottle Manifest meson (1.9.2)
✔︎ Bottle meson (1.9.2)
✔︎ Formula nasm (3.01)
✔︎ Formula dav1d (1.5.2)
✔︎ Formula icu4c@78 (78.1)
✔︎ Bottle Manifest docbook (5.1_1)
✔︎ Bottle docbook (5.1_1)
✔︎ Bottle Manifest docbook-xsl (1.79.2_1)
✔︎ Formula libpq (18.1)
✔︎ Bottle Manifest make (4.4.1)
✔︎ Bottle make (4.4.1)
✔︎ Patch gcc-15.1.0.diff
✔︎ Bottle docbook-xsl (1.79.2_1)
✔︎ Formula gcc (15.2.0)
==> Installing [email protected] from shivammathur/php
==> Installing dependencies for shivammathur/php/[email protected]: ca-certificates, openssl@3, cmake, brotli, libnghttp2, pcre2, httpd, aspell, libnghttp3, libngtcp2, curl, unixodbc, freetds, gnu-sed, libpng, freetype, libunistring, gettext, imath, libtiff, libdeflate, openjph, openexr, ninja, sqlite, lzip, expat, [email protected], meson, nasm, dav1d, icu4c@78, docbook, docbook-xsl, libpq, make and gcc
==> Installing shivammathur/php/[email protected] dependency: ca-certificates
==> Pouring ca-certificates--2025-12-02.all.bottle.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
🍺  /usr/local/Cellar/ca-certificates/2025-12-02: 4 files, 236.4KB
==> Installing shivammathur/php/[email protected] dependency: openssl@3
==> perl ./Configure --prefix=/usr/local/Cellar/openssl@3/3.6.0 --openssldir=/us
==> make
==> make install MANDIR=/usr/local/Cellar/openssl@3/3.6.0/share/man MANSUFFIX=ss
==> make HARNESS_JOBS=4 test TESTS=-test_afalg
Warning: These files were overwritten during the `brew link` step:
/usr/local/bin/openssl
They have been backed up to: /Users/runner/Library/Caches/Homebrew/Backup
==> Summary
🍺  /usr/local/Cellar/openssl@3/3.6.0: 7,600 files, 38MB, built in 11 minutes 7 seconds
==> Installing shivammathur/php/[email protected] dependency: cmake
==> ./bootstrap --prefix=/usr/local/Cellar/cmake/4.2.0 --no-system-libs --parall
==> make
==> make install
🍺  /usr/local/Cellar/cmake/4.2.0: 4,016 files, 69.0MB, built in 12 minutes 38 seconds
==> Installing shivammathur/php/[email protected] dependency: brotli
==> cmake -S . -B build -DCMAKE_INSTALL_RPATH=@loader_path/../lib
==> cmake --build build --verbose
==> ctest --test-dir build --verbose
==> cmake --install build
==> cmake -S . -B build-static -DBUILD_SHARED_LIBS=OFF
==> cmake --build build-static
🍺  /usr/local/Cellar/brotli/1.2.0: 33 files, 1.9MB, built in 17 seconds
==> Installing shivammathur/php/[email protected] dependency: libnghttp2
==> ./configure --enable-lib-only
==> make -C lib
==> make -C lib install
🍺  /usr/local/Cellar/libnghttp2/1.68.0: 14 files, 774.2KB, built in 34 seconds
==> Installing shivammathur/php/[email protected] dependency: pcre2
==> ./configure --enable-pcre2-16 --enable-pcre2-32 --enable-pcre2grep-libz --en
==> make
==> make install
🍺  /usr/local/Cellar/pcre2/10.47: 244 files, 7.5MB, built in 42 seconds
==> Installing shivammathur/php/[email protected] dependency: httpd
==> ./configure --enable-layout=Slackware-FHS --sbindir=/usr/local/Cellar/httpd/
==> make
==> make install
🍺  /usr/local/Cellar/httpd/2.4.66: 1,630 files, 33.2MB, built in 1 minute 56 seconds
==> Installing shivammathur/php/[email protected] dependency: aspell
==> Pouring aspell--0.60.8.1_1.ventura.bottle.tar.gz
🍺  /usr/local/Cellar/aspell/0.60.8.1_1: 768 files, 338.5MB
==> Installing shivammathur/php/[email protected] dependency: libnghttp3
==> cmake -S . -B build -DENABLE_LIB_ONLY=1
==> cmake --build build
==> cmake --install build
🍺  /usr/local/Cellar/libnghttp3/1.13.1: 20 files, 590.9KB, built in 9 seconds
==> Installing shivammathur/php/[email protected] dependency: libngtcp2
==> ./configure --disable-silent-rules
==> make install
🍺  /usr/local/Cellar/libngtcp2/1.18.0: 21 files, 1.3MB, built in 29 seconds
==> Installing shivammathur/php/[email protected] dependency: curl
==> ./configure --disable-silent-rules --with-ssl=/usr/local/opt/openssl@3 --wit
==> make install
==> make install -C scripts
🍺  /usr/local/Cellar/curl/8.17.0: 551 files, 4.6MB, built in 2 minutes 6 seconds
==> Installing shivammathur/php/[email protected] dependency: unixodbc
==> ./configure --disable-gui --enable-static --sysconfdir=/usr/local/etc
==> make install
🍺  /usr/local/Cellar/unixodbc/2.3.14: 46 files, 2.2MB, built in 1 minute 20 seconds
==> Installing shivammathur/php/[email protected] dependency: freetds
==> ./configure --with-tdsver=7.3 --mandir=/usr/local/Cellar/freetds/1.5.10/shar
==> make
==> make install
🍺  /usr/local/Cellar/freetds/1.5.10: 1,417 files, 16.6MB, built in 1 minute 11 seconds
==> Installing shivammathur/php/[email protected] dependency: gnu-sed
==> Pouring gnu-sed--4.9.ventura.bottle.3.tar.gz
🍺  /usr/local/Cellar/gnu-sed/4.9: 13 files, 646KB
==> Installing shivammathur/php/[email protected] dependency: libpng
==> ./configure --disable-silent-rules
==> make
==> make test
==> make
==> make install
🍺  /usr/local/Cellar/freetype/2.14.1_1: 68 files, 2.8MB, built in 24 seconds
==> Installing shivammathur/php/[email protected] dependency: libunistring
==> ./configure --disable-silent-rules
Error: The operation was canceled.

https://github.com/rapid7/metasploit-framework/actions/runs/19976548277/job/57294121174?pr=20729

This occurred in the Setup Ruby task:

> bundle install
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/bin/bundle config --local path /Users/runner/work/metasploit-framework/metasploit-framework/metasploit-framework/vendor/bundle
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/bin/bundle config --local deployment true
Cache key: setup-ruby-bundler-cache-v6-macos-15-arm64-ruby-3.4.3-wd-/Users/runner/work/metasploit-framework/metasploit-framework/metasploit-framework-with--without-coverage development-only--v-5-Gemfile.lock-112c4e0c37d8455c107bf642a99e9775d0cc8a6a6005e255c33034edf5bf25d8
Warning: Cache not found for keys: setup-ruby-bundler-cache-v6-macos-15-arm64-ruby-3.4.3-wd-/Users/runner/work/metasploit-framework/metasploit-framework/metasploit-framework-with--without-coverage development-only--v-5-Gemfile.lock-112c4e0c37d8455c107bf642a99e9775d0cc8a6a6005e255c33034edf5bf25d8, setup-ruby-bundler-cache-v6-macos-15-arm64-ruby-3.4.3-wd-/Users/runner/work/metasploit-framework/metasploit-framework/metasploit-framework-with--without-coverage development-only--v-5-Gemfile.lock-
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/bin/bundle install --jobs 4
Fetching gem metadata from https://rubygems.org/..........
Fetching rake 13.3.0
Installing rake 13.3.0
Fetching Ascii85 2.0.1
Fetching racc 1.8.1
Fetching abbrev 0.1.2
Fetching base64 0.3.0
Installing Ascii85 2.0.1
Installing abbrev 0.1.2
Installing base64 0.3.0
Installing racc 1.8.1 with native extensions
Fetching benchmark 0.4.1
Fetching bigdecimal 3.2.3
Fetching concurrent-ruby 1.3.5
Installing benchmark 0.4.1
Installing bigdecimal 3.2.3 with native extensions
Fetching connection_pool 2.5.4
Installing concurrent-ruby 1.3.5
Installing connection_pool 2.5.4
Fetching drb 2.2.3
Installing drb 2.2.3
Fetching logger 1.7.0
Installing logger 1.7.0
Fetching minitest 5.25.5
Installing minitest 5.25.5
Fetching securerandom 0.4.1
Installing securerandom 0.4.1
Fetching builder 3.3.0
Fetching erubi 1.13.1
Installing builder 3.3.0
Installing erubi 1.13.1
Fetching crass 1.0.6
Installing crass 1.0.6
Fetching rack 2.2.19
Installing rack 2.2.19
Fetching useragent 0.16.11
Installing useragent 0.16.11
Fetching timeout 0.4.3
Installing timeout 0.4.3
Fetching public_suffix 6.0.2
Fetching afm 0.2.2
Installing public_suffix 6.0.2
Installing afm 0.2.2
Fetching mime-types-data 3.2025.0924
Fetching require_all 3.0.0
Installing require_all 3.0.0
Installing mime-types-data 3.2025.0924
Fetching diff-lcs 1.6.2
Installing diff-lcs 1.6.2
Fetching rspec-support 3.13.6
Installing rspec-support 3.13.6
Fetching ast 2.4.3
Installing ast 2.4.3
Fetching aws-eventstream 1.3.2
Fetching aws-partitions 1.1065.0
Installing aws-eventstream 1.3.2
Installing aws-partitions 1.1065.0
Fetching jmespath 1.6.2
Fetching bcrypt 3.1.20
Installing jmespath 1.6.2
Installing bcrypt 3.1.20 with native extensions
Fetching bcrypt_pbkdf 1.1.1
Installing bcrypt_pbkdf 1.1.1 with native extensions
Fetching bindata 2.4.15
Fetching msgpack 1.6.1
Installing bindata 2.4.15
Installing msgpack 1.6.1 with native extensions
Fetching bson 5.1.1
Installing bson 5.1.1 with native extensions
Fetching chunky_png 1.4.0
Installing chunky_png 1.4.0
Fetching cookiejar 0.3.4
Installing cookiejar 0.3.4
Fetching csv 3.3.2
Installing csv 3.3.2
Fetching daemons 1.4.1
Installing daemons 1.4.1
Fetching date 3.4.1
Installing date 3.4.1 with native extensions
Fetching simpleidn 0.2.3
Installing simpleidn 0.2.3
Fetching domain_name 0.6.20240107
Installing domain_name 0.6.20240107
Fetching ed25519 1.4.0
Installing ed25519 1.4.0 with native extensions
Fetching eventmachine 1.2.7
Installing eventmachine 1.2.7 with native extensions
Fetching http_parser.rb 0.8.0
Installing http_parser.rb 0.8.0 with native extensions
Fetching erb 5.0.3
Installing erb 5.0.3 with native extensions
Fetching prettyprint 0.2.0
Installing prettyprint 0.2.0
Fetching stringio 3.1.1
Installing stringio 3.1.1 with native extensions
Fetching tsort 0.2.0
Installing tsort 0.2.0
Fetching io-console 0.8.1
Installing io-console 0.8.1 with native extensions
Fetching webrick 1.9.1
Installing webrick 1.9.1
Fetching thor 1.4.0
Installing thor 1.4.0
Fetching zeitwerk 2.7.3
Installing zeitwerk 2.7.3
Fetching faraday-net_http 3.0.2
Installing faraday-net_http 3.0.2
Fetching ruby2_keywords 0.0.5
Installing ruby2_keywords 0.0.5
Fetching websocket-extensions 0.1.5
Installing websocket-extensions 0.1.5
Fetching ffi 1.16.3
Installing ffi 1.16.3 with native extensions
Fetching fiddle 1.1.6
Installing fiddle 1.1.6 with native extensions
Fetching filesize 0.2.0
Installing filesize 0.2.0
Fetching fivemat 1.3.7
Installing fivemat 1.3.7
Fetching forwardable 1.3.3
Installing forwardable 1.3.3
Fetching getoptlong 0.2.1
Installing getoptlong 0.2.1
Fetching rexml 3.4.1
Installing rexml 3.4.1
Fetching hashery 2.1.2
Installing hashery 2.1.2
Fetching hrr_rb_ssh 0.4.2
Installing hrr_rb_ssh 0.4.2
Fetching http-accept 1.7.0
Installing http-accept 1.7.0
Fetching mutex_m 0.3.0
Installing mutex_m 0.3.0
Fetching ipaddr 1.2.7
Installing ipaddr 1.2.7
Fetching rkelly-remix 0.0.7
Installing rkelly-remix 0.0.7
Fetching json 2.15.1
Installing json 2.15.1 with native extensions
Fetching language_server-protocol 3.17.0.5
Installing language_server-protocol 3.17.0.5
Fetching rubyzip 2.4.1
Installing rubyzip 2.4.1
Fetching parslet 1.8.2
Installing parslet 1.8.2
Fetching with_env 1.1.0
Installing with_env 1.1.0
Fetching lint_roller 1.1.0
Installing lint_roller 1.1.0
Fetching little-plugger 1.1.4
Installing little-plugger 1.1.4
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching lru_redux 1.1.0
Installing lru_redux 1.1.0
Fetching metasm 1.0.5
Installing metasm 1.0.5
Fetching pg 1.5.9
Installing pg 1.5.9 with native extensions
Fetching net-ssh 7.3.0
Fetching rex-core 0.1.35
Installing net-ssh 7.3.0
Installing rex-core 0.1.35
Fetching metasploit-payloads 2.0.238
Fetching metasploit_payloads-mettle 1.0.45
Fetching nessus_rest 0.1.6
Installing nessus_rest 0.1.6
Fetching net-ldap 0.19.0
Installing net-ldap 0.19.0
Fetching network_interface 0.0.4
Installing network_interface 0.0.4 with native extensions
Installing metasploit_payloads-mettle 1.0.45
Installing metasploit-payloads 2.0.238
Fetching nexpose 7.3.0
Installing nexpose 7.3.0
Fetching openssl-ccm 1.2.3
Installing openssl-ccm 1.2.3
Fetching openvas-omp 0.0.4
Fetching ostruct 0.6.1
Installing openvas-omp 0.0.4
Installing ostruct 0.6.1
Fetching pcaprub 0.13.3
Fetching parallel 1.27.0
Installing pcaprub 0.13.3 with native extensions
Installing parallel 1.27.0
Fetching patch_finder 1.0.2
Installing patch_finder 1.0.2
Fetching ruby-rc4 0.1.5
Installing ruby-rc4 0.1.5
Fetching nio4r 2.7.4
Installing nio4r 2.7.4 with native extensions
Fetching strptime 0.2.5
Installing strptime 0.2.5 with native extensions
Fetching rb-readline 0.5.5
Installing rb-readline 0.5.5
Fetching redcarpet 3.6.1
Installing redcarpet 3.6.1 with native extensions
Fetching netrc 0.11.0
Installing netrc 0.11.0
Fetching rex-struct2 0.1.5
Installing rex-struct2 0.1.5
Fetching rex-java 0.1.8
Installing rex-java 0.1.8
Fetching rex-registry 0.1.6
Installing rex-registry 0.1.6
Fetching ruby-macho 4.1.0
Installing ruby-macho 4.1.0
Fetching ruby-mysql 4.2.0
Installing ruby-mysql 4.2.0
Fetching openssl-cmac 2.0.2
Installing openssl-cmac 2.0.2
Fetching windows_error 0.1.5
Installing windows_error 0.1.5
Fetching tilt 2.6.0
Installing tilt 2.6.0
Fetching mini_portile2 2.8.9
Installing mini_portile2 2.8.9
Fetching sshkey 3.0.0
Installing sshkey 3.0.0
Fetching swagger-blocks 3.0.0
Installing swagger-blocks 3.0.0
Fetching unix-crypt 1.3.1
Installing unix-crypt 1.3.1
Fetching win32api 0.1.0
Installing win32api 0.1.0
Fetching prism 1.5.1
Installing prism 1.5.1 with native extensions
Fetching rainbow 3.1.1
Installing rainbow 3.1.1
Fetching regexp_parser 2.11.3
Installing regexp_parser 2.11.3
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching unicode-emoji 4.1.0
Installing unicode-emoji 4.1.0
Fetching test-prof 1.4.4
Installing test-prof 1.4.4
Fetching timecop 0.9.10
Installing timecop 0.9.10
Fetching rubyntlm 0.6.5
Installing rubyntlm 0.6.5
Fetching mqtt 0.7.0
Installing mqtt 0.7.0
Fetching syslog 0.3.0
Installing syslog 0.3.0 with native extensions
Fetching i18n 1.14.7
Installing i18n 1.14.7
Fetching tzinfo 2.0.6
Installing tzinfo 2.0.6
Fetching net-protocol 0.2.2
Installing net-protocol 0.2.2
Fetching rack-session 1.0.2
Fetching rack-test 2.2.0
Installing rack-session 1.0.2
Installing rack-test 2.2.0
Fetching rack-protection 3.2.0
Fetching warden 1.2.9
Installing rack-protection 3.2.0
Installing warden 1.2.9
Fetching addressable 2.8.7
Fetching mime-types 3.7.0
Installing addressable 2.8.7
Installing mime-types 3.7.0
Fetching rspec-core 3.13.5
Fetching rspec-expectations 3.13.5
Installing rspec-core 3.13.5
Installing rspec-expectations 3.13.5
Fetching rspec-mocks 3.13.5
Installing rspec-mocks 3.13.5
Fetching aws-sigv4 1.11.0
Installing aws-sigv4 1.11.0
Fetching aarch64 2.1.0
Fetching nokogiri 1.18.10 (arm64-darwin)
Installing aarch64 2.1.0
Fetching parser 3.3.9.0
Installing parser 3.3.9.0
Installing nokogiri 1.18.10 (arm64-darwin)
Fetching elftools 1.3.1
Installing elftools 1.3.1
Fetching ttfunk 1.8.0
Installing ttfunk 1.8.0
Fetching rex-text 0.2.61
Installing rex-text 0.2.61
Fetching nori 2.7.1
Installing nori 2.7.1
Fetching dnsruby 1.73.1
Installing dnsruby 1.73.1
Fetching http-cookie 1.0.8
Installing http-cookie 1.0.8
Fetching bootsnap 1.18.4
Fetching pp 0.6.3
Installing bootsnap 1.18.4 with native extensions
Installing pp 0.6.3
Fetching rackup 1.0.1
Installing rackup 1.0.1
Fetching xmlrpc 0.3.3
Installing xmlrpc 0.3.3
Fetching faraday 2.7.11
Installing faraday 2.7.11
Fetching mustermann 3.0.3
Installing mustermann 3.0.3
Fetching websocket-driver 0.7.7
Installing websocket-driver 0.7.7 with native extensions
Fetching psych 5.2.6
Installing psych 5.2.6 with native extensions
Fetching reline 0.6.2
Installing reline 0.6.2
Fetching gyoku 1.4.0
Installing gyoku 1.4.0
Fetching xml-simple 1.1.9
Installing xml-simple 1.1.9
Fetching hrr_rb_ssh-ed25519 0.4.2
Installing hrr_rb_ssh-ed25519 0.4.2
Fetching httpclient 2.9.0
Fetching rinda 0.2.0
Installing httpclient 2.9.0
Installing rinda 0.2.0
Fetching jsobfu 0.4.2
Installing jsobfu 0.4.2
Fetching toml 0.2.0
Installing toml 0.2.0
Fetching logging 2.4.0
Fetching gssapi 1.3.1
Installing gssapi 1.3.1
Installing logging 2.4.0
Fetching net-sftp 4.0.0
Installing net-sftp 4.0.0
Fetching packetfu 2.0.0
Fetching rasn1 0.14.0
Installing rasn1 0.14.0
Installing packetfu 2.0.0
Fetching sqlite3 1.7.3
Installing sqlite3 1.7.3 with native extensions
Fetching puma 6.6.0
Installing puma 6.6.0 with native extensions
Fetching unicode-display_width 3.2.0
Installing unicode-display_width 3.2.0
Fetching ruby_smb 3.3.15
Installing ruby_smb 3.3.15
Fetching faker 3.5.1
Installing faker 3.5.1
Fetching activesupport 7.2.2.2
Installing activesupport 7.2.2.2
Fetching tzinfo-data 1.2025.1
Installing tzinfo-data 1.2025.1
Fetching net-imap 0.5.6
Installing net-imap 0.5.6
Fetching net-smtp 0.5.1
Installing net-smtp 0.5.1
Fetching allure-ruby-commons 2.27.0
Installing allure-ruby-commons 2.27.0
Fetching rspec 3.13.1
Installing rspec 3.13.1
Fetching aws-sdk-core 3.220.1
Installing aws-sdk-core 3.220.1
Fetching pdf-reader 2.14.1
Installing pdf-reader 2.14.1
Fetching rex-arch 0.1.18
Installing rex-arch 0.1.18
Fetching rex-mime 0.1.11
Installing rex-mime 0.1.11
Fetching rex-ole 0.1.9
Installing rex-ole 0.1.9
Fetching rex-random_identifier 0.1.21
Installing rex-random_identifier 0.1.21
Fetching rex-rop_builder 0.1.6
Installing rex-rop_builder 0.1.6
Fetching rex-zip 0.1.6
Installing rex-zip 0.1.6
Fetching rex-socket 0.1.64
Installing rex-socket 0.1.64
Fetching loofah 2.24.1
Installing loofah 2.24.1
Fetching recog 3.1.14
Installing recog 3.1.14
Fetching rest-client 2.1.0
Installing rest-client 2.1.0
Fetching faraday-retry 2.2.1
Installing faraday-retry 2.2.1
Fetching sawyer 0.9.2
Installing sawyer 0.9.2
Fetching sinatra 3.2.0
Installing sinatra 3.2.0
Fetching em-socksify 0.3.3
Installing em-socksify 0.3.3
Fetching faye-websocket 0.11.3
Installing faye-websocket 0.11.3
Fetching thin 1.8.2
Installing thin 1.8.2 with native extensions
Fetching license_finder 5.11.1
Installing license_finder 5.11.1
Fetching winrm 2.3.9
Installing winrm 2.3.9
Fetching rdoc 6.15.0
Installing rdoc 6.15.0
Fetching rails-dom-testing 2.3.0
Installing rails-dom-testing 2.3.0
Fetching activemodel 7.2.2.2
Installing activemodel 7.2.2.2
Fetching factory_bot 6.5.5
Installing factory_bot 6.5.5
Fetching allure-rspec 2.27.0
Installing allure-rspec 2.27.0
Fetching rspec-rerun 1.1.0
Installing rspec-rerun 1.1.0
Fetching aws-sdk-ec2 1.511.0
Fetching aws-sdk-ec2instanceconnect 1.55.0
Installing aws-sdk-ec2instanceconnect 1.55.0
Fetching aws-sdk-iam 1.119.0
Installing aws-sdk-ec2 1.511.0
Installing aws-sdk-iam 1.119.0
Fetching aws-sdk-kms 1.99.0
Installing aws-sdk-kms 1.99.0
Fetching aws-sdk-ssm 1.191.0
Installing aws-sdk-ssm 1.191.0
Fetching rex-bin_tools 0.1.10
Installing rex-bin_tools 0.1.10
Fetching rex-encoder 0.1.8
Installing rex-encoder 0.1.8
Fetching rex-nop 0.1.4
Installing rex-nop 0.1.4
Fetching rex-powershell 0.1.103
Fetching rex-sslscan 0.1.13
Installing rex-powershell 0.1.103
Installing rex-sslscan 0.1.13
Fetching rails-html-sanitizer 1.6.2
Fetching octokit 10.0.0
Installing rails-html-sanitizer 1.6.2
Fetching em-http-request 1.1.7
Installing octokit 10.0.0
Installing em-http-request 1.1.7
Fetching irb 1.15.2
Fetching activerecord 7.2.2.2
Installing irb 1.15.2
Installing activerecord 7.2.2.2
Fetching xdr 3.0.3
Installing xdr 3.0.3
Fetching aws-sdk-s3 1.182.0
Installing aws-sdk-s3 1.182.0
Fetching rex-exploitation 0.1.44
Installing rex-exploitation 0.1.44
Fetching actionview 7.2.2.2
Fetching arel-helpers 2.16.0
Installing actionview 7.2.2.2
Installing arel-helpers 2.16.0
Fetching actionpack 7.2.2.2
Installing actionpack 7.2.2.2
Fetching railties 7.2.2.2
Installing railties 7.2.2.2
Fetching factory_bot_rails 6.5.1
Fetching metasploit-concern 5.0.5
Installing factory_bot_rails 6.5.1
Installing metasploit-concern 5.0.5
Fetching metasploit-model 5.0.4
Installing metasploit-model 5.0.4
Fetching rspec-rails 8.0.2
Installing rspec-rails 8.0.2
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/Users/runner/work/metasploit-framework/metasploit-framework/metasploit-framework/vendor/bundle/ruby/3.4.0/gems/pg-1.5.9/ext
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/bin/ruby extconf.rb
Calling libpq with GVL unlocked
checking for pg_config... no
checking for libpq per pkg-config... no
Using libpq from 
checking for libpq-fe.h... no
Can't find the 'libpq-fe.h header
*****************************************************************************

Unable to find PostgreSQL client library.

Please install libpq or postgresql client package like so:
  brew install libpq

or try again with:
  gem install pg -- --with-pg-config=/path/to/pg_config

or set library paths manually with:
gem install pg -- --with-pg-include=/path/to/libpq-fe.h/
--with-pg-lib=/path/to/libpq.so/

*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include=${opt-dir}/include
	--without-opt-include
	--with-opt-lib=${opt-dir}/lib
	--without-opt-lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/bin/$(RUBY_BASE_NAME)
	--with-pg
	--without-pg
	--enable-gvl-unlock
	--disable-gvl-unlock
	--enable-windows-cross
	--disable-windows-cross
	--with-pg-config
	--without-pg-config
	--with-pg_config
	--without-pg_config
	--with-libpq-dir
	--without-libpq-dir
	--with-libpq-include=${libpq-dir}/include
	--without-libpq-include
	--with-libpq-lib=${libpq-dir}/lib
	--without-libpq-lib
	--with-libpq-config
	--without-libpq-config
	--with-pkg-config
	--without-pkg-config
	--with-pg-dir
	--without-pg-dir
	--with-pg-include=${pg-dir}/include
	--without-pg-include
	--with-pg-lib=${pg-dir}/lib
	--without-pg-lib

To see why this extension failed to compile, please check the mkmf.log which can
be found here:

/Users/runner/work/metasploit-framework/metasploit-framework/metasploit-framework/vendor/bundle/ruby/3.4.0/extensions/arm64-darwin-23/3.4.0/pg-1.5.9/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in
/Users/runner/work/metasploit-framework/metasploit-framework/metasploit-framework/vendor/bundle/ruby/3.4.0/gems/pg-1.5.9
for inspection.
Results logged to
/Users/runner/work/metasploit-framework/metasploit-framework/metasploit-framework/vendor/bundle/ruby/3.4.0/extensions/arm64-darwin-23/3.4.0/pg-1.5.9/gem_make.out

/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/3.4.0/rubygems/ext/builder.rb:126:in
'Gem::Ext::Builder.run'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/3.4.0/rubygems/ext/ext_conf_builder.rb:30:in
'Gem::Ext::ExtConfBuilder.build'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/3.4.0/rubygems/ext/builder.rb:195:in
'Gem::Ext::Builder#build_extension'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/3.4.0/rubygems/ext/builder.rb:229:in
'block in Gem::Ext::Builder#build_extensions'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/3.4.0/rubygems/ext/builder.rb:226:in
'Array#each'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/3.4.0/rubygems/ext/builder.rb:226:in
'Gem::Ext::Builder#build_extensions'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/3.4.0/rubygems/installer.rb:844:in
'Gem::Installer#build_extensions'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/gems/3.4.0/gems/bundler-2.5.22/lib/bundler/rubygems_gem_installer.rb:109:in
'Bundler::RubyGemsGemInstaller#build_extensions'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/gems/3.4.0/gems/bundler-2.5.22/lib/bundler/rubygems_gem_installer.rb:28:in
'Bundler::RubyGemsGemInstaller#install'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/gems/3.4.0/gems/bundler-2.5.22/lib/bundler/source/rubygems.rb:205:in
'Bundler::Source::Rubygems#install'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/gems/3.4.0/gems/bundler-2.5.22/lib/bundler/installer/gem_installer.rb:55:in
'Bundler::GemInstaller#install'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/gems/3.4.0/gems/bundler-2.5.22/lib/bundler/installer/gem_installer.rb:17:in
'Bundler::GemInstaller#install_from_spec'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/gems/3.4.0/gems/bundler-2.5.22/lib/bundler/installer/parallel_installer.rb:133:in
'Bundler::ParallelInstaller#do_install'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/gems/3.4.0/gems/bundler-2.5.22/lib/bundler/installer/parallel_installer.rb:124:in
'block in Bundler::ParallelInstaller#worker_pool'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/gems/3.4.0/gems/bundler-2.5.22/lib/bundler/worker.rb:62:in
'Bundler::Worker#apply_func'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/gems/3.4.0/gems/bundler-2.5.22/lib/bundler/worker.rb:57:in
'block in Bundler::Worker#process_queue'
  <internal:kernel>:168:in 'Kernel#loop'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/gems/3.4.0/gems/bundler-2.5.22/lib/bundler/worker.rb:54:in
'Bundler::Worker#process_queue'
/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/lib/ruby/gems/3.4.0/gems/bundler-2.5.22/lib/bundler/worker.rb:90:in
'block (2 levels) in Bundler::Worker#create_threads'

An error occurred while installing pg (1.5.9), and Bundler cannot continue.

In Gemfile:
  metasploit-framework was resolved to 6.4.102, which depends on
    metasploit-credential was resolved to 6.0.19, which depends on
      metasploit_data_models was resolved to 6.0.9, which depends on
        pg
Error: The process '/Users/runner/hostedtoolcache/Ruby/3.4.3/arm64/bin/bundle' failed with exit code 5

@zeroSteiner zeroSteiner force-pushed the fix/issue/socket-channels-udp-flakies branch from 98a21b0 to 27c6d12 Compare December 5, 2025 22:39
@zeroSteiner zeroSteiner force-pushed the fix/issue/socket-channels-udp-flakies branch from 27c6d12 to 8fa1c94 Compare December 5, 2025 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

payload-testing-branch Runs framework and custom payloads PRs - https://github.com/rapid7/metasploit-framework/pull/19390

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants