-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
./gradlew clean build fails on Amazon Linux #29
Comments
I also have seen: com.netflix.suro.sink.localfile.TestTextFileWriter > testWithCodec FAILED
java.lang.AssertionError at TestTextFileWriter.java:112 Source: assertEquals(writer.getLength(), 232456); // compressed one |
Hi Thank you for your report. We will work on these test cases not to be flaky. |
Speaking of com.netflix.suro.server.TestSuroControl failure, I found the problem. I am still working on the other flaky tests. |
Hi @cblack Could you let me know the instance type you used? It's not easy to reproduce TestConnectionOutPool and TestTextFileWriter failure in m1.xlarge. |
I was running on an m1.small. I just tried an m1.large. Here's the updated steps on a new m1.large: sudo yum -y update
sudo sum -y install git
sudo yum -y install java-1.7.0-openjdk-devel
sudo alternatives --config java
(choose option 2, "/usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java")
git clone https://github.com/Netflix/suro.git
cd suro
./gradlew clean build Errors: com.netflix.suro.sink.localfile.TestTextFileWriter > testWithCodec FAILED
java.lang.AssertionError at TestTextFileWriter.java:112
15 [Thread-4] INFO com.netflix.suro.SuroControl - Suro control service started at port 2000
com.netflix.suro.server.TestSuroControl > testOnlyExitCommandWorks FAILED
java.net.ConnectException at TestSuroControl.java:67 More info: I am running this in a VPC environment, but I still get errors with a security group allowing all communication from any source to any port. |
Hi, The code I used on the fresh Ubuntu 14.04.4 LTS VM box is: Step 1: Install the latest git and gradle packages sudo apt-get update Step 2: install java sudo apt-get install software-properties-common -yq automatically accept licence when installing: echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections Step 3: install suro git clone https://github.com/Netflix/suro.git THE ERROR MESSAGES: com.netflix.suro.connection.TestConnectionOutPool > testOutPool FAILED com.netflix.suro.connection.TestConnectionPool > shouldBePopulatedWithNumberOfServersOnLessSenderThreads FAILED com.netflix.suro.connection.TestConnectionPool > shouldBePopulatedWithNumberOfServersOnMoreSenderThreads FAILED 43 tests completed, 3 failed FAILURE: Build failed with an exception.
Thank you for your help! |
Steps:
Bring up a new Amazon Linux instance
sudo yum -y update sudo sum -y install git git clone https://github.com/Netflix/suro.git cd suro ./gradlew build
Errors:
:suro-server
This error is intermittent. Retrying the builds sometimes succeeds. This may be because of the findAvailablePort method is returning a used port.
The source line is:
:suro-client
Source:
The text was updated successfully, but these errors were encountered: