+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1244 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Tue Apr 29 12:20:53 UTC 2025 + uptime 12:20:53 up 1 min, 0 users, load average: 1.53, 0.49, 0.17 + head=git@github.com:zerocracy/zerocracy-mcp-server.git + ff=default + image=yegor256/java + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.0.1 + vars=('--env=head=git@github.com:zerocracy/zerocracy-mcp-server.git' '--env=tag=0.0.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:zerocracy/zerocracy-mcp-server.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo /usr/bin/install-node.sh'\'' '\'';'\'' '\''npm install --no-color'\'' '\'';'\'' '\''pdd -f /dev/null -v'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/" package.json'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/" src/server.ts'\'' '\'';'\'' '\''make'\'' '\'';'\'' '\''git commit -am "set version to ${tag}"'\'' '\'';'\'' '\''chmod 600 ../npmrc'\'' '\'';'\'' '\''npm publish --no-color --userconfig=../npmrc'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256') + scripts=('export '\''head=git@github.com:zerocracy/zerocracy-mcp-server.git'\''' ';' 'export '\''tag=0.0.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo /usr/bin/install-node.sh' ';' 'npm install --no-color' ';' 'pdd -f /dev/null -v' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'sed -i "s/0\.0\.0/${tag}/" package.json' ';' 'sed -i "s/0\.0\.0/${tag}/" src/server.ts' ';' 'make' ';' 'git commit -am "set version to ${tag}"' ';' 'chmod 600 ../npmrc' ';' 'npm publish --no-color --userconfig=../npmrc' ';') + directory= + container=zerocracy_zerocracy-mcp-server_4 + as_root=false + hostname ip-172-31-21-126 + pwd /tmp/rultor-fdsu + git --version git version 2.34.1 + docker --version Docker version 25.0.3, build 4debf41 + mkdir -p /home/ubuntu/.ssh + echo -e 'Host github.com\n\tStrictHostKeyChecking no\n' + chmod 600 /home/ubuntu/.ssh/config + git clone git@github.com:zerocracy/zerocracy-mcp-server.git repo Cloning into 'repo'... Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'export '\''head=git@github.com:zerocracy/zerocracy-mcp-server.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:zerocracy/zerocracy-mcp-server.git'\''' ';' 'export '\''tag=0.0.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo /usr/bin/install-node.sh' ';' 'npm install --no-color' ';' 'pdd -f /dev/null -v' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'sed -i "s/0\.0\.0/${tag}/" package.json' ';' 'sed -i "s/0\.0\.0/${tag}/" src/server.ts' ';' make ';' 'git commit -am "set version to ${tag}"' ';' 'chmod 600 ../npmrc' ';' 'npm publish --no-color --userconfig=../npmrc' ';' + sensitive=() + rm -rf .gnupg + set -ex + '[' -z 0.0.1 ']' + [[ 0.0.1 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.0.1"' tag name is valid: "0.0.1" + cd repo ++ git tag -l 0.0.1 + '[' ']' + export BRANCH_NAME=__rultor + BRANCH_NAME=__rultor ++ wc -l ++ git show-branch __rultor + '[' 0 -gt 0 ']' + git checkout -b __rultor Switched to a new branch '__rultor' + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.18 ++ bc ++ echo 0.18 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.18, low enough to run a new Docker container' load average is 0.18, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/java + docker pull yegor256/java Using default tag: latest latest: Pulling from yegor256/java 23eb0befa94a: Pulling fs layer 63a781913106: Pulling fs layer da0f843b455b: Pulling fs layer b731139994e4: Pulling fs layer 9d9d7aab7e35: Pulling fs layer 45389dc204eb: Pulling fs layer 8641094b6a2b: Pulling fs layer 4f4fb700ef54: Pulling fs layer 59f0af2e901c: Pulling fs layer 4b44d0b4723b: Pulling fs layer 403c2f2570b0: Pulling fs layer da84f90a429c: Pulling fs layer 1030127a5fe1: Pulling fs layer 7dcc7c00f922: Pulling fs layer 6bbfcaf1a796: Pulling fs layer d825d98ebf29: Pulling fs layer f3857efdbd41: Pulling fs layer 25eb5b450838: Pulling fs layer b731139994e4: Waiting 9d9d7aab7e35: Waiting 45389dc204eb: Waiting 8641094b6a2b: Waiting 4f4fb700ef54: Waiting 59f0af2e901c: Waiting 4b44d0b4723b: Waiting 403c2f2570b0: Waiting da84f90a429c: Waiting 1030127a5fe1: Waiting 7dcc7c00f922: Waiting 6bbfcaf1a796: Waiting d825d98ebf29: Waiting f3857efdbd41: Waiting 25eb5b450838: Waiting 63a781913106: Verifying Checksum 63a781913106: Download complete 23eb0befa94a: Verifying Checksum 23eb0befa94a: Download complete 9d9d7aab7e35: Verifying Checksum 9d9d7aab7e35: Download complete 45389dc204eb: Verifying Checksum 45389dc204eb: Download complete da0f843b455b: Verifying Checksum da0f843b455b: Download complete 8641094b6a2b: Verifying Checksum 8641094b6a2b: Download complete 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete 4b44d0b4723b: Verifying Checksum 4b44d0b4723b: Download complete 59f0af2e901c: Verifying Checksum 59f0af2e901c: Download complete 403c2f2570b0: Verifying Checksum 403c2f2570b0: Download complete 1030127a5fe1: Verifying Checksum 1030127a5fe1: Download complete da84f90a429c: Verifying Checksum da84f90a429c: Download complete b731139994e4: Verifying Checksum b731139994e4: Download complete d825d98ebf29: Verifying Checksum d825d98ebf29: Download complete 7dcc7c00f922: Verifying Checksum 7dcc7c00f922: Download complete 6bbfcaf1a796: Verifying Checksum 6bbfcaf1a796: Download complete 25eb5b450838: Verifying Checksum 25eb5b450838: Download complete f3857efdbd41: Verifying Checksum f3857efdbd41: Download complete 23eb0befa94a: Pull complete 63a781913106: Pull complete da0f843b455b: Pull complete b731139994e4: Pull complete 9d9d7aab7e35: Pull complete 45389dc204eb: Pull complete 8641094b6a2b: Pull complete 4f4fb700ef54: Pull complete 59f0af2e901c: Pull complete 4b44d0b4723b: Pull complete 403c2f2570b0: Pull complete da84f90a429c: Pull complete 1030127a5fe1: Pull complete 7dcc7c00f922: Pull complete 6bbfcaf1a796: Pull complete d825d98ebf29: Pull complete f3857efdbd41: Pull complete 25eb5b450838: Pull complete Digest: sha256:33fc2d63ff697e56f1717f6d3ea0b95b4b4a59c060be9b615fbbf71ce7c4c454 Status: Downloaded newer image for yegor256/java:latest docker.io/yegor256/java:latest + docker ps --filter=status=exited + grep --quiet '\szerocracy_zerocracy-mcp-server_4\s*$' + ls -al . total 52 drwx------ 3 ubuntu ubuntu 4096 Apr 29 12:21 . drwxrwxrwt 12 root root 4096 Apr 29 12:20 .. -rwxrwxr-x 1 ubuntu ubuntu 2089 Apr 29 12:20 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 Apr 29 12:21 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 74 Apr 29 12:20 npmrc -rw-rw-r-- 1 ubuntu ubuntu 5 Apr 29 12:20 pid drwxrwxr-x 8 ubuntu ubuntu 4096 Apr 29 12:21 repo -rwxrwxr-x 1 ubuntu ubuntu 9272 Apr 29 12:20 run.sh -rw-rw-r-- 1 ubuntu ubuntu 659 Apr 29 12:21 script.sh -rw-rw-r-- 1 ubuntu ubuntu 6843 Apr 29 12:21 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-fdsu:/main --env=head=git@github.com:zerocracy/zerocracy-mcp-server.git --env=tag=0.0.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:zerocracy/zerocracy-mcp-server.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo /usr/bin/install-node.sh'\'' '\'';'\'' '\''npm install --no-color'\'' '\'';'\'' '\''pdd -f /dev/null -v'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/" package.json'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/" src/server.ts'\'' '\'';'\'' '\''make'\'' '\'';'\'' '\''git commit -am "set version to ${tag}"'\'' '\'';'\'' '\''chmod 600 ../npmrc'\'' '\'';'\'' '\''npm publish --no-color --userconfig=../npmrc'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --net=host --dns 8.8.8.8 --add-host docker:127.0.0.1 --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-fdsu/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=zerocracy_zerocracy-mcp-server_4 yegor256/java /main/entry.sh WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded. + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r ++ awk -F : '$3 > 100 { print $1 }' ++ cat /etc/group + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G nogroup r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G ssh r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G r r + usermod -s /bin/bash r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.cache /root/.gemrc /root/.m2 /root/.profile /home/r + cp -R ./cid ./end.sh ./entry.sh ./npmrc ./pid ./repo ./run.sh ./script.sh ./stdout /home/r + rm -rf repo + chown -R r:r /home/r + chmod a+x /home/r/script.sh + cat /home/r/script.sh #!/bin/bash set -e set -o pipefail if [ -e /home/r/.profile ]; then source /home/r/.profile; fi shopt -s expand_aliases alias 'sudo=sudo -i' export HOME=/home/r cd "${HOME}/repo" export 'head=git@github.com:zerocracy/zerocracy-mcp-server.git' ; export 'tag=0.0.1' ; export 'head_branch=master' ; export 'author=yegor256' ; sudo /usr/bin/install-node.sh ; npm install --no-color ; pdd -f /dev/null -v ; [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 ; sed -i "s/0\.0\.0/${tag}/" package.json ; sed -i "s/0\.0\.0/${tag}/" src/server.ts ; make ; git commit -am "set version to ${tag}" ; chmod 600 ../npmrc ; npm publish --no-color --userconfig=../npmrc ; + su --login r --command /home/r/script.sh + bash + curl -fsSL https://deb.nodesource.com/setup_18.x 38;5;79m2025-04-29 12:21:55 - Installing pre-requisites0m Hit:1ohttp://deb.debian.org/debian bullseye InRelease Get:2ohttp://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB] Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Get:4ohttp://deb.debian.org/debian-security bullseye-security/main amd64 Packages [359 kB] Fetchedo431nkB ino1sk(8059kB/s)6%] Reading package lists... Done Reading package lists... Done Building dependency tree... Done Reading state information... Done ca-certificates is already the newest version (20210119). gnupg is already the newest version (2.2.27-2+deb11u2). curl is already the newest version (7.74.0-1.3+deb11u14). The following NEW packages will be installed: apt-transport-https 0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded. Need to get 160 kB of archives. After this operation, 166 kB of additional disk space will be used. Get:1ohttp://deb.debian.org/debian bullseye/main amd64 apt-transport-https all 2.2.4 [160 kB] Fetchedo160nkBsinr0sh(6,984 kB/s) kB 0%] debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package apt-transport-https. (Reading database ... 33318 files and directories currently installed.) Preparing to unpack .../apt-transport-https_2.2.4_all.deb ... Unpacking apt-transport-https (2.2.4) ... Setting up apt-transport-https (2.2.4) ... Hit:1ohttp://deb.debian.org/debian bullseye InRelease Hit:2ohttp://deb.debian.org/debian-security bullseye-security InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Get:4ohttps://deb.nodesource.com/node_18.x7nodistro]InRelease [12.1 kB] Get:5Whttps://deb.nodesource.com/node_18.x nodistro/main amd64 Packages [11.5 kB] Fetchedo23.7gkB ino0s (50.1 kB/s) Reading package lists... Done 1;34m2025-04-29 12:21:59 - Repository configured successfully.0m 38;5;79m2025-04-29 12:21:59 - To install Node.js, run: apt-get install nodejs -y0m 38;5;79m2025-04-29 12:21:59 - You can use N|solid Runtime as a node.js alternative0m 1;32m2025-04-29 12:21:59 - To install N|solid Runtime, run: apt-get install nsolid -y 0m + apt-get install --yes nodejs Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: nodejs 0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded. Need to get 29.7 MB of archives. After this operation, 187 MB of additional disk space will be used. Get:1ohttps://deb.nodesource.com/node_18.x nodistro/main amd64 nodejs amd64 18.20.8-1nodesource1 [29.7 MB] Fetchedo29.7gMBBin91s (49.2]MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package nodejs. (Reading database ... 33322 files and directories currently installed.) Preparing to unpack .../nodejs_18.20.8-1nodesource1_amd64.deb ... Unpacking nodejs (18.20.8-1nodesource1) ... Setting up nodejs (18.20.8-1nodesource1) ... + node --version v18.20.8 + npm --version 10.8.2 1G0K1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0K⠏1G0K⠋1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0K⠏1G0K⠋1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0K⠏1G0Knpm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. 1G0K⠏1G0Knpm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported 1G0K⠏1G0K⠋1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0Knpm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead 1G0K⠇1G0K⠏1G0K⠋1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0K⠏1G0K⠋1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K⠇1G0K⠏1G0K⠋1G0K⠙1G0K⠹1G0K⠸1G0K⠼1G0K⠴1G0K⠦1G0K⠧1G0K added 457 packages, and audited 458 packages in 8s 1G0K⠧1G0K 1G0K⠧1G0K82 packages are looking for funding 1G0K⠧1G0K run `npm fund` for details 1G0K⠧1G0K found 0 vulnerabilities 1G0K⠧1G0Knpm notice npm notice New major version of npm available! 10.8.2 -> 11.3.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.3.0 npm notice To update run: npm install -g npm@11.3.0 npm notice 1G0K⠧1G0KFound 8 lines in /home/r/repo/.pdd My version is 0.23.1 Ruby version is 3.4.3 at x86_64-linux Reading from root dir . Excluding target/**/* Excluding coverage/**/* Excluding node_modules/**/* /usr/local/bundle/gems/pdd-0.23.1/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic /home/r/repo/fixtures/claude-desktop-config.json is a binary file (189 bytes) /home/r/repo/package-lock.json is a binary file (235481 bytes) /home/r/repo/package.json is a binary file (993 bytes) /home/r/repo/renovate.json is a binary file (114 bytes) /home/r/repo/tsconfig.json is a binary file (244 bytes) Reading .0pdd.yml ... Reading .gitattributes ... Reading .github/typos.toml ... Reading .github/workflows/actionlint.yml ... Reading .github/workflows/copyrights.yml ... Reading .github/workflows/eslint.yml ... Reading .github/workflows/markdown-lint.yml ... Reading .github/workflows/pdd.yml ... Reading .github/workflows/reuse.yml ... Reading .github/workflows/typos.yml ... Reading .github/workflows/xcop.yml ... Reading .github/workflows/yamllint.yml ... Reading .gitignore ... Reading .pdd ... Reading .rultor.yml ... Reading .xcop ... Reading LICENSE.txt ... Reading LICENSES/MIT.txt ... Reading Makefile ... Reading README.md ... Reading REUSE.toml ... Reading eslint.config.mjs ... Reading index.ts ... Reading src/baza.ts ... Reading src/server.ts ... Reading test/baza.test.ts ... Reading test/server.test.ts ... npx jest --preset ts-jest 1G0K⠙1G0K1m2mDetermining test suites to run...22m22m999DK 1A 0m7m33m1m RUNS 22m39m27m0m 1m...22m 1A 0m7m33m1m RUNS 22m39m27m0m 1m...22m 1A0m7m1m32m PASS 39m22m27m0m 2mtest/22m1mserver.test.ts22m (0m1m41m7.41 s49m22m0m) 0m7m33m1m RUNS 22m39m27m0m 1m...22m 1A 0m7m33m1m RUNS 22m39m27m0m 1m...22m 1A 0m7m33m1m RUNS 22m39m27m0m 1m...22m 1A 0m7m33m1m RUNS 22m39m27m0m 1m...22m 1A 0m7m33m1m RUNS 22m39m27m0m 1m...22m 1A 0m7m33m1m RUNS 22m39m27m0m 1m...22m 1A 0m7m33m1m RUNS 22m39m27m0m 1m...22m 1A0m7m1m32m PASS 39m22m27m0m 2mtest/22m1mbaza.test.ts22m 0m7m33m1m RUNS 22m39m27m0m 1m...22m 1A999DK 1mTest Suites: 22m1m32m2 passed39m22m, 2 total 1mTests: 22m1m32m3 passed39m22m, 3 total 1mSnapshots: 22m0 total 1mTime:22m 8.266 s 2mRan all test suites22m2m.22m 1G0K⠙1G0Knpx eslint . --config eslint.config.mjs 1G0K⠙1G0K1G0K⠙1G0Knpx @modelcontextprotocol/inspector --config fixtures/claude-desktop-config.json --server zerocracy --cli --method tools/list | jq empty /bin/sh: 1: jq: not found make: *** [Makefile:16: it] Error 127 container 85401e4abe64b0d2c90b41351d800e050b6dbd35fa26b8370030b7f75a1d4081 is dead Tue Apr 29 12:23:08 UTC 2025