Skip to content

Test for https://github.com/decorators-squad/eo-yaml/pull/476 case#94

Open
rocket-3 wants to merge 3 commits intomasterfrom
eo-yaml-issue-fix
Open

Test for https://github.com/decorators-squad/eo-yaml/pull/476 case#94
rocket-3 wants to merge 3 commits intomasterfrom
eo-yaml-issue-fix

Conversation

@rocket-3
Copy link
Owner

@rultor, merge

@rultor
Copy link
Collaborator

rultor commented Oct 17, 2021

@rultor, merge

@rocket-3 OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Oct 17, 2021

@rultor, merge

@rocket-3 Oops, I failed. You can see the full log here (spent 2min)

???
Expected: Exception has type 'org.fusionsoft.lib.exception.ValidationException' and message matches ANYTHING
     but: Exception has type 'java.lang.ClassCastException' and message 'class org.fusionsoft.lib.yaml.YamlPlainScalarOf cannot be cast to class com.amihaiemil.eoyaml.BaseYamlNode (org.fusionsoft.lib.yaml.YamlPlainScalarOf and com.amihaiemil.eoyaml.BaseYamlNode are in unnamed module of loader 'app')'
	at org.fusionsoft.lib.yaml.YamlPlainScalarOfTest.canUseToStringWhenDecorateYamlNode(YamlPlainScalarOfTest.java:51)

[INFO] Running org.fusionsoft.lib.collection.StrictMapTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.fusionsoft.lib.collection.StrictMapTest
[INFO] Running org.fusionsoft.database.snapshot.databaseinfo.DatabaseInfoOfDbdTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.172 s - in org.fusionsoft.database.snapshot.databaseinfo.DatabaseInfoOfDbdTest
[INFO] Running org.fusionsoft.database.snapshot.objects.ParentNameTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in org.fusionsoft.database.snapshot.objects.ParentNameTest
[INFO] Running org.fusionsoft.database.snapshot.objects.ObjectsWithTypeTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 s - in org.fusionsoft.database.snapshot.objects.ObjectsWithTypeTest
[INFO] Running org.fusionsoft.database.snapshot.objects.FullObjectNameTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in org.fusionsoft.database.snapshot.objects.FullObjectNameTest
[INFO] Running org.fusionsoft.database.snapshot.objects.ObjectsInDbdPredicateTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 s - in org.fusionsoft.database.snapshot.objects.ObjectsInDbdPredicateTest
[INFO] Running org.fusionsoft.database.snapshot.objects.ObjectsOfDbdRootMappingTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.306 s - in org.fusionsoft.database.snapshot.objects.ObjectsOfDbdRootMappingTest
[INFO] Running org.fusionsoft.database.snapshot.objects.filtered.ObjectsMentionedInDbdAsDataTableTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.068 s - in org.fusionsoft.database.snapshot.objects.filtered.ObjectsMentionedInDbdAsDataTableTest
[INFO] Running org.fusionsoft.database.mapping.dbd.DbdRootMappingBuiltTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.428 s <<< FAILURE! - in org.fusionsoft.database.mapping.dbd.DbdRootMappingBuiltTest
[ERROR] createsMappingIdenticalToInput  Time elapsed: 1.428 s  <<< ERROR!
java.lang.ClassCastException: class org.fusionsoft.lib.yaml.YamlPlainScalarOf cannot be cast to class com.amihaiemil.eoyaml.BaseYamlNode (org.fusionsoft.lib.yaml.YamlPlainScalarOf and com.amihaiemil.eoyaml.BaseYamlNode are in unnamed module of loader 'app')
	at org.fusionsoft.database.mapping.dbd.DbdRootMappingBuiltTest.createsMappingIdenticalToInput(DbdRootMappingBuiltTest.java:60)

[INFO] Running org.fusionsoft.database.mapping.dbd.DbdSchemasMappingOfObjectsTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.666 s - in org.fusionsoft.database.mapping.dbd.DbdSchemasMappingOfObjectsTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   YamlPlainScalarOfTest.canUseToStringWhenDecorateYamlNode:51 ???
Expected: Exception has type 'org.fusionsoft.lib.exception.ValidationException' and message matches ANYTHING
     but: Exception has type 'java.lang.ClassCastException' and message 'class org.fusionsoft.lib.yaml.YamlPlainScalarOf cannot be cast to class com.amihaiemil.eoyaml.BaseYamlNode (org.fusionsoft.lib.yaml.YamlPlainScalarOf and com.amihaiemil.eoyaml.BaseYamlNode are in unnamed module of loader 'app')'
[ERROR] Errors: 
[ERROR]   DbdRootMappingBuiltTest.createsMappingIdenticalToInput:60 » ClassCast class or...
[INFO] 
[ERROR] Tests run: 14, Failures: 1, Errors: 1, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  14.925 s
[INFO] Finished at: 2021-10-17T08:55:07Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project dbmss: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/r/repo/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[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
container 308d0f2c2152379ddba5a9c05531730668c8e2851676bc5df5aefff58cd46e8b is dead
Sun Oct 17 10:56:00 CEST 2021

@rocket-3
Copy link
Owner Author

@rultor, merge

@rultor
Copy link
Collaborator

rultor commented Oct 17, 2021

@rultor, merge

@rocket-3 OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Oct 17, 2021

@rultor, merge

@rocket-3 Oops, I failed. You can see the full log here (spent 2min)

[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/3.0/maven-plugin-api-3.0.jar (49 kB at 206 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/sonatype/aether/aether-impl/1.7/aether-impl-1.7.jar (106 kB at 450 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-classworlds/2.2.3/plexus-classworlds-2.2.3.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/apache/maven/maven-model-builder/3.0/maven-model-builder-3.0.jar (148 kB at 622 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/sonatype/aether/aether-api/1.7/aether-api-1.7.jar (74 kB at 290 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-classworlds/2.2.3/plexus-classworlds-2.2.3.jar (46 kB at 178 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar (4.3 kB at 16 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.1.0/maven-shared-utils-3.1.0.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar (108 kB at 409 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.5/commons-io-2.5.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar (61 kB at 229 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar (13 kB at 49 kB/s)
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar (29 kB at 103 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.jar
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar (14 kB at 48 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/0.9.2/plexus-java-0.9.2.jar (31 kB at 100 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/6.0_BETA/asm-6.0_BETA.jar (56 kB at 176 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.1.0/maven-shared-utils-3.1.0.jar (164 kB at 507 kB/s)
[INFO] Downloading from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.5/commons-io-2.5.jar (209 kB at 631 kB/s)
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.8.2/plexus-compiler-api-2.8.2.jar (26 kB at 78 kB/s)
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.8.2/plexus-compiler-manager-2.8.2.jar (4.7 kB at 14 kB/s)
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.8.2/plexus-compiler-javac-2.8.2.jar (20 kB at 58 kB/s)
[INFO] Downloaded from Maven: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0-M7/qdox-2.0-M7.jar (315 kB at 882 kB/s)
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 174 source files to /home/r/repo/target/classes
[INFO] /home/r/repo/src/main/java/org/fusionsoft/lib/yaml/artefacts/StringIterableOf.java: Some input files use or override a deprecated API.
[INFO] /home/r/repo/src/main/java/org/fusionsoft/lib/yaml/artefacts/StringIterableOf.java: Recompile with -Xlint:deprecation for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/r/repo/src/main/java/org/fusionsoft/lib/yaml/YamlNodeOfScalar.java:[35,8] org.fusionsoft.lib.yaml.YamlNodeOfScalar is not abstract and does not override abstract method isEmpty() in com.amihaiemil.eoyaml.YamlNode
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  9.380 s
[INFO] Finished at: 2021-10-17T09:54:52Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project dbmss: Compilation failure
[ERROR] /home/r/repo/src/main/java/org/fusionsoft/lib/yaml/YamlNodeOfScalar.java:[35,8] org.fusionsoft.lib.yaml.YamlNodeOfScalar is not abstract and does not override abstract method isEmpty() in com.amihaiemil.eoyaml.YamlNode
[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
container e04562b6bb6b683ce039232c5e5aaa8e22f9609c73adf03a1488f7efe83ea7dc is dead
Sun Oct 17 11:55:50 CEST 2021

@rocket-3
Copy link
Owner Author

@rultor, merge

@rultor
Copy link
Collaborator

rultor commented Oct 17, 2021

@rultor, merge

@rocket-3 OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Oct 17, 2021

@rultor, merge

@rocket-3 Oops, I failed. You can see the full log here (spent 2min)

              - val_id
            dbConstraintType: PK
          fk_domain_values_domains:
            dbFKColumn:
              - domain_id
            dbRefSchema: mts
            dbRefTable: domains
            dbRefColumn:
              - domain_id
            dbRefUpdate: RESTRICT
            dbRefDelete: RESTRICT
            dbConstraintType: FK
          fk_domain_values_parent:
            uiProperty: "par-val-id"
            dbFKColumn:
              - domain_id
              - par_val_id
            dbRefSchema: mts
            dbRefTable: domain_values
            dbRefColumn:
              - domain_id
              - val_id
            dbRefUpdate: RESTRICT
            dbRefDelete: RESTRICT
            dbConstraintType: FK
        indexes:
          pk_domain_values:
            dbColumn:
              - domain_id
              - val_id
            dbUnique: true
            pgIndexType: btree
          fk_domain_values_parent:
            dbColumn:
              - domain_id
              - par_val_id
            dbUnique: false
            pgIndexType: btree>
[INFO] 
[ERROR] Tests run: 14, Failures: 1, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  16.013 s
[INFO] Finished at: 2021-10-17T10:04:39Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project dbmss: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/r/repo/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[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
container e06dd8da6b224486ec11425931c1f926e57c595a8b454c0ca6335e2fb3fbdc40 is dead
Sun Oct 17 12:05:29 CEST 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants