Hi Georg,

Thanks for the pointer.  I re-ran the tests with both PostgreSQL and MySQL.  It was "managers" and not "manager" that fixed it. All looks good except for one test failure, and it looks like maybe a simple fix is needed.  I get the same test failure on both databases.  It looks like maybe it is a time zone issue?


[ERROR] Failures:
[ERROR] DefaultValuesFromDatabaseTest.testNewObjectChangedValue:211 expected:<1970-01-01 [05]:21:31> but was:<1970-01-01 [11]:21:31>
[INFO]
[ERROR] Tests run: 260, Failures: 1, Errors: 0, Skipped: 0
[INFO]


Otherwise, I think everything looks good.


-

Jeffery



On 8/1/20 6:17 AM, Georg Kallidis wrote:
Hi Jeffery,

sorry, it might be, that I referred to the profile as 'manager', whereas it should be 
"managers".

-Georg

On July 31, 2020 3:30:52 PM GMT+02:00, Jeffery Painter <[email protected]> 
wrote:
FYI - I get the same error when trying to run for the postgresql
profile
(it does create the tables):


bookstore=# \dt
                   List of relations
  Schema |            Name            | Type  | Owner
--------+----------------------------+-------+--------
  public | abstract                   | table | torque
  public | author                     | table | torque
  public | autoincrement_idbroker     | table | torque
  public | autoincrement_native       | table | torque
  public | autoincrement_none         | table | torque
  public | base                       | table | torque
  public | bigint_type                | table | torque
  public | binary_type                | table | torque
  public | bint_bchar_type            | table | torque
  public | bit_composite_pk           | table | torque
  public | bit_type                   | table | torque
  public | blob_type                  | table | torque
  public | book                       | table | torque

...



On 7/31/20 9:18 AM, Jeffery Painter wrote:
Hi Georg,


I created a db user torque@localhost, and then ran:

painter@merlin:~/apache/torque/torque-5.0/torque-test$ mvn clean test
-Pmysql,manager,beans

The tests created lots of tables in the 'bookstore' database, but
then I
got the following complaints :-(


[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]

/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[31,38]
package org.apache.torque.test.manager does not exist
[ERROR]

/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[32,38]
package org.apache.torque.test.manager does not exist
[ERROR]

/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[33,38]
package org.apache.torque.test.manager does not exist
[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO]

------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]

------------------------------------------------------------------------
[INFO] Total time:  19.456 s
[INFO] Finished at: 2020-07-31T09:14:43-04:00
[INFO]

------------------------------------------------------------------------
[WARNING] The requested profile "manager" could not be activated
because
it does not exist.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile
(default-testCompile) on project torque-test: Compilation failure:
Compilation failure:
[ERROR]

/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[31,38]
package org.apache.torque.test.manager does not exist
[ERROR]

/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[32,38]
package org.apache.torque.test.manager does not exist
[ERROR]

/home/painter/apache/torque/torque-5.0/torque-test/src/test/java/org/apache/torque/ManagerTestConditional.java:[33,38]
package org.apache.torque.test.manager does not exist
[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




Hi Jeffery,

Hi Jeffery,

thanks for voting and testing!

You may also check the README in subfolder torque-test and test
there
against locale or docker databases.

Best regards,

Georg



Von:    Jeffery Painter <[email protected]>
An:     [email protected]
Datum:  30.07.2020 17:13
Betreff:        Re: [VOTE] RC Torque 5.0 based on staged repository



Hi Georg,

I was able to check out clean from SVN and build successfully with

$ mvn clean install site


$ mvn -version

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/java/maven
Java version: 1.8.0_261, vendor: Oracle Corporation, runtime:
/usr/java/jdk1.8.0_261/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-42-generic", arch: "amd64",
family:
"unix"


The artifacts look good to me:

painter@merlin:~/apache/torque/artifacts$ gpg --verify
torque-5.0-source-release.zip.asc torque-5.0-source-release.zip
gpg: Signature made Fri 17 Jul 2020 05:37:06 AM EDT
gpg:                using RSA key
83221A9E13D9F6A39E718DD76EAAE3D2F615E012
gpg: Good signature from "Georg Kallidis (APACHE CODE SIGNING KEY)
<[email protected]>" [unknown]


My vote

[ x ] +1 release it


-
Jeffery Painter

[email protected]

[email protected]



On 7/17/20 6:00 AM, Georg Kallidis wrote:
Hi Torque community,

a release candidate for Torque version 5.0 has been prepared and is
open
for voting!

Artifacts:


https://repository.apache.org/content/repositories/orgapachetorque-1000/
Tag:

https://svn.apache.org/repos/asf/db/torque/torque4/tags/torque-5.0

This release contains the following updates:

- 81 resolved JIRA issues:

https://issues.apache.org/jira/browse/TORQUE-359?jql=project%20%3D%20TORQUE%20AND%20status%20%3D%20Resolved%20AND%20fixVersion%20%3D%204.1
    (note, this is still "fix version 4.1", but will be updated to
5.0
later)
- a lot of bugfixes, cleanup and refactoring, e.g.
time/date/timestamp-string formatting, deprecated DBCP1 adapters,
DBCP2
is
the default now...
- Java 8, tested and build in Java 8 and 14 with JUnit 5 and Log4j2
- updated almost all plugin, build and database dependencies, major
updates: velocity 2.0, groovy 3.0.4
- added Docker testcontainer profiles for mysql and postgresql
- new refactored ant task Torque4JDBCTransformTask

Keys:
https://svn.apache.org/repos/asf/db/torque/torque4/trunk/KEYS
https://dist.apache.org/repos/dist/release/db/torque/KEYS (to be
updated)
Please verify this release candidate carefully, give feedback
or/and
vote
[ ] +1 release it
[ ] +0 go ahead I don't care
[ ] -1 no, do not release it because


Have fun!


Best regards, Georg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]







---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to