CLevasseur commented on PR #4262:
URL: https://github.com/apache/hadoop/pull/4262#issuecomment-1425612739

   I just reran the whole test suite on a fresh install, and this time 
everything passed, without changing the code 🤷 
   Note that I had switched to an HNS account last time already.
   The unit test you mention was failing on the implementation for the 
`ClientCredsTokenProvider`, which I hadn't changed (I only changed the logic 
for `MsiTokenProvider`), and was also failing when running from the upstream 
trunk branch.
   
   There might have been some build cache still using a broken version, it's 
kind of a mystery to me to be honest.
   
   Here is the output showing, feel free to run it yourself:
   
   ```
   /hadoop/hadoop-tools/hadoop-azure# dev-support/testrun-scripts/runtests.sh
   [INFO] Scanning for projects...
   [INFO] 
------------------------------------------------------------------------
   [INFO] Detecting the operating system and CPU architecture
   [INFO] 
------------------------------------------------------------------------
   [INFO] os.detected.name: linux
   [INFO] os.detected.arch: x86_64
   [INFO] os.detected.version: 5.15
   [INFO] os.detected.version.major: 5
   [INFO] os.detected.version.minor: 15
   [INFO] os.detected.release: ubuntu
   [INFO] os.detected.release.version: 22.04
   [INFO] os.detected.release.like.ubuntu: true
   [INFO] os.detected.release.like.debian: true
   [INFO] os.detected.classifier: linux-x86_64
   [INFO]
   [INFO] -------------------< org.apache.hadoop:hadoop-azure 
>-------------------
   [INFO] Building Apache Hadoop Azure support 3.4.0-SNAPSHOT
   [INFO] --------------------------------[ jar 
]---------------------------------
   [INFO]
   [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hadoop-azure ---
   [INFO] Deleting /hadoop/hadoop-tools/hadoop-azure/target
   [INFO] Deleting /hadoop/hadoop-tools/hadoop-azure (includes = 
[dependency-reduced-pom.xml], excludes = [])
   [INFO]
   [INFO] --- maven-antrun-plugin:1.7:run (create-testdirs) @ hadoop-azure ---
   [INFO] Executing tasks
   
   main:
       [mkdir] Created dir: /hadoop/hadoop-tools/hadoop-azure/target/test-dir
   [INFO] Executed tasks
   [INFO]
   [INFO] --- maven-enforcer-plugin:3.0.0:enforce (banned-illegal-imports) @ 
hadoop-azure ---
   [INFO]
   [INFO] --- replacer:1.5.3:replace (replace-generated-sources) @ hadoop-azure 
---
   [INFO] Skipping
   [INFO]
   [INFO] --- replacer:1.5.3:replace (replace-sources) @ hadoop-azure ---
   [INFO] Skipping
   [INFO]
   [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
hadoop-azure ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] Copying 3 resources
   [INFO]
   [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
hadoop-azure ---
   [INFO] Compiling 197 source files to 
/hadoop/hadoop-tools/hadoop-azure/target/classes
   [WARNING] 
/hadoop/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AbfsConfiguration.java:
 Some input files use or override a deprecated API.
   [WARNING] 
/hadoop/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AbfsConfiguration.java:
 Recompile with -Xlint:deprecation for details.
   [WARNING] 
/hadoop/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/security/TokenUtils.java:
 
/hadoop/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/security/TokenUtils.java
 uses unchecked or unsafe operations.
   [WARNING] 
/hadoop/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/security/TokenUtils.java:
 Recompile with -Xlint:unchecked for details.
   [INFO]
   [INFO] --- maven-dependency-plugin:3.0.2:list (deplist) @ hadoop-azure ---
   [INFO] Can't extract module name from hadoop-shaded-protobuf_3_7-1.1.1.jar: 
hadoop.shaded.protobuf.3.7: Invalid module name: '3' is not a Java identifier
   [INFO] Can't extract module name from 
geronimo-jcache_1.0_spec-1.0-alpha-1.jar: geronimo.jcache.1.0.spec: Invalid 
module name: '1' is not a Java identifier
   [INFO]
   [INFO] --- replacer:1.5.3:replace (replace-test-sources) @ hadoop-azure ---
   [INFO] Skipping
   [INFO]
   [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) 
@ hadoop-azure ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] Copying 14 resources
   [INFO]
   [INFO] --- replacer:1.5.3:replace (replace-generated-test-sources) @ 
hadoop-azure ---
   [INFO] Skipping
   [INFO]
   [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
hadoop-azure ---
   [INFO] Compiling 219 source files to 
/hadoop/hadoop-tools/hadoop-azure/target/test-classes
   [WARNING] 
/hadoop/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/AbstractWasbTestWithTimeout.java:
 Some input files use or override a deprecated API.
   [WARNING] 
/hadoop/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/AbstractWasbTestWithTimeout.java:
 Recompile with -Xlint:deprecation for details.
   [WARNING] 
/hadoop/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/extensions/ClassicDelegationTokenManager.java:
 Some input files use unchecked or unsafe operations.
   [WARNING] 
/hadoop/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/extensions/ClassicDelegationTokenManager.java:
 Recompile with -Xlint:unchecked for details.
   [INFO]
   [INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ hadoop-azure 
---
   [INFO] Tests are skipped.
   [INFO]
   [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ hadoop-azure ---
   [INFO] Building jar: 
/hadoop/hadoop-tools/hadoop-azure/target/hadoop-azure-3.4.0-SNAPSHOT.jar
   [INFO]
   [INFO] --- maven-site-plugin:3.11.0:attach-descriptor (attach-descriptor) @ 
hadoop-azure ---
   [INFO] Skipping because packaging 'jar' is not pom.
   [INFO]
   [INFO] --- maven-jar-plugin:2.5:test-jar (default) @ hadoop-azure ---
   [INFO] Building jar: 
/hadoop/hadoop-tools/hadoop-azure/target/hadoop-azure-3.4.0-SNAPSHOT-tests.jar
   [INFO]
   [INFO] --- maven-failsafe-plugin:3.0.0-M1:integration-test (default) @ 
hadoop-azure ---
   [INFO] Tests are skipped.
   [INFO]
   [INFO] --- maven-enforcer-plugin:3.0.0:enforce (depcheck) @ hadoop-azure ---
   [INFO]
   [INFO] --- maven-failsafe-plugin:3.0.0-M1:verify (default) @ hadoop-azure ---
   [INFO] Tests are skipped.
   [INFO]
   [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ 
hadoop-azure ---
   [INFO] Installing 
/hadoop/hadoop-tools/hadoop-azure/target/hadoop-azure-3.4.0-SNAPSHOT.jar to 
/root/.m2/repository/org/apache/hadoop/hadoop-azure/3.4.0-SNAPSHOT/hadoop-azure-3.4.0-SNAPSHOT.jar
   [INFO] Installing /hadoop/hadoop-tools/hadoop-azure/pom.xml to 
/root/.m2/repository/org/apache/hadoop/hadoop-azure/3.4.0-SNAPSHOT/hadoop-azure-3.4.0-SNAPSHOT.pom
   [INFO] Installing 
/hadoop/hadoop-tools/hadoop-azure/target/hadoop-azure-3.4.0-SNAPSHOT-tests.jar 
to 
/root/.m2/repository/org/apache/hadoop/hadoop-azure/3.4.0-SNAPSHOT/hadoop-azure-3.4.0-SNAPSHOT-tests.jar
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  10.235 s
   [INFO] Finished at: 2023-02-10T10:28:58Z
   [INFO] 
------------------------------------------------------------------------
   
   Running the combination: AppendBlob-HNS-OAuth...
   ----- Test results -----
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 107, Failures: 0, Errors: 0, Skipped: 26
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 566, Failures: 0, Errors: 0, Skipped: 566
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 331, Failures: 0, Errors: 0, Skipped: 331
   
   Time taken: 1 mins 17 secs.
   Find test logs for the combination (AppendBlob-HNS-OAuth) in: 
dev-support/testlogs/2023-02-10_10-28-59/Test-Logs-AppendBlob-HNS-OAuth.txt
   Find consolidated test results in: 
dev-support/testlogs/2023-02-10_10-28-59/Test-Results.txt
   ----------
   
   Running the combination: HNS-OAuth...
   ----- Test results -----
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 107, Failures: 0, Errors: 0, Skipped: 26
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 566, Failures: 0, Errors: 0, Skipped: 566
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 331, Failures: 0, Errors: 0, Skipped: 331
   
   Time taken: 1 mins 18 secs.
   Find test logs for the combination (HNS-OAuth) in: 
dev-support/testlogs/2023-02-10_10-28-59/Test-Logs-HNS-OAuth.txt
   Find consolidated test results in: 
dev-support/testlogs/2023-02-10_10-28-59/Test-Results.txt
   ----------
   
   Running the combination: HNS-SharedKey...
   ----- Test results -----
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 107, Failures: 0, Errors: 0, Skipped: 26
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 566, Failures: 0, Errors: 0, Skipped: 566
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 331, Failures: 0, Errors: 0, Skipped: 331
   
   Time taken: 1 mins 18 secs.
   Find test logs for the combination (HNS-SharedKey) in: 
dev-support/testlogs/2023-02-10_10-28-59/Test-Logs-HNS-SharedKey.txt
   Find consolidated test results in: 
dev-support/testlogs/2023-02-10_10-28-59/Test-Results.txt
   ----------
   
   Running the combination: NonHNS-SharedKey...
   ----- Test results -----
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 107, Failures: 0, Errors: 0, Skipped: 26
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 566, Failures: 0, Errors: 0, Skipped: 566
   [INFO] Results:
   [INFO]
   [WARNING] Tests run: 331, Failures: 0, Errors: 0, Skipped: 331
   
   Time taken: 1 mins 17 secs.
   Find test logs for the combination (NonHNS-SharedKey) in: 
dev-support/testlogs/2023-02-10_10-28-59/Test-Logs-NonHNS-SharedKey.txt
   Find consolidated test results in: 
dev-support/testlogs/2023-02-10_10-28-59/Test-Results.txt
   ----------
   ```


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to