Skip to content

ci: always run apt update (cherry-pick #21516 to version-2026.2) - #21519

Merged
rissson merged 1 commit into
version-2026.2from
cherry-pick/21516-to-version-2026.2
Apr 9, 2026
Merged

rissson merged 1 commit into
version-2026.2from
cherry-pick/21516-to-version-2026.2

Conversation

@authentik-automation

Copy link
Copy Markdown
Contributor

Cherry-pick of #21516 to version-2026.2 branch.

Original PR: #21516
Original Author: @rissson
Cherry-picked commit: bc2dbe9

@authentik-automation
authentik-automation Bot requested a review from a team as a code owner April 9, 2026 15:52
@authentik-automation authentik-automation Bot mentioned this pull request Apr 9, 2026
6 tasks
@rissson
rissson merged commit 8fcc47e into version-2026.2 Apr 9, 2026
64 of 65 checks passed
@rissson
rissson deleted the cherry-pick/21516-to-version-2026.2 branch April 9, 2026 15:52
@netlify

netlify Bot commented Apr 9, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit aa0f5b1
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/69d7cb421d346200087debef
😎 Deploy Preview https://deploy-preview-21519--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Apr 9, 2026 •

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
3064 1 3063 4
View the top 1 failed test(s) by shortest run time
authentik.enterprise.providers.ws_federation.tests.test_sign_in.TestWSFedSignIn::test_token_gen
Stack Traces | 121s run time
self = <unittest.case._Outcome object at 0x7fe970f47230>
test_case = <authentik.enterprise.providers.ws_federation.tests.test_sign_in.TestWSFedSignIn testMethod=test_token_gen>
subTest = False

    @contextlib.contextmanager
    def testPartExecutor(self, test_case, subTest=False):
        old_success = self.success
        self.success = True
        try:
>           yield

.../hostedtoolcache/Python/3.14.3........./x64/lib/python3.14/unittest/case.py:58: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.enterprise.providers.ws_federation.tests.test_sign_in.TestWSFedSignIn testMethod=test_token_gen>
result = <TestCaseFunction test_token_gen>

    def run(self, result=None):
        if result is None:
            result = self.defaultTestResult()
            startTestRun = getattr(result, 'startTestRun', None)
            stopTestRun = getattr(result, 'stopTestRun', None)
            if startTestRun is not None:
                startTestRun()
        else:
            stopTestRun = None
    
        result.startTest(self)
        try:
            testMethod = getattr(self, self._testMethodName)
            if (getattr(self.__class__, "__unittest_skip__", False) or
                getattr(testMethod, "__unittest_skip__", False)):
                # If the class or method was skipped.
                skip_why = (getattr(self.__class__, '__unittest_skip_why__', '')
                            or getattr(testMethod, '__unittest_skip_why__', ''))
                _addSkip(result, self, skip_why)
                return result
    
            expecting_failure = (
                getattr(self, "__unittest_expecting_failure__", False) or
                getattr(testMethod, "__unittest_expecting_failure__", False)
            )
            outcome = _Outcome(result)
            start_time = time.perf_counter()
            try:
                self._outcome = outcome
    
                with outcome.testPartExecutor(self):
                    self._callSetUp()
                if outcome.success:
                    outcome.expecting_failure = expecting_failure
                    with outcome.testPartExecutor(self):
>                       self._callTestMethod(testMethod)

.../hostedtoolcache/Python/3.14.3........./x64/lib/python3.14/unittest/case.py:669: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.enterprise.providers.ws_federation.tests.test_sign_in.TestWSFedSignIn testMethod=test_token_gen>
method = <bound method TestWSFedSignIn.test_token_gen of <authentik.enterprise.providers.ws_federation.tests.test_sign_in.TestWSFedSignIn testMethod=test_token_gen>>

    def _callTestMethod(self, method):
>       result = method()
                 ^^^^^^^^

.../hostedtoolcache/Python/3.14.3........./x64/lib/python3.14/unittest/case.py:615: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <authentik.enterprise.providers.ws_federation.tests.test_sign_in.TestWSFedSignIn testMethod=test_token_gen>

    def test_token_gen(self):
        request = self.factory.get("/", user=get_anonymous_user())
        proc = SignInProcessor(
            self.provider,
            request,
            SignInRequest(
                wa=WS_FED_ACTION_SIGN_IN,
                wtrealm="",
                wreply="",
                wctx=None,
            ),
        )
        token = proc.response()[WS_FED_POST_KEY_RESULT]
    
        root = lxml_from_string(token)
    
>       schema = etree.XMLSchema(
            etree.parse(source="schemas/ws-trust.xsd", parser=etree.XMLParser())  # nosec
        )

.../ws_federation/tests/test_sign_in.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   lxml.etree.XMLSchemaParseError: Element '{http://www.w3.org/2001/XMLSchema}import': Failed to parse the XML resource 'http://docs.oasis-open..../2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'., line 11

src/lxml/xmlschema.pxi:90: XMLSchemaParseError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant