+++ mktemp -d ++ workdir=/tmp/tmp.OLSPJywi91 ++ echo Workdir: /tmp/tmp.OLSPJywi91 Workdir: /tmp/tmp.OLSPJywi91 ++ echo Checkout base commit... Checkout base commit... ++ git checkout 8f9832ad5a6ece63df991f45d596bf0a520c8082~1 Warning: you are leaving 2 commits behind, not connected to any of your branches: 8f9832ad5 Merge 63559c563b578c8afcfa3c8ccc97e1821f876429 into ea7a15c669a451e36a3fca600c134928cd13fc57 63559c563 build: refresh Embedded UI (v6.36.1) (#11833) If you want to keep them by creating a new branch, this may be a good time to do so with: git branch 8f9832ad5 HEAD is now at ea7a15c66 Make sure mailboxes in test actorsystems are in a locked state (#11837) ++ 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/7480268480 [...........................................] OK ++ echo Checkout head commit... Checkout head commit... ++ git checkout 8f9832ad5a6ece63df991f45d596bf0a520c8082 Previous HEAD position was ea7a15c66 Make sure mailboxes in test actorsystems are in a locked state (#11837) HEAD is now at 8f9832ad5 Merge 63559c563b578c8afcfa3c8ccc97e1821f876429 into ea7a15c669a451e36a3fca600c134928cd13fc57 ++ 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.OLSPJywi91/graph_base ++ jq .uid ++ jq .uid ++ cat /tmp/tmp.OLSPJywi91/graph_head ++ echo Create a list of changed uids in the head graph... Create a list of changed uids in the head graph... ++ cat /tmp/tmp.OLSPJywi91/uid_head ++ sort ++ uniq -d ++ cat /tmp/tmp.OLSPJywi91/uid_base ++ sort ++ uniq -u ++ cat /tmp/tmp.OLSPJywi91/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... ++ jq -r --slurpfile uids /tmp/tmp.OLSPJywi91/uids_new 'select( ."node-type"=="test") | select( any( .uid; .==$uids[] )) | .kv.path' ++ cat /tmp/tmp.OLSPJywi91/graph_head ++ sort ++ uniq ++ echo Number of test suites: Number of test suites: ++ wc -l ++ cat /tmp/tmp.OLSPJywi91/testsuites 336 ++ 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.OLSPJywi91/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 /tmp/tmp.OLSPJywi91/ts2 ++ cat ++ 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.OLSPJywi91/graph_head ++ jq -r --slurpfile uids /tmp/tmp.OLSPJywi91/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