You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/05/23 16:01:28 UTC

[GitHub] [cloudstack] rhtyd opened a new issue #5035: Build failure on Ubuntu 20.04 on 4.15 branch

rhtyd opened a new issue #5035:
URL: https://github.com/apache/cloudstack/issues/5035


   Build failure seen on Ubuntu 20.04.2 on latest 4.15 branch:
   ```
   [INFO] Running com.cloud.utils.rest.BasicRestClientTest
   2021-05-23 21:26:53,659 DEBUG [utils.rest.BasicRestClient] (main:) Executig GET request on https://fakelocalhost.fakelocaldomain:443/path
   2021-05-23 21:26:53,660 DEBUG [utils.rest.BasicRestClient] (main:) Executig GET request on https://fakelocalhost.fakelocaldomain:443/path
   2021-05-23 21:26:54,008 DEBUG [utils.rest.BasicRestClient] (main:) Executig GET request on https://fakelocalhost.fakelocaldomain:443/path
   [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.456 s <<< FAILURE! - in com.cloud.utils.rest.BasicRestClientTest
   [ERROR] testExecuteRequestWhenClientThrowsIOException(com.cloud.utils.rest.BasicRestClientTest)  Time elapsed: 0.349 s  <<< ERROR!
   java.lang.Exception: Unexpected exception, expected<com.cloud.utils.rest.CloudstackRESTException> but was<java.lang.AssertionError>
   	at com.cloud.utils.rest.BasicRestClientTest.testExecuteRequestWhenClientThrowsIOException(BasicRestClientTest.java:105)
   
   ```
   
   Here are my env details:
   
   ```
   rohit@ripper:~$ uname -a
   Linux ripper.ya3.in 5.8.0-53-generic #60~20.04.1-Ubuntu SMP Thu May 6 09:52:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
   rohit@ripper:~$ java -version
   openjdk version "11.0.11" 2021-04-20
   OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
   OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
   rohit@ripper:~$ mvn -version
   OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
   Listening for transport dt_socket at address: 8787
   Apache Maven 3.6.3
   Maven home: /usr/share/maven
   Java version: 11.0.11, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
   Default locale: en_US, platform encoding: UTF-8
   OS name: "linux", version: "5.8.0-53-generic", arch: "amd64", family: "unix"
   rohit@ripper:~$ lsb_release -a
   No LSB modules are available.
   Distributor ID:	Ubuntu
   Description:	Ubuntu 20.04.2 LTS
   Release:	20.04
   Codename:	focal
   
   ```
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd closed issue #5035: Build failure on Ubuntu 20.04 on 4.15 branch

Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #5035:
URL: https://github.com/apache/cloudstack/issues/5035


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #5035: Build failure on Ubuntu 20.04 on 4.15 branch

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #5035:
URL: https://github.com/apache/cloudstack/issues/5035#issuecomment-846585820


   Surprisingly doesnot happen on Travis or pkging cc @shwstppr @Pearl1594 @Spaceman1984 


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] shwstppr commented on issue #5035: Build failure on Ubuntu 20.04 on 4.15 branch

Posted by GitBox <gi...@apache.org>.
shwstppr commented on issue #5035:
URL: https://github.com/apache/cloudstack/issues/5035#issuecomment-846759297


   Working fine on my local dev env,
   ```
   ⇒  uname -a
   Linux shwstppr-ThinkPad 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
   shwstppr@shwstppr-ThinkPad:~/lab/shapeblue/cloudstack/packaging|4.15⚡ 
   ⇒  java -version
   openjdk version "11.0.11" 2021-04-20
   OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
   OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
   shwstppr@shwstppr-ThinkPad:~/lab/shapeblue/cloudstack/packaging|4.15⚡ 
   ⇒  mvn -version
   OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
   Listening for transport dt_socket at address: 8787
   Apache Maven 3.6.3
   Maven home: /usr/share/maven
   Java version: 11.0.11, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
   Default locale: en_US, platform encoding: UTF-8
   OS name: "linux", version: "5.4.0-73-generic", arch: "amd64", family: "unix"
   shwstppr@shwstppr-ThinkPad:~/lab/shapeblue/cloudstack/packaging|4.15⚡ 
   ⇒  lsb_release -a     
   No LSB modules are available.
   Distributor ID:	Ubuntu
   Description:	Ubuntu 20.04.2 LTS
   Release:	20.04
   Codename:	focal
   ```
   
   ```
   [INFO] Running com.cloud.utils.rest.BasicRestClientTest
   2021-05-24 10:50:00,252 DEBUG [utils.rest.BasicRestClient] (main:) Executig GET request on https://fakelocalhost.fakelocaldomain:443/path
   2021-05-24 10:50:00,253 DEBUG [utils.rest.BasicRestClient] (main:) Executig GET request on https://fakelocalhost.fakelocaldomain:443/path
   2021-05-24 10:50:00,713 DEBUG [utils.rest.BasicRestClient] (main:) Executig GET request on https://fakelocalhost.fakelocaldomain:443/path
   [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.656 s - in com.cloud.utils.rest.BasicRestClientTest
   ```
   
   @Pearl1594 @Spaceman1984 Are you also getting the same error @rhtyd ?


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] Spaceman1984 commented on issue #5035: Build failure on Ubuntu 20.04 on 4.15 branch

Posted by GitBox <gi...@apache.org>.
Spaceman1984 commented on issue #5035:
URL: https://github.com/apache/cloudstack/issues/5035#issuecomment-846805225


   No issues on my local either
   
   ```
   spaceman@virtual-machine:~$ uname -a
   Linux virtual-machine 5.8.0-53-generic #60~20.04.1-Ubuntu SMP Thu May 6 09:52:46 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
   spaceman@virtual-machine:~$  java -version
   openjdk version "11.0.11" 2021-04-20
   OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
   OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
   spaceman@virtual-machine:~$ mvn -version
   Apache Maven 3.6.3
   Maven home: /usr/share/maven
   Java version: 11.0.11, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
   Default locale: en_ZA, platform encoding: UTF-8
   OS name: "linux", version: "5.8.0-53-generic", arch: "amd64", family: "unix"
   
   ```
   
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #5035: Build failure on Ubuntu 20.04 on 4.15 branch

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #5035:
URL: https://github.com/apache/cloudstack/issues/5035#issuecomment-846967218


   It turned out my desktop where I was trying to build cloudstack had a full qualified domain set as hostname; so `fakelocalhost.fakelocaldomain` in one of the tests were resolving to the parent domain :facepalm: (not sure why?) and causing the failure. Thanks I'll close this.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #5035: Build failure on Ubuntu 20.04 on 4.15 branch

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #5035:
URL: https://github.com/apache/cloudstack/issues/5035#issuecomment-846926636


   Thanks @shwstppr @Spaceman1984 for checking, I'll clean up mvn cache and try again.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org