+++ mktemp -d ++ workdir=/tmp/tmp.t3znX00n4K ++ echo Workdir: /tmp/tmp.t3znX00n4K Workdir: /tmp/tmp.t3znX00n4K ++ echo Checkout base commit... Checkout base commit... ++ git checkout 7ddefa263bdd685713a6fff76866d14e7b057739~1 Warning: you are leaving 2 commits behind, not connected to any of your branches: 7ddefa263 Merge 8064519cb7b044abc898202d6a2a9559f69a0888 into 9323dd4f7854a740b0d8a30de08315aa97649eda 8064519cb cleanup If you want to keep them by creating a new branch, this may be a good time to do so with: git branch 7ddefa263 HEAD is now at 9323dd4f7 Fix ydb-cli vulnerabilities found by Coverity (#16290) ++ echo Build graph for base commit... Build graph for base commit... ++ ./ya make -Gj0 -ttt ydb --build release -k --cache-tests --build-all ++ jq '.graph[]' Downloading https://devtools-registry.s3.yandex.net/8330124139 [.......................................] OK ++ echo Checkout head commit... Checkout head commit... ++ git checkout 7ddefa263bdd685713a6fff76866d14e7b057739 Previous HEAD position was 9323dd4f7 Fix ydb-cli vulnerabilities found by Coverity (#16290) HEAD is now at 7ddefa263 Merge 8064519cb7b044abc898202d6a2a9559f69a0888 into 9323dd4f7854a740b0d8a30de08315aa97649eda ++ echo Build graph for head commit... Build graph for head commit... ++ ./ya make -Gj0 -ttt ydb --build release -k --cache-tests --build-all ++ jq '.graph[]' ++ echo Generate lists of uids for base and head... Generate lists of uids for base and head... ++ cat /tmp/tmp.t3znX00n4K/graph_base ++ jq .uid ++ cat /tmp/tmp.t3znX00n4K/graph_head ++ jq .uid ++ echo Create a list of changed uids in the head graph... Create a list of changed uids in the head graph... ++ cat /tmp/tmp.t3znX00n4K/uid_head ++ sort ++ uniq -d ++ cat /tmp/tmp.t3znX00n4K/uid_base ++ sort ++ uniq -u ++ cat /tmp/tmp.t3znX00n4K/uid_head ++ echo Create ya.make Create ya.make ++ echo '' ++ echo Generate list of test shard names from the head graph based on the list of uids... Generate list of test shard names from the head graph based on the list of uids... ++ cat /tmp/tmp.t3znX00n4K/graph_head ++ jq -r --slurpfile uids /tmp/tmp.t3znX00n4K/uids_new 'select( ."node-type"=="test") | select( any( .uid; .==$uids[] )) | .kv.path' ++ sort ++ uniq ++ echo Number of test suites: Number of test suites: ++ cat /tmp/tmp.t3znX00n4K/testsuites ++ wc -l 404 ++ echo Removing test suite name from the list to get target names... Removing test suite name from the list to get target names... ++ sed -E 's/\/[^/]*$//g;/^null$/d' /tmp/tmp.t3znX00n4K/testsuites ++ echo Append into ya.make RECURSE_FOR_TESTS to all required tests... Append into ya.make RECURSE_FOR_TESTS to all required tests... ++ echo 'RECURSE_FOR_TESTS(' ++ cat ++ cat /tmp/tmp.t3znX00n4K/ts2 ++ echo ')' ++ echo Generate list of module names from the head graph based on the list of uids... Generate list of module names from the head graph based on the list of uids... ++ cat /tmp/tmp.t3znX00n4K/graph_head ++ jq -r --slurpfile uids /tmp/tmp.t3znX00n4K/uids_new 'select( ."target_properties"."module_type" != null) | select( ( ."target_properties"."module_tag" // "-" | strings | contains("proto") ) | not ) | select( any( .uid; .==$uids[] )) | .target_properties.module_dir' ++ sort ++ uniq