Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent test failures in llvmpasses/image-codegen.jl #57738

Open
giordano opened this issue Mar 12, 2025 · 0 comments
Open

Intermittent test failures in llvmpasses/image-codegen.jl #57738

giordano opened this issue Mar 12, 2025 · 0 comments
Labels
ci Continuous integration compiler:llvm For issues that relate to LLVM

Comments

@giordano
Copy link
Contributor

giordano commented Mar 12, 2025

Observed in #53462 and #57725 (especially the latter is wildly unrelated to any code at all since it's only touching documentation):

FAIL: Julia :: image-codegen.jl (30 of 44)
******************** TEST 'Julia :: image-codegen.jl' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: export JULIA_LLVM_ARGS="--print-before=loop-vectorize --print-module-scope"
+ export 'JULIA_LLVM_ARGS=--print-before=loop-vectorize --print-module-scope'
+ JULIA_LLVM_ARGS='--print-before=loop-vectorize --print-module-scope'
RUN: at line 3: rm -rf /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/Output/image-codegen.jl.tmp
+ rm -rf /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/Output/image-codegen.jl.tmp
RUN: at line 4: mkdir /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/Output/image-codegen.jl.tmp
+ mkdir /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/Output/image-codegen.jl.tmp
RUN: at line 5: julia --image-codegen --startup-file=no /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/image-codegen.jl 2> /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/Output/image-codegen.jl.tmp/output.txt
+ julia --image-codegen --startup-file=no /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/image-codegen.jl
RUN: at line 6: FileCheck /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/image-codegen.jl < /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/Output/image-codegen.jl.tmp/output.txt
+ FileCheck /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/image-codegen.jl
/cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/image-codegen.jl:17:15: error: CHECK-SAME: is not on the same line as the previous match
# CHECK-SAME: = {{(external )?}}
              ^
<stdin>:89:5: note: 'next' match was here
 %7 = addrspacecast ptr %6 to ptr addrspace(10), !dbg !16
    ^
<stdin>:88:32: note: previous match ended here
 %6 = load ptr, ptr @"jl_global#5", align 8, !dbg !16, !tbaa !13, !invariant.load !0, !alias.scope !17, !noalias !20, !nonnull !0
                               ^
Input file: <stdin>
Check file: /cache/build/builder-amdci5-1/julialang/julia-master/test/llvmpasses/image-codegen.jl
-dump-input=help explains the following input dump.
Input was:
<<<<<<
         .
         .
         .
        84: %4, align 8, !tbaa !13, !invariant.load !0
        85:  fence syncscope("singlethread") seq_cst
        86:  call void @julia.safepoint(ptr %5), !dbg !15
        87:  fence syncscope("singlethread") seq_cst
        88:  %6 = load ptr, ptr @"jl_global#5", align 8, !dbg !16, !tbaa !13, !invariant.load !0, !alias.scope !17, !noalias !20, !nonnull !0
        89:  %7 = addrspacecast ptr %6 to ptr addrspace(10), !dbg !16
same:17         !~                                                     error: match on wrong line
        90:  ret ptr addrspace(10) %7, !dbg !16
        91: }
        92:
        93: ; Function Attrs: noinline optnone
        94: define nonnull ptr addrspace(10) @jfptr_f_4(ptr addrspace(10) %0, ptr noalias nocapture noundef readonly %1, i32 %2) local_unnamed_addr #1 {
         .
         .
         .
>>>>>>
--
********************

CC @gbaraldi who last touched this file recently.

@giordano giordano added ci Continuous integration compiler:llvm For issues that relate to LLVM labels Mar 12, 2025
@giordano giordano changed the title Intermitted test failures in llvmpasses/image-codegen.jl Intermittent test failures in llvmpasses/image-codegen.jl Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous integration compiler:llvm For issues that relate to LLVM
Projects
None yet
Development

No branches or pull requests

1 participant