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

OSOE-935: Removing obsolete ui-test-parallelism, fixing blame hang dump merging #406

Merged
merged 22 commits into from
Feb 13, 2025

Conversation

Piedone
Copy link
Member

@Piedone Piedone commented Dec 22, 2024

@github-actions github-actions bot changed the title Removing obsolete ui-test-parallelism OSOE-935: Removing obsolete ui-test-parallelism Dec 22, 2024
@@ -28,7 +28,7 @@ function ItemFilter($Item, $TestConfiguration)
}

$allow = (($Item.Name -like 'Sequence_*.xml') -or ($Item.Name -like '*_hangdump.dmp'))
if (-not ($allow -and $TestConfiguration))
if (-not $allow -and $TestConfiguration)
Copy link
Member Author

@Piedone Piedone Jan 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this, but this seems to be the original intent: if NOT $allow and if $TestConfiguration is set. This was the case before this change too: 0fdf57f (though the predecessor was syntactically incorrect).

@Piedone Piedone changed the title OSOE-935: Removing obsolete ui-test-parallelism OSOE-935: Removing obsolete ui-test-parallelism, fixing blame hang dump merging Jan 22, 2025
@@ -55,5 +55,6 @@ Get-ChildItem $testDirectory.Path -Recurse |
New-Item -Type Directory -Path $destinationDirectory
}

Move-Item -Path $PSItem.FullName -Destination $destinationDirectory
# Moving the files would be faster, but the original files might only be readable by the current user.
Copy-Item -Path $PSItem.FullName -Destination $destinationDirectory
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used Move-Item here because - during the development - some runs ended with a not enough free disk space error. I don't know if this is still the case. Please consider to keep the Move-Item approach.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this because some ZAP files of the ZAP reports remained access denied, despite all my efforts (visible in the history, but I made sure that ZAP is absolutely shut down, also the whole of Docker, no other process is accessing the files, the permissions are correct). That broke blame hang dump collection in every single OSOCE run. I don't see any other solution than copying.

A blame hang dumps is less than a GB, BTW (see e.g. https://github.com/Lombiq/Open-Source-Orchard-Core-Extensions/actions/runs/12901077411), that should not be an issue even on a 2-core standard runner, let alone any larger ones (and all public projects on GitHub get the 4-core ones with more space).

@dministro dministro enabled auto-merge February 13, 2025 22:09
@dministro dministro added this pull request to the merge queue Feb 13, 2025
Merged via the queue into dev with commit 3cbdf50 Feb 13, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants