Community
Participate
Working Groups
The random access GZIP code is complex and could do with more tests. The tests showed a minor error where mark() then skip() in an InflaterInputStream could fail to reset().
New Gerrit change created: https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/199618
Gerrit change https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/199618 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=61efbbffc1ded129c39b1e8838dbf7eeaaa366a4
New Gerrit change created: https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/199619
Gerrit change https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/199619 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=6fc0f109955dc3d14de7abdbf30eea0a5bc2a0c0
New Gerrit change created: https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/199620
Gerrit change https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/199620 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=0cf89c5d7ce377b08f45cc5c4baad50e2bb4306b
New Gerrit change created: https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/199621
Gerrit change https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/199621 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=0069ba6202be4730341bba262a09b1a66ffac4ca
New Gerrit change created: https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/199622
Gerrit change https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/199622 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=c840b0aaea14368c0d1f713a55e8f5ee701d1d8a
I then got build failures: [INFO] --- tycho-p2-director-plugin:2.1.0:materialize-products (materialize-products) @ org.eclipse.mat.product --- [INFO] Installing product org.eclipse.mat.ui.rcp.MemoryAnalyzer for environment win32/win32/x86_64 to /home/jenkins/agent/workspace/tycho-mat-nightly/org.eclipse.mat.product/target/products/org.eclipse.mat.ui.rcp.MemoryAnalyzer/win32/win32/x86_64/mat Installing org.eclipse.mat.ui.rcp.MemoryAnalyzer 1.13.0.202301281742. Installing org.eclipse.mat.ui.rcp.feature.feature.group 1.13.0.202301281742. Installation failed. An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error with signed content. Caused by: java.security.NoSuchAlgorithmException: An error occurred while processing the signatures for the file: /home/jenkins/agent/workspace/tycho-mat-nightly/org.eclipse.mat.product/target/products/org.eclipse.mat.ui.rcp.MemoryAnalyzer/win32/win32/x86_64/mat/plugins/org.eclipse.mat.api_1.13.0.202301281742.jar Caused by: java.security.NoSuchAlgorithmException: No algorithm found for 1.2.840.113549.1.1.12 There were errors. See log file: /tmp/tycho11509153289031945325equinox/config/1674927789898.log which lead me to bug 572034 This suggested that a later Tycho is needed, at least 2.4.0 I upgraded to Tycho 2.75 and the build succeeded.
New Gerrit change created: https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/199625
Gerrit change https://git.eclipse.org/r/c/mat/org.eclipse.mat/+/199625 was merged to [master]. Commit: http://git.eclipse.org/c/mat/org.eclipse.mat.git/commit/?id=8c590ba6077096b00f72465988c0527e0101246c
The tests cover 73% of InflaterInputStream.java and 66% of GZIPInputStream2.java The snapshot tests will cover more.
Tests now run and pass in the CI build: https://ci.eclipse.org/mat/job/tycho-mat-nightly/1384/testReport/org.eclipse.mat.tests.parser/GzipTests/