Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-22495

(7.4.z) WFCORE-5523 - WFCORE-5465 - Git tests fail if git init.defaultBranch is not master

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.2.CR1, 7.4.2.GA
    • None
    • None
    • None

      A local build fails for several tests with unmodified sources. It seems related to the git dependency change. Please find full logs attached. Environment info below error messages.

      [ERROR] Failures: 
      [ERROR]   RemoteSshGitRepositoryTestCase.startGitRepoRemoteUnknownHostTest:491->assertLogContains:535
      [ERROR] Errors: 
      [ERROR]   GitRepositoryTestCase.historyAndManagementOperationsTest:147->AbstractGitRepositoryTestCase.listCommits:123->AbstractGitRepositoryTestCase.listCommits:129 » NullPointer
      [ERROR]   GitRepositoryTestCase.startDefaultTest:73 » Runtime Could not start container
      [ERROR]   GitRepositoryTestCase.startGitRepoLocalTest:110->AbstractGitRepositoryTestCase.listCommits:123->AbstractGitRepositoryTestCase.listCommits:129 » NullPointer
      [ERROR]   RemoteGitRepositoryTestCase.historyAndManagementOperationsTest:140 » Runtime C...
      [ERROR]   RemoteGitRepositoryTestCase.startGitRepoRemoteTest:103 » Runtime Could not sta...
      [ERROR]   RemoteHttpGitRepositoryTestCase.startGitRepoRemoteHttpAuthTest:105 » Runtime C...
      [ERROR]   RemoteSshGitRepositoryTestCase.startGitRepoRemoteSSHAuthTest:282 » Runtime Cou...
      [ERROR]   RemoteSshGitRepositoryTestCase.startGitRepoRemoteSSHCredStoreRefTest:417 » Runtime
      [ERROR]   RemoteSshGitRepositoryTestCase.startGitRepoRemoteSSHPKCSAuthTest:327 » Runtime
      [ERROR]   RemoteSshGitRepositoryTestCase.startGitRepoRemoteSshAuthRSATest:372 » Runtime ...
      [ERROR] org.jboss.as.test.manualmode.mgmt.elytron.AuthenticationWithSourceAddressRoleDecoderMatchTestCase.org.jboss.as.test.manualmode.mgmt.elytron.AuthenticationWithSourceAddressRoleDecoderMatchTestCase
      [ERROR]   Run 1: AuthenticationWithSourceAddressRoleDecoderMatchTestCase.setupServer:172 » Runtime
      [ERROR]   Run 2: AuthenticationWithSourceAddressRoleDecoderMatchTestCase.resetServer:180->resetServerConfiguration:139
      [INFO] 
      [ERROR] org.jboss.as.test.manualmode.mgmt.elytron.AuthenticationWithSourceAddressRoleDecoderMismatchTestCase.org.jboss.as.test.manualmode.mgmt.elytron.AuthenticationWithSourceAddressRoleDecoderMismatchTestCase
      [ERROR]   Run 1: AuthenticationWithSourceAddressRoleDecoderMismatchTestCase.setupServer:172 » Runtime
      [ERROR]   Run 2: AuthenticationWithSourceAddressRoleDecoderMismatchTestCase.resetServer:180->resetServerConfiguration:139
      [INFO] 
      [ERROR]   ElytronModelControllerClientTestCase.testDefaultClient:90 » Runtime Could not ...
      [ERROR]   ElytronModelControllerClientTestCase.testDefaultClient_AuthenticationConfiguration:106 » PrivilegedAction
      [ERROR]   ElytronModelControllerClientTestCase.testElytronAdminConfig:76->configureElytron:138 » NoSuchFile
      [ERROR] org.jboss.as.test.manualmode.mgmt.elytron.HttpMgmtInterfaceElytronAuthenticationTestCase.org.jboss.as.test.manualmode.mgmt.elytron.HttpMgmtInterfaceElytronAuthenticationTestCase
      [ERROR]   Run 1: HttpMgmtInterfaceElytronAuthenticationTestCase.setupServer:131 » Runtime Could...
      [ERROR]   Run 2: HttpMgmtInterfaceElytronAuthenticationTestCase.resetServer:139->resetServerConfiguration:110
      [INFO] 
      [ERROR]   PermissionsDeploymentTestCase.testWithConfiguredMaxBootThreads:109 » Runtime C...
      [ERROR]   PermissionsDeploymentTestCase.testWithoutConfiguredMaxBootThreads:139 » Runtime
      [ERROR] org.jboss.as.test.manualmode.suspend.StartSuspendedTestCase.testStartSuspended(org.jboss.as.test.manualmode.suspend.StartSuspendedTestCase)
      [ERROR]   Run 1: StartSuspendedTestCase.startContainer:80 » Runtime Could not start container
      [ERROR]   Run 2: StartSuspendedTestCase.stopContainer:99 » NullPointer
      [INFO] 
      [ERROR]   SuspendOnShutdownTestCase.startContainer:82 » Runtime Could not start containe...
      [ERROR]   SuspendOnSoftKillTestCase.testSuspendOnSoftKillNegativeTimeout:125->startContainer:145 » Runtime
      [ERROR]   SuspendOnSoftKillTestCase.testSuspendOnSoftKillPositiveTimeout:119->startContainer:145 » Runtime
      [ERROR] org.jboss.as.test.manualmode.vault.CustomVaultInModuleTestCase.org.jboss.as.test.manualmode.vault.CustomVaultInModuleTestCase
      [ERROR]   Run 1: CustomVaultInModuleTestCase.setupServer:125->setupServerWithVault:168 » Runtime
      [ERROR]   Run 2: CustomVaultInModuleTestCase.tearDownServer:132 » NullPointer
      [INFO] 
      [ERROR] org.jboss.as.test.manualmode.vault.VaultPasswordsInCLITestCase.org.jboss.as.test.manualmode.vault.VaultPasswordsInCLITestCase
      [ERROR]   Run 1: VaultPasswordsInCLITestCase.prepareServer:116 » Runtime Could not start contai...
      [ERROR]   Run 2: VaultPasswordsInCLITestCase.resetConfigurationForNativeInterface:166->resetHttpInterfaceConfiguration:290 » IO
      [INFO] 
      [ERROR] org.wildfly.core.test.standalone.mgmt.HTTPSConnectionWithCLITestCase.org.wildfly.core.test.standalone.mgmt.HTTPSConnectionWithCLITestCase
      [ERROR]   Run 1: HTTPSConnectionWithCLITestCase.prepareServer:103 » Runtime Could not start con...
      [ERROR]   Run 2: HTTPSConnectionWithCLITestCase.resetTestConfiguration:156 » IO java.net.Connec...
      [INFO] 
      [ERROR] org.wildfly.core.test.standalone.mgmt.HTTPSManagementInterfacePKCS12TestCase.org.wildfly.core.test.standalone.mgmt.HTTPSManagementInterfacePKCS12TestCase
      [ERROR]   Run 1: HTTPSManagementInterfacePKCS12TestCase.startAndSetupContainer:41->HTTPSManagementInterfaceTestCase.startAndSetupContainer:132 » Runtime
      [ERROR]   Run 2: HTTPSManagementInterfacePKCS12TestCase>HTTPSManagementInterfaceTestCase.stopContainer:252->HTTPSManagementInterfaceTestCase.resetHttpInterfaceConfiguration:424 » IO
      [INFO] 
      [ERROR] org.wildfly.core.test.standalone.mgmt.HTTPSManagementInterfaceTestCase.org.wildfly.core.test.standalone.mgmt.HTTPSManagementInterfaceTestCase
      [ERROR]   Run 1: HTTPSManagementInterfaceTestCase.startAndSetupContainer:127->startAndSetupContainer:132 » Runtime
      [ERROR]   Run 2: HTTPSManagementInterfaceTestCase.stopContainer:252->resetHttpInterfaceConfiguration:424 » IO
      [INFO] 
      [ERROR] org.wildfly.core.test.standalone.mgmt.PreparedResponseTestCase.org.wildfly.core.test.standalone.mgmt.PreparedResponseTestCase
      [ERROR]   Run 1: PreparedResponseTestCase.startAndSetupContainer:69 » Runtime Could not start c...
      [ERROR]   Run 2: PreparedResponseTestCase.stopContainer:79 » Runtime java.io.IOException: java....
      [INFO] 
      [ERROR] org.wildfly.core.test.standalone.mgmt.RemoveManagementInterfaceTestCase.org.wildfly.core.test.standalone.mgmt.RemoveManagementInterfaceTestCase
      [ERROR]   Run 1: RemoveManagementInterfaceTestCase.startAndSetupContainer:76 » Runtime Could no...
      [ERROR]   Run 2: RemoveManagementInterfaceTestCase.stopContainer:117->serverTearDown:155 » IO j...
      [INFO] 
      [ERROR] org.wildfly.core.test.standalone.mgmt.events.JmxControlledStateNotificationsInStaticModuleTestCase.org.wildfly.core.test.standalone.mgmt.events.JmxControlledStateNotificationsInStaticModuleTestCase
      [ERROR]   Run 1: JmxControlledStateNotificationsInStaticModuleTestCase.setupClass:78 » Runtime ...
      [ERROR]   Run 2: JmxControlledStateNotificationsInStaticModuleTestCase.cleanClass:85 » Runtime ...
      [INFO] 
      [ERROR] org.wildfly.core.test.standalone.mgmt.events.JmxControlledStateNotificationsTestCase.org.wildfly.core.test.standalone.mgmt.events.JmxControlledStateNotificationsTestCase
      [ERROR]   Run 1: JmxControlledStateNotificationsTestCase.setupClass:78 » Runtime Could not star...
      [ERROR]   Run 2: JmxControlledStateNotificationsTestCase.cleanClass:85 » Runtime Could not star...
      [INFO] 
      [ERROR] org.wildfly.core.test.standalone.mgmt.events.ProcessStateListenerTestCase.org.wildfly.core.test.standalone.mgmt.events.ProcessStateListenerTestCase
      [ERROR]   Run 1: ProcessStateListenerTestCase.setup:100 » Runtime Could not start container
      [ERROR]   Run 2: ProcessStateListenerTestCase.tearDown:110 » Runtime Could not start container
      

      wildfly-core]$ inxi -S
      System: Host: fedora Kernel: 5.12.9-300.fc34.x86_64 x86_64 bits: 64 Desktop: GNOME 40.2
      Distro: Fedora release 34 (Thirty Four)

      localhost wildfly-core]$ java -version
      openjdk version "1.8.0_292"
      OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_292-b10)
      OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.292-b10, mixed mode)

      wildfly-core]$ javac -version
      javac 1.8.0_292

      wildfly-core]$ mvn -version
      Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
      Maven home: /opt/maven
      Java version: 1.8.0_292, vendor: AdoptOpenJDK, runtime: /usr/lib/jvm/adoptopenjdk-8-hotspot/jre
      Default locale: de_DE, platform encoding: UTF-8
      OS name: "linux", version: "5.12.9-300.fc34.x86_64", arch: "amd64", family: "unix"

              rhn-engineering-lgao Lin Gao
              rhn-engineering-lgao Lin Gao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: