Repository navigation
Conversation
The AlmaLinux-8 (PE latest and LTS), Ubuntu-2204 and Ubuntu-2404 PE acceptance jobs fail on every PR (#254, #256). provision_service creates GCP VMs with the source image's default boot disk, and after installing PE 2026.0.1 or 2023.8.13 those disks have less than 20% free. S0007 and S0008 therefore report false straight away, so the default-parameters idempotency checks fail. On some images less than 1 GiB is left, so the fallocate in the "filesystem usage exceeds 80%" context gets a negative length and fails with "invalid length value specified". Set PROVISION_DISK_SIZE_GB=40 for the latest, LTS and nightly PE acceptance workflows. The provision_service task (provision >= 3.2.0, pulled from main via .fixtures.yml) sends it to the service as disk_size_gb. puppetlabs-pe_databases uses the same setting. Also guard the fallocate so it is skipped when 1 GiB or less is free. The disk is then already past the 80% threshold the test needs, so S0007/S0008 are still checked. An undersized disk still shows up as a failure in the default-parameters tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
just so you are aware these workflows are centrally synced from here: if anyone follows the existing workflow process, your repo side changes will be overwritten https://github.com/puppetlabs/support_workflows/blob/main/.github/workflows/sync_workflows.yml |
|
Thanks @MartyEwings, good catch. I've opened https://github.com/puppetlabs/support_workflows/pull/71 to make the same On this PR, the previously failing PE jobs now pass: AlmaLinux-8 and Ubuntu-2204/2404 on both latest and LTS. The |
Summary
Four PE acceptance jobs fail on every PR because the test VM runs out of disk, not because of the PR's code: AlmaLinux-8 (latest and LTS), Ubuntu-2204 and Ubuntu-2404. It happened on #254 (run 42893468006) and #256 (run 43406074655). This PR asks provision_service for a 40 GB boot disk, and makes the disk-full test tolerate a disk that is already nearly full.
Related: MODULES-12083 / #256. Those failures block its CI.
Root cause
provision_service creates each GCP VM with the source image's default boot disk. After PE 2026.0.1 or 2023.8.13 is installed, these images have less than 20% free on
/:pe_status_check_spec.rb:10,:20,:40) then fail on "S0007/S0008 is at fault" notices.fallocate -l $((available_bytes - 1 GiB))in the "filesystem usage exceeds 80%" context then gets a negative length and fails withfallocate: invalid length value specified(:88,:93).RHEL-9, Rocky-8/9 and Alma-9 pass.
Changes
pe_latest_testing.yml,pe_lts_testing.ymlandpe_nightly_testing.ymleach get a top-levelenv: PROVISION_DISK_SIZE_GB: "40".provision::provision_servicetask (provision ≥ 3.2.0;.fixtures.ymlpullsprovisionfrom main) sends this to the service asdisk_size_gb. Support for it was added in provision_service3610676for the same PE 2026.0 disk issue in peadm.peadm_spec::provision_test_cluster provider=provision_service, which runs the same task locally.spec/acceptance/pe_status_check_spec.rb, thefallocatenow runs only when the computed length is positive. If 1 GiB or less is free, the disk is already past the 80% threshold the test needs, so S0007/S0008 are still checked. An undersized disk is not hidden: the default-parameters tests still fail.Testing
env.PROVISION_DISK_SIZE_GB == "40".ruby -cpasses on the spec, andrubocopon the spec reports no offenses.rake syntax lint metadata_lintis clean.🤖 Generated with Claude Code