jwhitbeck / ditl Goto Github PK
View Code? Open in Web Editor NEWDynamIc Trace Library - A Java library for handling stateful event traces.
License: GNU General Public License v3.0
DynamIc Trace Library - A Java library for handling stateful event traces.
License: GNU General Public License v3.0
Hello, @jwhitbeck
Thanks in advance for helping.
When I run:
ditl graphs r store.jar 1 1 30
a new directory is created inside store.jar, named: edges_t1_d30.
This directory contains 3 files: index, info, and trace.
index and trace are binary files.
info contains information about the trace, as following
{ "type": "reachability", "eta": 1, "tau": 1, "delay": 30, "min time": 7, "max time": 31619667, "time unit": "s", "max update interval": 81082, "default priority": 100 }
However, I am interested in evaluating the reachability information. I suppose the information I need is in the file named trace. Am I right? Is there a way to convert trace to a human-readable format?
PS.: For an old version of ditl which I have access, the created directory is named "links" and there is a readable file named "snapshot".
Running ditl.graphs.test.TestRWP
Tests run: 19, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.9 sec <<< FAILURE! - in ditl.graphs.test.TestRWP
compareCCSize(ditl.graphs.test.TestRWP$CompareAnalyze) Time elapsed: 0.144 sec <<< FAILURE!
org.junit.ComparisonFailure: group_size.ccs.report differs! expected:<... 347 2 8
...
1794...>
at org.junit.Assert.assertEquals(Assert.java:115)
at ditl.graphs.test.TestRWP.compareWithResource(TestRWP.java:205)
at ditl.graphs.test.TestRWP.graphsCliAndCompare(TestRWP.java:201)
at ditl.graphs.test.TestRWP.access$200(TestRWP.java:42)
at ditl.graphs.test.TestRWP$CompareAnalyze.compareCCSize(TestRWP.java:142)
Running ditl.graphs.test.TestItemSerializations
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in ditl.graphs.test.TestItemSerializations
Running ditl.plausible.test.TestItemSerializations
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in ditl.plausible.test.TestItemSerializations
Running ditl.test.TestCoding
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in ditl.test.TestCoding
Running ditl.test.TestReadWrite
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.664 sec - in ditl.test.TestReadWrite
Running ditl.test.TestGroup
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in ditl.test.TestGroup
Results :
Failed tests:
TestRWP$CompareAnalyze.compareCCSize:142 group_size.ccs.report differs! expected:<... 347 2 8
...
Tests run: 43, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:47 min
[INFO] Finished at: 2018-07-10T09:54:00-04:00
[INFO] Final Memory: 22M/73M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project ditl: There are test failures.
[ERROR]
[ERROR] Please refer to /home/juliano/workspace/ditl/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Hello, @jwhitbeck.
Is there a straightforward way to set the snapshot interval for reachability information?
Hi, I am using the following command in order to import hyccups contact trace (ONE format).
ditl graphs ie --orig-time-unit s --dest-time-unit s --format one hyccups.jar output_one_set_init.txt
I converted myself the hyccups trace to ONE format. The file is attached:
output_one_set_init.txt
I suspect that the error is due to connections inconsistencies since I do not filtered the original trace. However, I need further investigation. Could someone help me?
Anyway, I intend to post the solution here, in order to help to solve future issues.
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.599 s
[INFO] Finished at: 2018-07-10T10:06:00-04:00
[INFO] Final Memory: 29M/98M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.0:shade (default) on project ditl: Execution default of goal org.apache.maven.plugins:maven-shade-plugin:2.0:shade failed: A required class was missing while executing org.apache.maven.plugins:maven-shade-plugin:2.0:shade: org/sonatype/aether/version/VersionConstraint
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-shade-plugin:2.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/juliano/.m2/repository/org/apache/maven/plugins/maven-shade-plugin/2.0/maven-shade-plugin-2.0.jar
[ERROR] urls[1] = file:/home/juliano/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
[ERROR] urls[2] = file:/home/juliano/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
[ERROR] urls[3] = file:/home/juliano/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
[ERROR] urls[4] = file:/home/juliano/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[ERROR] urls[5] = file:/home/juliano/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[6] = file:/home/juliano/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[7] = file:/home/juliano/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[8] = file:/home/juliano/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[9] = file:/home/juliano/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.1/plexus-utils-3.0.1.jar
[ERROR] urls[10] = file:/home/juliano/.m2/repository/asm/asm/3.3.1/asm-3.3.1.jar
[ERROR] urls[11] = file:/home/juliano/.m2/repository/asm/asm-commons/3.3.1/asm-commons-3.3.1.jar
[ERROR] urls[12] = file:/home/juliano/.m2/repository/asm/asm-tree/3.3.1/asm-tree-3.3.1.jar
[ERROR] urls[13] = file:/home/juliano/.m2/repository/org/jdom/jdom/1.1/jdom-1.1.jar
[ERROR] urls[14] = file:/home/juliano/.m2/repository/org/apache/maven/shared/maven-dependency-tree/2.0/maven-dependency-tree-2.0.jar
[ERROR] urls[15] = file:/home/juliano/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
[ERROR] urls[16] = file:/home/juliano/.m2/repository/org/vafer/jdependency/0.7/jdependency-0.7.jar
[ERROR] urls[17] = file:/home/juliano/.m2/repository/commons-io/commons-io/1.3.2/commons-io-1.3.2.jar
[ERROR] urls[18] = file:/home/juliano/.m2/repository/asm/asm-analysis/3.2/asm-analysis-3.2.jar
[ERROR] urls[19] = file:/home/juliano/.m2/repository/asm/asm-util/3.2/asm-util-3.2.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: org.sonatype.aether.version.VersionConstraint
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.