Comments (6)
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
from suro.
Hi
Thank you for your report. We will work on these test cases not to be flaky.
from suro.
Speaking of com.netflix.suro.server.TestSuroControl failure, I found the problem. I am still working on the other flaky tests.
from suro.
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.
from suro.
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.
from suro.
Hi,
I'm trying to install Suro on a VirtualBox VM created with Vagrant. The build fails with the following errors (copied below).
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
sudo apt-get install git gradle -y
Step 2: install java
sudo apt-get install software-properties-common -yq
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
automatically accept licence when installing:
echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
sudo apt-get -y install oracle-java7-installer
Step 3: install suro
git clone https://github.com/Netflix/suro.git
cd suro
./gradlew clean build
THE ERROR MESSAGES:
com.netflix.suro.connection.TestConnectionOutPool > testOutPool FAILED
java.lang.AssertionError: expected:<0> but was:<1>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.junit.Assert.assertEquals(Assert.java:542)
at com.netflix.suro.connection.TestConnectionOutPool.setup(TestConnectionOutPool.java:104)
at com.netflix.suro.connection.TestConnectionOutPool.testOutPool(TestConnectionOutPool.java:53)
com.netflix.suro.connection.TestConnectionPool > shouldBePopulatedWithNumberOfServersOnLessSenderThreads FAILED
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:55)
at junit.framework.Assert.assertTrue(Assert.java:22)
at junit.framework.Assert.assertTrue(Assert.java:31)
at com.netflix.suro.connection.TestConnectionPool.shouldBePopulatedWithNumberOfServersOnLessSenderThreads(TestConnectionPool.java:302)
com.netflix.suro.connection.TestConnectionPool > shouldBePopulatedWithNumberOfServersOnMoreSenderThreads FAILED
junit.framework.AssertionFailedError: expected:<2> but was:<3>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:234)
at junit.framework.Assert.assertEquals(Assert.java:241)
at com.netflix.suro.connection.TestConnectionPool.shouldBePopulatedWithNumberOfServersOnMoreSenderThreads(TestConnectionPool.java:325)
43 tests completed, 3 failed
:suro-client:test FAILED
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':suro-client:test'.There were failing tests. See the report at: file:///home/vagrant/suro/suro-client/build/reports/tests/index.html
-
Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':suro-client:test'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:305)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
at org.gradle.launcher.Main.doAction(Main.java:33)
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)
Caused by: org.gradle.api.GradleException: There were failing tests. See the report at: file:///home/vagrant/suro/suro-client/build/reports/tests/index.html
at org.gradle.api.tasks.testing.Test.handleTestFailures(Test.java:1111)
at org.gradle.api.tasks.testing.Test.executeTests(Test.java:542)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:218)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:579)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:562)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 47 more
Thank you for your help!
Noelia
from suro.
Related Issues (20)
- Make QueuedSink Rx
- Make AsyncSuroClient Rx HOT 1
- [version upgrade] ribbon-eureka pulls invalid nested dependency version 0.18+ HOT 3
- ElasticSearchSink dynamic server list update with Eureka when client.transport.sniff is false HOT 1
- Upgrade jets3t version to 0.9.2
- Upgrade aws-java-sdk to 0.19.3
- Test KafkaSink behavior on Kafka broker outage HOT 1
- ElasticSearch timeout should be handled differently not to push additional traffic HOT 1
- QueuedSink checkPause() is blocking SuroInput too long HOT 1
- Potential scalability problem with default RemotePrefixFormatter for S3 Sink HOT 1
- Update kafka version to 0.8.2.0
- Samza metric publisher to Servo
- xpath exists filter bug
- routing map parser fails silently on malformed json
- Add counters in KafkaSink and MessageProcessor
- Get rid of Rx from KafkaProducer
- Make ElasticSearchSink IndexInfoBuilder more extendible
- Zookeeper dependencies are missing in suro-server install
- Suro with S3 sink
- Spam in the Wiki
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suro.