Fix Python Integration Tests Regression - #1821
Merged
zahidblackduck merged 11 commits intoJul 27, 2026
Merged
Conversation
zahidblackduck
marked this pull request as draft
July 22, 2026 18:16
zahidblackduck
force-pushed
the
dev/zahidblackduck/IDETECT-5173-python-integration-test-regression-fix
branch
from
July 23, 2026 13:43
210f880 to
7b0c1e9
Compare
zahidblackduck
marked this pull request as ready for review
July 27, 2026 04:46
zahidblackduck
requested review from
bd-samratmuk,
bd-spratikbharti,
dterrybd,
shantyk and
sig-abyreddy
July 27, 2026 04:49
sig-abyreddy
approved these changes
Jul 27, 2026
bd-spratikbharti
approved these changes
Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA Ticket
IDETECT-5173
Description
The pull request fixes regression in python integration tests that were re-enabled in PR #1811:
PipTest.[1] 24.2PipenvTest.[1] 2024.0.1SetuptoolsTest.[1] 74.0.0PipTest.pythonHybridTest()Root causes and fixes:
1. Stale Docker image cache: Test docker images were cached from an older build using a java 8 runtime, but detect is compiled for java 11 (class file version 55.0 requires java runtime version 52.0+). The stale java runtime caused
UnsupportedClassVersionErrorat runtime. Fixed by bumping image tag suffixes to -jdk11 to force a clean rebuild from theeclipse-temurin:11-jdk-jammybase image.2. Missing package versions in internal artifactory: The sample test projects (pip-test-project, pipenv-test-project, setuptools-test-project) pin specific dependency versions in their
requirements.txt/pyproject.tomlthat were not cached in the internal pypi mirror. The required versions were requested and added to artifactory sopip installresolves them during the docker build.