Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on prd-ubuntu1804-builder-4c-4g-368 (ubuntu1804-builder-4c-4g) in workspace /w/workspace/policy-gui-sonar-prescan-script The recommended git tool is: NONE using credential onap-jenkins-ssh Wiping out workspace first. Cloning the remote Git repository Cloning repository git://cloud.onap.org/mirror/policy/gui > git init /w/workspace/policy-gui-sonar-prescan-script # timeout=10 Fetching upstream changes from git://cloud.onap.org/mirror/policy/gui > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_SSH to set credentials Gerrit user Verifying host key using manually-configured host key entries > git fetch --tags --progress -- git://cloud.onap.org/mirror/policy/gui +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git://cloud.onap.org/mirror/policy/gui # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision f2dbc9877de258fb4d2e6abdbb00f3a594e1fdfc (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f2dbc9877de258fb4d2e6abdbb00f3a594e1fdfc # timeout=10 Commit message: "Update snapshot and/or references of policy/gui to latest snapshots" > git rev-list --no-walk f2dbc9877de258fb4d2e6abdbb00f3a594e1fdfc # timeout=10 Run condition [Boolean condition] enabling prebuild for step [BuilderChain] Run condition [Not] preventing prebuild for step [BuilderChain] [policy-gui-sonar-prescan-script] $ /bin/bash /tmp/jenkins6453727952955192095.sh ---> ubuntu-latest-nodejs.sh WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease [15.9 kB] Get:4 http://apt.puppetlabs.com xenial InRelease [144 kB] Get:5 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease [20.8 kB] Get:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic/main amd64 Packages [524 B] Get:7 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic/main Translation-en [416 B] Get:8 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:9 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2717 kB] Get:10 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB] Get:11 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main amd64 Packages [14.0 kB] Get:12 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1019 kB] Get:13 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic/main Translation-en [1008 B] Get:14 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main Translation-en [516 kB] Get:15 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [467 kB] Get:16 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1317 kB] Get:17 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [9184 B] Get:18 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/restricted Translation-en [3584 B] Get:19 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8570 kB] Get:20 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [182 kB] Get:21 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1303 kB] Get:22 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [308 kB] Get:23 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [19.8 kB] Get:24 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [3928 B] Get:25 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/universe Translation-en [4941 kB] Get:26 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB] Get:27 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB] Get:28 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3045 kB] Get:29 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [554 kB] Get:30 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1347 kB] Get:31 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [187 kB] Get:32 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1915 kB] Get:33 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [421 kB] Get:34 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [25.6 kB] Get:35 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6088 B] Get:36 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [53.3 kB] Get:37 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [14.6 kB] Get:38 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [18.2 kB] Get:39 http://nova.clouds.archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [8668 B] Fetched 29.9 MB in 6s (5285 kB/s) Reading package lists... Building dependency tree... Reading state information... 181 packages can be upgraded. Run 'apt list --upgradable' to see them. WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... npm is already the newest version (3.5.2-0ubuntu4). nodejs is already the newest version (8.10.0~dfsg-2ubuntu0.4). The following packages were automatically installed and are no longer required: libmysqlclient20 mysql-common Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 181 not upgraded. /usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n /usr/local/lib └── n@9.2.0 installing : node-v20.11.0 mkdir : /usr/local/n/versions/node/20.11.0 fetch : https://nodejs.org/dist/v20.11.0/node-v20.11.0-linux-x64.tar.xz copying : node/20.11.0 node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by node) /usr/local/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/local/bin/node) installed : (with npm ) Note: the node command changed location and the old location may be remembered in your current shell. old : /usr/bin/node new : /usr/local/bin/node If "node --version" shows the old version then start a new shell, or reset the location hash with: hash -r (for bash, zsh, ash, dash, and ksh) rehash (for csh and tcsh) [policy-gui-sonar-prescan-script] $ /bin/bash /tmp/jenkins3292579740380986637.sh ---> python-tools-install.sh Setup pyenv: * system (set by /opt/pyenv/version) * 3.8.13 (set by /opt/pyenv/version) * 3.9.13 (set by /opt/pyenv/version) * 3.10.6 (set by /opt/pyenv/version) lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1KI5 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1KI5/bin to PATH Generating Requirements File Python 3.10.6 pip 23.3.2 from /tmp/venv-1KI5/lib/python3.10/site-packages/pip (python 3.10) appdirs==1.4.4 argcomplete==3.2.2 aspy.yaml==1.3.0 attrs==23.2.0 autopage==0.5.2 beautifulsoup4==4.12.3 boto3==1.34.29 botocore==1.34.29 bs4==0.0.2 cachetools==5.3.2 certifi==2023.11.17 cffi==1.16.0 cfgv==3.4.0 chardet==5.2.0 charset-normalizer==3.3.2 click==8.1.7 cliff==4.5.0 cmd2==2.4.3 cryptography==3.3.2 debtcollector==2.5.0 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 distlib==0.3.8 dnspython==2.5.0 docker==4.2.2 dogpile.cache==1.3.0 email-validator==2.1.0.post1 filelock==3.13.1 future==0.18.3 gitdb==4.0.11 GitPython==3.1.41 google-auth==2.27.0 httplib2==0.22.0 identify==2.5.33 idna==3.6 importlib-resources==1.5.0 iso8601==2.1.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.33 jsonpointer==2.4 jsonschema==4.21.1 jsonschema-specifications==2023.12.1 keystoneauth1==5.5.0 kubernetes==29.0.0 lftools==0.37.8 lxml==5.1.0 MarkupSafe==2.1.4 msgpack==1.0.7 multi_key_dict==2.0.3 munch==4.0.0 netaddr==0.10.1 netifaces==0.11.0 niet==1.4.2 nodeenv==1.8.0 oauth2client==4.1.3 oauthlib==3.2.2 openstacksdk==0.62.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.0 oslo.config==9.3.0 oslo.context==5.3.0 oslo.i18n==6.2.0 oslo.log==5.4.0 oslo.serialization==5.3.0 oslo.utils==7.0.0 packaging==23.2 pbr==6.0.0 platformdirs==4.1.0 prettytable==3.9.0 pyasn1==0.5.1 pyasn1-modules==0.3.0 pycparser==2.21 pygerrit2==2.0.15 PyGithub==2.1.1 pyinotify==0.9.6 PyJWT==2.8.0 PyNaCl==1.5.0 pyparsing==2.4.7 pyperclip==1.8.2 pyrsistent==0.20.0 python-cinderclient==9.4.0 python-dateutil==2.8.2 python-heatclient==3.4.0 python-jenkins==1.8.2 python-keystoneclient==5.3.0 python-magnumclient==4.3.0 python-novaclient==18.4.0 python-openstackclient==6.0.0 python-swiftclient==4.4.0 pytz==2023.3.post1 PyYAML==6.0.1 referencing==0.32.1 requests==2.31.0 requests-oauthlib==1.3.1 requestsexceptions==1.4.0 rfc3986==2.0.0 rpds-py==0.17.1 rsa==4.9 ruamel.yaml==0.18.5 ruamel.yaml.clib==0.2.8 s3transfer==0.10.0 simplejson==3.19.2 six==1.16.0 smmap==5.0.1 soupsieve==2.5 stevedore==5.1.0 tabulate==0.9.0 toml==0.10.2 tomlkit==0.12.3 tqdm==4.66.1 typing_extensions==4.9.0 tzdata==2023.4 urllib3==1.26.18 virtualenv==20.25.0 wcwidth==0.2.13 websocket-client==1.7.0 wrapt==1.16.0 xdg==6.0.0 xmltodict==0.13.0 yq==3.2.3 [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Boolean condition] enabling perform for step [BuilderChain] [policy-gui-sonar-prescan-script] $ /bin/sh -xe /tmp/jenkins2552544054954704554.sh + echo Using SonarCloud Using SonarCloud [policy-gui-sonar-prescan-script] $ /bin/sh -xe /tmp/jenkins1708573755496663113.sh + echo quiet=on Unpacking https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip to /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 on prd-ubuntu1804-builder-4c-4g-368 [policy-gui-sonar-prescan-script] $ /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DGERRIT_BRANCH=master -DPROJECT=policy/gui -DMVN=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn -DSTREAM=master "-DARCHIVE_ARTIFACTS=**/*.log **/hs_err_*.log **/target/**/feature.xml **/target/failsafe-reports/failsafe-summary.xml **/target/surefire-reports/*-output.txt " -DJAVA_OPTS= -DGERRIT_PROJECT=policy/gui -Dsha1=origin/master -DMAVEN_OPTS= -DGERRIT_REFSPEC=refs/heads/master -DM2_HOME=/w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 -DMAVEN_PARAMS= -DSONAR_MAVEN_GOAL=org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar --version Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 11.0.16, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: "unix" [policy-gui-sonar-prescan-script] $ /bin/sh -xe /tmp/jenkins3291004326357801965.sh + rm /home/jenkins/.wgetrc [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SET_JDK_VERSION=openjdk17 GIT_URL="git://cloud.onap.org/mirror" [EnvInject] - Variables injected successfully. [policy-gui-sonar-prescan-script] $ /bin/sh /tmp/jenkins11070505911106986262.sh ---> update-java-alternatives.sh ---> Updating Java version ---> Ubuntu/Debian system detected update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/java to provide /usr/bin/java (java) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64/bin/javac to provide /usr/bin/javac (javac) in manual mode update-alternatives: using /usr/lib/jvm/java-17-openjdk-amd64 to provide /usr/lib/jvm/java-openjdk (java_sdk_openjdk) in manual mode openjdk version "17.0.4" 2022-07-19 OpenJDK Runtime Environment (build 17.0.4+8-Ubuntu-118.04) OpenJDK 64-Bit Server VM (build 17.0.4+8-Ubuntu-118.04, mixed mode, sharing) JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties file path '/tmp/java.env' [EnvInject] - Variables injected successfully. [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content MAVEN_GOALS=clean install SONARCLOUD_JAVA_VERSION=openjdk17 SONARCLOUD_QUALITYGATE_WAIT=False SCAN_DEV_BRANCH=False PROJECT_ORGANIZATION=onap SONAR_HOST_URL=https://sonarcloud.io PROJECT_KEY=onap_policy-gui [EnvInject] - Variables injected successfully. provisioning config files... copy managed file [global-settings] to file:/w/workspace/policy-gui-sonar-prescan-script@tmp/config6385104819610259246tmp copy managed file [policy-gui-settings] to file:/w/workspace/policy-gui-sonar-prescan-script@tmp/config13035878359478277431tmp [policy-gui-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins14994746463356930309.sh ---> common-variables.sh --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r ---> maven-sonar.sh + set +u + export MAVEN_OPTS + declare -a params + params+=("--global-settings $GLOBAL_SETTINGS_FILE") + params+=("--settings $SETTINGS_FILE") + _JAVA_OPTIONS= + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn clean install -e -Dsonar --global-settings /w/workspace/policy-gui-sonar-prescan-script@tmp/config6385104819610259246tmp --settings /w/workspace/policy-gui-sonar-prescan-script@tmp/config13035878359478277431tmp --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r Picked up _JAVA_OPTIONS: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 17.0.4, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] policy-gui [pom] [INFO] gui-common [pom] [INFO] editors [pom] [INFO] gui-editor-apex [jar] [INFO] gui-acm [jar] [INFO] runtime [pom] [INFO] gui-server [jar] [INFO] gui-packages [pom] [INFO] [INFO] -------------------< org.onap.policy.gui:policy-gui >------------------- [INFO] Building policy-gui 3.1.1-SNAPSHOT [1/8] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ policy-gui --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ policy-gui --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ policy-gui --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ policy-gui --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-gui-sonar-prescan-script/../../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ policy-gui --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ policy-gui --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ policy-gui --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ policy-gui --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ policy-gui --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ policy-gui --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ policy-gui --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ policy-gui --- [INFO] Failsafe report directory: /w/workspace/policy-gui-sonar-prescan-script/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ policy-gui --- [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/pom.xml to /tmp/r/org/onap/policy/gui/policy-gui/3.1.1-SNAPSHOT/policy-gui-3.1.1-SNAPSHOT.pom [INFO] [INFO] -------------------< org.onap.policy.gui:gui-common >------------------- [INFO] Building gui-common 3.1.1-SNAPSHOT [2/8] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ gui-common --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ gui-common --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ gui-common --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ gui-common --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-gui-sonar-prescan-script/gui-common/../../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ gui-common --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ gui-common --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ gui-common --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ gui-common --- [INFO] [INFO] --- maven-assembly-plugin:3.6.0:single (make shared resources) @ gui-common --- [INFO] Reading assembly descriptor: src/main/assembly/resources.xml [INFO] Building zip: /w/workspace/policy-gui-sonar-prescan-script/gui-common/target/gui-common-3.1.1-SNAPSHOT-resources.zip [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ gui-common --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ gui-common --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ gui-common --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ gui-common --- [INFO] Failsafe report directory: /w/workspace/policy-gui-sonar-prescan-script/gui-common/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ gui-common --- [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/gui-common/pom.xml to /tmp/r/org/onap/policy/gui/gui-common/3.1.1-SNAPSHOT/gui-common-3.1.1-SNAPSHOT.pom [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/gui-common/target/gui-common-3.1.1-SNAPSHOT-resources.zip to /tmp/r/org/onap/policy/gui/gui-common/3.1.1-SNAPSHOT/gui-common-3.1.1-SNAPSHOT-resources.zip [INFO] [INFO] ----------------< org.onap.policy.gui.editors:editors >----------------- [INFO] Building editors 3.1.1-SNAPSHOT [3/8] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ editors --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ editors --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ editors --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ editors --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-gui-sonar-prescan-script/gui-editors/../../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ editors --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ editors --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ editors --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ editors --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ editors --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ editors --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ editors --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ editors --- [INFO] Failsafe report directory: /w/workspace/policy-gui-sonar-prescan-script/gui-editors/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ editors --- [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/gui-editors/pom.xml to /tmp/r/org/onap/policy/gui/editors/editors/3.1.1-SNAPSHOT/editors-3.1.1-SNAPSHOT.pom [INFO] [INFO] ------------< org.onap.policy.gui.editors:gui-editor-apex >------------- [INFO] Building gui-editor-apex 3.1.1-SNAPSHOT [4/8] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ gui-editor-apex --- [INFO] Deleting /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp (includes = [package-lock.json, dist/bundle.js], excludes = []) [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ gui-editor-apex --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ gui-editor-apex --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ gui-editor-apex --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/../../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ gui-editor-apex --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ gui-editor-apex --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- frontend-maven-plugin:1.11.3:install-node-and-npm (install node) @ gui-editor-apex --- [INFO] Installing node version v14.17.0 [INFO] Downloading https://nodejs.org/dist/v14.17.0/node-v14.17.0-linux-x64.tar.gz to /tmp/r/com/github/eirslett/node/14.17.0/node-14.17.0-linux-x64.tar.gz [INFO] No proxies configured [INFO] No proxy was configured, downloading directly [INFO] Unpacking /tmp/r/com/github/eirslett/node/14.17.0/node-14.17.0-linux-x64.tar.gz into /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node/tmp [INFO] Copying node binary from /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node/tmp/node-v14.17.0-linux-x64/bin/node to /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node/node [INFO] Installed node locally. [INFO] Installing npm version 6.14.5 [INFO] Downloading https://nexus3.onap.org/repository/npm.public/npm/-/npm-6.14.5.tgz to /tmp/r/com/github/eirslett/npm/6.14.5/npm-6.14.5.tar.gz [INFO] No proxies configured [INFO] No proxy was configured, downloading directly [INFO] Unpacking /tmp/r/com/github/eirslett/npm/6.14.5/npm-6.14.5.tar.gz into /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node/node_modules [INFO] Installed npm locally. [INFO] [INFO] --- frontend-maven-plugin:1.11.3:npm (npm install) @ gui-editor-apex --- [INFO] Running 'npm install' in /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp [INFO] npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated [INFO] npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated [INFO] npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead [INFO] npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead [INFO] npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added [INFO] npm WARN deprecated domexception@2.0.1: Use your platform's native DOMException instead [INFO] npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. [INFO] npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated [INFO] npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated [INFO] added 1050 packages from 516 contributors and audited 1051 packages in 24.177s [INFO] npm notice created a lockfile as package-lock.json. You should commit this file. [INFO] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): [INFO] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) [INFO] npm WARN policy-gui-editor@1.0.0 No repository field. [INFO] npm WARN policy-gui-editor@1.0.0 No license field. [INFO] [INFO] [INFO] 68 packages are looking for funding [INFO] run `npm fund` for details [INFO] [INFO] found 0 vulnerabilities [INFO] [INFO] [INFO] --- frontend-maven-plugin:1.11.3:webpack (webpack build) @ gui-editor-apex --- [INFO] Running 'webpack.js ' in /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp [INFO] asset bundle.js 135 KiB [emitted] [minimized] (name: main) [INFO] orphan modules 209 KiB [orphan] 11 modules [INFO] runtime modules 670 bytes 3 modules [INFO] cacheable modules 304 KiB [INFO] ./js/ApexMain.js + 3 modules 14.2 KiB [built] [code generated] [INFO] ./js/ApexPageControl.js 10.6 KiB [built] [code generated] [INFO] ./js/ApexAjax.js 4.48 KiB [built] [code generated] [INFO] ./js/ApexNewModelForm.js 8.95 KiB [built] [code generated] [INFO] ./js/ApexContextSchemaTab.js 5.52 KiB [built] [code generated] [INFO] ./js/ApexUtils.js 4.5 KiB [built] [code generated] [INFO] ./js/ApexKeyInformationTab.js 5.15 KiB [built] [code generated] [INFO] ./js/ApexFormUtils.js 1.91 KiB [built] [code generated] [INFO] ./js/ApexEventTab.js 6.08 KiB [built] [code generated] [INFO] ./js/ApexTaskTab.js 5.77 KiB [built] [code generated] [INFO] ./js/ApexPolicyTab.js 9.51 KiB [built] [code generated] [INFO] + 4 modules [INFO] webpack 5.90.0 compiled successfully in 2319 ms [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ gui-editor-apex --- [INFO] Copying 2 resources from src/main/resources to target/classes [INFO] [INFO] --- maven-resources-plugin:3.3.1:copy-resources (copy frontend resources) @ gui-editor-apex --- [INFO] Copying 443 resources from src/main/webapp/dist to target/classes/static [INFO] Copying 1 resource from src/main/webapp to target/classes/static [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ gui-editor-apex --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 32 source files with javac [debug release 17] to target/classes [INFO] /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/plugin/upload/PolicyUploadHandler.java: /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/plugin/upload/PolicyUploadHandler.java uses or overrides a deprecated API. [INFO] /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/plugin/upload/PolicyUploadHandler.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ gui-editor-apex --- [INFO] Copying 3 resources from src/test/resources to target/test-classes [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ gui-editor-apex --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 12 source files with javac [debug release 17] to target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ gui-editor-apex --- [INFO] Surefire report directory: /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/target/surefire-reports [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- Picked up _JAVA_OPTIONS: [INFO] Running org.onap.policy.gui.editors.apex.rest.handling.bean.BeansTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.215 s -- in org.onap.policy.gui.editors.apex.rest.handling.bean.BeansTest [INFO] Running org.onap.policy.gui.editors.apex.rest.handling.RestSessionTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.563 s -- in org.onap.policy.gui.editors.apex.rest.handling.RestSessionTest [INFO] Running org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.UploadPolicyRequestDtoTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s -- in org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.UploadPolicyRequestDtoTest [INFO] Running org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.PolicyUploadEnabledTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:21.366Z INFO 3223 --- [ main] .p.g.e.a.r.h.p.u.PolicyUploadEnabledTest : Starting PolicyUploadEnabledTest using Java 17.0.4 with PID 3223 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex) 2024-01-27T19:56:21.369Z INFO 3223 --- [ main] .p.g.e.a.r.h.p.u.PolicyUploadEnabledTest : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:22.677Z INFO 3223 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:22.853Z INFO 3223 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2024-01-27T19:56:22.853Z INFO 3223 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2024-01-27T19:56:22.855Z INFO 3223 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms 2024-01-27T19:56:22.888Z INFO 3223 --- [ main] .p.g.e.a.r.h.p.u.PolicyUploadEnabledTest : Started PolicyUploadEnabledTest in 1.914 seconds (process running for 4.335) OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 2024-01-27T19:56:23.713Z WARN 3223 --- [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.gui.editors.apex.rest.handling.ApexEditorRestResource [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.309 s -- in org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.PolicyUploadEnabledTest [INFO] Running org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.PolicyUploadHandlerTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.582 s -- in org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.PolicyUploadHandlerTest [INFO] Running org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.PolicyUploadDisabledTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:24.592Z INFO 3223 --- [ main] p.g.e.a.r.h.p.u.PolicyUploadDisabledTest : Starting PolicyUploadDisabledTest using Java 17.0.4 with PID 3223 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex) 2024-01-27T19:56:24.592Z INFO 3223 --- [ main] p.g.e.a.r.h.p.u.PolicyUploadDisabledTest : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:24.944Z INFO 3223 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:25.008Z INFO 3223 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2024-01-27T19:56:25.008Z INFO 3223 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2024-01-27T19:56:25.009Z INFO 3223 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms 2024-01-27T19:56:25.018Z INFO 3223 --- [ main] p.g.e.a.r.h.p.u.PolicyUploadDisabledTest : Started PolicyUploadDisabledTest in 0.487 seconds (process running for 6.465) 2024-01-27T19:56:25.032Z WARN 3223 --- [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.gui.editors.apex.rest.handling.ApexEditorRestResource [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.629 s -- in org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.PolicyUploadDisabledTest [INFO] Running org.onap.policy.gui.editors.apex.rest.handling.ApexEditorRestResourceTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:25.182Z INFO 3223 --- [ main] o.p.g.e.a.r.h.ApexEditorRestResourceTest : Starting ApexEditorRestResourceTest using Java 17.0.4 with PID 3223 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex) 2024-01-27T19:56:25.182Z INFO 3223 --- [ main] o.p.g.e.a.r.h.ApexEditorRestResourceTest : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:25.360Z INFO 3223 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:25.405Z INFO 3223 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2024-01-27T19:56:25.405Z INFO 3223 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2024-01-27T19:56:25.406Z INFO 3223 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms 2024-01-27T19:56:25.412Z INFO 3223 --- [ main] o.p.g.e.a.r.h.ApexEditorRestResourceTest : Started ApexEditorRestResourceTest in 0.258 seconds (process running for 6.859) 2024-01-27T19:56:25.421Z WARN 3223 --- [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.gui.editors.apex.rest.handling.ApexEditorRestResource result: FAILED Null or invalid output information for output named "so0" in state "state" for policy "Hello9:0.0.2". The policy and state were created, but there was an error adding the output. The policy has only been partially defined. [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.980 s -- in org.onap.policy.gui.editors.apex.rest.handling.ApexEditorRestResourceTest [INFO] Running org.onap.policy.gui.editors.apex.rest.handling.KeyInfoHandlerTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.353 s -- in org.onap.policy.gui.editors.apex.rest.handling.KeyInfoHandlerTest [INFO] Running org.onap.policy.gui.editors.apex.rest.handling.RestUtilsTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s -- in org.onap.policy.gui.editors.apex.rest.handling.RestUtilsTest [INFO] Running org.onap.policy.gui.editors.apex.rest.RestInterfaceTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 s -- in org.onap.policy.gui.editors.apex.rest.RestInterfaceTest [INFO] Running org.onap.policy.gui.editors.apex.SpringContextTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:26.543Z INFO 3223 --- [ main] o.o.p.g.editors.apex.SpringContextTest : Starting SpringContextTest using Java 17.0.4 with PID 3223 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex) 2024-01-27T19:56:26.543Z INFO 3223 --- [ main] o.o.p.g.editors.apex.SpringContextTest : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:26.680Z INFO 3223 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:26.712Z INFO 3223 --- [ main] o.o.p.g.editors.apex.SpringContextTest : Started SpringContextTest in 0.184 seconds (process running for 8.159) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.194 s -- in org.onap.policy.gui.editors.apex.SpringContextTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 44, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ gui-editor-apex --- [INFO] Loading execution data file /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/../../target/code-coverage/jacoco-ut.exec [INFO] Analyzed bundle 'gui-editor-apex' with 31 classes [INFO] [INFO] --- frontend-maven-plugin:1.11.3:npm (npm test) @ gui-editor-apex --- [INFO] Running 'npm test' in /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp [INFO] [INFO] > policy-gui-editor@1.0.0 test /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp [INFO] > jest --coverage [INFO] [INFO] PASS js/__test__/ApexPolicyTab.test.js [INFO] PASS js/__test__/ApexPolicyEditForm_State.test.js [INFO] PASS js/__test__/ApexPolicyEditForm.test.js [INFO] ● Console [INFO] [INFO] console.warn [INFO] Invalid value ("undefined") passed as a value for "uuid" for PolicyForm form. [INFO] [INFO] 154 | } [INFO] 155 | if (!policy.uuid || policy.uuid == "") { [INFO] > 156 | console.warn("Invalid value (\"" + policy.uuid [INFO] | ^ [INFO] 157 | + "\") passed as a value for \"uuid\" for PolicyForm form."); [INFO] 158 | } [INFO] 159 | } [INFO] [INFO] at editPolicyForm_activate (js/ApexPolicyEditForm.js:156:25) [INFO] at callback (js/ApexPolicyEditForm.js:117:21) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:67:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:107:25) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:67:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:94:21) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:67:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:81:17) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:67:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at editPolicyForm_editPolicy_inner (js/ApexPolicyEditForm.js:68:13) [INFO] at callback (js/ApexPolicyEditForm.js:52:9) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:67:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:67:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editPolicyForm_viewPolicy (js/ApexPolicyEditForm.js:51:24) [INFO] [INFO] console.warn [INFO] Provisioning dropdown list editEventFormSelectFirstState_dropdownList that is disabled, but there is no value selected! [INFO] [INFO] 115 | } [INFO] 116 | if (disabled && !selected) { [INFO] > 117 | console.warn("Provisioning dropdown list " + divname + " that is disabled, but there is no value selected!") [INFO] | ^ [INFO] 118 | } [INFO] 119 | var subdivs = retdiv.querySelectorAll("#" + divname + " > div, button"); // get [INFO] 120 | // direct [INFO] [INFO] at dropdownList_ChangeOptions (js/dropdownList.js:117:17) [INFO] at dropdownList (js/dropdownList.js:101:12) [INFO] at editPolicyForm_activate (js/ApexPolicyEditForm.js:321:43) [INFO] at callback (js/ApexPolicyEditForm.js:117:21) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:67:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:107:25) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:67:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:94:21) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:67:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:81:17) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:67:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at editPolicyForm_editPolicy_inner (js/ApexPolicyEditForm.js:68:13) [INFO] at callback (js/ApexPolicyEditForm.js:52:9) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:67:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:67:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] [INFO] console.warn [INFO] Invalid value ("undefined") passed as a value for "uuid" for PolicyForm form. [INFO] [INFO] 154 | } [INFO] 155 | if (!policy.uuid || policy.uuid == "") { [INFO] > 156 | console.warn("Invalid value (\"" + policy.uuid [INFO] | ^ [INFO] 157 | + "\") passed as a value for \"uuid\" for PolicyForm form."); [INFO] 158 | } [INFO] 159 | } [INFO] [INFO] at editPolicyForm_activate (js/ApexPolicyEditForm.js:156:25) [INFO] at callback (js/ApexPolicyEditForm.js:117:21) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:78:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:107:25) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:78:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:94:21) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:78:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:81:17) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:78:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at editPolicyForm_editPolicy_inner (js/ApexPolicyEditForm.js:68:13) [INFO] at callback (js/ApexPolicyEditForm.js:60:9) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:78:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:78:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editPolicyForm_editPolicy (js/ApexPolicyEditForm.js:59:24) [INFO] [INFO] console.warn [INFO] Provisioning dropdown list editEventFormSelectFirstState_dropdownList that is disabled, but there is no value selected! [INFO] [INFO] 115 | } [INFO] 116 | if (disabled && !selected) { [INFO] > 117 | console.warn("Provisioning dropdown list " + divname + " that is disabled, but there is no value selected!") [INFO] | ^ [INFO] 118 | } [INFO] 119 | var subdivs = retdiv.querySelectorAll("#" + divname + " > div, button"); // get [INFO] 120 | // direct [INFO] [INFO] at dropdownList_ChangeOptions (js/dropdownList.js:117:17) [INFO] at dropdownList (js/dropdownList.js:101:12) [INFO] at editPolicyForm_activate (js/ApexPolicyEditForm.js:321:43) [INFO] at callback (js/ApexPolicyEditForm.js:117:21) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:88:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:107:25) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:88:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:94:21) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:88:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:81:17) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:88:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at editPolicyForm_editPolicy_inner (js/ApexPolicyEditForm.js:68:13) [INFO] at Object. (js/__test__/ApexPolicyEditForm.test.js:93:5) [INFO] [INFO] console.error [INFO] Invalid operation "null" passed to editPolicyForm_submitPressed function. Edit failed [INFO] [INFO] 715 | var createEditOrView = document.getElementById("editPolicyForm").getAttribute("createEditOrView"); [INFO] 716 | if (!createEditOrView || createEditOrView == "" || (createEditOrView != "CREATE" && createEditOrView != "EDIT")) { [INFO] > 717 | console.error("Invalid operation \"" + createEditOrView [INFO] | ^ [INFO] 718 | + "\" passed to editPolicyForm_submitPressed function. Edit failed"); [INFO] 719 | apexUtils_removeElement("editPolicyFormDiv"); [INFO] 720 | policyTab_reset(); [INFO] [INFO] at editPolicyForm_submitPressed (js/ApexPolicyEditForm.js:717:17) [INFO] at Object. (js/__test__/ApexPolicyEditForm.test.js:124:5) [INFO] [INFO] console.error [INFO] No Name is specified for the policy [INFO] [INFO] 751 | var name = document.getElementById('editPolicyFormNameInput').value; [INFO] 752 | if (name == null || name == "") { [INFO] > 753 | console.error("No Name is specified for the policy"); [INFO] | ^ [INFO] 754 | alert("No Name is specified for the policy"); [INFO] 755 | return null; [INFO] 756 | } [INFO] [INFO] at editPolicyForm_getPolicyBean (js/ApexPolicyEditForm.js:753:17) [INFO] at editPolicyForm_submitPressed (js/ApexPolicyEditForm.js:724:22) [INFO] at Object. (js/__test__/ApexPolicyEditForm.test.js:134:5) [INFO] [INFO] console.error [INFO] Error: Not implemented: window.alert [INFO] at module.exports (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17) [INFO] at alert (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:866:7) [INFO] at editPolicyForm_getPolicyBean (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/js/ApexPolicyEditForm.js:754:9) [INFO] at editPolicyForm_submitPressed (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/js/ApexPolicyEditForm.js:724:22) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:444:39 [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:452:13 [INFO] at mock_activate (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:166:19) [INFO] at Object. (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/js/__test__/ApexPolicyEditForm.test.js:134:5) [INFO] at Object.asyncJestTest (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:45:12 [INFO] at new Promise () [INFO] at mapper (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:28:19) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:75:41 [INFO] at processTicksAndRejections (internal/process/task_queues.js:95:5) undefined [INFO] [INFO] 752 | if (name == null || name == "") { [INFO] 753 | console.error("No Name is specified for the policy"); [INFO] > 754 | alert("No Name is specified for the policy"); [INFO] | ^ [INFO] 755 | return null; [INFO] 756 | } [INFO] 757 | var version = document.getElementById('editPolicyFormVersionInput').value; [INFO] [INFO] at VirtualConsole. (node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/virtual-console.js:29:45) [INFO] at editPolicyForm_getPolicyBean (js/ApexPolicyEditForm.js:754:9) [INFO] at editPolicyForm_submitPressed (js/ApexPolicyEditForm.js:724:22) [INFO] at Object. (js/__test__/ApexPolicyEditForm.test.js:134:5) [INFO] [INFO] console.warn [INFO] Invalid operation ("CREATE") specified for PolicyForm form. Only "Create", "Edit" and "View" operations are supported [INFO] [INFO] 159 | } [INFO] 160 | } else { [INFO] > 161 | console.warn("Invalid operation (\"" + operation [INFO] | ^ [INFO] 162 | + "\") specified for PolicyForm form. Only \"Create\", \"Edit\" and \"View\" operations are supported"); [INFO] 163 | } [INFO] 164 | [INFO] [INFO] at editPolicyForm_activate (js/ApexPolicyEditForm.js:161:17) [INFO] at Object. (js/__test__/ApexPolicyEditForm.test.js:177:5) [INFO] [INFO] console.warn [INFO] Invalid operation ("TEST") specified for PolicyForm form. Only "Create", "Edit" and "View" operations are supported [INFO] [INFO] 159 | } [INFO] 160 | } else { [INFO] > 161 | console.warn("Invalid operation (\"" + operation [INFO] | ^ [INFO] 162 | + "\") specified for PolicyForm form. Only \"Create\", \"Edit\" and \"View\" operations are supported"); [INFO] 163 | } [INFO] 164 | [INFO] [INFO] at editPolicyForm_activate (js/ApexPolicyEditForm.js:161:17) [INFO] at Object. (js/__test__/ApexPolicyEditForm.test.js:193:5) [INFO] [INFO] console.warn [INFO] Provisioning dropdown list editEventFormSelectFirstState_dropdownList that is disabled, but there is no value selected! [INFO] [INFO] 115 | } [INFO] 116 | if (disabled && !selected) { [INFO] > 117 | console.warn("Provisioning dropdown list " + divname + " that is disabled, but there is no value selected!") [INFO] | ^ [INFO] 118 | } [INFO] 119 | var subdivs = retdiv.querySelectorAll("#" + divname + " > div, button"); // get [INFO] 120 | // direct [INFO] [INFO] at dropdownList_ChangeOptions (js/dropdownList.js:117:17) [INFO] at dropdownList (js/dropdownList.js:101:12) [INFO] at editPolicyForm_activate (js/ApexPolicyEditForm.js:321:43) [INFO] at Object. (js/__test__/ApexPolicyEditForm.test.js:193:5) [INFO] [INFO] console.warn [INFO] Provisioning dropdown list editEventFormSelectFirstState_dropdownList that is disabled, but there is no value selected! [INFO] [INFO] 115 | } [INFO] 116 | if (disabled && !selected) { [INFO] > 117 | console.warn("Provisioning dropdown list " + divname + " that is disabled, but there is no value selected!") [INFO] | ^ [INFO] 118 | } [INFO] 119 | var subdivs = retdiv.querySelectorAll("#" + divname + " > div, button"); // get [INFO] 120 | // direct [INFO] [INFO] at dropdownList_ChangeOptions (js/dropdownList.js:117:17) [INFO] at dropdownList (js/dropdownList.js:101:12) [INFO] at editPolicyForm_activate (js/ApexPolicyEditForm.js:321:43) [INFO] at callback (js/ApexPolicyEditForm.js:117:21) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:88:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:107:25) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:88:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:94:21) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:88:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexPolicyEditForm.js:81:17) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexPolicyEditForm.test.js:88:14) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at editPolicyForm_editPolicy_inner (js/ApexPolicyEditForm.js:68:13) [INFO] at Object. (js/__test__/ApexPolicyEditForm.test.js:200:5) [INFO] [INFO] PASS js/__test__/ApexAjax.test.js [INFO] PASS js/__test__/ApexTaskEditForm.test.js [INFO] ● Console [INFO] [INFO] console.warn [INFO] Invalid operation ("CREATE") specified for TaskForm form. Only "Create", "Edit" and "View" operations are supported [INFO] [INFO] 126 | } [INFO] 127 | } else { [INFO] > 128 | console.warn("Invalid operation (\"" + operation [INFO] | ^ [INFO] 129 | + "\") specified for TaskForm form. Only \"Create\", \"Edit\" and \"View\" operations are supported"); [INFO] 130 | } [INFO] 131 | [INFO] [INFO] at editTaskForm_activate (js/ApexTaskEditForm.js:128:17) [INFO] at Object. (js/__test__/ApexTaskEditForm.test.js:67:4) [INFO] [INFO] console.warn [INFO] Invalid operation ("CREATE") specified for TaskForm form. Only "Create", "Edit" and "View" operations are supported [INFO] [INFO] 126 | } [INFO] 127 | } else { [INFO] > 128 | console.warn("Invalid operation (\"" + operation [INFO] | ^ [INFO] 129 | + "\") specified for TaskForm form. Only \"Create\", \"Edit\" and \"View\" operations are supported"); [INFO] 130 | } [INFO] 131 | [INFO] [INFO] at editTaskForm_activate (js/ApexTaskEditForm.js:128:17) [INFO] at callback (js/ApexTaskEditForm.js:46:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexTaskEditForm.test.js:80:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at editTaskForm_createTask (js/ApexTaskEditForm.js:35:13) [INFO] at Object. (js/__test__/ApexTaskEditForm.test.js:83:4) [INFO] [INFO] console.warn [INFO] Invalid value ("undefined") passed as a value for "uuid" for TaskForm form. [INFO] [INFO] 122 | } [INFO] 123 | if (!task.uuid || task.uuid == "") { [INFO] > 124 | console.warn("Invalid value (\"" + task.uuid + "\") passed as a value for \"uuid\" for TaskForm form."); [INFO] | ^ [INFO] 125 | } [INFO] 126 | } [INFO] 127 | } else { [INFO] [INFO] at editTaskForm_activate (js/ApexTaskEditForm.js:124:25) [INFO] at callback (js/ApexTaskEditForm.js:87:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexTaskEditForm.test.js:105:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexTaskEditForm.js:76:17) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexTaskEditForm.test.js:105:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexTaskEditForm.test.js:105:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editTaskForm_editTask_inner (js/ApexTaskEditForm.js:72:24) [INFO] at Object. (js/__test__/ApexTaskEditForm.test.js:111:4) [INFO] [INFO] console.warn [INFO] Provisioning dropdown list editTaskFormContextValue_a9491929-98fc-44eb-803c-2d76104e652d_dropdownList that is disabled, but there is no value selected! [INFO] [INFO] 115 | } [INFO] 116 | if (disabled && !selected) { [INFO] > 117 | console.warn("Provisioning dropdown list " + divname + " that is disabled, but there is no value selected!") [INFO] | ^ [INFO] 118 | } [INFO] 119 | var subdivs = retdiv.querySelectorAll("#" + divname + " > div, button"); // get [INFO] 120 | // direct [INFO] [INFO] at dropdownList_ChangeOptions (js/dropdownList.js:117:17) [INFO] at dropdownList (js/dropdownList.js:101:12) [INFO] at editTaskForm_addTaskContext (js/ApexTaskEditForm.js:527:33) [INFO] at Object. (js/__test__/ApexTaskEditForm.test.js:125:4) [INFO] [INFO] console.log [INFO] undefined [INFO] [INFO] at Object. (js/__test__/ApexTaskEditForm.test.js:195:12) [INFO] [INFO] PASS js/__test__/ApexContextAlbumEditForm.test.js [INFO] ● Console [INFO] [INFO] console.warn [INFO] Invalid operation ("CREATE") specified for ContextAlbumForm form. Only "Create", "Edit" and "View" operations are supported [INFO] [INFO] 157 | } else { [INFO] 158 | console [INFO] > 159 | .warn("Invalid operation (\"" [INFO] | ^ [INFO] 160 | + operation [INFO] 161 | + "\") specified for ContextAlbumForm form. Only \"Create\", \"Edit\" and \"View\" operations are supported"); [INFO] 162 | } [INFO] [INFO] at editContextAlbumForm_activate (js/ApexContextAlbumEditForm.js:159:18) [INFO] at Object. (js/__test__/ApexContextAlbumEditForm.test.js:53:4) [INFO] [INFO] console.warn [INFO] Invalid operation ("CREATE") specified for ContextAlbumForm form. Only "Create", "Edit" and "View" operations are supported [INFO] [INFO] 157 | } else { [INFO] 158 | console [INFO] > 159 | .warn("Invalid operation (\"" [INFO] | ^ [INFO] 160 | + operation [INFO] 161 | + "\") specified for ContextAlbumForm form. Only \"Create\", \"Edit\" and \"View\" operations are supported"); [INFO] 162 | } [INFO] [INFO] at editContextAlbumForm_activate (js/ApexContextAlbumEditForm.js:159:18) [INFO] at callback (js/ApexContextAlbumEditForm.js:43:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:60:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at editContextAlbumForm_createContextAlbum (js/ApexContextAlbumEditForm.js:33:5) [INFO] at Object. (js/__test__/ApexContextAlbumEditForm.test.js:63:4) [INFO] [INFO] console.warn [INFO] Invalid value ("undefined") passed as a value for "uuid" for ContextAlbumForm form. [INFO] [INFO] 132 | } [INFO] 133 | if (!contextAlbum.uuid || contextAlbum.uuid == "") { [INFO] > 134 | console.warn("Invalid value (\"" + contextAlbum.uuid [INFO] | ^ [INFO] 135 | + "\") passed as a value for \"uuid\" for ContextAlbumForm form."); [INFO] 136 | } [INFO] 137 | if (createEditOrView == "VIEW") { [INFO] [INFO] at editContextAlbumForm_activate (js/ApexContextAlbumEditForm.js:134:25) [INFO] at callback (js/ApexContextAlbumEditForm.js:75:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexContextAlbumEditForm.js:65:9) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editContextAlbumForm_viewContextAlbum (js/ApexContextAlbumEditForm.js:61:5) [INFO] at Object. (js/__test__/ApexContextAlbumEditForm.test.js:89:4) [INFO] [INFO] console.warn [INFO] Invalid value ("undefined") passed as a value for "description" for ContextAlbumForm form. [INFO] [INFO] 137 | if (createEditOrView == "VIEW") { [INFO] 138 | if (!contextAlbum.description) { [INFO] > 139 | console.warn("Invalid value (\"" + contextAlbum.description [INFO] | ^ [INFO] 140 | + "\") passed as a value for \"description\" for ContextAlbumForm form."); [INFO] 141 | } [INFO] 142 | if (!contextAlbum.scope || contextAlbum.scope == "") { [INFO] [INFO] at editContextAlbumForm_activate (js/ApexContextAlbumEditForm.js:139:29) [INFO] at callback (js/ApexContextAlbumEditForm.js:75:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexContextAlbumEditForm.js:65:9) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editContextAlbumForm_viewContextAlbum (js/ApexContextAlbumEditForm.js:61:5) [INFO] at Object. (js/__test__/ApexContextAlbumEditForm.test.js:89:4) [INFO] [INFO] console.warn [INFO] Invalid value ("undefined") passed as a value for "scope" for ContextAlbumForm form. [INFO] [INFO] 141 | } [INFO] 142 | if (!contextAlbum.scope || contextAlbum.scope == "") { [INFO] > 143 | console.warn("Invalid value (\"" + contextAlbum.scope [INFO] | ^ [INFO] 144 | + "\") passed as a value for \"scope\" for ContextAlbumForm form."); [INFO] 145 | } [INFO] 146 | if (!contextAlbum.itemSchema || !contextAlbum.itemSchema.name || contextAlbum.itemSchema.name == "" [INFO] [INFO] at editContextAlbumForm_activate (js/ApexContextAlbumEditForm.js:143:29) [INFO] at callback (js/ApexContextAlbumEditForm.js:75:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexContextAlbumEditForm.js:65:9) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editContextAlbumForm_viewContextAlbum (js/ApexContextAlbumEditForm.js:61:5) [INFO] at Object. (js/__test__/ApexContextAlbumEditForm.test.js:89:4) [INFO] [INFO] console.warn [INFO] Invalid value ("[object Object]") passed as a value for "itemSchema" for ContextAlbumForm form. [INFO] [INFO] 146 | if (!contextAlbum.itemSchema || !contextAlbum.itemSchema.name || contextAlbum.itemSchema.name == "" [INFO] 147 | || !contextAlbum.itemSchema.version || contextAlbum.itemSchema.version == "") { [INFO] > 148 | console.warn("Invalid value (\"" + contextAlbum.itemSchema [INFO] | ^ [INFO] 149 | + "\") passed as a value for \"itemSchema\" for ContextAlbumForm form."); [INFO] 150 | } [INFO] 151 | if (!contextAlbum.isWritable || contextAlbum.isWritable == "") { [INFO] [INFO] at editContextAlbumForm_activate (js/ApexContextAlbumEditForm.js:148:29) [INFO] at callback (js/ApexContextAlbumEditForm.js:75:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexContextAlbumEditForm.js:65:9) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editContextAlbumForm_viewContextAlbum (js/ApexContextAlbumEditForm.js:61:5) [INFO] at Object. (js/__test__/ApexContextAlbumEditForm.test.js:89:4) [INFO] [INFO] console.warn [INFO] Invalid value ("undefined") passed as a value for "isWritable" for ContextAlbumForm form. [INFO] [INFO] 150 | } [INFO] 151 | if (!contextAlbum.isWritable || contextAlbum.isWritable == "") { [INFO] > 152 | console.warn("Invalid value (\"" + contextAlbum.isWritable [INFO] | ^ [INFO] 153 | + "\") passed as a value for \"isWritable\" for ContextAlbumForm form."); [INFO] 154 | } [INFO] 155 | } [INFO] [INFO] at editContextAlbumForm_activate (js/ApexContextAlbumEditForm.js:152:29) [INFO] at callback (js/ApexContextAlbumEditForm.js:75:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexContextAlbumEditForm.js:65:9) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editContextAlbumForm_viewContextAlbum (js/ApexContextAlbumEditForm.js:61:5) [INFO] at Object. (js/__test__/ApexContextAlbumEditForm.test.js:89:4) [INFO] [INFO] console.warn [INFO] Provisioning dropdown list editContextAlbumFormAlbumItemSchema_dropdownList that is disabled, but there is no value selected! [INFO] [INFO] 115 | } [INFO] 116 | if (disabled && !selected) { [INFO] > 117 | console.warn("Provisioning dropdown list " + divname + " that is disabled, but there is no value selected!") [INFO] | ^ [INFO] 118 | } [INFO] 119 | var subdivs = retdiv.querySelectorAll("#" + divname + " > div, button"); // get [INFO] 120 | // direct [INFO] [INFO] at dropdownList_ChangeOptions (js/dropdownList.js:117:17) [INFO] at dropdownList (js/dropdownList.js:101:12) [INFO] at editContextAlbumForm_activate (js/ApexContextAlbumEditForm.js:321:21) [INFO] at callback (js/ApexContextAlbumEditForm.js:75:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexContextAlbumEditForm.js:65:9) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:86:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editContextAlbumForm_viewContextAlbum (js/ApexContextAlbumEditForm.js:61:5) [INFO] at Object. (js/__test__/ApexContextAlbumEditForm.test.js:89:4) [INFO] [INFO] console.warn [INFO] Invalid value ("undefined") passed as a value for "uuid" for ContextAlbumForm form. [INFO] [INFO] 132 | } [INFO] 133 | if (!contextAlbum.uuid || contextAlbum.uuid == "") { [INFO] > 134 | console.warn("Invalid value (\"" + contextAlbum.uuid [INFO] | ^ [INFO] 135 | + "\") passed as a value for \"uuid\" for ContextAlbumForm form."); [INFO] 136 | } [INFO] 137 | if (createEditOrView == "VIEW") { [INFO] [INFO] at editContextAlbumForm_activate (js/ApexContextAlbumEditForm.js:134:25) [INFO] at callback (js/ApexContextAlbumEditForm.js:96:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:97:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexContextAlbumEditForm.js:86:9) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:97:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexContextAlbumEditForm.test.js:97:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editContextAlbumForm_editContextAlbum (js/ApexContextAlbumEditForm.js:82:5) [INFO] at Object. (js/__test__/ApexContextAlbumEditForm.test.js:100:4) [INFO] [INFO] console.error [INFO] Invalid operation "undefined" passed to editContextAlbumForm_submitPressed function. Edit failed [INFO] [INFO] 407 | var createEditOrView = $('#editContextAlbumForm').attr("createEditOrView"); [INFO] 408 | if (!createEditOrView || createEditOrView == "" || (createEditOrView != "CREATE" && createEditOrView != "EDIT")) { [INFO] > 409 | console.error("Invalid operation \"" + createEditOrView [INFO] | ^ [INFO] 410 | + "\" passed to editContextAlbumForm_submitPressed function. Edit failed"); [INFO] 411 | apexUtils_removeElement("editContextAlbumFormDiv"); [INFO] 412 | contextAlbumTab_reset(); [INFO] [INFO] at editContextAlbumForm_submitPressed (js/ApexContextAlbumEditForm.js:409:17) [INFO] at Object. (js/__test__/ApexContextAlbumEditForm.test.js:108:4) [INFO] [INFO] PASS js/__test__/ApexEventEditForm.test.js [INFO] ● Console [INFO] [INFO] console.warn [INFO] Invalid operation ("CREATE") specified for EventForm form. Only "Create", "Edit" and "View" operations are supported [INFO] [INFO] 123 | } [INFO] 124 | } else { [INFO] > 125 | console.warn("Invalid operation (\"" + operation [INFO] | ^ [INFO] 126 | + "\") specified for EventForm form. Only \"Create\", \"Edit\" and \"View\" operations are supported"); [INFO] 127 | } [INFO] 128 | [INFO] [INFO] at editEventForm_activate (js/ApexEventEditForm.js:125:17) [INFO] at Object. (js/__test__/ApexEventEditForm.test.js:47:4) [INFO] [INFO] console.warn [INFO] Invalid operation ("TEST") specified for EventForm form. Only "Create", "Edit" and "View" operations are supported [INFO] [INFO] 123 | } [INFO] 124 | } else { [INFO] > 125 | console.warn("Invalid operation (\"" + operation [INFO] | ^ [INFO] 126 | + "\") specified for EventForm form. Only \"Create\", \"Edit\" and \"View\" operations are supported"); [INFO] 127 | } [INFO] 128 | [INFO] [INFO] at editEventForm_activate (js/ApexEventEditForm.js:125:17) [INFO] at Object. (js/__test__/ApexEventEditForm.test.js:85:4) [INFO] [INFO] console.warn [INFO] Invalid value ("undefined") passed as a value for "uuid" for EventForm form. [INFO] [INFO] 118 | } [INFO] 119 | if (!event.uuid || event.uuid == "") { [INFO] > 120 | console.warn("Invalid value (\"" + event.uuid [INFO] | ^ [INFO] 121 | + "\") passed as a value for \"uuid\" for EventForm form."); [INFO] 122 | } [INFO] 123 | } [INFO] [INFO] at editEventForm_activate (js/ApexEventEditForm.js:120:25) [INFO] at callback (js/ApexEventEditForm.js:84:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexEventEditForm.test.js:108:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexEventEditForm.js:74:17) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexEventEditForm.test.js:108:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexEventEditForm.test.js:108:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editEventForm_editEvent_inner (js/ApexEventEditForm.js:70:24) [INFO] at Object. (js/__test__/ApexEventEditForm.test.js:113:4) [INFO] [INFO] console.warn [INFO] Invalid value ("undefined") passed as a value for "uuid" for EventForm form. [INFO] [INFO] 118 | } [INFO] 119 | if (!event.uuid || event.uuid == "") { [INFO] > 120 | console.warn("Invalid value (\"" + event.uuid [INFO] | ^ [INFO] 121 | + "\") passed as a value for \"uuid\" for EventForm form."); [INFO] 122 | } [INFO] 123 | } [INFO] [INFO] at editEventForm_activate (js/ApexEventEditForm.js:120:25) [INFO] at callback (js/ApexEventEditForm.js:84:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexEventEditForm.test.js:108:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexEventEditForm.js:74:17) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexEventEditForm.test.js:108:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexEventEditForm.test.js:108:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editEventForm_editEvent_inner (js/ApexEventEditForm.js:70:24) [INFO] at editEventForm_viewEvent (js/ApexEventEditForm.js:42:5) [INFO] at Object. (js/__test__/ApexEventEditForm.test.js:119:4) [INFO] [INFO] console.warn [INFO] Invalid value ("undefined") passed as a value for "uuid" for EventForm form. [INFO] [INFO] 118 | } [INFO] 119 | if (!event.uuid || event.uuid == "") { [INFO] > 120 | console.warn("Invalid value (\"" + event.uuid [INFO] | ^ [INFO] 121 | + "\") passed as a value for \"uuid\" for EventForm form."); [INFO] 122 | } [INFO] 123 | } [INFO] [INFO] at editEventForm_activate (js/ApexEventEditForm.js:120:25) [INFO] at callback (js/ApexEventEditForm.js:84:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexEventEditForm.test.js:108:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexEventEditForm.js:74:17) [INFO] at callback (js/ApexAjax.js:61:13) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexEventEditForm.test.js:108:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at callback (js/ApexAjax.js:47:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexEventEditForm.test.js:108:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at ajax_getWithKeyInfo (js/ApexAjax.js:46:5) [INFO] at editEventForm_editEvent_inner (js/ApexEventEditForm.js:70:24) [INFO] at editEventForm_editEvent (js/ApexEventEditForm.js:46:5) [INFO] at Object. (js/__test__/ApexEventEditForm.test.js:125:4) [INFO] [INFO] console.warn [INFO] Invalid operation ("CREATE") specified for EventForm form. Only "Create", "Edit" and "View" operations are supported [INFO] [INFO] 123 | } [INFO] 124 | } else { [INFO] > 125 | console.warn("Invalid operation (\"" + operation [INFO] | ^ [INFO] 126 | + "\") specified for EventForm form. Only \"Create\", \"Edit\" and \"View\" operations are supported"); [INFO] 127 | } [INFO] 128 | [INFO] [INFO] at editEventForm_activate (js/ApexEventEditForm.js:125:17) [INFO] at callback (js/ApexEventEditForm.js:64:9) [INFO] at Object.success (js/ApexAjax.js:35:13) [INFO] at Function. (js/__test__/ApexEventEditForm.test.js:132:12) [INFO] at ajax_get (js/ApexAjax.js:29:7) [INFO] at editEventForm_createEvent (js/ApexEventEditForm.js:53:13) [INFO] at Object. (js/__test__/ApexEventEditForm.test.js:135:4) [INFO] [INFO] PASS js/__test__/contextMenu.test.js [INFO] ● Console [INFO] [INFO] console.error [INFO] Error: Not implemented: window.alert [INFO] at module.exports (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17) [INFO] at alert (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:866:7) [INFO] at rightClickMenuCreate (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/js/contextMenu.js:161:9) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:444:39 [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:452:13 [INFO] at mock_activate (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:110:19) [INFO] at Object. (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/js/__test__/contextMenu.test.js:58:4) [INFO] at Object.asyncJestTest (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:45:12 [INFO] at new Promise () [INFO] at mapper (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:28:19) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:75:41 [INFO] at processTicksAndRejections (internal/process/task_queues.js:95:5) undefined [INFO] [INFO] 159 | editContextAlbumForm_createContextAlbum(parent); [INFO] 160 | } else { [INFO] > 161 | alert("So you want to create a new " + type); [INFO] | ^ [INFO] 162 | } [INFO] 163 | } [INFO] 164 | function rightClickMenuView(parent, type, value_name, value_version) { [INFO] [INFO] at VirtualConsole. (node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/virtual-console.js:29:45) [INFO] at rightClickMenuCreate (js/contextMenu.js:161:9) [INFO] at Object. (js/__test__/contextMenu.test.js:58:4) [INFO] [INFO] console.error [INFO] Error: Not implemented: window.alert [INFO] at module.exports (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17) [INFO] at alert (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:866:7) [INFO] at rightClickMenuView (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/js/contextMenu.js:177:9) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:444:39 [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:452:13 [INFO] at mock_activate (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:124:19) [INFO] at Object. (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/js/__test__/contextMenu.test.js:77:4) [INFO] at Object.asyncJestTest (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:45:12 [INFO] at new Promise () [INFO] at mapper (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:28:19) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:75:41 [INFO] at processTicksAndRejections (internal/process/task_queues.js:95:5) undefined [INFO] [INFO] 175 | editContextAlbumForm_viewContextAlbum(parent, value_name, value_version); [INFO] 176 | } else { [INFO] > 177 | alert("So you want to view " + type + " " + value_name + ":" + value_version); [INFO] | ^ [INFO] 178 | } [INFO] 179 | } [INFO] 180 | function rightClickMenuEdit(parent, type, value_name, value_version) { [INFO] [INFO] at VirtualConsole. (node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/virtual-console.js:29:45) [INFO] at rightClickMenuView (js/contextMenu.js:177:9) [INFO] at Object. (js/__test__/contextMenu.test.js:77:4) [INFO] [INFO] console.error [INFO] Error: Not implemented: window.alert [INFO] at module.exports (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17) [INFO] at alert (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:866:7) [INFO] at rightClickMenuEdit (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/js/contextMenu.js:193:9) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:444:39 [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:452:13 [INFO] at mock_activate (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:124:19) [INFO] at Object. (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/js/__test__/contextMenu.test.js:95:4) [INFO] at Object.asyncJestTest (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:45:12 [INFO] at new Promise () [INFO] at mapper (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:28:19) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:75:41 [INFO] at processTicksAndRejections (internal/process/task_queues.js:95:5) undefined [INFO] [INFO] 191 | editContextAlbumForm_editContextAlbum(parent, value_name, value_version); [INFO] 192 | } else { [INFO] > 193 | alert("So you want to edit " + type + " " + value_name + ":" + value_version); [INFO] | ^ [INFO] 194 | } [INFO] 195 | } [INFO] 196 | function rightClickMenuDelete(parent, type, value_name, value_version) { [INFO] [INFO] at VirtualConsole. (node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/virtual-console.js:29:45) [INFO] at rightClickMenuEdit (js/contextMenu.js:193:9) [INFO] at Object. (js/__test__/contextMenu.test.js:95:4) [INFO] [INFO] console.error [INFO] Error: Not implemented: window.alert [INFO] at module.exports (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/not-implemented.js:9:17) [INFO] at alert (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:866:7) [INFO] at rightClickMenuDelete (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/js/contextMenu.js:209:9) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:444:39 [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:452:13 [INFO] at mock_activate (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-mock/build/index.js:124:19) [INFO] at Object. (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/js/__test__/contextMenu.test.js:116:4) [INFO] at Object.asyncJestTest (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:45:12 [INFO] at new Promise () [INFO] at mapper (/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:28:19) [INFO] at /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node_modules/jest-jasmine2/build/queueRunner.js:75:41 [INFO] at processTicksAndRejections (internal/process/task_queues.js:95:5) undefined [INFO] [INFO] 207 | editContextAlbumForm_deleteContextAlbum(parent, value_name, value_version); [INFO] 208 | } else { [INFO] > 209 | alert("So you want to delete " + type + " " + value_name + ":" + value_version); [INFO] | ^ [INFO] 210 | } [INFO] 211 | } [INFO] 212 | function mouseX(evt) { [INFO] [INFO] at VirtualConsole. (node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/virtual-console.js:29:45) [INFO] at rightClickMenuDelete (js/contextMenu.js:209:9) [INFO] at Object. (js/__test__/contextMenu.test.js:116:4) [INFO] [INFO] PASS js/__test__/ApexPageControl.test.js [INFO] ● Console [INFO] [INFO] console.error [INFO] TypeError! Failed to get tabs function [INFO] [INFO] 78 | } [INFO] 79 | catch(err){ [INFO] > 80 | console.error('TypeError! Failed to get tabs function'); [INFO] | ^ [INFO] 81 | } [INFO] 82 | [INFO] 83 | [INFO] [INFO] at pageControl_modelMode (js/ApexPageControl.js:80:17) [INFO] at Object. (js/__test__/ApexPageControl.test.js:74:4) [INFO] [INFO] console.error [INFO] TypeError! Failed to get tabs function [INFO] [INFO] 134 | } [INFO] 135 | catch(err){ [INFO] > 136 | console.error('TypeError! Failed to get tabs function'); [INFO] | ^ [INFO] 137 | } [INFO] 138 | showPlaceholder(true); [INFO] 139 | } [INFO] [INFO] at pageControl_noModelMode (js/ApexPageControl.js:136:17) [INFO] at Object. (js/__test__/ApexPageControl.test.js:86:4) [INFO] [INFO] console.error [INFO] TypeError! Failed to get tabs function [INFO] [INFO] 167 | } [INFO] 168 | catch(err){ [INFO] > 169 | console.error('TypeError! Failed to get tabs function'); [INFO] | ^ [INFO] 170 | } [INFO] 171 | contextSchemaTab_activate(); [INFO] 172 | eventTab_activate(); [INFO] [INFO] at pageControl_busyMode (js/ApexPageControl.js:169:17) [INFO] at Object. (js/__test__/ApexPageControl.test.js:98:4) [INFO] [INFO] console.error [INFO] TypeError! Failed to get tabs function [INFO] [INFO] 213 | } [INFO] 214 | catch(err){ [INFO] > 215 | console.error('TypeError! Failed to get tabs function'); [INFO] | ^ [INFO] 216 | } [INFO] 217 | showPlaceholder(true); [INFO] 218 | } [INFO] [INFO] at pageControl_readyMode (js/ApexPageControl.js:215:17) [INFO] at Object. (js/__test__/ApexPageControl.test.js:110:4) [INFO] [INFO] PASS js/__test__/ApexContextSchemaEditForm.test.js [INFO] ● Console [INFO] [INFO] console.warn [INFO] Invalid operation ("CREATE") specified for ContextSchemaForm form. Only "Create", "Edit" and "View" operations are supported [INFO] [INFO] 112 | } else { [INFO] 113 | console [INFO] > 114 | .warn("Invalid operation (\"" [INFO] | ^ [INFO] 115 | + operation [INFO] 116 | + "\") specified for ContextSchemaForm form. Only \"Create\", \"Edit\" and \"View\" operations are supported"); [INFO] 117 | } [INFO] [INFO] at editContextSchemaForm_activate (js/ApexContextSchemaEditForm.js:114:18) [INFO] at editContextSchemaForm_createContextSchema (js/ApexContextSchemaEditForm.js:32:12) [INFO] at Object. (js/__test__/ApexContextSchemaEditForm.test.js:43:5) [INFO] [INFO] console.warn [INFO] Invalid operation ("operation") specified for ContextSchemaForm form. Only "Create", "Edit" and "View" operations are supported [INFO] [INFO] 112 | } else { [INFO] 113 | console [INFO] > 114 | .warn("Invalid operation (\"" [INFO] | ^ [INFO] 115 | + operation [INFO] 116 | + "\") specified for ContextSchemaForm form. Only \"Create\", \"Edit\" and \"View\" operations are supported"); [INFO] 117 | } [INFO] [INFO] at editContextSchemaForm_activate (js/ApexContextSchemaEditForm.js:114:18) [INFO] at Object. (js/__test__/ApexContextSchemaEditForm.test.js:69:5) [INFO] [INFO] console.error [INFO] Invalid operation "undefined" passed to editContextSchemaForm_submitPressed function. Edit failed [INFO] [INFO] 340 | var createEditOrView = $('#editContextSchemaForm').attr("createEditOrView"); [INFO] 341 | if (!createEditOrView || createEditOrView == "" || (createEditOrView != "CREATE" && createEditOrView != "EDIT")) { [INFO] > 342 | console.error("Invalid operation \"" + createEditOrView [INFO] | ^ [INFO] 343 | + "\" passed to editContextSchemaForm_submitPressed function. Edit failed"); [INFO] 344 | apexUtils_removeElement("editContextSchemaFormDiv"); [INFO] 345 | contextSchemaTab_reset(); [INFO] [INFO] at editContextSchemaForm_submitPressed (js/ApexContextSchemaEditForm.js:342:17) [INFO] at Object. (js/__test__/ApexContextSchemaEditForm.test.js:106:5) [INFO] [INFO] PASS js/__test__/ApexEventTab.test.js [INFO] PASS js/__test__/ApexUtils.test.js [INFO] PASS js/__test__/dropdownList.test.js [INFO] PASS js/__test__/ApexKeyInformationTab.test.js [INFO] PASS js/__test__/ApexModelHandling.test.js [INFO] PASS js/__test__/showhideElement.test.js [INFO] PASS js/__test__/showhideTextArea.test.js [INFO] PASS js/__test__/ApexFiles.test.js [INFO] PASS js/__test__/ApexTaskTab.test.js [INFO] PASS js/__test__/ApexContextSchemaTab.test.js [INFO] PASS js/__test__/ApexNewModelForm.test.js [INFO] PASS js/__test__/ApexTable.test.js [INFO] PASS js/__test__/ApexMain.test.js [INFO] PASS js/__test__/ApexFormUtils.test.js [INFO] PASS js/__test__/ApexResultForm.test.js [INFO] PASS js/__test__/ApexContextAlbumTab.test.js [INFO] PASS js/__test__/fileMenu.test.js [INFO] ------------------------------|---------|----------|---------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [INFO] File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s [INFO] ------------------------------|---------|----------|---------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [INFO] All files | 84.88 | 63.42 | 72.44 | 84.94 | [INFO] ApexAjax.js | 100 | 83.33 | 100 | 100 | 57 [INFO] ApexContextAlbumEditForm.js | 91.12 | 68.21 | 94.11 | 91.12 | 114,122,126,130,298,314,323-325,421-422,431-434,439-443,447-451,472-477 [INFO] ApexContextAlbumTab.js | 100 | 100 | 100 | 100 | [INFO] ApexContextSchemaEditForm.js | 85.16 | 56 | 71.42 | 85.16 | 50,57,74,81-107,158,178,349-375 [INFO] ApexContextSchemaTab.js | 98.07 | 50 | 100 | 98.07 | 78 [INFO] ApexEventEditForm.js | 87.79 | 75.36 | 80 | 88.03 | 101,109,112,116,328-332,347,419-420,429-434,446,470,473,500-504,514-534,565-570 [INFO] ApexEventTab.js | 96.66 | 100 | 80 | 96.66 | 30-31 [INFO] ApexFiles.js | 61.29 | 50 | 50 | 61.29 | 31-42,64 [INFO] ApexFormUtils.js | 100 | 91.66 | 100 | 100 | 25 [INFO] ApexKeyInformationTab.js | 95.45 | 100 | 80 | 95.45 | 28-29 [INFO] ApexMain.js | 35.36 | 18.75 | 44.44 | 35.36 | 32-37,41-109,159-163,170-172 [INFO] ApexModelHandling.js | 100 | 100 | 100 | 100 | [INFO] ApexNewModelForm.js | 90.07 | 100 | 14.28 | 90.07 | 198-231 [INFO] ApexPageControl.js | 89.18 | 40.9 | 80 | 89.18 | 75,228-239,270-278 [INFO] ApexPolicyEditForm.js | 81.55 | 64.82 | 80.64 | 81.55 | 137,145,148,152,268,287,305-308,316,323-325,338-343,365-413,435-449,480,551-553,555-558,563-568,585-586,627,639-641,655-670,759-761,765-767,771,775,779-781,790-796 [INFO] ApexPolicyEditForm_State.js | 77.58 | 56.85 | 26.92 | 77.52 | 54,85-92,114,168-176,196,213,239,296-298,307-332,355,391-401,424,438,448-453,466,521,531-536,548,564,580,590-595,612,622-627,641,655,659,687,690,711,714,724,730,737-739,747-749,758,764,768-769,771-772,778-783,787-792,827-848,913-915,921-925,927,935-939,970-973,979-983,989-993,1008-1010,1019-1021,1024-1027,1032-1034,1040-1043,1048-1055,1060-1062,1066-1070,1106-1116,1119 [INFO] ApexPolicyTab.js | 97.67 | 100 | 80 | 97.67 | 29-30 [INFO] ApexResultForm.js | 100 | 100 | 100 | 100 | [INFO] ApexTable.js | 77.77 | 100 | 50 | 77.77 | 32,35 [INFO] ApexTaskEditForm.js | 87.29 | 69.56 | 75 | 87.7 | 105,113,116,120,245,270,322,376,446-447,457-458,473,490,506-507,517-518,550-554,564-565,568-569,579-590,601-621 [INFO] ApexTaskTab.js | 98.3 | 50 | 100 | 98.3 | 100 [INFO] ApexUtils.js | 95.23 | 61.53 | 83.33 | 95.23 | 63,96 [INFO] contextMenu.js | 86.72 | 79.03 | 60 | 86.72 | 57,68,76-77,84,94,98,108,116,124,129,214,216,224,226 [INFO] dropdownList.js | 81.9 | 64.44 | 72.72 | 81.73 | 25,30,38,44-45,65-68,108-109,112-114,128,158,186-190,194-195 [INFO] fileMenu.js | 77.04 | 28.57 | 81.25 | 76.27 | 29,75,88-93,98-102,107-108,113-115 [INFO] showhideElement.js | 87.5 | 70 | 50 | 87.5 | 26,36,56 [INFO] showhideTextarea.js | 85.71 | 58.33 | 62.5 | 85.71 | 30-31,40-41,116-122 [INFO] ------------------------------|---------|----------|---------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [INFO] [INFO] Test Suites: 27 passed, 27 total [INFO] Tests: 1 todo, 156 passed, 157 total [INFO] Snapshots: 0 total [INFO] Time: 7.991 s [INFO] Ran all test suites. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ gui-editor-apex --- [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ gui-editor-apex --- [INFO] Building jar: /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/target/gui-editor-apex-3.1.1-SNAPSHOT.jar [INFO] [INFO] --- spring-boot-maven-plugin:3.1.7:repackage (repackage) @ gui-editor-apex --- [INFO] Attaching repackaged archive /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/target/gui-editor-apex-3.1.1-SNAPSHOT-exec.jar with classifier exec [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ gui-editor-apex --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ gui-editor-apex --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ gui-editor-apex --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ gui-editor-apex --- [INFO] Failsafe report directory: /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ gui-editor-apex --- [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/pom.xml to /tmp/r/org/onap/policy/gui/editors/gui-editor-apex/3.1.1-SNAPSHOT/gui-editor-apex-3.1.1-SNAPSHOT.pom [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/target/gui-editor-apex-3.1.1-SNAPSHOT.jar to /tmp/r/org/onap/policy/gui/editors/gui-editor-apex/3.1.1-SNAPSHOT/gui-editor-apex-3.1.1-SNAPSHOT.jar [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/target/gui-editor-apex-3.1.1-SNAPSHOT-exec.jar to /tmp/r/org/onap/policy/gui/editors/gui-editor-apex/3.1.1-SNAPSHOT/gui-editor-apex-3.1.1-SNAPSHOT-exec.jar [INFO] [INFO] --------------------< org.onap.policy.gui:gui-acm >--------------------- [INFO] Building gui-acm 3.1.1-SNAPSHOT [5/8] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ gui-acm --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ gui-acm --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ gui-acm --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ gui-acm --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-gui-sonar-prescan-script/gui-runtime/gui-acm/../../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ gui-acm --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ gui-acm --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ gui-acm --- [INFO] skip non existing resourceDirectory /w/workspace/policy-gui-sonar-prescan-script/gui-runtime/gui-acm/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ gui-acm --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ gui-acm --- [INFO] skip non existing resourceDirectory /w/workspace/policy-gui-sonar-prescan-script/gui-runtime/gui-acm/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ gui-acm --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ gui-acm --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ gui-acm --- [INFO] Skipping JaCoCo execution due to missing classes directory. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ gui-acm --- [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ gui-acm --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /w/workspace/policy-gui-sonar-prescan-script/gui-runtime/gui-acm/target/gui-acm-3.1.1-SNAPSHOT.jar [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ gui-acm --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ gui-acm --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ gui-acm --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ gui-acm --- [INFO] Failsafe report directory: /w/workspace/policy-gui-sonar-prescan-script/gui-runtime/gui-acm/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ gui-acm --- [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/gui-runtime/gui-acm/pom.xml to /tmp/r/org/onap/policy/gui/gui-acm/3.1.1-SNAPSHOT/gui-acm-3.1.1-SNAPSHOT.pom [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/gui-runtime/gui-acm/target/gui-acm-3.1.1-SNAPSHOT.jar to /tmp/r/org/onap/policy/gui/gui-acm/3.1.1-SNAPSHOT/gui-acm-3.1.1-SNAPSHOT.jar [INFO] [INFO] ---------------< org.onap.policy.gui.gui-rutime:runtime >--------------- [INFO] Building runtime 3.1.1-SNAPSHOT [6/8] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ runtime --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ runtime --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ runtime --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ runtime --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-gui-sonar-prescan-script/gui-runtime/../../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ runtime --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ runtime --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ runtime --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ runtime --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ runtime --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ runtime --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ runtime --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ runtime --- [INFO] Failsafe report directory: /w/workspace/policy-gui-sonar-prescan-script/gui-runtime/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ runtime --- [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/gui-runtime/pom.xml to /tmp/r/org/onap/policy/gui/gui-rutime/runtime/3.1.1-SNAPSHOT/runtime-3.1.1-SNAPSHOT.pom [INFO] [INFO] -------------------< org.onap.policy.gui:gui-server >------------------- [INFO] Building gui-server 3.1.1-SNAPSHOT [7/8] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ gui-server --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ gui-server --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ gui-server --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ gui-server --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-gui-sonar-prescan-script/gui-server/../../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ gui-server --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ gui-server --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-dependency-plugin:3.6.0:unpack (unpack-gui-html) @ gui-server --- [INFO] Configured Artifact: org.onap.policy.gui.editors:gui-editor-apex:3.1.1-SNAPSHOT:jar [WARNING] Archive entry './' and existing file '/w/workspace/policy-gui-sonar-prescan-script/gui-server/target/classes/static/designtime-ui/apex-editor' names differ only by case. This may lead to an unexpected outcome on case-insensitive filesystems. [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ gui-server --- [INFO] Copying 0 resource from src/main/resources to target/classes [INFO] Copying 3 resources from src/main/resources to target/classes [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ gui-server --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 13 source files with javac [debug release 17] to target/classes [INFO] /w/workspace/policy-gui-sonar-prescan-script/gui-server/src/main/java/org/onap/policy/gui/server/rest/BaseRestController.java: /w/workspace/policy-gui-sonar-prescan-script/gui-server/src/main/java/org/onap/policy/gui/server/rest/BaseRestController.java uses or overrides a deprecated API. [INFO] /w/workspace/policy-gui-sonar-prescan-script/gui-server/src/main/java/org/onap/policy/gui/server/rest/BaseRestController.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ gui-server --- [INFO] Copying 5 resources from src/test/resources to target/test-classes [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ gui-server --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 20 source files with javac [debug release 17] to target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ gui-server --- [INFO] Surefire report directory: /w/workspace/policy-gui-sonar-prescan-script/gui-server/target/surefire-reports [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- Picked up _JAVA_OPTIONS: [INFO] Running org.onap.policy.gui.server.filters.ClientSslHeaderFilterTest OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended 19:56:44.469 [main] INFO org.onap.policy.gui.server.filters.ClientSslHeaderFilter -- Client SSL cert expired java.security.cert.CertificateExpiredException: NotAfter: Mon Jan 31 21:03:31 UTC 2000 at java.base/sun.security.x509.CertificateValidity.valid(CertificateValidity.java:277) at java.base/sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:619) at java.base/sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:592) at org.onap.policy.gui.server.filters.ClientSslHeaderFilter.doFilterInternal(ClientSslHeaderFilter.java:71) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) at org.onap.policy.gui.server.filters.ClientSslHeaderFilterTest.applyRequestFilter(ClientSslHeaderFilterTest.java:219) at org.onap.policy.gui.server.filters.ClientSslHeaderFilterTest.testExpiredClientCert_noHeader(ClientSslHeaderFilterTest.java:115) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92) at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85) at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47) at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148) at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 19:56:44.911 [main] ERROR org.onap.policy.gui.server.filters.ClientSslHeaderFilter -- Error encoding client SSL cert java.security.cert.CertificateEncodingException: null [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.111 s -- in org.onap.policy.gui.server.filters.ClientSslHeaderFilterTest [INFO] Running org.onap.policy.gui.server.rest.DesigntimeRestControllerTest 19:56:45.268 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [org.onap.policy.gui.server.rest.DesigntimeRestControllerTest]: DesigntimeRestControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 19:56:45.466 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration org.onap.policy.gui.server.GuiServerApplication for test class org.onap.policy.gui.server.rest.DesigntimeRestControllerTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:46.014Z INFO 3435 --- [ main] o.o.p.g.s.r.DesigntimeRestControllerTest : Starting DesigntimeRestControllerTest using Java 17.0.4 with PID 3435 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-server) 2024-01-27T19:56:46.016Z INFO 3435 --- [ main] o.o.p.g.s.r.DesigntimeRestControllerTest : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:47.321Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:47.326Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:47.328Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:47.526Z WARN 3435 --- [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.PolicyUploadHandler 2024-01-27T19:56:47.874Z INFO 3435 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:48.271Z INFO 3435 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2024-01-27T19:56:48.271Z INFO 3435 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2024-01-27T19:56:48.280Z INFO 3435 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2024-01-27T19:56:48.289Z INFO 3435 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 17 ms 2024-01-27T19:56:48.337Z INFO 3435 --- [ main] o.o.p.g.s.r.DesigntimeRestControllerTest : Started DesigntimeRestControllerTest in 2.676 seconds (process running for 6.34) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.380 s -- in org.onap.policy.gui.server.rest.DesigntimeRestControllerTest [INFO] Running org.onap.policy.gui.server.rest.AcmRuntimeRestControllerTest 2024-01-27T19:56:48.492Z INFO 3435 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [org.onap.policy.gui.server.rest.AcmRuntimeRestControllerTest]: AcmRuntimeRestControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2024-01-27T19:56:48.495Z INFO 3435 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration org.onap.policy.gui.server.GuiServerApplication for test class org.onap.policy.gui.server.rest.AcmRuntimeRestControllerTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:48.521Z INFO 3435 --- [ main] o.o.p.g.s.r.AcmRuntimeRestControllerTest : Starting AcmRuntimeRestControllerTest using Java 17.0.4 with PID 3435 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-server) 2024-01-27T19:56:48.521Z INFO 3435 --- [ main] o.o.p.g.s.r.AcmRuntimeRestControllerTest : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:48.824Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:48.827Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:48.828Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:48.841Z WARN 3435 --- [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.PolicyUploadHandler 2024-01-27T19:56:48.916Z INFO 3435 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:49.012Z INFO 3435 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2024-01-27T19:56:49.012Z INFO 3435 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2024-01-27T19:56:49.018Z INFO 3435 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2024-01-27T19:56:49.021Z INFO 3435 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 8 ms 2024-01-27T19:56:49.039Z INFO 3435 --- [ main] o.o.p.g.s.r.AcmRuntimeRestControllerTest : Started AcmRuntimeRestControllerTest in 0.539 seconds (process running for 7.043) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.663 s -- in org.onap.policy.gui.server.rest.AcmRuntimeRestControllerTest [INFO] Running org.onap.policy.gui.server.rest.PolicyPapRestControllerTest 2024-01-27T19:56:49.156Z INFO 3435 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [org.onap.policy.gui.server.rest.PolicyPapRestControllerTest]: PolicyPapRestControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2024-01-27T19:56:49.163Z INFO 3435 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration org.onap.policy.gui.server.GuiServerApplication for test class org.onap.policy.gui.server.rest.PolicyPapRestControllerTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:49.185Z INFO 3435 --- [ main] o.o.p.g.s.r.PolicyPapRestControllerTest : Starting PolicyPapRestControllerTest using Java 17.0.4 with PID 3435 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-server) 2024-01-27T19:56:49.185Z INFO 3435 --- [ main] o.o.p.g.s.r.PolicyPapRestControllerTest : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:49.436Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:49.438Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:49.439Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:49.452Z WARN 3435 --- [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.PolicyUploadHandler 2024-01-27T19:56:49.511Z INFO 3435 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:49.588Z INFO 3435 --- [ main] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2024-01-27T19:56:49.589Z INFO 3435 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2024-01-27T19:56:49.593Z INFO 3435 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2024-01-27T19:56:49.596Z INFO 3435 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 7 ms 2024-01-27T19:56:49.610Z INFO 3435 --- [ main] o.o.p.g.s.r.PolicyPapRestControllerTest : Started PolicyPapRestControllerTest in 0.443 seconds (process running for 7.614) [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.518 s -- in org.onap.policy.gui.server.rest.PolicyPapRestControllerTest [INFO] Running org.onap.policy.gui.server.rest.BaseRestControllerTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s -- in org.onap.policy.gui.server.rest.BaseRestControllerTest [INFO] Running org.onap.policy.gui.server.rest.PolicyApiRestControllerTest 2024-01-27T19:56:49.704Z INFO 3435 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [org.onap.policy.gui.server.rest.PolicyApiRestControllerTest]: PolicyApiRestControllerTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2024-01-27T19:56:49.708Z INFO 3435 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration org.onap.policy.gui.server.GuiServerApplication for test class org.onap.policy.gui.server.rest.PolicyApiRestControllerTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 s -- in org.onap.policy.gui.server.rest.PolicyApiRestControllerTest [INFO] Running org.onap.policy.gui.server.SpringContextTest 2024-01-27T19:56:49.789Z INFO 3435 --- [ main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [org.onap.policy.gui.server.SpringContextTest]: SpringContextTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 2024-01-27T19:56:49.795Z INFO 3435 --- [ main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration org.onap.policy.gui.server.GuiServerApplication for test class org.onap.policy.gui.server.SpringContextTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:49.820Z INFO 3435 --- [ main] o.o.policy.gui.server.SpringContextTest : Starting SpringContextTest using Java 17.0.4 with PID 3435 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-server) 2024-01-27T19:56:49.820Z INFO 3435 --- [ main] o.o.policy.gui.server.SpringContextTest : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:50.093Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:50.095Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:50.096Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:50.107Z WARN 3435 --- [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.PolicyUploadHandler 2024-01-27T19:56:50.159Z INFO 3435 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:50.228Z INFO 3435 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2024-01-27T19:56:50.243Z INFO 3435 --- [ main] o.o.policy.gui.server.SpringContextTest : Started SpringContextTest in 0.444 seconds (process running for 8.247) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.462 s -- in org.onap.policy.gui.server.SpringContextTest [INFO] Running org.onap.policy.gui.server.config.RestTemplateConfig1Test . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:50.275Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig1Test : Starting RestTemplateConfig1Test using Java 17.0.4 with PID 3435 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-server) 2024-01-27T19:56:50.275Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig1Test : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:50.723Z INFO 3435 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 2024-01-27T19:56:50.739Z INFO 3435 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-27T19:56:50.740Z INFO 3435 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 2024-01-27T19:56:50.811Z INFO 3435 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-01-27T19:56:50.811Z INFO 3435 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 534 ms 2024-01-27T19:56:50.964Z INFO 3435 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:51.004Z INFO 3435 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2024-01-27T19:56:51.256Z INFO 3435 --- [ main] o.a.t.util.net.NioEndpoint.certificate : Connector [https-jsse-nio-auto-1], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/jenkins/.keystore] using alias [tomcat] with trust store [null] 2024-01-27T19:56:51.275Z INFO 3435 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 42921 (https) with context path '' 2024-01-27T19:56:51.288Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig1Test : Started RestTemplateConfig1Test in 1.031 seconds (process running for 9.291) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.048 s -- in org.onap.policy.gui.server.config.RestTemplateConfig1Test [INFO] Running org.onap.policy.gui.server.config.RestTemplateConfig3Test . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:51.317Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig3Test : Starting RestTemplateConfig3Test using Java 17.0.4 with PID 3435 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-server) 2024-01-27T19:56:51.318Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig3Test : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:51.485Z INFO 3435 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 2024-01-27T19:56:51.486Z INFO 3435 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-27T19:56:51.486Z INFO 3435 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 2024-01-27T19:56:51.498Z INFO 3435 --- [ main] o.a.c.c.C.[Tomcat-1].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-01-27T19:56:51.498Z INFO 3435 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 179 ms 2024-01-27T19:56:51.597Z INFO 3435 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:51.636Z INFO 3435 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2024-01-27T19:56:51.659Z INFO 3435 --- [ main] o.a.t.util.net.NioEndpoint.certificate : Connector [https-jsse-nio-auto-2], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/jenkins/.keystore] using alias [tomcat] with trust store [null] 2024-01-27T19:56:51.666Z INFO 3435 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 33319 (https) with context path '' 2024-01-27T19:56:51.671Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig3Test : Started RestTemplateConfig3Test in 0.366 seconds (process running for 9.675) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.381 s -- in org.onap.policy.gui.server.config.RestTemplateConfig3Test [INFO] Running org.onap.policy.gui.server.config.RestTemplateConfig2Test . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:51.700Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig2Test : Starting RestTemplateConfig2Test using Java 17.0.4 with PID 3435 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-server) 2024-01-27T19:56:51.701Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig2Test : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:51.875Z INFO 3435 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 2024-01-27T19:56:51.876Z INFO 3435 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-27T19:56:51.877Z INFO 3435 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 2024-01-27T19:56:51.887Z INFO 3435 --- [ main] o.a.c.c.C.[Tomcat-2].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-01-27T19:56:51.887Z INFO 3435 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 185 ms 2024-01-27T19:56:51.915Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:51.916Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:51.918Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:51.948Z INFO 3435 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:51.986Z INFO 3435 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2024-01-27T19:56:52.011Z INFO 3435 --- [ main] o.a.t.util.net.NioEndpoint.certificate : Connector [https-jsse-nio-auto-3], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/jenkins/.keystore] using alias [tomcat] with trust store [null] 2024-01-27T19:56:52.019Z INFO 3435 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 39135 (https) with context path '' 2024-01-27T19:56:52.024Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig2Test : Started RestTemplateConfig2Test in 0.336 seconds (process running for 10.028) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.348 s -- in org.onap.policy.gui.server.config.RestTemplateConfig2Test [INFO] Running org.onap.policy.gui.server.config.RestTemplateTrustStoreUnsetTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:52.052Z INFO 3435 --- [ main] .p.g.s.c.RestTemplateTrustStoreUnsetTest : Starting RestTemplateTrustStoreUnsetTest using Java 17.0.4 with PID 3435 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-server) 2024-01-27T19:56:52.053Z INFO 3435 --- [ main] .p.g.s.c.RestTemplateTrustStoreUnsetTest : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:52.209Z INFO 3435 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:52.258Z INFO 3435 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2024-01-27T19:56:52.268Z INFO 3435 --- [ main] .p.g.s.c.RestTemplateTrustStoreUnsetTest : Started RestTemplateTrustStoreUnsetTest in 0.229 seconds (process running for 10.271) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.336 s -- in org.onap.policy.gui.server.config.RestTemplateTrustStoreUnsetTest [INFO] Running org.onap.policy.gui.server.config.RestTemplateConfig5Test . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:52.385Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig5Test : Starting RestTemplateConfig5Test using Java 17.0.4 with PID 3435 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-server) 2024-01-27T19:56:52.386Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig5Test : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:52.540Z INFO 3435 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 2024-01-27T19:56:52.541Z INFO 3435 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-27T19:56:52.541Z INFO 3435 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 2024-01-27T19:56:52.552Z INFO 3435 --- [ main] o.a.c.c.C.[Tomcat-3].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-01-27T19:56:52.552Z INFO 3435 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 165 ms 2024-01-27T19:56:52.644Z INFO 3435 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:52.676Z INFO 3435 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2024-01-27T19:56:52.697Z INFO 3435 --- [ main] o.a.t.util.net.NioEndpoint.certificate : Connector [https-jsse-nio-auto-4], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/jenkins/.keystore] using alias [tomcat] with trust store [null] 2024-01-27T19:56:52.702Z INFO 3435 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 41643 (https) with context path '' 2024-01-27T19:56:52.707Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig5Test : Started RestTemplateConfig5Test in 0.333 seconds (process running for 10.711) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.344 s -- in org.onap.policy.gui.server.config.RestTemplateConfig5Test [INFO] Running org.onap.policy.gui.server.config.RestTemplateConfig4Test . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:52.729Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig4Test : Starting RestTemplateConfig4Test using Java 17.0.4 with PID 3435 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-server) 2024-01-27T19:56:52.729Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig4Test : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:52.879Z INFO 3435 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (https) 2024-01-27T19:56:52.879Z INFO 3435 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-27T19:56:52.880Z INFO 3435 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 2024-01-27T19:56:52.889Z INFO 3435 --- [ main] o.a.c.c.C.[Tomcat-4].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-01-27T19:56:52.889Z INFO 3435 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 159 ms 2024-01-27T19:56:52.907Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:52.908Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:52.908Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:52.948Z INFO 3435 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:52.979Z INFO 3435 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2024-01-27T19:56:53.000Z INFO 3435 --- [ main] o.a.t.util.net.NioEndpoint.certificate : Connector [https-jsse-nio-auto-5], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/home/jenkins/.keystore] using alias [tomcat] with trust store [null] 2024-01-27T19:56:53.006Z INFO 3435 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 41027 (https) with context path '' 2024-01-27T19:56:53.009Z INFO 3435 --- [ main] o.o.p.g.s.c.RestTemplateConfig4Test : Started RestTemplateConfig4Test in 0.29 seconds (process running for 11.013) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.301 s -- in org.onap.policy.gui.server.config.RestTemplateConfig4Test [INFO] Running org.onap.policy.gui.server.util.X509CertificateEncoderTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 s -- in org.onap.policy.gui.server.util.X509CertificateEncoderTest [INFO] Running org.onap.policy.gui.server.GuiServerAppMainTest . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.1.7) 2024-01-27T19:56:53.064Z INFO 3435 --- [ main] o.o.p.gui.server.GuiServerApplication : Starting GuiServerApplication using Java 17.0.4 with PID 3435 (started by jenkins in /w/workspace/policy-gui-sonar-prescan-script/gui-server) 2024-01-27T19:56:53.064Z INFO 3435 --- [ main] o.o.p.gui.server.GuiServerApplication : No active profile set, falling back to 1 default profile: "default" 2024-01-27T19:56:53.281Z INFO 3435 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (http) 2024-01-27T19:56:53.283Z INFO 3435 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-01-27T19:56:53.283Z INFO 3435 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.18] 2024-01-27T19:56:53.296Z INFO 3435 --- [ main] o.a.c.c.C.[Tomcat-5].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-01-27T19:56:53.296Z INFO 3435 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 231 ms 2024-01-27T19:56:53.332Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:53.334Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:53.335Z INFO 3435 --- [ main] o.o.p.g.s.config.BaseRestTemplateConfig : Disabling SSL hostname check as SSL validation is disabled 2024-01-27T19:56:53.345Z WARN 3435 --- [ main] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: org.onap.policy.gui.editors.apex.rest.handling.plugin.upload.PolicyUploadHandler 2024-01-27T19:56:53.377Z INFO 3435 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2024-01-27T19:56:53.420Z INFO 3435 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2024-01-27T19:56:53.442Z INFO 3435 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 33919 (http) with context path '' 2024-01-27T19:56:53.450Z INFO 3435 --- [ main] o.o.p.gui.server.GuiServerApplication : Started GuiServerApplication in 0.396 seconds (process running for 11.454) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.402 s -- in org.onap.policy.gui.server.GuiServerAppMainTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ gui-server --- [INFO] Loading execution data file /w/workspace/policy-gui-sonar-prescan-script/gui-server/../../target/code-coverage/jacoco-ut.exec [INFO] Analyzed bundle 'gui-server' with 14 classes [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ gui-server --- [INFO] Analyzed bundle 'gui-editor-apex' with 31 classes [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ gui-server --- [INFO] Building jar: /w/workspace/policy-gui-sonar-prescan-script/gui-server/target/gui-server-3.1.1-SNAPSHOT.jar [INFO] [INFO] --- spring-boot-maven-plugin:3.1.7:repackage (default) @ gui-server --- [INFO] Replacing main artifact /w/workspace/policy-gui-sonar-prescan-script/gui-server/target/gui-server-3.1.1-SNAPSHOT.jar with repackaged archive, adding nested dependencies in BOOT-INF/. [INFO] The original artifact has been renamed to /w/workspace/policy-gui-sonar-prescan-script/gui-server/target/gui-server-3.1.1-SNAPSHOT.jar.original [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ gui-server --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ gui-server --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ gui-server --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ gui-server --- [INFO] Failsafe report directory: /w/workspace/policy-gui-sonar-prescan-script/gui-server/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ gui-server --- [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/gui-server/pom.xml to /tmp/r/org/onap/policy/gui/gui-server/3.1.1-SNAPSHOT/gui-server-3.1.1-SNAPSHOT.pom [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/gui-server/target/gui-server-3.1.1-SNAPSHOT.jar to /tmp/r/org/onap/policy/gui/gui-server/3.1.1-SNAPSHOT/gui-server-3.1.1-SNAPSHOT.jar [INFO] [INFO] ------------------< org.onap.policy.gui:gui-packages >------------------ [INFO] Building gui-packages 3.1.1-SNAPSHOT [8/8] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.3.1:clean (default-clean) @ gui-packages --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-property) @ gui-packages --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-no-snapshots) @ gui-packages --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-unit-test) @ gui-packages --- [INFO] surefireArgLine set to -javaagent:/tmp/r/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/w/workspace/policy-gui-sonar-prescan-script/packages/../../target/code-coverage/jacoco-ut.exec,append=true,excludes=org/drools/**/* --add-opens java.base/java.time=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.sql/java.sql=ALL-UNNAMED [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-license) @ gui-packages --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- maven-checkstyle-plugin:3.1.1:check (onap-java-style) @ gui-packages --- [INFO] Starting audit... Audit done. [INFO] You have 0 Checkstyle violations. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-unit-test) @ gui-packages --- [INFO] Skipping JaCoCo execution due to missing classes directory. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report-aggregate (report-aggregate) @ gui-packages --- [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (pre-integration-test) @ gui-packages --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] failsafeArgLine set to empty [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:integration-test (integration-tests) @ gui-packages --- [INFO] No tests to run. [INFO] [INFO] --- jacoco-maven-plugin:0.8.10:report (post-integration-test) @ gui-packages --- [INFO] Skipping JaCoCo execution because property jacoco.skip is set. [INFO] [INFO] --- maven-failsafe-plugin:3.0.0-M4:verify (integration-tests) @ gui-packages --- [INFO] Failsafe report directory: /w/workspace/policy-gui-sonar-prescan-script/packages/target/failsafe-reports [INFO] [INFO] --- maven-install-plugin:3.1.1:install (default-install) @ gui-packages --- [INFO] Installing /w/workspace/policy-gui-sonar-prescan-script/packages/pom.xml to /tmp/r/org/onap/policy/gui/gui-packages/3.1.1-SNAPSHOT/gui-packages-3.1.1-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for policy-gui 3.1.1-SNAPSHOT: [INFO] [INFO] policy-gui ......................................... SUCCESS [ 6.763 s] [INFO] gui-common ......................................... SUCCESS [ 1.106 s] [INFO] editors ............................................ SUCCESS [ 0.119 s] [INFO] gui-editor-apex .................................... SUCCESS [01:05 min] [INFO] gui-acm ............................................ SUCCESS [ 0.187 s] [INFO] runtime ............................................ SUCCESS [ 0.082 s] [INFO] gui-server ......................................... SUCCESS [ 15.295 s] [INFO] gui-packages ....................................... SUCCESS [ 0.097 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:30 min [INFO] Finished at: 2024-01-27T19:56:54Z [INFO] ------------------------------------------------------------------------ + '[' https://sonarcloud.io = https://sonarcloud.io ']' + params+=("-Dsonar.projectKey=$PROJECT_KEY") + params+=("-Dsonar.organization=$PROJECT_ORGANIZATION") + params+=("-Dsonar.login=$API_TOKEN") + '[' False = True ']' + '[' -n openjdk17 ']' + '[' openjdk17 '!=' openjdk17 ']' + /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36/bin/mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar -e -Dsonar -Dsonar.host.url=https://sonarcloud.io --global-settings /w/workspace/policy-gui-sonar-prescan-script@tmp/config6385104819610259246tmp --settings /w/workspace/policy-gui-sonar-prescan-script@tmp/config13035878359478277431tmp -Dsonar.projectKey=onap_policy-gui -Dsonar.organization=onap -Dsonar.login=**** --show-version --batch-mode -Djenkins -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /w/tools/hudson.tasks.Maven_MavenInstallation/mvn36 Java version: 17.0.4, vendor: Private Build, runtime: /usr/lib/jvm/java-17-openjdk-amd64 Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.15.0-194-generic", arch: "amd64", family: "unix" [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] policy-gui [pom] [INFO] gui-common [pom] [INFO] editors [pom] [INFO] gui-editor-apex [jar] [INFO] gui-acm [jar] [INFO] runtime [pom] [INFO] gui-server [jar] [INFO] gui-packages [pom] [INFO] [INFO] -------------------< org.onap.policy.gui:policy-gui >------------------- [INFO] Building policy-gui 3.1.1-SNAPSHOT [1/8] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- sonar-maven-plugin:3.9.1.2184:sonar (default-cli) @ policy-gui --- [INFO] User cache: /home/jenkins/.sonar/cache [INFO] SonarQube version: 8.0.0.52135 [INFO] Module MavenProject: org.onap.policy.gui:gui-packages:3.1.1-SNAPSHOT @ /w/workspace/policy-gui-sonar-prescan-script/packages/pom.xml skipped by property 'sonar.skip' [INFO] Default locale: "en", source code encoding: "UTF-8" [INFO] Load global settings [INFO] Load global settings (done) | time=545ms [INFO] Server id: 1BD809FA-AWHW8ct9-T_TB3XqouNu [INFO] User cache: /home/jenkins/.sonar/cache [INFO] Loading required plugins [INFO] Load plugins index [INFO] Load plugins index (done) | time=546ms [INFO] Load/download plugins [INFO] Load/download plugins (done) | time=813ms [INFO] Found an active CI vendor: 'Jenkins' [INFO] Load project settings for component key: 'onap_policy-gui' [INFO] Load project settings for component key: 'onap_policy-gui' (done) | time=624ms [INFO] Process project properties [INFO] Project key: onap_policy-gui [INFO] Base dir: /w/workspace/policy-gui-sonar-prescan-script [INFO] Working dir: /w/workspace/policy-gui-sonar-prescan-script/target/sonar [INFO] Load project branches [INFO] Load project branches (done) | time=504ms [INFO] Check ALM binding of project 'onap_policy-gui' [INFO] Detected project binding: NOT_BOUND [INFO] Check ALM binding of project 'onap_policy-gui' (done) | time=496ms [INFO] Load project pull requests [INFO] Load project pull requests (done) | time=493ms [INFO] Load branch configuration [INFO] Load branch configuration (done) | time=1ms [INFO] Load quality profiles [INFO] Load quality profiles (done) | time=550ms [INFO] Load active rules [INFO] Load active rules (done) | time=7624ms [INFO] Organization key: onap [WARNING] The property 'sonar.login' is deprecated and will be removed in the future. Please use the 'sonar.token' property instead when passing a token. [INFO] Preprocessing files... [INFO] 3 languages detected in 111 preprocessed files [INFO] 27 files ignored because of inclusion/exclusion patterns [INFO] 0 files ignored because of scm ignore settings [INFO] Loading plugins for detected languages [INFO] Load/download plugins [INFO] Load/download plugins (done) | time=308ms [INFO] Load project repositories [INFO] Load project repositories (done) | time=640ms [INFO] Indexing files... [INFO] Project configuration: [INFO] Excluded sources: **/build-wrapper-dump.json, **/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/** [INFO] Indexing files of module 'gui-editor-apex' [INFO] Base dir: /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex [INFO] Source paths: src/main/java, src/main/webapp/js [INFO] Test paths: src/test/java [INFO] Excluded sources: **/build-wrapper-dump.json, **/*.test.js [INFO] Some of the project files were automatically excluded because they looked like generated code. Enable debug logging to see which files were excluded. You can disable bundle detection by setting sonar.javascript.detectBundles=false [INFO] Indexing files of module 'editors' [INFO] Base dir: /w/workspace/policy-gui-sonar-prescan-script/gui-editors [INFO] Source paths: pom.xml [INFO] Excluded sources: **/build-wrapper-dump.json, **/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/** [INFO] Indexing files of module 'gui-acm' [INFO] Base dir: /w/workspace/policy-gui-sonar-prescan-script/gui-runtime/gui-acm [INFO] Source paths: pom.xml [INFO] Excluded sources: **/build-wrapper-dump.json, **/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/** [INFO] Indexing files of module 'runtime' [INFO] Base dir: /w/workspace/policy-gui-sonar-prescan-script/gui-runtime [INFO] Source paths: pom.xml [INFO] Excluded sources: **/build-wrapper-dump.json, **/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/** [INFO] Indexing files of module 'gui-common' [INFO] Base dir: /w/workspace/policy-gui-sonar-prescan-script/gui-common [INFO] Source paths: pom.xml [INFO] Excluded sources: **/build-wrapper-dump.json, **/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/** [INFO] Indexing files of module 'gui-server' [INFO] Base dir: /w/workspace/policy-gui-sonar-prescan-script/gui-server [INFO] Source paths: pom.xml, src/main/java [INFO] Test paths: src/test/java [INFO] Excluded sources: **/build-wrapper-dump.json, **/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/** [INFO] Indexing files of module 'policy-gui' [INFO] Base dir: /w/workspace/policy-gui-sonar-prescan-script [INFO] Source paths: pom.xml [INFO] Excluded sources: **/build-wrapper-dump.json, **/gen/**, **/generated-sources/**, **/yang-gen**, **/pax/** [INFO] 110 files indexed [INFO] Quality profile for java: ONAP way [INFO] Quality profile for js: Sonar way [INFO] Quality profile for xml: Sonar way [INFO] ------------- Run sensors on module gui-common [INFO] Load metrics repository [INFO] Load metrics repository (done) | time=496ms [INFO] Sensor cache enabled [INFO] Load sensor cache [INFO] Load sensor cache (362 KB) | time=1443ms [INFO] Sensor JaCoCo XML Report Importer [jacoco] [WARNING] No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/w/workspace/policy-gui-sonar-prescan-script/gui-common/target/site/jacoco-ut/jacoco.xml'. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml [INFO] No report imported, no coverage information will be imported by JaCoCo XML Report Importer [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms [INFO] Sensor CSS Rules [javascript] [INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. [INFO] Sensor CSS Rules [javascript] (done) | time=0ms [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms [INFO] Sensor XML Sensor [xml] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor XML Sensor [xml] (done) | time=130ms [INFO] Sensor TextAndSecretsSensor [text] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor TextAndSecretsSensor [text] (done) | time=371ms [INFO] Sensor IaC Docker Sensor [iac] [INFO] 0 source files to be analyzed [INFO] 0/0 source files have been analyzed [INFO] Sensor IaC Docker Sensor [iac] (done) | time=56ms [INFO] Sensor Serverless configuration file sensor [security] [INFO] 0 Serverless function entries were found in the project [INFO] 0 Serverless function handlers were kept as entrypoints [INFO] Sensor Serverless configuration file sensor [security] (done) | time=4ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=0ms [INFO] Sensor AWS SAM Inline template file sensor [security] [INFO] Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms [INFO] ------------- Run sensors on module gui-editor-apex [INFO] Sensor JavaSensor [java] [INFO] Configured Java source version (sonar.java.source): 17, preview features enabled (sonar.java.enablePreview): false [INFO] Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis. [INFO] Using ECJ batch to parse 32 Main java source files with batch size 210 KB. [INFO] Starting batch processing. [INFO] The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files. [INFO] 100% analyzed [INFO] Batch processing: Done. [INFO] Did not optimize analysis for any files, performed a full analysis for all 32 files. [INFO] Using ECJ batch to parse 12 Test java source files with batch size 210 KB. [INFO] Starting batch processing. [INFO] 100% analyzed [INFO] Batch processing: Done. [INFO] Did not optimize analysis for any files, performed a full analysis for all 12 files. [INFO] No "Generated" source files to scan. [INFO] Sensor JavaSensor [java] (done) | time=3595ms [INFO] Sensor JaCoCo XML Report Importer [jacoco] [INFO] Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=49ms [INFO] Sensor JavaScript/TypeScript analysis [javascript] [INFO] Detected os: Linux arch: amd64 alpine: false. Platform: LINUX_X64 [INFO] Using Node.js executable /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/node/node from property sonar.nodejs.executable. [INFO] Memory configuration: OS (16040 MB), Node.js (4144 MB). [WARNING] Using Node.js version 14 to execute analysis is deprecated and will stop being supported no earlier than May 1st, 2023. Please upgrade to a newer LTS version of Node.js [18, 20] [INFO] Found 0 tsconfig.json file(s): [] [INFO] Creating TypeScript program [INFO] 27 source files to be analyzed [INFO] TypeScript configuration file /tmp/tmp-3715-5GpKOKTp9s0U [INFO] Creating TypeScript program (done) | time=654ms [INFO] Starting analysis with current program [INFO] 24/27 files analyzed, current file: /w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/src/main/webapp/js/ApexFiles.js [INFO] Analyzed 27 file(s) with current program [INFO] 27/27 source files have been analyzed [INFO] Hit the cache for 0 out of 27 [INFO] Miss the cache for 27 out of 27: ANALYSIS_MODE_INELIGIBLE [27/27] [INFO] Sensor JavaScript/TypeScript analysis [javascript] (done) | time=15679ms [INFO] Sensor CSS Rules [javascript] [INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. [INFO] Sensor CSS Rules [javascript] (done) | time=2ms [INFO] Sensor JavaScript/TypeScript Coverage [javascript] [INFO] Analysing [/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/target/code-coverage/lcov.info] [WARNING] Could not resolve 1 file paths in [/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/target/code-coverage/lcov.info] [WARNING] First unresolved path: js/fileMenu.js (Run in DEBUG mode to get full list of unresolved paths) [INFO] Sensor JavaScript/TypeScript Coverage [javascript] (done) | time=27ms [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms [INFO] Sensor SurefireSensor [java] [INFO] parsing [/w/workspace/policy-gui-sonar-prescan-script/gui-editors/gui-editor-apex/target/surefire-reports] [INFO] Sensor SurefireSensor [java] (done) | time=35ms [INFO] Sensor TextAndSecretsSensor [text] [INFO] 71 source files to be analyzed [INFO] 71/71 source files have been analyzed [INFO] Sensor TextAndSecretsSensor [text] (done) | time=1336ms [INFO] Sensor IaC Docker Sensor [iac] [INFO] 0 source files to be analyzed [INFO] 0/0 source files have been analyzed [INFO] Sensor IaC Docker Sensor [iac] (done) | time=9ms [INFO] Sensor Serverless configuration file sensor [security] [INFO] 0 Serverless function entries were found in the project [INFO] 0 Serverless function handlers were kept as entrypoints [INFO] Sensor Serverless configuration file sensor [security] (done) | time=0ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=0ms [INFO] Sensor AWS SAM Inline template file sensor [security] [INFO] Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms [INFO] ------------- Run sensors on module editors [INFO] Sensor JaCoCo XML Report Importer [jacoco] [WARNING] No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/w/workspace/policy-gui-sonar-prescan-script/gui-editors/target/site/jacoco-ut/jacoco.xml'. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml [INFO] No report imported, no coverage information will be imported by JaCoCo XML Report Importer [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms [INFO] Sensor CSS Rules [javascript] [INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. [INFO] Sensor CSS Rules [javascript] (done) | time=0ms [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=0ms [INFO] Sensor XML Sensor [xml] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor XML Sensor [xml] (done) | time=13ms [INFO] Sensor TextAndSecretsSensor [text] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor TextAndSecretsSensor [text] (done) | time=42ms [INFO] Sensor IaC Docker Sensor [iac] [INFO] 0 source files to be analyzed [INFO] 0/0 source files have been analyzed [INFO] Sensor IaC Docker Sensor [iac] (done) | time=7ms [INFO] Sensor Serverless configuration file sensor [security] [INFO] 0 Serverless function entries were found in the project [INFO] 0 Serverless function handlers were kept as entrypoints [INFO] Sensor Serverless configuration file sensor [security] (done) | time=0ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=0ms [INFO] Sensor AWS SAM Inline template file sensor [security] [INFO] Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms [INFO] ------------- Run sensors on module gui-acm [INFO] Sensor JaCoCo XML Report Importer [jacoco] [WARNING] No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/w/workspace/policy-gui-sonar-prescan-script/gui-runtime/gui-acm/target/site/jacoco-ut/jacoco.xml'. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml [INFO] No report imported, no coverage information will be imported by JaCoCo XML Report Importer [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms [INFO] Sensor CSS Rules [javascript] [INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. [INFO] Sensor CSS Rules [javascript] (done) | time=0ms [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=0ms [INFO] Sensor XML Sensor [xml] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor XML Sensor [xml] (done) | time=14ms [INFO] Sensor TextAndSecretsSensor [text] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor TextAndSecretsSensor [text] (done) | time=38ms [INFO] Sensor IaC Docker Sensor [iac] [INFO] 0 source files to be analyzed [INFO] 0/0 source files have been analyzed [INFO] Sensor IaC Docker Sensor [iac] (done) | time=8ms [INFO] Sensor Serverless configuration file sensor [security] [INFO] 0 Serverless function entries were found in the project [INFO] 0 Serverless function handlers were kept as entrypoints [INFO] Sensor Serverless configuration file sensor [security] (done) | time=3ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=0ms [INFO] Sensor AWS SAM Inline template file sensor [security] [INFO] Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms [INFO] ------------- Run sensors on module runtime [INFO] Sensor JaCoCo XML Report Importer [jacoco] [WARNING] No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/w/workspace/policy-gui-sonar-prescan-script/gui-runtime/target/site/jacoco-ut/jacoco.xml'. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml [INFO] No report imported, no coverage information will be imported by JaCoCo XML Report Importer [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=5ms [INFO] Sensor CSS Rules [javascript] [INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. [INFO] Sensor CSS Rules [javascript] (done) | time=1ms [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms [INFO] Sensor XML Sensor [xml] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor XML Sensor [xml] (done) | time=10ms [INFO] Sensor TextAndSecretsSensor [text] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor TextAndSecretsSensor [text] (done) | time=35ms [INFO] Sensor IaC Docker Sensor [iac] [INFO] 0 source files to be analyzed [INFO] 0/0 source files have been analyzed [INFO] Sensor IaC Docker Sensor [iac] (done) | time=6ms [INFO] Sensor Serverless configuration file sensor [security] [INFO] 0 Serverless function entries were found in the project [INFO] 0 Serverless function handlers were kept as entrypoints [INFO] Sensor Serverless configuration file sensor [security] (done) | time=3ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=1ms [INFO] Sensor AWS SAM Inline template file sensor [security] [INFO] Sensor AWS SAM Inline template file sensor [security] (done) | time=1ms [INFO] ------------- Run sensors on module gui-server [INFO] Sensor JavaSensor [java] [INFO] Configured Java source version (sonar.java.source): 17, preview features enabled (sonar.java.enablePreview): false [INFO] Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis. [INFO] Using ECJ batch to parse 13 Main java source files with batch size 210 KB. [INFO] Starting batch processing. [INFO] The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files. [INFO] 100% analyzed [INFO] Batch processing: Done. [INFO] Did not optimize analysis for any files, performed a full analysis for all 13 files. [INFO] Using ECJ batch to parse 20 Test java source files with batch size 210 KB. [INFO] Starting batch processing. [INFO] 100% analyzed [INFO] Batch processing: Done. [INFO] Did not optimize analysis for any files, performed a full analysis for all 20 files. [INFO] No "Generated" source files to scan. [INFO] Sensor JavaSensor [java] (done) | time=590ms [INFO] Sensor JaCoCo XML Report Importer [jacoco] [INFO] Importing 1 report(s). Turn your logs in debug mode in order to see the exhaustive list. [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=2ms [INFO] Sensor CSS Rules [javascript] [INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. [INFO] Sensor CSS Rules [javascript] (done) | time=0ms [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=1ms [INFO] Sensor SurefireSensor [java] [INFO] parsing [/w/workspace/policy-gui-sonar-prescan-script/gui-server/target/surefire-reports] [INFO] Sensor SurefireSensor [java] (done) | time=14ms [INFO] Sensor XML Sensor [xml] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor XML Sensor [xml] (done) | time=22ms [INFO] Sensor TextAndSecretsSensor [text] [INFO] 34 source files to be analyzed [INFO] 34/34 source files have been analyzed [INFO] Sensor TextAndSecretsSensor [text] (done) | time=234ms [INFO] Sensor IaC Docker Sensor [iac] [INFO] 0 source files to be analyzed [INFO] 0/0 source files have been analyzed [INFO] Sensor IaC Docker Sensor [iac] (done) | time=24ms [INFO] Sensor Serverless configuration file sensor [security] [INFO] 0 Serverless function entries were found in the project [INFO] 0 Serverless function handlers were kept as entrypoints [INFO] Sensor Serverless configuration file sensor [security] (done) | time=0ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=0ms [INFO] Sensor AWS SAM Inline template file sensor [security] [INFO] Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms [INFO] ------------- Run sensors on module policy-gui [INFO] Sensor JaCoCo XML Report Importer [jacoco] [WARNING] No coverage report can be found with sonar.coverage.jacoco.xmlReportPaths='/w/workspace/policy-gui-sonar-prescan-script/target/site/jacoco-ut/jacoco.xml'. Using default locations: target/site/jacoco/jacoco.xml,target/site/jacoco-it/jacoco.xml,build/reports/jacoco/test/jacocoTestReport.xml [INFO] No report imported, no coverage information will be imported by JaCoCo XML Report Importer [INFO] Sensor JaCoCo XML Report Importer [jacoco] (done) | time=1ms [INFO] Sensor CSS Rules [javascript] [INFO] No CSS, PHP, HTML or VueJS files are found in the project. CSS analysis is skipped. [INFO] Sensor CSS Rules [javascript] (done) | time=0ms [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] [INFO] Sensor ThymeLeaf template sensor [securityjavafrontend] (done) | time=0ms [INFO] Sensor XML Sensor [xml] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor XML Sensor [xml] (done) | time=14ms [INFO] Sensor TextAndSecretsSensor [text] [INFO] 1 source file to be analyzed [INFO] 1/1 source file has been analyzed [INFO] Sensor TextAndSecretsSensor [text] (done) | time=34ms [INFO] Sensor IaC Docker Sensor [iac] [INFO] 0 source files to be analyzed [INFO] 0/0 source files have been analyzed [INFO] Sensor IaC Docker Sensor [iac] (done) | time=8ms [INFO] Sensor Serverless configuration file sensor [security] [INFO] 0 Serverless function entries were found in the project [INFO] 0 Serverless function handlers were kept as entrypoints [INFO] Sensor Serverless configuration file sensor [security] (done) | time=0ms [INFO] Sensor AWS SAM template file sensor [security] [INFO] Sensor AWS SAM template file sensor [security] (done) | time=0ms [INFO] Sensor AWS SAM Inline template file sensor [security] [INFO] Sensor AWS SAM Inline template file sensor [security] (done) | time=0ms [INFO] Sensor javabugs [dbd] [INFO] Reading IR files from: /w/workspace/policy-gui-sonar-prescan-script/target/sonar/ir/java [INFO] No IR files have been included for analysis. [INFO] Sensor javabugs [dbd] (done) | time=2ms [INFO] Sensor pythonbugs [dbd] [INFO] Reading IR files from: /w/workspace/policy-gui-sonar-prescan-script/target/sonar/ir/python [INFO] No IR files have been included for analysis. [INFO] Sensor pythonbugs [dbd] (done) | time=1ms [INFO] Sensor JavaSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5167, S5334, S6096 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/policy-gui-sonar-prescan-script/target/sonar/ucfg2/java [INFO] Read 231 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.056 [INFO] Load UCFGs: Starting [INFO] Reading UCFGs from: /w/workspace/policy-gui-sonar-prescan-script/target/sonar/ucfg2/java [INFO] Load UCFGs: Time spent was 00:00:00.142 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.199 [INFO] Analyzing 184 UCFGs to detect vulnerabilities. [INFO] Check cache: Starting [INFO] Load cache: Starting [INFO] Load cache: Time spent was 00:00:00.000 [INFO] Check cache: Time spent was 00:00:00.000 [INFO] Create runtime call graph: Starting [INFO] Variable Type Analysis #1: Starting [INFO] Create runtime type propagation graph: Starting [INFO] Create runtime type propagation graph: Time spent was 00:00:00.031 [INFO] Run SCC (Tarjan) on 1512 nodes: Starting [INFO] Run SCC (Tarjan) on 1512 nodes: Time spent was 00:00:00.004 [INFO] Tarjan found 1504 strongly connected components [INFO] Propagate runtime types to strongly connected components: Starting [INFO] Propagate runtime types to strongly connected components: Time spent was 00:00:00.006 [INFO] Variable Type Analysis #1: Time spent was 00:00:00.044 [INFO] Variable Type Analysis #2: Starting [INFO] Create runtime type propagation graph: Starting [INFO] Create runtime type propagation graph: Time spent was 00:00:00.029 [INFO] Run SCC (Tarjan) on 1512 nodes: Starting [INFO] Run SCC (Tarjan) on 1512 nodes: Time spent was 00:00:00.004 [INFO] Tarjan found 1504 strongly connected components [INFO] Propagate runtime types to strongly connected components: Starting [INFO] Propagate runtime types to strongly connected components: Time spent was 00:00:00.005 [INFO] Variable Type Analysis #2: Time spent was 00:00:00.039 [INFO] Create runtime call graph: Time spent was 00:00:00.086 [INFO] Load config: Starting [INFO] Load config: Time spent was 00:00:01.082 [INFO] Compute entry points: Starting [INFO] Compute entry points: Time spent was 00:00:00.733 [INFO] All rules entry points : 32 [INFO] Slice call graph: Starting [INFO] Retained UCFGs : 111 [INFO] Slice call graph: Time spent was 00:00:00.002 [INFO] Live variable analysis: Starting [INFO] Live variable analysis: Time spent was 00:00:00.025 [INFO] Taint analysis for java: Starting [INFO] 0 / 111 UCFGs simulated, memory usage: 304 MB [INFO] 111 / 111 UCFGs simulated, memory usage: 334 MB [INFO] Taint analysis for java: Time spent was 00:00:01.321 [INFO] Report issues: Starting [INFO] Report issues: Time spent was 00:00:00.444 [INFO] Store cache: Starting [INFO] Store cache: Time spent was 00:00:00.003 [INFO] java security sensor: Time spent was 00:00:03.904 [INFO] java security sensor: Begin: 2024-01-27T19:57:41.196768265Z, End: 2024-01-27T19:57:45.101584432Z, Duration: 00:00:03.904 Load type hierarchy and UCFGs: Begin: 2024-01-27T19:57:41.198408020Z, End: 2024-01-27T19:57:41.398280262Z, Duration: 00:00:00.199 Load type hierarchy: Begin: 2024-01-27T19:57:41.198534831Z, End: 2024-01-27T19:57:41.255374030Z, Duration: 00:00:00.056 Load UCFGs: Begin: 2024-01-27T19:57:41.255715553Z, End: 2024-01-27T19:57:41.398050160Z, Duration: 00:00:00.142 Check cache: Begin: 2024-01-27T19:57:41.398514084Z, End: 2024-01-27T19:57:41.398898967Z, Duration: 00:00:00.000 Load cache: Begin: 2024-01-27T19:57:41.398554864Z, End: 2024-01-27T19:57:41.398608865Z, Duration: 00:00:00.000 Create runtime call graph: Begin: 2024-01-27T19:57:41.399039558Z, End: 2024-01-27T19:57:41.485215901Z, Duration: 00:00:00.086 Variable Type Analysis #1: Begin: 2024-01-27T19:57:41.399589443Z, End: 2024-01-27T19:57:41.444515840Z, Duration: 00:00:00.044 Create runtime type propagation graph: Begin: 2024-01-27T19:57:41.400259939Z, End: 2024-01-27T19:57:41.432030413Z, Duration: 00:00:00.031 Run SCC (Tarjan) on 1512 nodes: Begin: 2024-01-27T19:57:41.432359355Z, End: 2024-01-27T19:57:41.437209767Z, Duration: 00:00:00.004 Propagate runtime types to strongly connected components: Begin: 2024-01-27T19:57:41.437425269Z, End: 2024-01-27T19:57:41.444358489Z, Duration: 00:00:00.006 Variable Type Analysis #2: Begin: 2024-01-27T19:57:41.444807613Z, End: 2024-01-27T19:57:41.484587105Z, Duration: 00:00:00.039 Create runtime type propagation graph: Begin: 2024-01-27T19:57:41.444857213Z, End: 2024-01-27T19:57:41.474190236Z, Duration: 00:00:00.029 Run SCC (Tarjan) on 1512 nodes: Begin: 2024-01-27T19:57:41.474331907Z, End: 2024-01-27T19:57:41.478582344Z, Duration: 00:00:00.004 Propagate runtime types to strongly connected components: Begin: 2024-01-27T19:57:41.478784155Z, End: 2024-01-27T19:57:41.484444214Z, Duration: 00:00:00.005 Load config: Begin: 2024-01-27T19:57:41.485352152Z, End: 2024-01-27T19:57:42.567493373Z, Duration: 00:00:01.082 Compute entry points: Begin: 2024-01-27T19:57:42.567931937Z, End: 2024-01-27T19:57:43.301536847Z, Duration: 00:00:00.733 Slice call graph: Begin: 2024-01-27T19:57:43.301891760Z, End: 2024-01-27T19:57:43.304498063Z, Duration: 00:00:00.002 Live variable analysis: Begin: 2024-01-27T19:57:43.304629554Z, End: 2024-01-27T19:57:43.329681818Z, Duration: 00:00:00.025 Taint analysis for java: Begin: 2024-01-27T19:57:43.329902730Z, End: 2024-01-27T19:57:44.650975625Z, Duration: 00:00:01.321 Report issues: Begin: 2024-01-27T19:57:44.651989144Z, End: 2024-01-27T19:57:45.096520659Z, Duration: 00:00:00.444 Store cache: Begin: 2024-01-27T19:57:45.097262906Z, End: 2024-01-27T19:57:45.100899176Z, Duration: 00:00:00.003 [INFO] java security sensor peak memory: 460 MB [INFO] Sensor JavaSecuritySensor [security] (done) | time=3931ms [INFO] Sensor CSharpSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5883, S6096, S6173, S6287, S6350, S6399, S6639, S6641 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/policy-gui-sonar-prescan-script/target/ucfg2/cs [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] csharp security sensor: Time spent was 00:00:00.001 [INFO] Sensor CSharpSecuritySensor [security] (done) | time=2ms [INFO] Sensor PhpSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5334, S5335, S5883, S6173, S6287, S6350 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/policy-gui-sonar-prescan-script/target/sonar/ucfg2/php [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] php security sensor: Time spent was 00:00:00.000 [INFO] Sensor PhpSecuritySensor [security] (done) | time=2ms [INFO] Sensor PythonSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S2078, S2083, S2091, S2631, S3649, S5131, S5135, S5144, S5145, S5146, S5147, S5334, S5496, S6287, S6350, S6639, S6680, S6776, S6839 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/policy-gui-sonar-prescan-script/target/sonar/ucfg2/python [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] python security sensor: Time spent was 00:00:00.000 [INFO] Sensor PythonSecuritySensor [security] (done) | time=1ms [INFO] Sensor JsSecuritySensor [security] [INFO] Enabled taint analysis rules: S2076, S3649, S6287, S5147, S6096, S5131, S5883, S5696, S2083, S5144, S6350, S6105, S5334, S5146, S2631 [INFO] Load type hierarchy and UCFGs: Starting [INFO] Load type hierarchy: Starting [INFO] Reading type hierarchy from: /w/workspace/policy-gui-sonar-prescan-script/target/sonar/ucfg2/js [INFO] Read 0 type definitions [INFO] Load type hierarchy: Time spent was 00:00:00.000 [INFO] Load UCFGs: Starting [INFO] Load UCFGs: Time spent was 00:00:00.000 [INFO] Load type hierarchy and UCFGs: Time spent was 00:00:00.000 [INFO] No UCFGs have been included for analysis. [INFO] js security sensor: Time spent was 00:00:00.000 [INFO] Sensor JsSecuritySensor [security] (done) | time=1ms [INFO] ------------- Run sensors on project [INFO] Sensor Zero Coverage Sensor [INFO] Sensor Zero Coverage Sensor (done) | time=3ms [INFO] Sensor Java CPD Block Indexer [INFO] Sensor Java CPD Block Indexer (done) | time=67ms [INFO] CPD Executor 18 files had no CPD blocks [INFO] CPD Executor Calculating CPD for 54 files [INFO] CPD Executor CPD calculation finished (done) | time=53ms [INFO] Analysis report generated in 154ms, dir size=2 MB [INFO] Analysis report compressed in 170ms, zip size=552 KB [INFO] Analysis report uploaded in 3863ms [INFO] ANALYSIS SUCCESSFUL, you can find the results at: https://sonarcloud.io/dashboard?id=onap_policy-gui [INFO] Note that you will be able to access the updated dashboard once the server has processed the submitted analysis report [INFO] More about the report processing at https://sonarcloud.io/api/ce/task?id=AY1Mf-96DX3BLt_VTiVN [INFO] Sensor cache published successfully [INFO] Analysis total time: 53.088 s [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for policy-gui 3.1.1-SNAPSHOT: [INFO] [INFO] policy-gui ......................................... SUCCESS [01:00 min] [INFO] gui-common ......................................... SKIPPED [INFO] editors ............................................ SKIPPED [INFO] gui-editor-apex .................................... SKIPPED [INFO] gui-acm ............................................ SKIPPED [INFO] runtime ............................................ SKIPPED [INFO] gui-server ......................................... SKIPPED [INFO] gui-packages ....................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:00 min [INFO] Finished at: 2024-01-27T19:57:56Z [INFO] ------------------------------------------------------------------------ [policy-gui-sonar-prescan-script] $ /bin/bash /tmp/jenkins14396210445969049042.sh [Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: true) Run condition [Not] preventing perform for step [BuilderChain] [FINDBUGS] Collecting findbugs analysis files... [FINDBUGS] Searching for all files in /w/workspace/policy-gui-sonar-prescan-script that match the pattern **/findbugs.xml [FINDBUGS] No files found. Configuration error? The recommended git tool is: NONE using credential onap-jenkins-ssh Using GitBlamer to create author and commit information for all warnings. GIT_COMMIT=f2dbc9877de258fb4d2e6abdbb00f3a594e1fdfc, workspace=/w/workspace/policy-gui-sonar-prescan-script [FINDBUGS] Computing warning deltas based on reference build #1030 [PostBuildScript] - [INFO] Executing post build scripts. [policy-gui-sonar-prescan-script] $ /bin/bash /tmp/jenkins14928280530657256871.sh ---> sysstat.sh [policy-gui-sonar-prescan-script] $ /bin/bash /tmp/jenkins6600503911268605929.sh ---> package-listing.sh ++ facter osfamily ++ tr '[:upper:]' '[:lower:]' + OS_FAMILY=debian + workspace=/w/workspace/policy-gui-sonar-prescan-script + START_PACKAGES=/tmp/packages_start.txt + END_PACKAGES=/tmp/packages_end.txt + DIFF_PACKAGES=/tmp/packages_diff.txt + PACKAGES=/tmp/packages_start.txt + '[' /w/workspace/policy-gui-sonar-prescan-script ']' + PACKAGES=/tmp/packages_end.txt + case "${OS_FAMILY}" in + dpkg -l + grep '^ii' + '[' -f /tmp/packages_start.txt ']' + '[' -f /tmp/packages_end.txt ']' + diff /tmp/packages_start.txt /tmp/packages_end.txt + '[' /w/workspace/policy-gui-sonar-prescan-script ']' + mkdir -p /w/workspace/policy-gui-sonar-prescan-script/archives/ + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/policy-gui-sonar-prescan-script/archives/ [policy-gui-sonar-prescan-script] $ /bin/bash /tmp/jenkins14601282178503054129.sh ---> capture-instance-metadata.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-gui-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1KI5 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1KI5/bin to PATH INFO: Running in OpenStack, capturing instance metadata [policy-gui-sonar-prescan-script] $ /bin/bash /tmp/jenkins2556349663089737727.sh provisioning config files... copy managed file [jenkins-log-archives-settings] to file:/w/workspace/policy-gui-sonar-prescan-script@tmp/config11872655547971621571tmp Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] Run condition [Regular expression match] preventing perform for step [Provide Configuration files] [EnvInject] - Injecting environment variables from a build step. [EnvInject] - Injecting as environment variables the properties content SERVER_ID=logs [EnvInject] - Variables injected successfully. [policy-gui-sonar-prescan-script] $ /bin/bash /tmp/jenkins2092888359254709397.sh ---> create-netrc.sh [policy-gui-sonar-prescan-script] $ /bin/bash /tmp/jenkins15653614954465670361.sh ---> python-tools-install.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-gui-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1KI5 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools lf-activate-venv(): INFO: Adding /tmp/venv-1KI5/bin to PATH [policy-gui-sonar-prescan-script] $ /bin/bash /tmp/jenkins3027930269294030448.sh ---> sudo-logs.sh Archiving 'sudo' log.. [policy-gui-sonar-prescan-script] $ /bin/bash /tmp/jenkins13374127072159383789.sh ---> job-cost.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-gui-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1KI5 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. lftools 0.37.8 requires openstacksdk<1.5.0, but you have openstacksdk 2.1.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-1KI5/bin to PATH INFO: No Stack... INFO: Retrieving Pricing Info for: v3-standard-4 INFO: Archiving Costs [policy-gui-sonar-prescan-script] $ /bin/bash -l /tmp/jenkins5422965057346012805.sh ---> logs-deploy.sh Setup pyenv: system 3.8.13 3.9.13 * 3.10.6 (set by /w/workspace/policy-gui-sonar-prescan-script/.python-version) lf-activate-venv(): INFO: Reuse venv:/tmp/venv-1KI5 from file:/tmp/.os_lf_venv lf-activate-venv(): INFO: Installing: lftools ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. python-openstackclient 6.4.0 requires openstacksdk>=2.0.0, but you have openstacksdk 1.4.0 which is incompatible. lf-activate-venv(): INFO: Adding /tmp/venv-1KI5/bin to PATH INFO: Nexus URL https://nexus.onap.org path production/vex-yul-ecomp-jenkins-1/policy-gui-sonar-prescan-script/1031 INFO: archiving workspace using pattern(s): -p **/*.log -p **/hs_err_*.log -p **/target/**/feature.xml -p **/target/failsafe-reports/failsafe-summary.xml -p **/target/surefire-reports/*-output.txt Archives upload complete. INFO: archiving logs to Nexus ---> uname -a: Linux prd-ubuntu1804-builder-4c-4g-368 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux ---> lscpu: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 4 NUMA node(s): 1 Vendor ID: AuthenticAMD CPU family: 23 Model: 49 Model name: AMD EPYC-Rome Processor Stepping: 0 CPU MHz: 2800.000 BogoMIPS: 5600.00 Virtualization: AMD-V Hypervisor vendor: KVM Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 512K L3 cache: 16384K NUMA node0 CPU(s): 0-3 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities ---> nproc: 4 ---> df -h: Filesystem Size Used Avail Use% Mounted on udev 7.9G 0 7.9G 0% /dev tmpfs 1.6G 672K 1.6G 1% /run /dev/vda1 78G 9.6G 68G 13% / tmpfs 7.9G 0 7.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup /dev/vda15 105M 4.4M 100M 5% /boot/efi tmpfs 1.6G 0 1.6G 0% /run/user/1001 ---> free -m: total used free shared buff/cache available Mem: 16040 625 11605 0 3808 15084 Swap: 1023 0 1023 ---> ip addr: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: mtu 1458 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:5e:cd:59 brd ff:ff:ff:ff:ff:ff inet 10.30.106.230/23 brd 10.30.107.255 scope global dynamic ens3 valid_lft 86091sec preferred_lft 86091sec inet6 fe80::f816:3eff:fe5e:cd59/64 scope link valid_lft forever preferred_lft forever ---> sar -b -r -n DEV: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-368) 01/27/24 _x86_64_ (4 CPU) 19:53:33 LINUX RESTART (4 CPU) 19:54:01 tps rtps wtps bread/s bwrtn/s 19:55:02 172.72 55.51 117.21 2379.34 48797.33 19:56:01 304.17 33.59 270.58 1774.61 41903.54 19:57:01 181.67 9.37 172.30 732.14 28130.11 19:58:01 19.11 1.65 17.46 125.85 17939.94 Average: 168.85 24.99 143.86 1250.80 34160.48 19:54:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:55:02 13381976 15567372 3042992 18.53 75160 2293940 754168 4.32 922512 1874808 175568 19:56:01 12054484 14807288 4370484 26.61 118408 2779700 1362248 7.80 1731916 2333200 141448 19:57:01 11872700 15272940 4552268 27.72 135472 3359896 1025264 5.87 1483852 2714492 373896 19:58:01 11913612 15459856 4511356 27.47 150556 3483296 824480 4.72 1381604 2772364 6832 Average: 12305693 15276864 4119275 25.08 119899 2979208 991540 5.67 1379971 2423716 174436 19:54:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:55:02 lo 1.60 1.60 0.17 0.17 0.00 0.00 0.00 0.00 19:55:02 ens3 109.28 62.52 1373.87 10.60 0.00 0.00 0.00 0.00 19:56:01 lo 1.29 1.29 0.19 0.19 0.00 0.00 0.00 0.00 19:56:01 ens3 514.37 353.18 3875.04 87.08 0.00 0.00 0.00 0.00 19:57:01 lo 0.88 0.88 0.07 0.07 0.00 0.00 0.00 0.00 19:57:01 ens3 596.02 352.86 1723.25 109.89 0.00 0.00 0.00 0.00 19:58:01 lo 7.17 7.17 80.13 80.13 0.00 0.00 0.00 0.00 19:58:01 ens3 585.69 331.26 1949.80 107.22 0.00 0.00 0.00 0.00 Average: lo 2.74 2.74 20.23 20.23 0.00 0.00 0.00 0.00 Average: ens3 451.08 274.63 2223.61 78.66 0.00 0.00 0.00 0.00 ---> sar -P ALL: Linux 4.15.0-194-generic (prd-ubuntu1804-builder-4c-4g-368) 01/27/24 _x86_64_ (4 CPU) 19:53:33 LINUX RESTART (4 CPU) 19:54:01 CPU %user %nice %system %iowait %steal %idle 19:55:02 all 19.24 0.00 1.82 6.58 0.06 72.29 19:55:02 0 16.00 0.00 1.52 1.15 0.05 81.27 19:55:02 1 14.59 0.00 1.76 6.55 0.10 77.00 19:55:02 2 19.69 0.00 1.74 7.97 0.07 70.53 19:55:02 3 26.66 0.00 2.24 10.67 0.07 60.35 19:56:01 all 29.80 0.00 2.70 5.30 0.09 62.10 19:56:01 0 36.63 0.00 2.74 7.05 0.08 53.50 19:56:01 1 25.08 0.00 2.71 7.63 0.09 64.49 19:56:01 2 25.39 0.00 3.16 5.40 0.09 65.96 19:56:01 3 32.09 0.00 2.18 1.16 0.09 64.49 19:57:01 all 60.77 0.00 3.50 2.01 0.09 33.63 19:57:01 0 62.48 0.00 2.23 2.23 0.08 32.98 19:57:01 1 62.79 0.00 3.88 2.10 0.10 31.12 19:57:01 2 56.15 0.00 3.96 1.74 0.08 38.07 19:57:01 3 61.64 0.00 3.94 1.95 0.10 32.37 19:58:01 all 30.08 0.00 1.53 0.95 0.07 67.38 19:58:01 0 26.93 0.00 1.08 0.03 0.07 71.89 19:58:01 1 31.61 0.00 1.59 3.42 0.07 63.31 19:58:01 2 28.03 0.00 0.96 0.32 0.07 70.63 19:58:01 3 33.76 0.00 2.49 0.03 0.07 63.64 Average: all 34.97 0.00 2.38 3.70 0.08 58.87 Average: 0 35.48 0.00 1.89 2.60 0.07 59.96 Average: 1 33.53 0.00 2.49 4.92 0.09 58.98 Average: 2 32.31 0.00 2.45 3.86 0.08 61.31 Average: 3 38.53 0.00 2.71 3.47 0.08 55.21