-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major
-
Affects Version/s: master, 5.0.0
-
Component/s: Catalog: Replica Catalog
-
None
031-montage-condor-io-jdbcrc test is failing with
Could be result of recent updates Rafael pushed
------------------------------Task #1 - Summary-------------------------------
13-Apr-2021 16:43:54
13-Apr-2021 16:43:54 site : local
13-Apr-2021 16:43:54 hostname : bamboo.isi.edu
13-Apr-2021 16:43:54 executable : /lfs1/software/bamboo/data/xml-data/build-dir/PEGASUS-WT50-RC031MON/pegasus/bin/pegasus-rc-client
13-Apr-2021 16:43:54 arguments : -n pegasus::rc-client -N null -R local -L montage -T 2021-04-13T16:40:33-07:00 /lfs1/software/bamboo/data/xml-data/build-dir/PEGASUS-WT50-RC031MON/pegasus/bin/pegasus-rc-client --prefix pegasus.catalog.replica.output --conf /lfs1/software/bamboo/data/xml-data/build-dir/PEGASUS-WT50-RC031MON/test/core/031-montage-condor-io-jdbcrc/montage-workflow-v3/work/bamboo/pegasus/montage/run0001/pegasus.7217380687320143274.properties -v --insert /lfs1/software/bamboo/data/xml-data/build-dir/PEGASUS-WT50-RC031MON/test/core/031-montage-condor-io-jdbcrc/montage-workflow-v3/work/bamboo/pegasus/montage/run0001/00/00/register_local_1000_9.in
13-Apr-2021 16:43:54 exitcode : 1
13-Apr-2021 16:43:54 working dir : /lfs1/software/bamboo/data/xml-data/build-dir/PEGASUS-WT50-RC031MON/test/core/031-montage-condor-io-jdbcrc/montage-workflow-v3/work/bamboo/pegasus/montage/run0001
13-Apr-2021 16:43:54
13-Apr-2021 16:43:54 -----------------Task #1 - pegasus::rc-client - None - stdout-----------------
13-Apr-2021 16:43:54
13-Apr-2021 16:43:54 2021.04.13 16:43:15.414 PDT: Your database is compatible with Pegasus version: 5.0.1dev
13-Apr-2021 16:43:54 2021-04-13 16:43:15.964 ERROR [root] Unable to tell database SELECT lfn_id, lfn FROM rc_lfn WHERE lfn='1-mosaic_area.fits' (state=1): Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate(), Statement.executeLargeUpdate() or Connection.prepareStatement().
13-Apr-2021 16:43:54 2021-04-13 16:43:15.964 FATAL [root] class java.lang.RuntimeException Errors while processing input file
13-Apr-2021 16:43:54 2021-04-13 16:43:15.965 ERROR [root] non-zero exit-code 1
13-Apr-2021 16:43:54
13-Apr-2021 16:43:54
13-Apr-2021 16:43:54 ------------Task #1 - pegasus::rc-client - None - Kickstart stderr------------
13-Apr-2021 16:43:54
13-Apr-2021 16:43:54 java.sql.SQLException: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate(), Statement.executeLargeUpdate() or Connection.prepareStatement().
13-Apr-2021 16:43:54 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
13-Apr-2021 16:43:54 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
13-Apr-2021 16:43:54 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
13-Apr-2021 16:43:54 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
13-Apr-2021 16:43:54 at com.mysql.jdbc.StatementImpl.getGeneratedKeys(StatementImpl.java:1693)
13-Apr-2021 16:43:54 at edu.isi.pegasus.planner.catalog.replica.impl.JDBCRC.insert(JDBCRC.java:1202)
13-Apr-2021 16:43:54 at edu.isi.pegasus.planner.client.RCClient.work(RCClient.java:563)
13-Apr-2021 16:43:54 at edu.isi.pegasus.planner.client.RCClient.parse(RCClient.java:886)
13-Apr-2021 16:43:54 at edu.isi.pegasus.planner.client.RCClient.main(RCClient.java:1126)
13-Apr-2021 16:43:54 #Successfully worked on : 0 lines.
13-Apr-2021 16:43:54 #Worked on total number of : 1 lines.
13-Apr-2021 16:43:54