Skip to content

Conversation

sh-cho
Copy link

@sh-cho sh-cho commented Aug 24, 2025

Armeria is microservice framework. It is used by many companies (LINE, Snowflake, etc. (see: line/armeria#4626))

Signed-off-by: Seonghyeon Cho <[email protected]>
Copy link

sh-cho is integrating a new project:
- Main repo: https://github.com/line/armeria.git
- Criticality score: 0.56487

Signed-off-by: Seonghyeon Cho <[email protected]>
@sh-cho sh-cho marked this pull request as ready for review August 25, 2025 04:05
sh-cho added 2 commits August 25, 2025 13:36
Need to exclude `armeria-untrimmed-....jar`

Signed-off-by: Seonghyeon Cho <[email protected]>
Signed-off-by: Seonghyeon Cho <[email protected]>
@minwoox
Copy link

minwoox commented Aug 25, 2025

Thanks, @sh-cho! 😄

@sh-cho
Copy link
Author

sh-cho commented Aug 25, 2025

FAILURE: Build failed with an exception.

* Where:
Build file '/src/armeria/build.gradle' line: 398

* What went wrong:
A problem occurred evaluating root project 'armeria'.
> Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=17, vendor=GraalVM Community, implementation=vendor-specific} for LINUX on x86_64.
   > No matching toolchain could be found in the locally installed toolchains or the configured toolchain download repositories.

I will open it after fix this
Used graalvm jdk and build is done

$ python infra/helper.py check_build $PROJECT_NAME
INFO:__main__:Running: docker run --privileged --shm-size=2g --rm -i -e FUZZING_ENGINE=libfuzzer -e SANITIZER=address -e ARCHITECTURE=x86_64 -e FUZZING_LANGUAGE=jvm -e HELPER=True -v .../oss-fuzz/build/out/armeria:/out -t gcr.io/oss-fuzz-base/base-runner test_all.py.
INFO: performing bad build checks for /tmp/not-out/tmphhc0a93f/MediaTypeFuzzer
Retrying failed fuzz targets sequentially 1
INFO: performing bad build checks for /tmp/not-out/tmphhc0a93f/MediaTypeFuzzer
Broken fuzz targets 1
('/tmp/not-out/tmphhc0a93f/MediaTypeFuzzer', CompletedProcess(args=['bad_build_check', '/tmp/not-out/tmphhc0a93f/MediaTypeFuzzer'], returncode=1, stdout=b'BAD BUILD: /tmp/not-out/tmphhc0a93f/MediaTypeFuzzer seems to have either startup crash or exit:\n/tmp/not-out/tmphhc0a93f/MediaTypeFuzzer -rss_limit_mb=2560 -timeout=25 -seed=1337 -runs=4 < /dev/null\nrosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2\n /tmp/not-out/tmphhc0a93f/MediaTypeFuzzer: line 10:    40 Trace/breakpoint trap   LD_LIBRARY_PATH=/usr/lib/jvm/java-17-openjdk-amd64/lib/server:$this_dir $this_dir/jazzer_driver --agent_path=$this_dir/jazzer_agent_deploy.jar --cp=$this_dir/jar_temp:$this_dir --target_class=MediaTypeFuzzer --jvm_args=$mem_settings $@\n', stderr=b''))
BAD BUILD: /tmp/not-out/tmphhc0a93f/MediaTypeFuzzer seems to have either startup crash or exit:
/tmp/not-out/tmphhc0a93f/MediaTypeFuzzer -rss_limit_mb=2560 -timeout=25 -seed=1337 -runs=4 < /dev/null
rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
 /tmp/not-out/tmphhc0a93f/MediaTypeFuzzer: line 10:    64 Trace/breakpoint trap   LD_LIBRARY_PATH=/usr/lib/jvm/java-17-openjdk-amd64/lib/server:$this_dir $this_dir/jazzer_driver --agent_path=$this_dir/jazzer_agent_deploy.jar --cp=$this_dir/jar_temp:$this_dir --target_class=MediaTypeFuzzer --jvm_args=$mem_settings $@

ERROR: 100.0% of fuzz targets seem to be broken. See the list above for a detailed information.
ERROR:__main__:Check build failed.

Now I'm having this error when build fuzz targets. hmm

@sh-cho sh-cho marked this pull request as draft August 25, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants