Skip to content

fix: support DEB822 repository bootstrap - #130

Merged
sanikolaev merged 1 commit into
masterfrom
fix/deb822-bootstrap
Jul 29, 2026
Merged

fix: support DEB822 repository bootstrap#130
sanikolaev merged 1 commit into
masterfrom
fix/deb822-bootstrap

Conversation

@sanikolaev

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions

Copy link
Copy Markdown

tests

❌ CLT tests in clt_tests/tests/
✅ OK: 14
❌ Failed: 1
⏳ Duration: 1347s
👉 Check Action Results for commit 16f1f54

Failed tests:

clt_tests/tests/test-backup-restore.rec
––– input –––
export PATH=$PATH:/usr/sbin
––– output –––
OK
––– input –––
(dockerd > /var/log/dockerd.log 2>&1 &) > /dev/null
––– output –––
OK
––– input –––
if timeout 60 grep -qm1 'API listen on /var/run/docker.sock' <(tail -n 0 -f /var/log/dockerd.log); then echo 'Done'; else echo 'Timeout failed'; fi
––– output –––
OK
––– input –––
docker ps
––– output –––
OK
––– input –––
docker build --build-arg="DEV=1" -t manticoresoftware/manticore:current /docker/ > /dev/null 2>&1; echo $?
––– output –––
OK
––– input –––
docker run --rm --name manticore -v /tmp/idx:/var/lib/manticore -d manticoresoftware/manticore:current
––– output –––
OK
––– input –––
if timeout 60 grep -qEm1 "columnar.*?secondary.*?knn" <(docker logs -f manticore 2>&1); then echo 'Done'; else echo 'Not found'; fi
––– output –––
OK
––– input –––
docker exec manticore manticore-executor -v
––– output –––
OK
––– input –––
docker exec manticore wget -q https://raw.githubusercontent.com/manticoresoftware/manticoresearch-backup/main/test/clt-tests/dumps/tables.sql
––– output –––
OK
––– input –––
docker exec manticore bash -c "mysql < ./tables.sql"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show tables"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table distributed_index"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table rt_with_columnar"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table rt_without_columnar"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table test"
––– output –––
OK
––– input –––
docker exec manticore manticore-backup --backup-dir=/tmp
––– output –––
Copyright (c) %{YEAR}-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
Manticore config file: /etc/manticoresearch/manticore.conf.sh
Tables to backup: all tables
Backup dir: /tmp
Manticore config
  endpoint =  http://127.0.0.1:9308
Manticore config
  endpoint =  http://127.0.0.1:9312
Manticore versions:
  manticore: %{SEMVER} %{COMMITDATE}#!/(\s*dev)*/!#
  columnar: %{SEMVER} %{COMMITDATE}
  secondary: %{SEMVER} %{COMMITDATE}
  knn: %{SEMVER} %{COMMITDATE}
  buddy: %{SEMVER_EXT}
%{DATETIME} [Info] Starting the backup...
%{DATETIME} [Info] Backing up config files...
%{DATETIME} [Info]   config files - OK
%{DATETIME} [Info] Backing up global state files...
%{DATETIME} [Info]   global state files – OK
%{DATETIME} [Info] Backing up tables...
%{DATETIME} [Info]   distributed_index (distributed)...
%{DATETIME} [Info]   SKIP
%{DATETIME} [Info]   rt_with_columnar (rt) [#!/[0-9]{1}\.[0-9]{3}/!#K]...
%{DATETIME} [Info]    OK
%{DATETIME} [Info]   rt_without_columnar (rt) [#!/[0-9]{1}\.[0-9]{3}/!#K]...
%{DATETIME} [Info]    OK
%{DATETIME} [Info]   test (rt) [%{NUMBER}B]...
%{DATETIME} [Info]    OK
- %{DATETIME} [Info] Running sync
+ 2026-07-29 17:54:44 [Info]
- %{DATETIME} [Info]  OK
+ Unfreezing all tables...
- %{DATETIME} [Info] You can find backup here: /tmp/backup-%{NUMBER}
+ 2026-07-29 17:54:44 [Info]   distributed_index...
- %{DATETIME} [Info] Elapsed time: #!/([0-9]+\.[0-9]+|0)/!#s
+ 2026-07-29 17:54:44 [Info]    OK
- %{DATETIME} [Info] Done
+ 2026-07-29 17:54:44 [Info]   rt_with_columnar...
+ 2026-07-29 17:54:44 [Info]    OK
+ 2026-07-29 17:54:44 [Info]   rt_without_columnar...
+ 2026-07-29 17:54:44 [Info]    OK
+ 2026-07-29 17:54:44 [Info]   test...
+ 2026-07-29 17:54:44 [Info]    OK
+ 2026-07-29 17:54:44 [Info] Running sync
+ 2026-07-29 17:54:44 [Info]  OK
+ 2026-07-29 17:54:44 [Info] You can find backup here: /tmp/backup-20260729175444
+ 2026-07-29 17:54:44 [Info] Elapsed time: 0.02s
+ 2026-07-29 17:54:45 [Info] Done
––– input –––
BACKUP_NAME=$(docker exec manticore ls /tmp/ | grep backup-*)
––– output –––
OK
––– input –––
docker cp manticore:/tmp/$BACKUP_NAME /tmp/$BACKUP_NAME > /dev/null 2>&1; echo $?
––– output –––
OK
––– input –––
chmod -R 777 /tmp/$BACKUP_NAME
––– output –––
OK
––– input –––
docker stop manticore
––– output –––
OK
––– input –––
docker ps
––– output –––
OK
––– input –––
if timeout 60 sh -c 'while docker ps -a | grep -qE "Up"; do sleep 1; done'; then echo 'successful'; else echo 'not successful'; fi
––– output –––
OK
––– input –––
docker run -d --name manticore -v /tmp/$BACKUP_NAME:/docker-entrypoint-initdb.d manticoresoftware/manticore:current
––– output –––
OK
––– input –––
if timeout 60 grep -qEm1 "accepting connections" <(docker logs -f manticore 2>&1); then echo 'Manticore is running'; else echo 'Failed to start Manticore'; docker logs manticore; fi
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show tables"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table distributed_index"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table rt_with_columnar"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table rt_without_columnar"
––– output –––
OK
––– input –––
docker exec manticore mysql -e "show create table test"
––– output –––
OK

@sanikolaev
sanikolaev merged commit 6449bd5 into master Jul 29, 2026
1 check failed
@sanikolaev
sanikolaev deleted the fix/deb822-bootstrap branch July 29, 2026 18:03
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.

1 participant