Result

WA

Duration

4036ms

Code [DL]

import ballerina/http;

service hello on new http:Listener(9090) {
    resource function sayHello(http:Caller caller, http:Request request) {
        http:Response response = new;
        response.setTextPayload("Hello Ballerina!");
        _ = caller -> respond(response);
    }
}

stdin

                          T                       
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
             K                                    

stdout

stderr

error: .::code.bal:7:13: incompatible types: expected 'any', found 'error?'

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffcd6708f70 /* 8 vars */) = 0
11    execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55cc34407d18 /* 8 vars */) = 0
11    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
12    execve("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.bal"], 0x55cc34407d38 /* 8 vars */) = 0
12    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    execve("/root/ballerina/bin/ballerina", ["/root/ballerina/bin/ballerina", "run", "/tmp/code.bal"], 0x55cc35b30068 /* 8 vars */ <unfinished ...>
13    execve("/bin/cat", ["cat", "-"], 0x55cc34407d70 /* 8 vars */ <unfinished ...>
14    <... execve resumed> )            = 0
13    <... execve resumed> )            = 0
13    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
15    execve("/bin/uname", ["uname"], 0x557607accd40 /* 9 vars */) = 0
15    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
16    execve("/usr/bin/dirname", ["dirname", "/root/ballerina/bin/ballerina"], 0x557607ad0c40 /* 9 vars */) = 0
16    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
17    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
20    execve("/bin/grep", ["grep", "-e", "1.8."], 0x557607ad10e0 /* 10 vars */) = 0
19    execve("/usr/lib/jvm/java-1.8-openjdk/bin/java", ["/usr/lib/jvm/java-1.8-openjdk/bi"..., "-version"], 0x557607ad10e0 /* 10 vars */) = 0
19    execve("/usr/lib/jvm/java-1.8-openjdk/bin/java", ["/usr/lib/jvm/java-1.8-openjdk/bi"..., "-version"], 0x7eff75ae1aa0 /* 11 vars */) = 0
19    --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=19, si_uid=0} ---
21    --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
29    +++ exited with 0 +++
25    +++ exited with 0 +++
22    +++ exited with 0 +++
21    +++ exited with 0 +++
27    +++ exited with 0 +++
28    +++ exited with 0 +++
26    +++ exited with 0 +++
24    +++ exited with 0 +++
23    +++ exited with 0 +++
20    +++ exited with 0 +++
19    +++ exited with 0 +++
18    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
18    +++ exited with 0 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
30    execve("/usr/lib/jvm/java-1.8-openjdk/bin/java", ["/usr/lib/jvm/java-1.8-openjdk/bi"..., "-Xbootclasspath/a:", "-Xms256m", "-Xmx1024m", "-XX:+HeapDumpOnOutOfMemoryError", "-XX:HeapDumpPath=/root/ballerina"..., "-classpath", ":/root/ballerina/bre/lib/HdrHist"..., "-Dballerina.home=/root/ballerina", "-Dballerina.version=0.991.0", "-Djava.util.logging.config.class"..., "-Djava.util.logging.manager=org."..., "-Denable.nonblocking=false", "-Djava.security.egd=file:/dev/./"..., "-Dfile.encoding=UTF8", "org.ballerinalang.launcher.Main", "run", "/tmp/code.bal"], 0x557607ad10e0 /* 10 vars */) = 0
30    execve("/usr/lib/jvm/java-1.8-openjdk/bin/java", ["/usr/lib/jvm/java-1.8-openjdk/bi"..., "-Xbootclasspath/a:", "-Xms256m", "-Xmx1024m", "-XX:+HeapDumpOnOutOfMemoryError", "-XX:HeapDumpPath=/root/ballerina"..., "-classpath", ":/root/ballerina/bre/lib/HdrHist"..., "-Dballerina.home=/root/ballerina", "-Dballerina.version=0.991.0", "-Djava.util.logging.config.class"..., "-Djava.util.logging.manager=org."..., "-Denable.nonblocking=false", "-Djava.security.egd=file:/dev/./"..., "-Dfile.encoding=UTF8", "org.ballerinalang.launcher.Main", "run", "/tmp/code.bal"], 0x7f861ded7ba0 /* 11 vars */) = 0
30    --- SIGRT_2 {si_signo=SIGRT_2, si_code=SI_TKILL, si_pid=30, si_uid=0} ---
31    --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
39    +++ exited with 0 +++
38    +++ exited with 1 +++
36    +++ exited with 1 +++
35    +++ exited with 1 +++
34    +++ exited with 1 +++
32    +++ exited with 1 +++
37    +++ exited with 1 +++
33    +++ exited with 1 +++
31    +++ exited with 1 +++
40    +++ exited with 1 +++
30    +++ exited with 1 +++
14    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=30, si_uid=0, si_status=1, si_utime=282, si_stime=41} ---
14    +++ exited with 1 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=1, si_utime=2, si_stime=0} ---
41    execve("/bin/rm", ["rm", "/tmp/code.bal"], 0x55cc34407c98 /* 8 vars */) = 0
41    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=41, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
10    +++ exited with 0 +++