rondagostino opened a new pull request, #14268:
URL: https://github.com/apache/kafka/pull/14268

   System test follow-on for https://github.com/apache/kafka/pull/14083
   
   Ran locally and tests succeeded:
   ```
   
====================================================================================================
   SESSION REPORT (ALL TESTS)
   ducktape version: 0.11.4
   session_id:       2023-08-21--006
   run time:         1 minute 28.354 seconds
   tests run:        2
   passed:           2
   flaky:            0
   failed:           0
   ignored:          0
   
====================================================================================================
   test_id:    
kafkatest.tests.core.delegation_token_test.DelegationTokenTest.test_delegation_token_lifecycle.metadata_quorum=ISOLATED_KRAFT
   status:     PASS
   run time:   42.744 seconds
   
----------------------------------------------------------------------------------------------------
   test_id:    
kafkatest.tests.core.delegation_token_test.DelegationTokenTest.test_delegation_token_lifecycle.metadata_quorum=ZK
   status:     PASS
   run time:   45.427 seconds
   
----------------------------------------------------------------------------------------------------
   ```
   
   Had to make the following change locally to get the tests to run, but not 
sure if that is an artifact of my local build or not.  Will leave it lone for 
now.
   `$ git diff`
   ```
   diff --git a/tests/kafkatest/services/security/minikdc.py 
b/tests/kafkatest/services/security/minikdc.py
   index 29ae0fb51b..2cb90b4b66 100644
   --- a/tests/kafkatest/services/security/minikdc.py
   +++ b/tests/kafkatest/services/security/minikdc.py
   @@ -108,7 +108,7 @@ class MiniKdc(KafkaPathResolverMixin, Service):
            cmd += " for file in %s; do CLASSPATH=$CLASSPATH:$file; done;" % 
core_dependant_test_libs_jar
            cmd += " export CLASSPATH;"
            # avoids java.lang.IllegalAccessException due to usage of internal 
`sun.security.krb5.Config` in `MiniKdc`
   -        cmd += " export KAFKA_OPTS=\"--add-exports 
java.security.jgss/sun.security.krb5=ALL-UNNAMED\";"
   +        # cmd += " export KAFKA_OPTS=\"--add-exports 
java.security.jgss/sun.security.krb5=ALL-UNNAMED\";"
            cmd += " %s kafka.security.minikdc.MiniKdc %s %s %s %s 1>> %s 2>> 
%s &" % (self.path.script("kafka-run-class.sh", node), MiniKdc.WORK_DIR, 
MiniKdc.PROPS_FILE, MiniKdc.KEYTAB_FILE, principals, MiniKdc.LOG_FILE, 
MiniKdc.LOG_FILE)
            self.logger.debug("Attempting to start MiniKdc on %s with command: 
%s" % (str(node.account), cmd))
            with node.account.monitor_log(MiniKdc.LOG_FILE) as monitor:
   ```
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to