Started by timer Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on sos-builder02-ubuntu18 (lin ubuntu18 java11) in workspace /builds/workspace/gumtree-spoon-ast-diff [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] Done The recommended git tool is: NONE No credentials specified Cloning the remote Git repository Cloning repository https://github.com/SpoonLabs/gumtree-spoon-ast-diff.git > git init /builds/workspace/gumtree-spoon-ast-diff # timeout=10 Fetching upstream changes from https://github.com/SpoonLabs/gumtree-spoon-ast-diff.git > git --version # timeout=10 > git --version # 'git version 2.25.1' > git fetch --tags --force --progress -- https://github.com/SpoonLabs/gumtree-spoon-ast-diff.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/SpoonLabs/gumtree-spoon-ast-diff.git # 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 8a2dedb43123feab7adb981ae930c8839e10d922 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8a2dedb43123feab7adb981ae930c8839e10d922 # timeout=10 Commit message: "chore(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.6.2 (#291)" > git rev-list --no-walk 8a2dedb43123feab7adb981ae930c8839e10d922 # timeout=10 [gumtree-spoon-ast-diff] $ /bin/sh -xe /tmp/jenkins11807664974065683651.sh + curl https://spoon.gforge.inria.fr/jenkins/inject_spoon_snapshot.py % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2376 100 2376 0 0 13054 0 --:--:-- --:--:-- --:--:-- 13054 + python3 -c #! /bin/python3 """Script for injecting the latest SNAPSHOT version of Spoon into all pom.xml files it finds in the curren tworking directory or any subdirectory. Requires the ``defusedxml`` package to be installed separately. This script is compatible with Python 3.5+ """ import xml.etree.ElementTree as ET import subprocess import pathlib from typing import Optional SPOON_SNAPSHOT_REPO = """ spoon-snapshot-repo Maven Repository for Spoon Snapshots https://oss.sonatype.org/content/repositories/snapshots/ """ MAVEN_NAMESPACE = "http://maven.apache.org/POM/4.0.0" NAMESPACES = {"": MAVEN_NAMESPACE} MAVEN_VERSIONS_COMMAND = "mvn -B -U versions:use-latest-versions -DallowSnapshots -Dincludes=fr.inria.gforge.spoon".split() PURGE_LOCAL_REPO_COMMAND = "mvn -B -U dependency:purge-local-repository -DmanualInclude='fr.inria.gforge.spoon:spoon-core' -DsnapshotsOnly=true".split() def main(): ET.register_namespace("", MAVEN_NAMESPACE) pom_file = pathlib.Path("pom.xml") inject_snapshot_repo(pom_file) subprocess.run(MAVEN_VERSIONS_COMMAND, cwd=str(pom_file.parent)) subprocess.run(PURGE_LOCAL_REPO_COMMAND, cwd=str(pom_file.parent)) def inject_snapshot_repo(pom_file: pathlib.Path) -> None: tree = ET.parse(str(pom_file)) root = tree.getroot() repositories = root.find(in_maven_namespace("repositories")) if not repositories: repositories = ET.fromstring("") root.append(repositories) snapshot_repo = ET.fromstring(SPOON_SNAPSHOT_REPO) snapshot_repo_url = snapshot_repo.find("url").text for repo in repositories.findall(in_maven_namespace("repository")): url = repo.find(in_maven_namespace("url")).text if url == snapshot_repo_url: return repositories.append(snapshot_repo) tree.write(str(pom_file)) def in_maven_namespace(tag: str) -> str: """Wrap the tag in the default Maven namespace. If porting this script to Python 3.6+, then this method can be removed and one can instead search with a default namespace like so: someElement.find(tag, namespaces={"": MAVEN_NAMESPACE}) This does not appear to work in Python 3.5 """ return "{{{}}}{}".format(MAVEN_NAMESPACE, tag) if __name__ == "__main__": main() Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for fr.inria.gforge.spoon.labs:gumtree-spoon-ast-diff:jar:SNAPSHOT [WARNING] 'version' uses an unsupported snapshot version format, should be '*-SNAPSHOT' instead. @ line 14, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] Inspecting build with total of 1 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 26 kB/s) [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (21 kB at 38 kB/s) [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/versions-maven-plugin/maven-metadata.xml [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/versions-maven-plugin/maven-metadata.xml (1.2 kB at 20 kB/s) [INFO] [INFO] ---------< fr.inria.gforge.spoon.labs:gumtree-spoon-ast-diff >---------- [INFO] Building Gumtree Spoon AST Diff SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- versions-maven-plugin:2.16.2:use-latest-versions (default-cli) @ gumtree-spoon-ast-diff --- [INFO] Downloading from spoon-snapshot-repo: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/maven-metadata.xml [INFO] Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/maven-metadata.xml [INFO] Downloading from central: https://repo.maven.apache.org/maven2/fr/inria/gforge/spoon/spoon-core/maven-metadata.xml [INFO] Downloading from gforge.inria.fr-release: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/maven-metadata.xml [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/fr/inria/gforge/spoon/spoon-core/maven-metadata.xml (10 kB at 195 kB/s) [INFO] Downloaded from gforge.inria.fr-release: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/maven-metadata.xml (784 B at 7.1 kB/s) [WARNING] Could not transfer metadata fr.inria.gforge.spoon:spoon-core/maven-metadata.xml from/to spoon-snapshot-repo (https://oss.sonatype.org/content/repositories/snapshots/): Transfer failed for https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/maven-metadata.xml 502 Bad Gateway [WARNING] Could not transfer metadata fr.inria.gforge.spoon:spoon-core/maven-metadata.xml from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots): Transfer failed for https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/maven-metadata.xml 502 Bad Gateway [INFO] Updated fr.inria.gforge.spoon:spoon-core:jar:10.4.2 to version 10.4.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.211 s [INFO] Finished at: 2023-12-14T10:20:13+01:00 [INFO] ------------------------------------------------------------------------ Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for fr.inria.gforge.spoon.labs:gumtree-spoon-ast-diff:jar:SNAPSHOT [WARNING] 'version' uses an unsupported snapshot version format, should be '*-SNAPSHOT' instead. @ line 14, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] Inspecting build with total of 1 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] [INFO] ---------< fr.inria.gforge.spoon.labs:gumtree-spoon-ast-diff >---------- [INFO] Building Gumtree Spoon AST Diff SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-dependency-plugin:2.8:purge-local-repository (default-cli) @ gumtree-spoon-ast-diff --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.704 s [INFO] Finished at: 2023-12-14T10:20:20+01:00 [INFO] ------------------------------------------------------------------------ + mvn -U dependency:resolve Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for fr.inria.gforge.spoon.labs:gumtree-spoon-ast-diff:jar:SNAPSHOT [WARNING] 'version' uses an unsupported snapshot version format, should be '*-SNAPSHOT' instead. @ line 14, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] Inspecting build with total of 1 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] [INFO] ---------< fr.inria.gforge.spoon.labs:gumtree-spoon-ast-diff >---------- [INFO] Building Gumtree Spoon AST Diff SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/10.4.3-SNAPSHOT/maven-metadata.xml Downloading from gforge.inria.fr-release: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/10.4.3-SNAPSHOT/maven-metadata.xml Downloading from spoon-snapshot-repo: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/10.4.3-SNAPSHOT/maven-metadata.xml Progress (1): 1.4 kB Progress (2): 1.4 kB | 1.4 kB Downloaded from spoon-snapshot-repo: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/10.4.3-SNAPSHOT/maven-metadata.xml (1.4 kB at 1.6 kB/s) Downloaded from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/10.4.3-SNAPSHOT/maven-metadata.xml (1.4 kB at 1.5 kB/s) Downloading from gforge.inria.fr-release: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/10.4.3-SNAPSHOT/spoon-core-10.4.3-20231214.010004-1.pom Downloading from spoon-snapshot-repo: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/10.4.3-SNAPSHOT/spoon-core-10.4.3-20231214.010004-1.pom Downloaded from spoon-snapshot-repo: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/10.4.3-SNAPSHOT/spoon-core-10.4.3-20231214.010004-1.pom (0 B at 0 B/s) Downloading from gforge.inria.fr-release: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-pom/10.4.3-SNAPSHOT/maven-metadata.xml Downloading from spoon-snapshot-repo: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-pom/10.4.3-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-pom/10.4.3-SNAPSHOT/maven-metadata.xml Progress (1): 609 B Progress (2): 609 B | 609 B Downloaded from spoon-snapshot-repo: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-pom/10.4.3-SNAPSHOT/maven-metadata.xml (609 B at 2.3 kB/s) Downloaded from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-pom/10.4.3-SNAPSHOT/maven-metadata.xml (609 B at 2.3 kB/s) Downloading from spoon-snapshot-repo: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-pom/10.4.3-SNAPSHOT/spoon-pom-10.4.3-20231214.010712-1.pom Downloaded from spoon-snapshot-repo: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-pom/10.4.3-SNAPSHOT/spoon-pom-10.4.3-20231214.010712-1.pom (0 B at 0 B/s) Downloading from spoon-snapshot-repo: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/10.4.3-SNAPSHOT/spoon-core-10.4.3-20231214.010004-1.jar Progress (1): 0/1.9 MB Progress (1): 0/1.9 MB Progress (1): 0/1.9 MB Progress (1): 0/1.9 MB Progress (1): 0/1.9 MB Progress (1): 0.1/1.9 MB Progress (1): 0.1/1.9 MB Progress (1): 0.1/1.9 MB Progress (1): 0.1/1.9 MB Progress (1): 0.1/1.9 MB Progress (1): 0.1/1.9 MB Progress (1): 0.1/1.9 MB Progress (1): 0.1/1.9 MB Progress (1): 0.1/1.9 MB Progress (1): 0.1/1.9 MB Progress (1): 0.1/1.9 MB Progress (1): 0.1/1.9 MB Progress (1): 0.2/1.9 MB Progress (1): 0.2/1.9 MB Progress (1): 0.2/1.9 MB Progress (1): 0.2/1.9 MB Progress (1): 0.2/1.9 MB Progress (1): 0.2/1.9 MB Progress (1): 0.2/1.9 MB Progress (1): 0.2/1.9 MB Progress (1): 0.2/1.9 MB Progress (1): 0.2/1.9 MB Progress (1): 0.2/1.9 MB Progress (1): 0.2/1.9 MB Progress (1): 0.3/1.9 MB Progress (1): 0.3/1.9 MB Progress (1): 0.3/1.9 MB Progress (1): 0.3/1.9 MB Progress (1): 0.3/1.9 MB Progress (1): 0.3/1.9 MB Progress (1): 0.3/1.9 MB Progress (1): 0.3/1.9 MB Progress (1): 0.3/1.9 MB Progress (1): 0.3/1.9 MB Progress (1): 0.3/1.9 MB Progress (1): 0.3/1.9 MB Progress (1): 0.4/1.9 MB Progress (1): 0.4/1.9 MB Progress (1): 0.4/1.9 MB Progress (1): 0.4/1.9 MB Progress (1): 0.4/1.9 MB Progress (1): 0.4/1.9 MB Progress (1): 0.4/1.9 MB Progress (1): 0.4/1.9 MB Progress (1): 0.4/1.9 MB Progress (1): 0.4/1.9 MB Progress (1): 0.4/1.9 MB Progress (1): 0.4/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.5/1.9 MB Progress (1): 0.6/1.9 MB Progress (1): 0.6/1.9 MB Progress (1): 0.6/1.9 MB Progress (1): 0.6/1.9 MB Progress (1): 0.6/1.9 MB Progress (1): 0.6/1.9 MB Progress (1): 0.6/1.9 MB Progress (1): 0.6/1.9 MB Progress (1): 0.6/1.9 MB Progress (1): 0.6/1.9 MB Progress (1): 0.6/1.9 MB Progress (1): 0.6/1.9 MB Progress (1): 0.7/1.9 MB Progress (1): 0.7/1.9 MB Progress (1): 0.7/1.9 MB Progress (1): 0.7/1.9 MB Progress (1): 0.7/1.9 MB Progress (1): 0.7/1.9 MB Progress (1): 0.7/1.9 MB Progress (1): 0.7/1.9 MB Progress (1): 0.7/1.9 MB Progress (1): 0.7/1.9 MB Progress (1): 0.7/1.9 MB Progress (1): 0.7/1.9 MB Progress (1): 0.8/1.9 MB Progress (1): 0.8/1.9 MB Progress (1): 0.8/1.9 MB Progress (1): 0.8/1.9 MB Progress (1): 0.8/1.9 MB Progress (1): 0.8/1.9 MB Progress (1): 0.8/1.9 MB Progress (1): 0.8/1.9 MB Progress (1): 0.8/1.9 MB Progress (1): 0.8/1.9 MB Progress (1): 0.8/1.9 MB Progress (1): 0.8/1.9 MB Progress (1): 0.9/1.9 MB Progress (1): 0.9/1.9 MB Progress (1): 0.9/1.9 MB Progress (1): 0.9/1.9 MB Progress (1): 0.9/1.9 MB Progress (1): 0.9/1.9 MB Progress (1): 0.9/1.9 MB Progress (1): 0.9/1.9 MB Progress (1): 0.9/1.9 MB Progress (1): 0.9/1.9 MB Progress (1): 0.9/1.9 MB Progress (1): 0.9/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.0/1.9 MB Progress (1): 1.1/1.9 MB Progress (1): 1.1/1.9 MB Progress (1): 1.1/1.9 MB Progress (1): 1.1/1.9 MB Progress (1): 1.1/1.9 MB Progress (1): 1.1/1.9 MB Progress (1): 1.1/1.9 MB Progress (1): 1.1/1.9 MB Progress (1): 1.1/1.9 MB Progress (1): 1.1/1.9 MB Progress (1): 1.1/1.9 MB Progress (1): 1.1/1.9 MB Progress (1): 1.2/1.9 MB Progress (1): 1.2/1.9 MB Progress (1): 1.2/1.9 MB Progress (1): 1.2/1.9 MB Progress (1): 1.2/1.9 MB Progress (1): 1.2/1.9 MB Progress (1): 1.2/1.9 MB Progress (1): 1.2/1.9 MB Progress (1): 1.2/1.9 MB Progress (1): 1.2/1.9 MB Progress (1): 1.2/1.9 MB Progress (1): 1.2/1.9 MB Progress (1): 1.3/1.9 MB Progress (1): 1.3/1.9 MB Progress (1): 1.3/1.9 MB Progress (1): 1.3/1.9 MB Progress (1): 1.3/1.9 MB Progress (1): 1.3/1.9 MB Progress (1): 1.3/1.9 MB Progress (1): 1.3/1.9 MB Progress (1): 1.3/1.9 MB Progress (1): 1.3/1.9 MB Progress (1): 1.3/1.9 MB Progress (1): 1.3/1.9 MB Progress (1): 1.4/1.9 MB Progress (1): 1.4/1.9 MB Progress (1): 1.4/1.9 MB Progress (1): 1.4/1.9 MB Progress (1): 1.4/1.9 MB Progress (1): 1.4/1.9 MB Progress (1): 1.4/1.9 MB Progress (1): 1.4/1.9 MB Progress (1): 1.4/1.9 MB Progress (1): 1.4/1.9 MB Progress (1): 1.4/1.9 MB Progress (1): 1.4/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.5/1.9 MB Progress (1): 1.6/1.9 MB Progress (1): 1.6/1.9 MB Progress (1): 1.6/1.9 MB Progress (1): 1.6/1.9 MB Progress (1): 1.6/1.9 MB Progress (1): 1.6/1.9 MB Progress (1): 1.6/1.9 MB Progress (1): 1.6/1.9 MB Progress (1): 1.6/1.9 MB Progress (1): 1.6/1.9 MB Progress (1): 1.6/1.9 MB Progress (1): 1.6/1.9 MB Progress (1): 1.7/1.9 MB Progress (1): 1.7/1.9 MB Progress (1): 1.7/1.9 MB Progress (1): 1.7/1.9 MB Progress (1): 1.7/1.9 MB Progress (1): 1.7/1.9 MB Progress (1): 1.7/1.9 MB Progress (1): 1.7/1.9 MB Progress (1): 1.7/1.9 MB Progress (1): 1.7/1.9 MB Progress (1): 1.7/1.9 MB Progress (1): 1.7/1.9 MB Progress (1): 1.8/1.9 MB Progress (1): 1.8/1.9 MB Progress (1): 1.8/1.9 MB Progress (1): 1.8/1.9 MB Progress (1): 1.8/1.9 MB Progress (1): 1.8/1.9 MB Progress (1): 1.8/1.9 MB Progress (1): 1.8/1.9 MB Progress (1): 1.8/1.9 MB Progress (1): 1.8/1.9 MB Progress (1): 1.8/1.9 MB Progress (1): 1.8/1.9 MB Progress (1): 1.9/1.9 MB Progress (1): 1.9/1.9 MB Progress (1): 1.9/1.9 MB Progress (1): 1.9/1.9 MB Progress (1): 1.9/1.9 MB Progress (1): 1.9 MB Downloaded from spoon-snapshot-repo: https://oss.sonatype.org/content/repositories/snapshots/fr/inria/gforge/spoon/spoon-core/10.4.3-SNAPSHOT/spoon-core-10.4.3-20231214.010004-1.jar (1.9 MB at 1.4 MB/s) [INFO] [INFO] --- maven-dependency-plugin:2.8:resolve (default-cli) @ gumtree-spoon-ast-diff --- [INFO] [INFO] The following files have been resolved: [INFO] org.eclipse.jdt:org.eclipse.jdt.core:jar:3.33.0:compile [INFO] com.martiansoftware:jsap:jar:2.1:compile [INFO] com.github.gumtreediff:core:jar:3.0.0:compile [INFO] commons-cli:commons-cli:jar:1.6.0:test [INFO] log4j:log4j:jar:1.2.17:test [INFO] org.eclipse.jdt:ecj:jar:3.33.0:compile [INFO] org.slf4j:slf4j-api:jar:1.7.36:compile [INFO] org.jgrapht:jgrapht-core:jar:1.5.1:runtime [INFO] org.apache.commons:commons-lang3:jar:3.14.0:compile [INFO] com.fasterxml.jackson.core:jackson-databind:jar:2.16.0:compile [INFO] org.apache.maven:maven-model:jar:3.6.0:compile [INFO] commons-io:commons-io:jar:2.15.1:compile [INFO] commons-codec:commons-codec:jar:1.10:runtime [INFO] it.unimi.dsi:fastutil:jar:8.3.1:runtime [INFO] com.github.mpkorstanje:simmetrics-core:jar:3.2.3:runtime [INFO] com.google.code.gson:gson:jar:2.10.1:compile [INFO] org.jspecify:jspecify:jar:0.3.0:compile [INFO] javax.inject:javax.inject:jar:1:compile [INFO] org.apache.maven.shared:maven-shared-utils:jar:3.3.4:compile [INFO] junit:junit:jar:4.13.2:test [INFO] org.hamcrest:hamcrest-core:jar:1.3:test [INFO] com.google.guava:guava:jar:18.0:runtime [INFO] org.codehaus.plexus:plexus-utils:jar:3.1.0:compile [INFO] org.apache.commons:commons-compress:jar:1.25.0:compile [INFO] org.apache.maven.shared:maven-invoker:jar:3.2.0:compile [INFO] com.fasterxml.jackson.core:jackson-annotations:jar:2.16.0:compile [INFO] net.sf.trove4j:trove4j:jar:3.0.3:compile [INFO] org.atteo.classindex:classindex:jar:3.10:runtime [INFO] fr.inria.gforge.spoon:spoon-core:jar:10.4.3-SNAPSHOT:compile [INFO] org.jheaps:jheaps:jar:0.13:runtime [INFO] com.fasterxml.jackson.core:jackson-core:jar:2.16.0:compile [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.419 s [INFO] Finished at: 2023-12-14T10:20:31+01:00 [INFO] ------------------------------------------------------------------------ + mvn test Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for fr.inria.gforge.spoon.labs:gumtree-spoon-ast-diff:jar:SNAPSHOT [WARNING] 'version' uses an unsupported snapshot version format, should be '*-SNAPSHOT' instead. @ line 14, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] Inspecting build with total of 1 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] [INFO] ---------< fr.inria.gforge.spoon.labs:gumtree-spoon-ast-diff >---------- [INFO] Building Gumtree Spoon AST Diff SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ gumtree-spoon-ast-diff --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gumtree-spoon-ast-diff --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builds/workspace/gumtree-spoon-ast-diff/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ gumtree-spoon-ast-diff --- [INFO] Changes detected - recompiling the module! :source [INFO] Compiling 25 source files with javac [debug target 11] to target/classes [INFO] /builds/workspace/gumtree-spoon-ast-diff/src/main/java/gumtree/spoon/builder/NodeCreator.java: Some input files use or override a deprecated API. [INFO] /builds/workspace/gumtree-spoon-ast-diff/src/main/java/gumtree/spoon/builder/NodeCreator.java: Recompile with -Xlint:deprecation for details. [INFO] /builds/workspace/gumtree-spoon-ast-diff/src/main/java/gumtree/spoon/builder/jsonsupport/OperationNodePainter.java: Some input files use unchecked or unsafe operations. [INFO] /builds/workspace/gumtree-spoon-ast-diff/src/main/java/gumtree/spoon/builder/jsonsupport/OperationNodePainter.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ gumtree-spoon-ast-diff --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 244 resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ gumtree-spoon-ast-diff --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 4 source files with javac [debug target 11] to target/test-classes [INFO] /builds/workspace/gumtree-spoon-ast-diff/src/test/java/gumtree/spoon/AstComparatorTest.java: Some input files use or override a deprecated API. [INFO] /builds/workspace/gumtree-spoon-ast-diff/src/test/java/gumtree/spoon/AstComparatorTest.java: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:3.2.2:test (default-test) @ gumtree-spoon-ast-diff --- [INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [INFO] Running gumtree.spoon.AstComparatorTest SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. OperationKind.Update, "SUPER_TYPE(CtTypeReferenceImpl)", "SuperClass1", "SuperClass2" (size: 0)SUPER_TYPE: SuperClass1 [0,0] Output: Update JavaDoc at org.apache.derby.jdbc.EmbedPooledConnection:70 /** * The list of {@code ConnectionEventListener}s. It is initially {@code null} and will be initialized lazily when the first listener is added. */ to /** * The list of UPDATED commented {@code ConnectionEventListener}s. It is initially {@code null} and will be initialized lazily when the first listener is added. */ OperationKind.Delete, "BinaryOperator(CtBinaryOperatorImpl)", "EQ" (size: 3)BinaryOperator: EQ [0,0] FieldRead: DATE_VALUE [0,0] TypeAccess: org.apache.commons.cli.PatternOptionBuilder [0,0] VariableRead: clazz [0,0]OperationKind.Insert, "Invocation(CtInvocationImpl)", "println" (size: 3)Invocation: println [0,0] FieldRead: out [0,0] TypeAccess: java.lang.System [0,0] Literal: "Hola" [0,0]OperationKind.Insert, "BinaryOperator(CtBinaryOperatorImpl)", "EQ" (size: 3)BinaryOperator: EQ [0,0] FieldRead: CLASS_VALUE [0,0] TypeAccess: org.apache.commons.cli.PatternOptionBuilder [0,0] VariableRead: clazz [0,0]OperationKind.Move, "BinaryOperator(CtBinaryOperatorImpl)", "EQ" (size: 3)BinaryOperator: EQ [0,0] FieldRead: DATE_VALUE [0,0] TypeAccess: org.apache.commons.cli.PatternOptionBuilder [0,0] VariableRead: clazz [0,0] Insert Method at org.apache.commons.cli.CommandLine:207 private org.apache.commons.cli.Option resolveOptionNew(java.lang.String opt) { opt = org.apache.commons.cli.Util.stripLeadingHyphens(opt); for (org.apache.commons.cli.Option option : options) { if (opt.equals(option.getOpt())) { return option; } if (opt.equals(option.getLongOpt())) { return option; } } return null; } OperationKind.Insert, "Field(CtFieldImpl)", "serialVersionUID" (size: 6)Field: serialVersionUID [0,0] VARIABLE_TYPE: long [0,0] Modifiers_Field [0,0] Modifier: final [0,0] Modifier: private [0,0] Modifier: static [0,0] Literal: 6890869588365483936L [0,0] OperationKind.Delete, "Break(CtBreakImpl)", "break" (size: 0)Break: break [0,0] OperationKind.Update, "BinaryOperator(CtBinaryOperatorImpl)", "GT", "GE" (size: 6)BinaryOperator: GT [0,0] FieldRead: y [0,0] VariableRead: c [0,0] BinaryOperator: MINUS [0,0] FieldRead: height [0,0] TypeAccess: megamek.common.Board [0,0] VariableRead: nLimit [0,0] OperationKind.Update, "Invocation(CtInvocationImpl)", "remove", "removeElement" (size: 3)Invocation: remove [0,0] FieldRead: turns [0,0] TypeAccess: megamek.server.Server [0,0] VariableRead: loop [0,0] OperationKind.Update, "Invocation(CtInvocationImpl)", "removeElement", "removeElementAt" (size: 3)Invocation: removeElement [0,0] FieldRead: turns [0,0] TypeAccess: megamek.server.Server [0,0] VariableRead: loop [0,0] OperationKind.Update, "Invocation(CtInvocationImpl)", "add", "addElement" (size: 5)Invocation: add [0,0] VariableRead: loadVector [0,0] Invocation: getEntity [0,0] FieldRead: game [0,0] TypeAccess: megamek.server.Server [0,0] VariableRead: loadedId [0,0] OperationKind.Insert, "Literal(CtLiteralImpl)", "null" (size: 0)Literal: null [0,0] OperationKind.Delete, "Invocation(CtInvocationImpl)", "println" (size: 7)Invocation: println [0,0] FieldRead: out [0,0] TypeAccess: java.lang.System [0,0] BinaryOperator: PLUS [0,0] Literal: "->TIE: " [0,0] Invocation: getId [0,0] VariableRead: item [0,0] TYPE_CAST: Team [0,0] OperationKind.Update, "Literal(CtLiteralImpl)", ""By holding down CTL and dragging."", ""By holding down CTRL and dragging."" (size: 0)Literal: "By holding down CTL and dragging." [0,0] OperationKind.Update, "Invocation(CtInvocationImpl)", "equals", "indexOf" (size: 5)Invocation: equals [0,0] Invocation: getContent [0,0] Invocation: nextElement [0,0] TYPE_CAST: ParsedXML [0,0] VariableRead: children [0,0] FieldRead: DOUBLE [0,0]OperationKind.Insert, "BinaryOperator(CtBinaryOperatorImpl)", "NE" (size: 8)BinaryOperator: NE [0,0] Invocation: indexOf [0,0] Invocation: getContent [0,0] Invocation: nextElement [0,0] TYPE_CAST: ParsedXML [0,0] VariableRead: children [0,0] FieldRead: DOUBLE [0,0] UnaryOperator: NEG [0,0] Literal: 1 [0,0]OperationKind.Move, "Invocation(CtInvocationImpl)", "equals" (size: 5)Invocation: equals [0,0] Invocation: getContent [0,0] Invocation: nextElement [0,0] TYPE_CAST: ParsedXML [0,0] VariableRead: children [0,0] FieldRead: DOUBLE [0,0] OperationKind.Insert, "Invocation(CtInvocationImpl)", "append" (size: 7)Invocation: append [0,0] Invocation: append [0,0] Invocation: append [0,0] VariableRead: sWeapons [0,0] Literal: " " [0,0] Invocation: getHeat [0,0] VariableRead: wtype [0,0] Literal: " Heat" [0,0] OperationKind.Insert, "BinaryOperator(CtBinaryOperatorImpl)", "AND" (size: 7)BinaryOperator: AND [0,0] FieldRead: keepServerlog [0,0] TypeAccess: Settings [0,0] UnaryOperator: NOT [0,0] BinaryOperator: INSTANCEOF [0,0] ThisAccess: this [0,0] TypeAccess: megamek.client.Client [0,0] TypeAccess: megamek.client.bot.BotClient [0,0]OperationKind.Move, "FieldRead(CtFieldReadImpl)", "keepServerlog" (size: 1)FieldRead: keepServerlog [0,0] TypeAccess: Settings [0,0] OperationKind.Update, "Field(CtFieldImpl)", "GAME_NEW_ATTACK", "GAME_NEW_ACTION" (size: 6)Field: GAME_NEW_ATTACK [0,0] VARIABLE_TYPE: int [0,0] Modifiers_Field [0,0] Modifier: final [0,0] Modifier: public [0,0] Modifier: static [0,0] Literal: 16 [0,0] OperationKind.Update, "Literal(CtLiteralImpl)", "" \n"", ""\n "" (size: 0)Literal: " \n" [0,0]OperationKind.Update, "Literal(CtLiteralImpl)", "" "", ""\n "" (size: 0)Literal: " " [0,0] OperationKind.Insert, "Invocation(CtInvocationImpl)", "refresh" (size: 1)Invocation: refresh [0,0] VariableRead: enemy [0,0] OperationKind.Update, "ConstructorCall(CtConstructorCallImpl)", "java.io.FileInputStream(java.lang.String)", "java.io.FileInputStream(java.io.File)" (size: 4)ConstructorCall: java.io.FileInputStream(java.lang.String) [0,0] ConstructorCall: java.io.File(java.lang.String,java.lang.String) [0,0] VariableRead: filePath [0,0] VariableRead: fileName [0,0] Literal: "UTF-8" [0,0] OperationKind.Update, "FieldRead(CtFieldReadImpl)", "MOVE_VTOL_RUN", "MOVE_VTOL_WALK" (size: 1)FieldRead: MOVE_VTOL_RUN [0,0] TypeAccess: IEntityMovementType [0,0] OperationKind.Insert, "BinaryOperator(CtBinaryOperatorImpl)", "AND" (size: 18)BinaryOperator: AND [0,0] BinaryOperator: AND [0,0] BinaryOperator: INSTANCEOF [0,0] VariableRead: en [0,0] TypeAccess: Mech [0,0] BinaryOperator: AND [0,0] Invocation: hasEdgeRemaining [0,0] FieldRead: crew [0,0] VariableRead: en [0,0] Invocation: booleanOption [0,0] Invocation: getOptions [0,0] FieldRead: crew [0,0] VariableRead: en [0,0] Literal: "edge_when_explosion" [0,0] BinaryOperator: EQ [0,0] Invocation: getType [0,0] VariableRead: slot [0,0] FieldRead: TYPE_EQUIPMENT [0,0] TypeAccess: CriticalSlot [0,0]OperationKind.Move, "BinaryOperator(CtBinaryOperatorImpl)", "AND" (size: 12)BinaryOperator: AND [0,0] BinaryOperator: INSTANCEOF [0,0] VariableRead: en [0,0] TypeAccess: Mech [0,0] BinaryOperator: AND [0,0] Invocation: hasEdgeRemaining [0,0] FieldRead: crew [0,0] VariableRead: en [0,0] Invocation: booleanOption [0,0] Invocation: getOptions [0,0] FieldRead: crew [0,0] VariableRead: en [0,0] Literal: "edge_when_explosion" [0,0] OperationKind.Update, "Invocation(CtInvocationImpl)", "format", "println" (size: 7)Invocation: format [0,0] TypeAccess: java.lang.String [0,0] Literal: "%s has %d moves" [0,0] Invocation: getShortName [0,0] Invocation: getEntity [0,0] VariableRead: self [0,0] FieldRead: length [0,0] VariableRead: move_array [0,0]OperationKind.Delete, "Invocation(CtInvocationImpl)", "println" (size: 10)Invocation: println [0,0] FieldRead: out [0,0] TypeAccess: java.lang.System [0,0] Invocation: format [0,0] TypeAccess: java.lang.String [0,0] Literal: "%s has %d moves" [0,0] Invocation: getShortName [0,0] Invocation: getEntity [0,0] VariableRead: self [0,0] FieldRead: length [0,0] VariableRead: move_array [0,0]OperationKind.Move, "Invocation(CtInvocationImpl)", "format" (size: 7)Invocation: format [0,0] TypeAccess: java.lang.String [0,0] Literal: "%s has %d moves" [0,0] Invocation: getShortName [0,0] Invocation: getEntity [0,0] VariableRead: self [0,0] FieldRead: length [0,0] VariableRead: move_array [0,0]OperationKind.Move, "FieldRead(CtFieldReadImpl)", "length" (size: 1)FieldRead: length [0,0] VariableRead: move_array [0,0]OperationKind.Move, "Invocation(CtInvocationImpl)", "getShortName" (size: 2)Invocation: getShortName [0,0] Invocation: getEntity [0,0] VariableRead: self [0,0] OperationKind.Insert, "If(CtIfImpl)", "if" (size: 11)If: if [0,0] BinaryOperator: NE [0,0] FieldRead: term [0,0] TypeAccess: org.apache.lucene.index.SegmentTermEnum [0,0] Literal: null [0,0] then: THEN [0,0] Invocation: growBuffer [0,0] VariableRead: clone [0,0] Invocation: length [0,0] FieldRead: text [0,0] FieldRead: term [0,0] TypeAccess: org.apache.lucene.index.SegmentTermEnum [0,0]OperationKind.Move, "Invocation(CtInvocationImpl)", "growBuffer" (size: 5)Invocation: growBuffer [0,0] VariableRead: clone [0,0] Invocation: length [0,0] FieldRead: text [0,0] FieldRead: term [0,0] TypeAccess: org.apache.lucene.index.SegmentTermEnum [0,0] OperationKind.Insert, "BinaryOperator(CtBinaryOperatorImpl)", "OR" (size: 14)BinaryOperator: OR [0,0] Invocation: hasDeletions [0,0] TypeAccess: org.apache.lucene.index.SegmentReader [0,0] Invocation: info [0,0] FieldRead: segmentInfos [0,0] TypeAccess: org.apache.lucene.index.IndexWriter [0,0] Literal: 0 [0,0] BinaryOperator: NE [0,0] FieldRead: dir [0,0] Invocation: info [0,0] FieldRead: segmentInfos [0,0] TypeAccess: org.apache.lucene.index.IndexWriter [0,0] Literal: 0 [0,0] FieldRead: directory [0,0] TypeAccess: org.apache.lucene.index.IndexWriter [0,0]OperationKind.Move, "Invocation(CtInvocationImpl)", "hasDeletions" (size: 5)Invocation: hasDeletions [0,0] TypeAccess: org.apache.lucene.index.SegmentReader [0,0] Invocation: info [0,0] FieldRead: segmentInfos [0,0] TypeAccess: org.apache.lucene.index.IndexWriter [0,0] Literal: 0 [0,0] OperationKind.Update, "Invocation(CtInvocationImpl)", "delete", "doDelete" (size: 10)Invocation: delete [0,0] ArrayRead [0,0] FieldRead: readers [0,0] TypeAccess: org.apache.lucene.index.SegmentsReader [0,0] VariableRead: i [0,0] BinaryOperator: MINUS [0,0] VariableRead: n [0,0] ArrayRead [0,0] FieldRead: starts [0,0] TypeAccess: org.apache.lucene.index.SegmentsReader [0,0] VariableRead: i [0,0] OperationKind.Update, "SUPER_TYPE(CtTypeReferenceImpl)", "PriorityQueue", "org.apache.lucene.util.PriorityQueue" (size: 0)SUPER_TYPE: PriorityQueue [0,0]OperationKind.Update, "VARIABLE_TYPE(CtTypeReferenceImpl)", "PriorityQueue", "org.apache.lucene.util.PriorityQueue" (size: 0)VARIABLE_TYPE: PriorityQueue [0,0]OperationKind.Insert, "Method(CtMethodImpl)", "testClear" (size: 29)Method: testClear [0,0] RETURN_TYPE: void [0,0] Modifiers_Method [0,0] Modifier: public [0,0] LocalVariable: pq [0,0] VARIABLE_TYPE: org.apache.lucene.util.PriorityQueue [0,0] ConstructorCall: org.apache.lucene.util.TestPriorityQueue$IntegerQueue(int) [0,0] Literal: 3 [0,0] Invocation: put [0,0] VariableRead: pq [0,0] ConstructorCall: java.lang.Integer(int) [0,0] Literal: 2 [0,0] Invocation: put [0,0] VariableRead: pq [0,0] ConstructorCall: java.lang.Integer(int) [0,0] Literal: 3 [0,0] Invocation: put [0,0] VariableRead: pq [0,0] ConstructorCall: java.lang.Integer(int) [0,0] Literal: 1 [0,0] Invocation: assertEquals [0,0] Literal: 3 [0,0] Invocation: size [0,0] VariableRead: pq [0,0] Invocation: clear [0,0] VariableRead: pq [0,0] Invocation: assertEquals [0,0] Literal: 0 [0,0] Invocation: size [0,0] VariableRead: pq [0,0] OperationKind.Insert, "Assignment(CtAssignmentImpl)", "=" (size: 3)Assignment: = [0,0] FieldWrite: idf [0,0] TypeAccess: org.apache.lucene.search.PhraseQuery [0,0] Literal: 0.0F [0,0] OperationKind.Update, "Literal(CtLiteralImpl)", ""Increment must be positive: "", ""Increment must be zero or greater: "" (size: 0)Literal: "Increment must be positive: " [0,0] OperationKind.Update, "Literal(CtLiteralImpl)", "' '", "0" (size: 0)Literal: ' ' [0,0] OperationKind.Update, "NewClass(CtNewClassImpl)", "org.apache.lucene.store.Lock$With()", "org.apache.lucene.store.Lock$With(long)" (size: 21)NewClass: org.apache.lucene.store.Lock$With() [0,0] Invocation: makeLock [0,0] FieldRead: directory [0,0] TypeAccess: org.apache.lucene.index.IndexWriter [0,0] Literal: "commit.lock" [0,0] Class: 2 [0,0] Modifiers_Class [0,0] Modifier: final [0,0] SUPER_TYPE: org.apache.lucene.store.Lock$With [0,0] Method: doBody [0,0] RETURN_TYPE: java.lang.Object [0,0] THROWN_TYPES [0,0] THROWN: java.io.IOException [0,0] Modifiers_Method [0,0] Modifier: public [0,0] Invocation: write [0,0] FieldRead: segmentInfos [0,0] TypeAccess: org.apache.lucene.index.IndexWriter [0,0] FieldRead: directory [0,0] TypeAccess: org.apache.lucene.index.IndexWriter [0,0] Return: return [0,0] Literal: null [0,0] OperationKind.Update, "BinaryOperator(CtBinaryOperatorImpl)", "GT", "GE" (size: 9)BinaryOperator: GT [0,0] BinaryOperator: PLUS [0,0] BinaryOperator: PLUS [0,0] FieldRead: count [0,0] TypeAccess: org.apache.lucene.index.SegmentTermDocs [0,0] VariableRead: numSkipped [0,0] FieldRead: skipInterval [0,0] TypeAccess: org.apache.lucene.index.SegmentTermDocs [0,0] FieldRead: df [0,0] TypeAccess: org.apache.lucene.index.SegmentTermDocs [0,0] OperationKind.Delete, "LocalVariable(CtLocalVariableImpl)", "buffer" (size: 2)LocalVariable: buffer [0,0] VARIABLE_TYPE: java.lang.StringBuffer [0,0] ConstructorCall: java.lang.StringBuffer() [0,0] OperationKind.Update, "BinaryOperator(CtBinaryOperatorImpl)", "BITOR", "OR" (size: 6)BinaryOperator: BITOR [0,0] BinaryOperator: NE [0,0] FieldRead: first [0,0] FieldRead: bucketTable [0,0] TypeAccess: org.apache.lucene.search.BooleanScorer [0,0] Literal: null [0,0] VariableRead: more [0,0] OperationKind.Insert, "Break(CtBreakImpl)", "break" (size: 0)Break: break [0,0] OperationKind.Update, "Invocation(CtInvocationImpl)", "getMessage", "toString" (size: 1)Invocation: getMessage [0,0] VariableRead: e [0,0] OperationKind.Update, "BinaryOperator(CtBinaryOperatorImpl)", "EQ", "LE" (size: 3)BinaryOperator: EQ [0,0] FieldRead: bufferLength [0,0] TypeAccess: org.apache.lucene.store.BufferedIndexInput [0,0] Literal: 0 [0,0] OperationKind.Insert, "Method(CtMethodImpl)", "getAttributes" (size: 38)Method: getAttributes [0,0] RETURN_TYPE: org.tigris.scarab.om.Attribute[] [0,0] THROWN_TYPES [0,0] THROWN: java.lang.Exception [0,0] Modifiers_Method [0,0] Modifier: public [0,0] Parameter: criteria [0,0] VARIABLE_TYPE: org.apache.turbine.util.db.Criteria [0,0] LocalVariable: moduleAttributes [0,0] VARIABLE_TYPE: java.util.List [0,0] Invocation: getRModuleAttributesJoinAttribute [0,0] TypeAccess: org.tigris.scarab.om.Module [0,0] VariableRead: criteria [0,0] LocalVariable: attributes [0,0] VARIABLE_TYPE: Attribute[] [0,0] NewArray [0,0] Invocation: size [0,0] VariableRead: moduleAttributes [0,0] For [0,0] LocalVariable: i [0,0] VARIABLE_TYPE: int [0,0] Literal: 0 [0,0] BinaryOperator: LT [0,0] VariableRead: i [0,0] Invocation: size [0,0] VariableRead: moduleAttributes [0,0] UnaryOperator: POSTINC [0,0] VariableWrite: i [0,0] Assignment: = [0,0] ArrayWrite [0,0] VariableRead: attributes [0,0] VariableRead: i [0,0] Invocation: getAttribute [0,0] Invocation: get [0,0] TYPE_CAST: RModuleAttribute [0,0] VariableRead: moduleAttributes [0,0] VariableRead: i [0,0] Return: return [0,0] VariableRead: attributes [0,0] OperationKind.Insert, "Method(CtMethodImpl)", "delete" (size: 48)Method: delete [0,0] RETURN_TYPE: void [0,0] THROWN_TYPES [0,0] THROWN: java.lang.Exception [0,0] Modifiers_Method [0,0] Modifier: public [0,0] Parameter: user [0,0] VARIABLE_TYPE: org.tigris.scarab.om.ScarabUser [0,0] Parameter: module [0,0] VARIABLE_TYPE: org.tigris.scarab.om.ScarabModule [0,0] LocalVariable: security [0,0] VARIABLE_TYPE: org.tigris.scarab.security.ScarabSecurity [0,0] Invocation: getInstance [0,0] TypeAccess: org.tigris.scarab.security.SecurityFactory [0,0] If: if [0,0] BinaryOperator: OR [0,0] Invocation: equals [0,0] Invocation: getUserId [0,0] VariableRead: user [0,0] Invocation: getUserId [0,0] TypeAccess: org.tigris.scarab.om.RQueryUser [0,0] Invocation: hasPermission [0,0] VariableRead: security [0,0] FieldRead: ITEM__APPROVE [0,0] TypeAccess: org.tigris.scarab.security.ScarabSecurity [0,0] VariableRead: user [0,0] VariableRead: module [0,0] then: THEN [0,0] LocalVariable: c [0,0] VARIABLE_TYPE: org.apache.torque.util.Criteria [0,0] Invocation: add [0,0] Invocation: add [0,0] ConstructorCall: org.apache.torque.util.Criteria() [0,0] FieldRead: USER_ID [0,0] TypeAccess: RQueryUserPeer [0,0] Invocation: getUserId [0,0] TypeAccess: org.tigris.scarab.om.RQueryUser [0,0] FieldRead: QUERY_ID [0,0] TypeAccess: RQueryUserPeer [0,0] Invocation: getQueryId [0,0] TypeAccess: org.tigris.scarab.om.RQueryUser [0,0] Invocation: doDelete [0,0] TypeAccess: org.tigris.scarab.om.RQueryUserPeer [0,0] VariableRead: c [0,0] else: ELSE [0,0] Throw [0,0] ConstructorCall: org.tigris.scarab.util.ScarabException() [0,0] FieldRead: NO_PERMISSION_MESSAGE [0,0] TypeAccess: org.tigris.scarab.util.ScarabConstants [0,0] OperationKind.Insert, "Method(CtMethodImpl)", "getIssueByUniqueId" (size: 50)Method: getIssueByUniqueId [0,0] RETURN_TYPE: org.tigris.scarab.om.Issue [0,0] THROWN_TYPES [0,0] THROWN: java.lang.Exception [0,0] Modifiers_Method [0,0] Modifier: public [0,0] LocalVariable: issue [0,0] VARIABLE_TYPE: org.tigris.scarab.om.Issue [0,0] Literal: null [0,0] Try [0,0] LocalVariable: uniqueId [0,0] VARIABLE_TYPE: java.lang.String [0,0] Invocation: getString [0,0] Invocation: getParameters [0,0] FieldRead: data [0,0] TypeAccess: org.tigris.scarab.tools.ScarabRequestTool [0,0] Literal: "unique_id" [0,0] Assignment: = [0,0] VariableWrite: issue [0,0] Invocation: getIssueById [0,0] TypeAccess: org.tigris.scarab.om.Issue [0,0] VariableRead: uniqueId [0,0] If: if [0,0] BinaryOperator: EQ [0,0] VariableRead: issue [0,0] Literal: null [0,0] then: THEN [0,0] LocalVariable: code [0,0] VARIABLE_TYPE: java.lang.String [0,0] Invocation: getCode [0,0] Invocation: getCurrentModule [0,0] TypeAccess: org.tigris.scarab.tools.ScarabRequestTool [0,0] Assignment: = [0,0] VariableWrite: uniqueId [0,0] BinaryOperator: PLUS [0,0] VariableRead: code [0,0] VariableRead: uniqueId [0,0] Assignment: = [0,0] VariableWrite: issue [0,0] Invocation: getIssueById [0,0] TypeAccess: org.tigris.scarab.om.Issue [0,0] VariableRead: uniqueId [0,0] Catch [0,0] CatchVariable: e [0,0] VARIABLE_TYPE: java.lang.Exception [0,0] Invocation: setMessage [0,0] FieldRead: data [0,0] TypeAccess: org.tigris.scarab.tools.ScarabRequestTool [0,0] Literal: "That id is not valid." [0,0] Return: return [0,0] VariableRead: issue [0,0] OperationKind.Update, "TypeAccess(CtTypeAccessImpl)", "DBImport", "XMLImport" (size: 0)TypeAccess: DBImport [0,0] OperationKind.Insert, "Invocation(CtInvocationImpl)", "debug" (size: 4)Invocation: debug [0,0] TypeAccess: org.apache.turbine.Log [0,0] BinaryOperator: PLUS [0,0] Literal: "Unable to retrieve Module: " [0,0] VariableRead: e [0,0] OperationKind.Delete, "FieldRead(CtFieldReadImpl)", "separator" (size: 1)FieldRead: separator [0,0] TypeAccess: java.io.File [0,0]OperationKind.Insert, "Literal(CtLiteralImpl)", "'/'" (size: 0)Literal: '/' [0,0] OperationKind.Insert, "BinaryOperator(CtBinaryOperatorImpl)", "AND" (size: 6)BinaryOperator: AND [0,0] Invocation: isModified [0,0] TypeAccess: org.tigris.scarab.om.AttributeValue [0,0] UnaryOperator: NOT [0,0] Invocation: isTemplate [0,0] Invocation: getIssue [0,0] TypeAccess: org.tigris.scarab.om.AttributeValue [0,0]OperationKind.Move, "Invocation(CtInvocationImpl)", "isModified" (size: 1)Invocation: isModified [0,0] TypeAccess: org.tigris.scarab.om.AttributeValue [0,0] OperationKind.Delete, "Invocation(CtInvocationImpl)", "println" (size: 3)Invocation: println [0,0] FieldRead: out [0,0] TypeAccess: java.lang.System [0,0] VariableRead: s [0,0] OperationKind.Update, "Modifier(CtWrapper)", "public", "protected" (size: 0)Modifier: public [0,0] OperationKind.Update, "Invocation(CtInvocationImpl)", "addAscendingOrderByColumn", "addDescendingOrderByColumn" (size: 18)Invocation: addAscendingOrderByColumn [0,0] Invocation: add [0,0] Invocation: addJoin [0,0] Invocation: add [0,0] ConstructorCall: org.apache.torque.util.Criteria() [0,0] FieldRead: ISSUE_ID [0,0] TypeAccess: AttachmentPeer [0,0] Invocation: getIssueId [0,0] TypeAccess: org.tigris.scarab.om.Issue [0,0] FieldRead: ATTACHMENT_TYPE_ID [0,0] TypeAccess: AttachmentTypePeer [0,0] FieldRead: ATTACHMENT_TYPE_ID [0,0] TypeAccess: AttachmentPeer [0,0] FieldRead: ATTACHMENT_TYPE_ID [0,0] TypeAccess: AttachmentTypePeer [0,0] FieldRead: COMMENT__PK [0,0] TypeAccess: Attachment [0,0] FieldRead: CREATED_DATE [0,0] TypeAccess: AttachmentPeer [0,0] OperationKind.Insert, "BinaryOperator(CtBinaryOperatorImpl)", "AND" (size: 11)BinaryOperator: AND [0,0] BinaryOperator: AND [0,0] UnaryOperator: NOT [0,0] Invocation: isNew [0,0] TypeAccess: org.tigris.scarab.om.AttributeValue [0,0] UnaryOperator: NOT [0,0] FieldRead: oldOptionIdIsSet [0,0] TypeAccess: org.tigris.scarab.om.AttributeValue [0,0] BinaryOperator: NE [0,0] Invocation: getOptionId [0,0] TypeAccess: org.tigris.scarab.om.AttributeValue [0,0] Literal: null [0,0]OperationKind.Move, "BinaryOperator(CtBinaryOperatorImpl)", "AND" (size: 6)BinaryOperator: AND [0,0] UnaryOperator: NOT [0,0] Invocation: isNew [0,0] TypeAccess: org.tigris.scarab.om.AttributeValue [0,0] UnaryOperator: NOT [0,0] FieldRead: oldOptionIdIsSet [0,0] TypeAccess: org.tigris.scarab.om.AttributeValue [0,0] OperationKind.Insert, "Method(CtMethodImpl)", "create" (size: 14)Method: create [0,0] RETURN_TYPE: void [0,0] THROWN_TYPES [0,0] THROWN: java.lang.Exception [0,0] Modifiers_Method [0,0] Modifier: public [0,0] Parameter: typeId [0,0] VARIABLE_TYPE: org.apache.torque.om.NumberKey [0,0] Parameter: user [0,0] VARIABLE_TYPE: org.tigris.scarab.om.ScarabUser [0,0] Invocation: create [0,0] TypeAccess: org.tigris.scarab.om.Transaction [0,0] VariableRead: typeId [0,0] VariableRead: user [0,0] Literal: null [0,0] OperationKind.Insert, "Literal(CtLiteralImpl)", "null" (size: 0)Literal: null [0,0] OperationKind.Insert, "Invocation(CtInvocationImpl)", "setDisplayDescription" (size: 3)Invocation: setDisplayDescription [0,0] VariableRead: rmit2 [0,0] Invocation: getDisplayDescription [0,0] TypeAccess: org.tigris.scarab.om.RModuleIssueType [0,0] OperationKind.Insert, "Assignment(CtAssignmentImpl)", "=" (size: 2)Assignment: = [0,0] VariableWrite: prevPk [0,0] VariableRead: pk [0,0] OperationKind.Update, "Modifier(CtWrapper)", "public", "protected" (size: 0)Modifier: public [0,0] OperationKind.Update, "Literal(CtLiteralImpl)", ""ForgotPassword.vm"", ""email/ForgotPassword.vm"" (size: 0)Literal: "ForgotPassword.vm" [0,0] OperationKind.Update, "ConstructorCall(CtConstructorCallImpl)", "org.apache.torque.util.Criteria()", "org.apache.torque.util.Criteria(int)" (size: 0)ConstructorCall: org.apache.torque.util.Criteria() [0,0] OperationKind.Update, "FieldRead(CtFieldReadImpl)", "SERVER_JRMP_PORT", "SERVER_IRMI_PORT" (size: 1)FieldRead: SERVER_JRMP_PORT [0,0] TypeAccess: org.objectweb.carol.util.configuration.CarolDefaultValues [0,0] OperationKind.Update, "VARIABLE_TYPE(CtTypeReferenceImpl)", "java.lang.String", "java.lang.String[]" (size: 0)VARIABLE_TYPE: java.lang.String [0,0] OperationKind.Delete, "FieldRead(CtFieldReadImpl)", "cAvailableLocaleSet" (size: 0)FieldRead: cAvailableLocaleSet [0,0]OperationKind.Insert, "Invocation(CtInvocationImpl)", "availableLocaleList" (size: 0)Invocation: availableLocaleList [0,0] [Delete Invocation at QuickNotepad:113 textArea.addKeyListener(new QuickNotepad.KeyHandler()) , Delete Class at QuickNotepad:253 private class KeyHandler extends java.awt.event.KeyAdapter { public void keyPressed(java.awt.event.KeyEvent evt) { if (QuickNotepad.this.floating && (evt.getKeyCode() == java.awt.event.KeyEvent.VK_ESCAPE)) { evt.consume(); org.gjt.sp.jedit.gui.DockableWindowManager wm = QuickNotepad.this.view.getDockableWindowManager(); wm.removeDockableWindow(QuickNotepadPlugin.NAME); } } } ] Output: Insert Invocation at org.apache.commons.math3.linear.RectangularCholeskyDecomposition:162 // See output java.lang.System.out.println("Test") // See output Actions [Delete LocalVariable at com.vmware.xenon.common.test.AuthorizationHelper:252 java.lang.String statsResourceGroupLink = createResourceGroup(target, "stats-resource-group", com.vmware.xenon.services.common.QueryTask.Query.Builder.create().addFieldClause(com.vmware.xenon.common.ServiceDocument.FIELD_NAME_SELF_LINK, com.vmware.xenon.services.common.ExampleService.FACTORY_LINK + com.vmware.xenon.common.ServiceHost.SERVICE_URI_SUFFIX_STATS).build()) , Delete LocalVariable at com.vmware.xenon.common.test.AuthorizationHelper:259 java.lang.String subscriptionsResourceGroupLink = createResourceGroup(target, "subs-resource-group", com.vmware.xenon.services.common.QueryTask.Query.Builder.create().addFieldClause(com.vmware.xenon.common.ServiceDocument.FIELD_NAME_SELF_LINK, com.vmware.xenon.services.common.ServiceUriPaths.CORE_LOCAL_QUERY_TASKS + com.vmware.xenon.common.ServiceHost.SERVICE_URI_SUFFIX_SUBSCRIPTIONS).build()) , Delete Invocation at com.vmware.xenon.common.test.AuthorizationHelper:283 paths.add(createRole(target, userGroupLink, statsResourceGroupLink, new java.util.HashSet<>(java.util.Arrays.asList(com.vmware.xenon.common.Service.Action.GET, com.vmware.xenon.common.Service.Action.POST, com.vmware.xenon.common.Service.Action.PATCH, com.vmware.xenon.common.Service.Action.DELETE)))) , Delete Invocation at com.vmware.xenon.common.test.AuthorizationHelper:288 paths.add(createRole(target, userGroupLink, subscriptionsResourceGroupLink, new java.util.HashSet<>(java.util.Arrays.asList(com.vmware.xenon.common.Service.Action.GET, com.vmware.xenon.common.Service.Action.POST, com.vmware.xenon.common.Service.Action.PATCH, com.vmware.xenon.common.Service.Action.DELETE)))) ] OperationKind.Update, "TYPE_ARGUMENT(CtTypeReferenceImpl)", "One", "Two" (size: 0)TYPE_ARGUMENT: One [0,0] OperationKind.Insert, "TYPE_ARGUMENT(CtTypeReferenceImpl)", "One" (size: 0)TYPE_ARGUMENT: One [0,0] Actions [Delete Method at com.vmware.xenon.common.TestUtilityService:838 @org.junit.Test public void endpointAuthorization() throws java.lang.Throwable { com.vmware.xenon.common.test.VerificationHost host = com.vmware.xenon.common.test.VerificationHost.create(0); host.setAuthorizationService(new com.vmware.xenon.services.common.AuthorizationContextService()); host.setAuthorizationEnabled(true); host.setMaintenanceIntervalMicros(java.util.concurrent.TimeUnit.MILLISECONDS.toMicros(100)); host.start(); com.vmware.xenon.common.test.TestRequestSender sender = host.getTestRequestSender(); host.setSystemAuthorizationContext(); host.waitForReplicatedFactoryServiceAvailable(com.vmware.xenon.common.UriUtils.buildUri(host, com.vmware.xenon.services.common.ExampleService.FACTORY_LINK)); java.lang.String exampleUser = "example@vmware.com"; java.lang.String examplePass = "password"; com.vmware.xenon.common.test.TestContext authCtx = host.testCreate(1); com.vmware.xenon.common.AuthorizationSetupHelper.create().setHost(host).setUserEmail(exampleUser).setUserPassword(examplePass).setResourceQuery(com.vmware.xenon.services.common.QueryTask.Query.Builder.create().addFieldClause(ServiceDocument.FIELD_NAME_KIND, com.vmware.xenon.common.Utils.buildKind(com.vmware.xenon.services.common.ExampleService.ExampleServiceState.class)).build()).setCompletion(authCtx.getCompletion()).start(); authCtx.await(); com.vmware.xenon.services.common.ExampleService.ExampleServiceState doc = new com.vmware.xenon.services.common.ExampleService.ExampleServiceState(); doc.name = "foo"; doc.documentSelfLink = "foo"; com.vmware.xenon.common.Operation post = com.vmware.xenon.common.Operation.createPost(host, com.vmware.xenon.services.common.ExampleService.FACTORY_LINK).setBody(doc); com.vmware.xenon.services.common.ExampleService.ExampleServiceState postResult = sender.sendAndWait(post, com.vmware.xenon.services.common.ExampleService.ExampleServiceState.class); host.resetAuthorizationContext(); java.net.URI factoryAvailableUri = com.vmware.xenon.common.UriUtils.buildAvailableUri(host, com.vmware.xenon.services.common.ExampleService.FACTORY_LINK); java.net.URI factoryStatsUri = com.vmware.xenon.common.UriUtils.buildStatsUri(host, com.vmware.xenon.services.common.ExampleService.FACTORY_LINK); java.net.URI factoryConfigUri = com.vmware.xenon.common.UriUtils.buildConfigUri(host, com.vmware.xenon.services.common.ExampleService.FACTORY_LINK); java.net.URI factorySubscriptionUri = com.vmware.xenon.common.UriUtils.buildSubscriptionUri(host, com.vmware.xenon.services.common.ExampleService.FACTORY_LINK); java.net.URI factoryTemplateUri = com.vmware.xenon.common.UriUtils.buildUri(host, com.vmware.xenon.common.UriUtils.buildUriPath(com.vmware.xenon.services.common.ExampleService.FACTORY_LINK, com.vmware.xenon.common.ServiceHost.SERVICE_URI_SUFFIX_TEMPLATE)); java.net.URI factorySynchUri = com.vmware.xenon.common.UriUtils.buildUri(host, com.vmware.xenon.common.UriUtils.buildUriPath(com.vmware.xenon.services.common.ExampleService.FACTORY_LINK, com.vmware.xenon.common.ServiceHost.SERVICE_URI_SUFFIX_SYNCHRONIZATION)); java.net.URI factoryUiUri = com.vmware.xenon.common.UriUtils.buildUri(host, com.vmware.xenon.common.UriUtils.buildUriPath(com.vmware.xenon.services.common.ExampleService.FACTORY_LINK, com.vmware.xenon.common.ServiceHost.SERVICE_URI_SUFFIX_UI)); java.net.URI serviceAvailableUri = com.vmware.xenon.common.UriUtils.buildAvailableUri(host, postResult.documentSelfLink); java.net.URI serviceStatsUri = com.vmware.xenon.common.UriUtils.buildStatsUri(host, postResult.documentSelfLink); java.net.URI serviceConfigUri = com.vmware.xenon.common.UriUtils.buildConfigUri(host, postResult.documentSelfLink); java.net.URI serviceSubscriptionUri = com.vmware.xenon.common.UriUtils.buildSubscriptionUri(host, postResult.documentSelfLink); java.net.URI serviceTemplateUri = com.vmware.xenon.common.UriUtils.buildUri(host, com.vmware.xenon.common.UriUtils.buildUriPath(postResult.documentSelfLink, com.vmware.xenon.common.ServiceHost.SERVICE_URI_SUFFIX_TEMPLATE)); java.net.URI serviceSynchUri = com.vmware.xenon.common.UriUtils.buildUri(host, com.vmware.xenon.common.UriUtils.buildUriPath(postResult.documentSelfLink, com.vmware.xenon.common.ServiceHost.SERVICE_URI_SUFFIX_SYNCHRONIZATION)); java.net.URI serviceUiUri = com.vmware.xenon.common.UriUtils.buildUri(host, com.vmware.xenon.common.UriUtils.buildUriPath(postResult.documentSelfLink, com.vmware.xenon.common.ServiceHost.SERVICE_URI_SUFFIX_UI)); com.vmware.xenon.common.test.TestRequestSender.FailureResponse failureResponse; com.vmware.xenon.common.Operation uiOpResult; failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(factoryAvailableUri)); org.junit.Assert.assertEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(factoryStatsUri)); org.junit.Assert.assertEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(factoryConfigUri)); org.junit.Assert.assertEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(factorySubscriptionUri)); org.junit.Assert.assertEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(factoryTemplateUri)); org.junit.Assert.assertEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(factorySynchUri)); org.junit.Assert.assertEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); uiOpResult = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(factoryUiUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, uiOpResult.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(serviceAvailableUri)); org.junit.Assert.assertEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(serviceStatsUri)); org.junit.Assert.assertEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(serviceConfigUri)); org.junit.Assert.assertEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(serviceSubscriptionUri)); org.junit.Assert.assertEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(serviceTemplateUri)); org.junit.Assert.assertEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(serviceSynchUri)); org.junit.Assert.assertEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); uiOpResult = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(serviceUiUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, uiOpResult.getStatusCode()); com.vmware.xenon.common.test.AuthTestUtils.login(host, exampleUser, examplePass); com.vmware.xenon.common.Operation response; response = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(factoryAvailableUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, response.getStatusCode()); response = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(factoryStatsUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, response.getStatusCode()); response = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(factoryConfigUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, response.getStatusCode()); response = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(factorySubscriptionUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, response.getStatusCode()); response = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(factoryTemplateUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, response.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(factorySynchUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); response = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(factoryUiUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, response.getStatusCode()); response = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(serviceAvailableUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, response.getStatusCode()); response = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(serviceStatsUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, response.getStatusCode()); response = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(serviceConfigUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, response.getStatusCode()); response = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(serviceSubscriptionUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, response.getStatusCode()); response = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(serviceTemplateUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, response.getStatusCode()); failureResponse = sender.sendAndWaitFailure(com.vmware.xenon.common.Operation.createGet(serviceSynchUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, failureResponse.op.getStatusCode()); response = sender.sendAndWait(com.vmware.xenon.common.Operation.createGet(serviceUiUri)); org.junit.Assert.assertNotEquals(Operation.STATUS_CODE_FORBIDDEN, response.getStatusCode()); } ] OperationKind.Delete, "TYPE_ARGUMENT(CtTypeReferenceImpl)", "T" (size: 0)TYPE_ARGUMENT: T [0,0]OperationKind.Insert, "Parameter(CtParameterImpl)", "call" (size: 1)Parameter: call [0,0] VARIABLE_TYPE: Call [0,0] OperationKind.Delete, "TYPE_ARGUMENT(CtTypeReferenceImpl)", "T" (size: 0)TYPE_ARGUMENT: T [0,0]OperationKind.Insert, "Parameter(CtParameterImpl)", "call" (size: 1)Parameter: call [0,0] VARIABLE_TYPE: Call [0,0] root: 2 DeleteOperation CtIfImpl 445 MoveOperation CtIfImpl 448 all: 10 OperationKind.Insert, "THROWN_TYPES(CtVirtualElement)", "" (size: 1)THROWN_TYPES [0,0] THROWN: java.lang.Exception [0,0] OperationKind.Insert, "THROWN_TYPES(CtVirtualElement)", "" (size: 1)THROWN_TYPES [0,0] THROWN: java.sql.SQLException [0,0] Output: Insert Field at org.apache.derby.jdbc.EmbedPooledConnection:81 /** * This is another */ private java.util.ArrayList anotherListener; action action [] action [Insert Invocation at org.objectweb.carol.jndi.spi.CmiContext:108 java.lang.System.out.println("MyInsertedStmt") ] [WARNING] Tests run: 108, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 55.56 s -- in gumtree.spoon.AstComparatorTest [INFO] Running gumtree.spoon.TreeTest [Update Wra at org.apache.camel.processor.MulticastProcessor:205 to protected ] [INFO] Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.490 s -- in gumtree.spoon.TreeTest [INFO] Running gumtree.spoon.diff.support.SpoonSupportTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.564 s -- in gumtree.spoon.diff.support.SpoonSupportTest [INFO] Running gumtree.spoon.diff.DiffTest [WARNING] Tests run: 22, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 3.119 s -- in gumtree.spoon.diff.DiffTest [INFO] [INFO] Results: [INFO] [WARNING] Tests run: 167, Failures: 0, Errors: 0, Skipped: 3 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:17 min [INFO] Finished at: 2023-12-14T10:21:51+01:00 [INFO] ------------------------------------------------------------------------ Finished: SUCCESS