[ 
https://issues.apache.org/jira/browse/GROOVY-12060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18085657#comment-18085657
 ] 

ASF GitHub Bot commented on GROOVY-12060:
-----------------------------------------

testlens-app[bot] commented on PR #2586:
URL: https://github.com/apache/groovy/pull/2586#issuecomment-4608520447

   ## 🚨 TestLens detected 1 failed test 🚨
   
   Here is what you can do:
   
   1) Inspect the test failures carefully.
   2) If you are convinced that some of the tests are flaky, you can mute them 
below.
   3) Finally, trigger a rerun by checking the rerun checkbox.
   
   ### Test Summary
   
   | Check | Project/Task | Test | Runs |
   |---|---|---|---|
   | [Build and test / lts \(17, windows-latest, 
1\)](https://github.com/apache/groovy/actions/runs/26858722477/job/79207376309?pr=2586)
 | :test | BugsSTCTest > testInvokePublicMethodFromInaccessibleBase\(\) | ❌ |
   
   🏷️ Commit: 958b72a125c078ec2af49715d86dccb9a91a598a
   ▶️ Tests:  85441 executed
   🟡 Checks: 19/28 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>BugsSTCTest > 
testInvokePublicMethodFromInaccessibleBase()</strong> (:test in <a 
href="https://github.com/apache/groovy/actions/runs/26858722477/job/79207376309?pr=2586";>Build
 and test / lts (17, windows-latest, 1)</a>)</summary>
   
   ```
   org.codehaus.groovy.control.MultipleCompilationErrorsException: startup 
failed:
   TestScript36c333b32679487891bb452fa46ae663.groovy: 3: unable to resolve 
class org.apache.pdfbox.pdmodel.PDPageContentStream
    @ line 3, column 20.
                  import org.apache.pdfbox.pdmodel.PDPageContentStream
                         ^
   
   TestScript36c333b32679487891bb452fa46ae663.groovy: 4: unable to resolve 
class org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject
    @ line 4, column 20.
                  import org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject
                         ^
   
   2 errors
   
        at 
org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:333)
        at 
org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:989)
        at 
org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:749)
        at 
org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:723)
        at 
groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:423)
        at 
groovy.lang.GroovyClassLoader.lambda$parseClass$3(GroovyClassLoader.java:364)
        at 
org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:143)
        at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:364)
        at groovy.lang.GroovyShell.parseClass(GroovyShell.java:665)
        at groovy.lang.GroovyShell.parse(GroovyShell.java:678)
        at groovy.lang.GroovyShell.parse(GroovyShell.java:690)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:552)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:588)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:572)
        at 
groovy.transform.stc.StaticTypeCheckingTestCase.assertScript(StaticTypeCheckingTestCase.groovy:78)
        at 
groovy.transform.stc.BugsSTCTest.testInvokePublicMethodFromInaccessibleBase(BugsSTCTest.groovy:1129)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 BugsSTCTest > testInvokePublicMethodFromInaccessibleBase\(\) <!

> groovy-contracts could support @Decreases at the method level
> -------------------------------------------------------------
>
>                 Key: GROOVY-12060
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12060
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>
> Essentially this would mean it can act as a call-stack/recursion measure for 
> termination.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to