INRIA / INRIA/spoon

Regression of spoon-decompiler against latest snapshot

Open
#5,390 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
2k
Forks
392
Avg merge
11h 24m
Merged PRs (30d)
36

Description

Build 'spoon-decompiler' is failing!

Last 50 lines of build output:

```
[...truncated 39.14 KB...]
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/DecompiledResourceTest.java:[58,17] cannot find symbol
[ERROR] symbol: method assertEquals(int,int)
[ERROR] location: class spoon.DecompiledResourceTest
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/DecompiledResourceTest.java:[66,17] cannot find symbol
[ERROR] symbol: method assertEquals(java.lang.String,java.lang.String)
[ERROR] location: class spoon.DecompiledResourceTest
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/JarLauncherTest.java:[66,17] cannot find symbol
[ERROR] symbol: method assertTrue(boolean)
[ERROR] location: class spoon.JarLauncherTest
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/JarLauncherTest.java:[72,17] cannot find symbol
[ERROR] symbol: method assertTrue(boolean)
[ERROR] location: class spoon.JarLauncherTest
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/JarLauncherTest.java:[99,17] cannot find symbol
[ERROR] symbol: method assertEquals(int,int)
[ERROR] location: class spoon.JarLauncherTest
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/JarLauncherTest.java:[107,17] cannot find symbol
[ERROR] symbol: method assertNotNull(spoon.reflect.declaration.CtType)
[ERROR] location: class spoon.JarLauncherTest
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/JarLauncherTest.java:[122,17] cannot find symbol
[ERROR] symbol: method assertEquals(int,int)
[ERROR] location: class spoon.JarLauncherTest
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/JarLauncherTest.java:[134,17] cannot find symbol
[ERROR] symbol: method assertEquals(int,int)
[ERROR] location: class spoon.JarLauncherTest
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/decompiler/test/architecture/DecompilerArchitectureTest.java:[80,25] cannot find symbol
[ERROR] symbol: method fail(java.lang.String)
[ERROR] location: class spoon.test.architecture.DecompilerArchitectureTest
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/decompiler/test/architecture/DecompilerArchitectureTest.java:[91,17] cannot find symbol
[ERROR] symbol: method assertEquals(int,int)
[ERROR] location: class spoon.test.architecture.DecompilerArchitectureTest
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/decompiler/test/architecture/DecompilerArchitectureTest.java:[107,88] cannot find symbol
[ERROR] symbol: class Test
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/decompiler/test/architecture/DecompilerArchitectureTest.java:[110,25] cannot find symbol
[ERROR] symbol: method assertTrue(boolean,java.lang.String)
[ERROR] location: class spoon.test.architecture.DecompilerArchitectureTest
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/decompiler/test/architecture/DecompilerArchitectureTest.java:[116,17] cannot find symbol
[ERROR] symbol: method assertEquals(int,int)
[ERROR] location: class spoon.test.architecture.DecompilerArchitectureTest
[ERROR] /builds/workspace/spoon-decompiler/spoon-decompiler/src/test/java/spoon/decompiler/test/architecture/DecompilerArchitectureTest.java:[140,25] cannot find symbol
[ERROR] symbol: method assertTrue(boolean,java.lang.String)
[ERROR] location: class spoon.test.architecture.DecompilerArchitectureTest
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Build step 'Execute shell' marked build as failure

```

Changes since last successful build:
- [github] 1ef06efff076c3703cd5bea61d2272c2cd5c4687 - fix: Fix bugs in `VisitorPartialEvaluator`, namely with support for `char` and preservation of types (#5291)

- [github] 1884f1ba7e74f3026f104fb5580a8e6cce64ec74 - chore(deps): update github/codeql-action digest to 46ed16d (#5327)

- [github] aea4501776a6b55a65c756316cd35eccd913addd - chore: Use correct groupId for release staging repo (#5315)

- [github] 43037d1571f7104dbc0891f848a1bdc1bb0bf33e - chore(deps): update github/codeql-action action to v2.20.3 (#5328)

- [unknown] c41c4076a1c41c6db3fe7f173a20702014913a97 - release: Releasing version 10.4.0

- [wittlinger.martin] 5d6a2d3e81333c700dce690da5eb9f5a7ba068c6 - release: Setting SNAPSHOT version 10.4.1-SNAPSHOT

No changes
No changes
No changes
No changes
- [github] 537faa994184ba0d24c631da3ce5403909797002 - chore: convert extra checks to github action (#5333)

No changes
No changes
No changes
- [github] 3dd8b4ee62b5efdd82fa0da774fdb06ac2a2a289 - fix: Use local maven repository in spoon-dataflow build (#5344)

- [github] e5037235bded07d657f0e465bdb2dbcb04f12a8d - chore(deps): pin actions/cache action to 8492260 (#5341)

- [github] 1f00de732c499d04a28260a41828eb2cf84ee2e8 - fix: Deploy spoon-parent pom in release workflow (#5332)

- [github] 8a6cf00f50dd53706857e6ffc30fd9bad562dd2c - chore(deps): update github/codeql-action digest to 489225d (#5347)

- [github] eabba95b9f814ff552571c1ea7cd70e6edb0e078 - chore(deps): update dependency gradle to v8.2.1 (#5339)

- [github] aa38bbb4b74a57575742d4155d6bbfb953ba6cc6 - chore(deps): update github/codeql-action action to v2.20.4 (#5348)

- [github] 18e1bd747563810c8b98bdfc7d139cd44b1f2a7c - chore(deps): update actions/setup-python action to v4.7.0 (#5346)

- [github] 223c95630ae919af08012c7dc50748d1bd24aaf7 - fix(deps): update dependency fr.inria.gforge.spoon:spoon-core to v10.4.0 (#5330)

- [github] 274acaabc3db28ad3c3150f90d81f066142a1494 - fix: Print annotations for typerefs without parents (#5326)

No changes
- [github] 1b03355e6effc94a23577dd0fc22d76f57bb497e - chore(deps): update jetbrains/qodana-action action to v2023.2.1 (#5351)

- [github] a4ad69f5d0ee2fc726d8b42c3b2c2a6dab64642d - chore(deps): update github/codeql-action digest to 1813ca7 (#5353)

- [github] d46391f9db9ee48c6d727c712689aa572c573108 - chore(deps): update github/codeql-action action to v2.21.0 (#5354)

- [github] dae341af0076bf3aaed867af7539e3f2316d9416 - feat: Add configurable encoding of processed source code (#5350)

No changes
- [github] 8ec4e38255d81cc2cfcd63aa63934c217e56c045 - doc: Improve javadoc for `CtTypeInformation` and `CtCodeElement#partiallyEvaluate` (#5331)

- [github] c49efd7e0ef87688d4183d93389e3f81bba2c19c - refactor: Add whitespace after varargs (#5358)

No changes
- [github] 2be2f17fe81f0cd3e0e32b0bc9ba45b1fdbdd5a2 - chore(deps): update junit5 monorepo (#5360)

- [github] a222600410aa9c51fb72999626bacdc6192d9106 - chore(deps): update actions/setup-java action to v3.12.0 (#5361)

- [github] fd3a2996be66aff3578d09cca8facedfe8a9396f - chore(deps): update actions/setup-java digest to cd89f46 (#5362)

- [github] 9140336afbf8d5bb09b4d36b6dcb188bb5176d55 - chore(deps): update step-security/harden-runner action to v2.5.0 (#5363)

No changes
- [github] 572fbf4e87771d7fd10cd882a3d631f134a0ed8f - chore(deps): update github/codeql-action action to v2.21.1 (#5368)

- [github] 98585a7a3cd52353653a6964767f00af68216fb0 - chore(deps): update github/codeql-action digest to 6ca1aa8 (#5367)

- [github] c8df9d87baba22832105ec90f2ef8a437871ef0d - doc: fix typos "is is..." (#5365)

- [github] 981571557d3d5cb0120827887e987ca9ee75c4c2 - chore(deps): update actions/cache action to v3 (#5342)

- [github] 2214866959b54a458be85266b5a4254f18bfc42c - fix(deps): update dependency org.apache.commons:commons-lang3 to v3.13.0 (#5371)

- [github] 8471e3cccc09549ace8b6eb70335ccb5e946c282 - chore(deps): update github/codeql-action digest to 0ba4244 (#5372)

- [github] 53b82aeea248a05cf1291a7da2927f006d7b55aa - chore(deps): update github/codeql-action action to v2.21.2 (#5373)

No changes
No changes
- [github] cf653497d846bec085596977aaa5ffe7b69a18ee - chore(deps): update dependency com.google.guava:guava to v32.1.2-jre (#5375)

No changes
No changes
- [github] 5f30f720afce351b95014955ad503c3fe830b061 - fix(deps): update dependency org.apache.maven:maven-model to v3.9.4 (#5376)

- [github] f60b801ddaf56ff33c2ca67825032effd8171eca - refactor(SpoonifierVisitor): `Deque` should be used instead of `Stack` (#5374)

- [github] 15e1fa31502e4eabe5a91792ec159602ab210ea3 - chore(deps): update dependency ch.qos.logback:logback-classic to v1.4.9 (#5377)

No changes
No changes
No changes
- [github] 348bef5df77ced4b1131e255d69937704c6d99b9 - chore(deps): update actions/setup-go digest to 93397be (#5379)

- [github] be720cdb34bf440fb11c4621845cb5a7b726fc3a - chore(deps): update github/codeql-action digest to 5b6282e (#5380)

- [github] 533cac5fc1e0947b88292f5da7555c97641d679a - chore(deps): update github/codeql-action action to v2.21.3 (#5381)

- [github] 3c707c7b8f01db3ffc81c0a946f56f02c8f81d8a - chore(deps): update step-security/harden-runner action to v2.5.1 (#5383)

- [github] 0cbcd0428037a521c4b15819b1e1e23ab216e25c - chore(deps): update dependency ch.qos.logback:logback-classic to v1.4.11 (#5382)

No changes
No changes
No changes
No changes
- [github] 12a97becc07aeeb0557b49c35779b8e2bc5baf25 - chore(deps): update github/codeql-action digest to a09933a (#5385)

- [github] 5739f950f19e7f51169c1d2662bbe404b5db0dd3 - chore(deps): update github/codeql-action action to v2.21.4 (#5386)

No changes
No changes
- [github] f0446307cd4a83f28e335eb0b1372d250c00b274 - chore(deps): update dependency gradle to v8.3 (#5388)

No changes
No changes
No changes
No changes

[View full output](https://ci.inria.fr/sos/job/spoon-decompiler/1492/)

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the Maven compilation errors in spoon-decompiler/src/test/java/spoon/DecompiledResourceTest.java, spoon/JarLauncherTest.java, and spoon/decompiler/test/architecture/DecompilerArchitectureTest.java, then compare the test setup with the latest snapshot changes. Re-run the spoon-decompiler build and confirm these tests compile and the build succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.