Console Output

+ cd dhp-graph-dump/dump
+ mvn clean package -Poozie-package,deploy -Dworkflow.source.dir=eu/dnetlib/dhp/oa/graph/dump/projectsubset -DdhpConnectionProperties=/var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/connection-properties/iis-cdh5-test-gw.properties -DskipTests -Dmaven.repo.local=/var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP@tmp/.m2
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for eu.dnetlib.dhp:dump:jar:1.2.5-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: eu.dnetlib.dhp:api:jar -> duplicate declaration of version 1.2.5-SNAPSHOT @ eu.dnetlib.dhp:dump:[unknown-version], /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/pom.xml, line 71, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ------------------------< eu.dnetlib.dhp:dump >-------------------------
[INFO] Building dump 1.2.5-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ dump ---
[INFO] Deleting /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target
[INFO] 
[INFO] --- dhp-build-properties-maven-plugin:1.2.5:generate-properties (default) @ dump ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-connection-properties-file-existence) @ dump ---
[INFO] 
[INFO] --- properties-maven-plugin:2.0.1:read-project-properties (reading-dhp-properties) @ dump ---
[INFO] Loading /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/connection-properties/iis-cdh5-test-gw.properties
[INFO] 
[INFO] --- git-commit-id-plugin:2.1.11:revision (default) @ dump ---
[info] dotGitDirectory /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/.git
[info] git.build.user.name null
[info] git.build.user.email null
[info] Using environment variable based branch name. GIT_BRANCH = origin/master
[info] git.branch origin/master
[info] Tag refs [ [] ]
[info] Created map: [ {} ] 
[info] HEAD is [ 926079719e6664a6d818de13247577f689d6d272 ] 
[info] Repo is in dirty state [ false ]
[info] git.commit.id.describe 9260797
[info] git.commit.id 926079719e6664a6d818de13247577f689d6d272
[info] git.commit.id.abbrev 9260797
[info] git.commit.user.name Miriam Baglioni
[info] git.commit.user.email miriam.baglioni@isti.cnr.it
[info] git.commit.message.full [master] changed again the parameter since the same property file is used by more than one class. set the parameter as required=false

[info] git.commit.message.short [master] changed again the parameter since the same property file is used by more than one class. set the parameter as required=false
[info] git.commit.time 2025-09-16T14:23:42+0000
[info] git.remote.origin.url https://code-repo.d4science.org/D-Net/dhp-graph-dump
[info] git.tags 
[info] git.build.time 2025-09-16T14:25:54+0000
[info] git.commit.id.describe-short 9260797
[info] found property git.tags
[info] found property git.commit.id.abbrev
[info] found property git.commit.user.email
[info] found property git.commit.message.full
[info] found property git.commit.id
[info] found property git.commit.id.describe-short
[info] found property git.commit.message.short
[info] found property git.commit.user.name
[info] found property git.build.user.name
[info] found property git.commit.id.describe
[info] found property git.build.user.email
[info] found property git.branch
[info] found property git.commit.time
[info] found property git.build.time
[info] found property git.remote.origin.url
[info] Writing properties file to [ /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/oozie-package/oozie_app/version.properties ] (for module  dump )...
[info] dump ] project dump
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ dump ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 52 resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (installer-copy-custom) @ dump ---
[INFO] Executing tasks
    [unjar] Expanding: /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP@tmp/.m2/eu/dnetlib/dhp/dhp-build-assembly-resources/1.2.5/dhp-build-assembly-resources-1.2.5.jar into /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/assembly-resources
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ dump ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 97 source files to /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/classes
[INFO] /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/src/main/java/eu/dnetlib/dhp/oa/zenodoapi/ZenodoAPIClient.java: /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/src/main/java/eu/dnetlib/dhp/oa/zenodoapi/ZenodoAPIClient.java uses or overrides a deprecated API.
[INFO] /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/src/main/java/eu/dnetlib/dhp/oa/zenodoapi/ZenodoAPIClient.java: Recompile with -Xlint:deprecation for details.
[INFO] /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/subset/criteria/VerbResolver.java: Some input files use unchecked or unsafe operations.
[INFO] /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/src/main/java/eu/dnetlib/dhp/oa/graph/dump/subset/criteria/VerbResolver.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ dump ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 141 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ dump ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ dump ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-dependency-plugin:3.6.1:copy-dependencies (copy dependencies) @ dump ---
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:test-jar (attach-test-resources-package) @ dump ---
[INFO] Skipping packaging of the test-jar
[INFO] 
[INFO] --- primer-maven-plugin:1.2.0:prime (priming) @ dump ---
[INFO] Priming eu/dnetlib/dhp/oa/graph/dump/projectsubset into /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/primed
[INFO] 
[INFO] --- properties-maven-plugin:2.0.1:read-project-properties (read-default-properties) @ dump ---
[INFO] Loading classpath:project-default.properties
[INFO] 
[INFO] --- properties-maven-plugin:2.0.1:read-project-properties (read-job-properties) @ dump ---
[INFO] 
[INFO] --- dhp-build-properties-maven-plugin:1.2.5:write-project-properties (write-job-properties) @ dump ---
[INFO] Ignoring non-existent properties file '/var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/primed/job.properties'
[INFO] Ignoring non-existent properties file 'job-override.properties'
[INFO] Creating /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/oozie-package/job.properties
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ dump ---
[INFO] Building jar: /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/dump-1.2.5-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-assembly-plugin:3.0.0:single (assembly-oozie-installer) @ dump ---
[WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible /
[INFO] Copying files to /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/oozie-package_shell_scripts
[WARNING] Assembly file: /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/oozie-package_shell_scripts is not a regular file (it may be a directory). It cannot be attached to the project build for installation or deployment.
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (default) @ dump ---
[INFO] Executing tasks
     [copy] Copying 2 files to /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/oozie-package/oozie_app
    [mkdir] Created dir: /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/oozie-package/oozie_app/lib
     [copy] Copying 100 files to /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/oozie-package/oozie_app/lib
     [copy] Copying 1 file to /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/oozie-package/oozie_app/lib
      [tar] Building tar: /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/oozie-package.tar.gz
   [delete] Deleting directory /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/oozie-package
   [delete] Deleting directory /var/lib/jenkins/workspace/dnet-hadoop_CD_DUMP/dhp-graph-dump/dump/target/oozie-package_shell_scripts
[INFO] Executed tasks
[INFO] 
[INFO] --- exec-maven-plugin:1.5.0:exec (create-target-dir) @ dump ---
[INFO] 
[INFO] --- exec-maven-plugin:1.5.0:exec (upload-oozie-package) @ dump ---
[INFO] 
[INFO] --- exec-maven-plugin:1.5.0:exec (extract-and-upload-to-hdfs) @ dump ---
+ '[' 0 = 0 ']'
++ pwd
+ target_dir_root=/home/git.dnet/oozie-packages/oa/graph/dump/projectsubset/2025-09-16_14_25/oozie_app
+ hadoop fs -rm -r /user/git.dnet/oa/graph/dump/projectsubset
25/09/16 14:26:19 INFO fs.TrashPolicyDefault: Moved: 'hdfs://nameservice1/user/git.dnet/oa/graph/dump/projectsubset' to trash at: hdfs://nameservice1/user/git.dnet/.Trash/Current/user/git.dnet/oa/graph/dump/projectsubset
+ hadoop fs -mkdir -p /user/git.dnet/oa/graph/dump/projectsubset
+ hadoop fs -mkdir -p /user/git.dnet/oa/graph/dump/projectsubset/working_dir
+ hadoop fs -put /home/git.dnet/oozie-packages/oa/graph/dump/projectsubset/2025-09-16_14_25/oozie_app /user/git.dnet/oa/graph/dump/projectsubset
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  38.005 s
[INFO] Finished at: 2025-09-16T14:26:30Z
[INFO] ------------------------------------------------------------------------
+ ssh git.dnet@iis-cdh5-test-gw.ocean.icm.edu.pl 
                                                    cd /tmp2/git.dnet/dhp-graph-dump/PROD/2025-09-16 &&
                                                    sh deploy_release.sh oa/graph/dump/projectsubset /lib/dnet/PROD oa/graph/dump/projectsubset
                                                    
+ app_dir=oa/graph/dump/projectsubset
+ hdfs_target_root_dir=/lib/dnet/PROD
+ app_target_dir=oa/graph/dump/projectsubset
++ whoami
+ user_name=git.dnet
+ export HADOOP_USER_NAME=hdfs
+ HADOOP_USER_NAME=hdfs
+ hdfs_app_source_dir=/user/git.dnet/oa/graph/dump/projectsubset/oozie_app
+ hdfs_target_dir=/lib/dnet/PROD/oa/graph/dump/projectsubset
+ hdfs dfs -rm -r -f /lib/dnet/PROD/oa/graph/dump/projectsubset
25/09/16 14:26:33 INFO fs.TrashPolicyDefault: Moved: 'hdfs://nameservice1/lib/dnet/PROD/oa/graph/dump/projectsubset' to trash at: hdfs://nameservice1/user/hdfs/.Trash/Current/lib/dnet/PROD/oa/graph/dump/projectsubset
+ hdfs dfs -mkdir -p /lib/dnet/PROD/oa/graph/dump/projectsubset
+ hdfs dfs -mv /user/git.dnet/oa/graph/dump/projectsubset/oozie_app /lib/dnet/PROD/oa/graph/dump/projectsubset