Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing installation and upgrade tests #2199

Conversation

PavelShilin89
Copy link
Contributor

@PavelShilin89 PavelShilin89 commented May 17, 2024

Fixing rhel-dev-install.rec, rhel-release-install.rec, start-searchd-dev.recb

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-release-
✅ OK: 0
❌ Failed: 1
⏳ Duration: 19s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/rhel-release-install.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --version
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 76ffd700c@240405 (columnar 2.2.4 3b451cd@240503) (secondary 2.2.4 3b451cd@240503)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-release-
✅ OK: 0
❌ Failed: 1
⏳ Duration: 22s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/rhel-release-install.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --version
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 76ffd700c@240405 (columnar 2.2.4 3b451cd@240503) (secondary 2.2.4 3b451cd@240503)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-release-
✅ OK: 0
❌ Failed: 1
⏳ Duration: 26s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/rhel-release-install.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --version
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 76ffd700c@240405 (columnar 2.2.4 3b451cd@240503) (secondary 2.2.4 3b451cd@240503)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 31s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/rhel-dev-update.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
yum -y --enablerepo manticore-dev update manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-debuginfo manticore-tools-debuginfo manticore-columnar-lib-debuginfo  manticore-icudata manticore-galera > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --stop
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
- sleep 5; searchd | head -n 9
- ––– output –––
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
––– input –––
sleep 5; searchd | head -n 9
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Fri May 17 10:02:54.483 2024] [360] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
- listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- Buddy started!
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ [02:54.597] [387] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ [02:54.598] [387] stop: successfully sent SIGTERM to pid 364
+ [Fri May 17 10:02:55.558 2024] [388] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
%{SEMVER}
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
%{SEMVER}
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
%{SEMVER}
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- #!/[0-9]{1}\.[0-9]{2}/!#
+ 2.2.5
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ 3.37
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- Upgrade successful. New version searchd: %{SEMVER}
+ 2.3.7
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
- Upgrade successful. New version columnar: %{SEMVER}
+ Upgrade successful. New version searchd: 6.2.13
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
- Upgrade successful. New version secondary: %{SEMVER}
+ Upgrade successful. New version columnar: 2.2.5
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
- Upgrade successful. New version knn: %{SEMVER}
+ Upgrade successful. New version secondary: 2.2.5
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
- Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
+ Upgrade successful. New version knn: 2.2.5
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
- Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Upgrade successful. New version galera: 3.37
-
+ ––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
+ ––– output –––
+ Upgrade successful. New version buddy: 2.3.7
+

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 38s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/rhel-dev-update.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
yum -y --enablerepo manticore-dev update manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-debuginfo manticore-tools-debuginfo manticore-columnar-lib-debuginfo  manticore-icudata manticore-galera > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --stop
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
- sleep 5; searchd | head -n 9
- ––– output –––
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
––– input –––
sleep 5; searchd | head -n 9
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Fri May 17 10:03:03.759 2024] [322] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
- listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- Buddy started!
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ [03:03.871] [349] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ [03:03.872] [349] stop: successfully sent SIGTERM to pid 326
+ [Fri May 17 10:03:04.830 2024] [350] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
%{SEMVER}
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
%{SEMVER}
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
%{SEMVER}
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- #!/[0-9]{1}\.[0-9]{2}/!#
+ 2.2.5
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ 3.37
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- Upgrade successful. New version searchd: %{SEMVER}
+ 2.3.7
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
- Upgrade successful. New version columnar: %{SEMVER}
+ Upgrade successful. New version searchd: 6.2.13
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
- Upgrade successful. New version secondary: %{SEMVER}
+ Upgrade successful. New version columnar: 2.2.5
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
- Upgrade successful. New version knn: %{SEMVER}
+ Upgrade successful. New version secondary: 2.2.5
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
- Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
+ Upgrade successful. New version knn: 2.2.5
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
- Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Upgrade successful. New version galera: 3.37
-
+ ––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
+ ––– output –––
+ Upgrade successful. New version buddy: 2.3.7
+

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 43s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/rhel-dev-update.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
yum -y --enablerepo manticore-dev update manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-debuginfo manticore-tools-debuginfo manticore-columnar-lib-debuginfo  manticore-icudata manticore-galera > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --stop
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
- sleep 5; searchd | head -n 9
- ––– output –––
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
––– input –––
sleep 5; searchd | head -n 9
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Fri May 17 10:03:08.773 2024] [354] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
- listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- Buddy started!
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ [03:08.887] [381] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ [03:08.888] [381] stop: successfully sent SIGTERM to pid 358
+ [Fri May 17 10:03:09.846 2024] [382] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
%{SEMVER}
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
%{SEMVER}
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
%{SEMVER}
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- #!/[0-9]{1}\.[0-9]{2}/!#
+ 2.2.5
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ 3.37
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- Upgrade successful. New version searchd: %{SEMVER}
+ 2.3.7
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
- Upgrade successful. New version columnar: %{SEMVER}
+ Upgrade successful. New version searchd: 6.2.13
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
- Upgrade successful. New version secondary: %{SEMVER}
+ Upgrade successful. New version columnar: 2.2.5
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
- Upgrade successful. New version knn: %{SEMVER}
+ Upgrade successful. New version secondary: 2.2.5
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
- Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
+ Upgrade successful. New version knn: 2.2.5
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
- Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Upgrade successful. New version galera: 3.37
-
+ ––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
+ ––– output –––
+ Upgrade successful. New version buddy: 2.3.7
+

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 70s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <support@manticoresearch.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <support@manticoresearch.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
- sleep 5; searchd | head -n 9
- ––– output –––
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
––– input –––
sleep 5; searchd | head -n 9
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Fri May 17 10:03:30.329 2024] [4495] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
- listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- Buddy started!
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ [03:30.441] [4523] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [03:30.442] [4523] stop: successfully sent SIGTERM to pid 4499
+ [Fri May 17 10:03:31.404 2024] [4524] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
%{SEMVER}
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
%{SEMVER}
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
%{SEMVER}
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- #!/[0-9]{1}\.[0-9]{2}/!#
+ 2.2.5
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ 3.37
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- Upgrade successful. New version searchd: %{SEMVER}
+ 2.3.7
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
- Upgrade successful. New version columnar: %{SEMVER}
+ Upgrade successful. New version searchd: 6.2.13
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
- Upgrade successful. New version secondary: %{SEMVER}
+ Upgrade successful. New version columnar: 2.2.5
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
- Upgrade successful. New version knn: %{SEMVER}
+ Upgrade successful. New version secondary: 2.2.5
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
- Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
+ Upgrade successful. New version knn: 2.2.5
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
- Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Upgrade successful. New version galera: 3.37
-
+ ––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
+ ––– output –––
+ Upgrade successful. New version buddy: 2.3.7
+

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-release-
✅ OK: 0
❌ Failed: 1
⏳ Duration: 27s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/rhel-release-install.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --version
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 76ffd700c@240405 (columnar 2.2.4 3b451cd@240503) (secondary 2.2.4 3b451cd@240503)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-update
✅ OK: 0
❌ Failed: 1
⏳ Duration: 52s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <support@manticoresearch.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <support@manticoresearch.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
- sleep 5; searchd | head -n 9
- ––– output –––
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
––– input –––
sleep 5; searchd | head -n 9
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Fri May 17 10:03:49.090 2024] [4376] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
- listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- Buddy started!
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ [03:49.203] [4403] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [03:49.204] [4403] stop: successfully sent SIGTERM to pid 4380
+ [Fri May 17 10:03:50.164 2024] [4404] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
%{SEMVER}
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
%{SEMVER}
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
%{SEMVER}
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- #!/[0-9]{1}\.[0-9]{2}/!#
+ 2.2.5
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ 3.37
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- Upgrade successful. New version searchd: %{SEMVER}
+ 2.3.7
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
- Upgrade successful. New version columnar: %{SEMVER}
+ Upgrade successful. New version searchd: 6.2.13
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
- Upgrade successful. New version secondary: %{SEMVER}
+ Upgrade successful. New version columnar: 2.2.5
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
- Upgrade successful. New version knn: %{SEMVER}
+ Upgrade successful. New version secondary: 2.2.5
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
- Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
+ Upgrade successful. New version knn: 2.2.5
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
- Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Upgrade successful. New version galera: 3.37
-
+ ––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
+ ––– output –––
+ Upgrade successful. New version buddy: 2.3.7
+

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 52s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <support@manticoresearch.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <support@manticoresearch.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
- sleep 5; searchd | head -n 9
- ––– output –––
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
––– input –––
sleep 5; searchd | head -n 9
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Fri May 17 10:03:50.137 2024] [4438] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
- listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- Buddy started!
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ [03:50.251] [4465] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [03:50.252] [4465] stop: successfully sent SIGTERM to pid 4442
+ [Fri May 17 10:03:51.212 2024] [4466] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
%{SEMVER}
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
%{SEMVER}
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
%{SEMVER}
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- #!/[0-9]{1}\.[0-9]{2}/!#
+ 2.2.5
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ 3.37
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- Upgrade successful. New version searchd: %{SEMVER}
+ 2.3.7
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
- Upgrade successful. New version columnar: %{SEMVER}
+ Upgrade successful. New version searchd: 6.2.13
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
- Upgrade successful. New version secondary: %{SEMVER}
+ Upgrade successful. New version columnar: 2.2.5
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
- Upgrade successful. New version knn: %{SEMVER}
+ Upgrade successful. New version secondary: 2.2.5
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
- Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
+ Upgrade successful. New version knn: 2.2.5
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
- Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Upgrade successful. New version galera: 3.37
-
+ ––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
+ ––– output –––
+ Upgrade successful. New version buddy: 2.3.7
+

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 46s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/rhel-dev-update.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
yum -y --enablerepo manticore-dev update manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-debuginfo manticore-tools-debuginfo manticore-columnar-lib-debuginfo  manticore-icudata manticore-galera > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --stop
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
- sleep 5; searchd | head -n 9
- ––– output –––
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
––– input –––
sleep 5; searchd | head -n 9
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Fri May 17 10:03:59.972 2024] [275] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
- listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- Buddy started!
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ [04:00.225] [303] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ [04:00.226] [303] stop: successfully sent SIGTERM to pid 279
+ [Fri May 17 10:04:01.040 2024] [304] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
%{SEMVER}
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
%{SEMVER}
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
%{SEMVER}
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- #!/[0-9]{1}\.[0-9]{2}/!#
+ 2.2.5
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ 3.37
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- Upgrade successful. New version searchd: %{SEMVER}
+ 2.3.7
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
- Upgrade successful. New version columnar: %{SEMVER}
+ Upgrade successful. New version searchd: 6.2.13
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
- Upgrade successful. New version secondary: %{SEMVER}
+ Upgrade successful. New version columnar: 2.2.5
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
- Upgrade successful. New version knn: %{SEMVER}
+ Upgrade successful. New version secondary: 2.2.5
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
- Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
+ Upgrade successful. New version knn: 2.2.5
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
- Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Upgrade successful. New version galera: 3.37
-
+ ––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
+ ––– output –––
+ Upgrade successful. New version buddy: 2.3.7
+

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 63s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <support@manticoresearch.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <support@manticoresearch.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
- sleep 5; searchd | head -n 9
- ––– output –––
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
––– input –––
sleep 5; searchd | head -n 9
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Fri May 17 10:04:09.758 2024] [4735] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
- listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- Buddy started!
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ [04:09.873] [4762] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [04:09.874] [4762] stop: successfully sent SIGTERM to pid 4739
+ [Fri May 17 10:04:10.835 2024] [4763] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
%{SEMVER}
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
%{SEMVER}
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
%{SEMVER}
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- #!/[0-9]{1}\.[0-9]{2}/!#
+ 2.2.5
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ 3.37
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- Upgrade successful. New version searchd: %{SEMVER}
+ 2.3.7
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
- Upgrade successful. New version columnar: %{SEMVER}
+ Upgrade successful. New version searchd: 6.2.13
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
- Upgrade successful. New version secondary: %{SEMVER}
+ Upgrade successful. New version columnar: 2.2.5
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
- Upgrade successful. New version knn: %{SEMVER}
+ Upgrade successful. New version secondary: 2.2.5
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
- Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
+ Upgrade successful. New version knn: 2.2.5
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
- Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Upgrade successful. New version galera: 3.37
-
+ ––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
+ ––– output –––
+ Upgrade successful. New version buddy: 2.3.7
+

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-update
✅ OK: 0
❌ Failed: 1
⏳ Duration: 48s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <support@manticoresearch.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <support@manticoresearch.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
- sleep 5; searchd | head -n 9
- ––– output –––
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
––– input –––
sleep 5; searchd | head -n 9
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Fri May 17 10:04:38.532 2024] [4381] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
- listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- Buddy started!
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ [04:38.646] [4408] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [04:38.647] [4408] stop: successfully sent SIGTERM to pid 4385
+ [Fri May 17 10:04:39.608 2024] [4409] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
%{SEMVER}
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
%{SEMVER}
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
%{SEMVER}
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- #!/[0-9]{1}\.[0-9]{2}/!#
+ 2.2.5
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ 3.37
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- Upgrade successful. New version searchd: %{SEMVER}
+ 2.3.7
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
- Upgrade successful. New version columnar: %{SEMVER}
+ Upgrade successful. New version searchd: 6.2.13
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
- Upgrade successful. New version secondary: %{SEMVER}
+ Upgrade successful. New version columnar: 2.2.5
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
- Upgrade successful. New version knn: %{SEMVER}
+ Upgrade successful. New version secondary: 2.2.5
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
- Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
+ Upgrade successful. New version knn: 2.2.5
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
- Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Upgrade successful. New version galera: 3.37
-
+ ––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
+ ––– output –––
+ Upgrade successful. New version buddy: 2.3.7
+

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-release-
✅ OK: 0
❌ Failed: 1
⏳ Duration: 33s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/rhel-release-install.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --version
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 76ffd700c@240405 (columnar 2.2.4 3b451cd@240503) (secondary 2.2.4 3b451cd@240503)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 57s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <support@manticoresearch.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <support@manticoresearch.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
- sleep 5; searchd | head -n 9
- ––– output –––
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
––– input –––
sleep 5; searchd | head -n 9
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Fri May 17 10:04:45.348 2024] [4352] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
- listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- Buddy started!
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ [04:45.462] [4379] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [04:45.463] [4379] stop: successfully sent SIGTERM to pid 4356
+ [Fri May 17 10:04:46.426 2024] [4380] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
%{SEMVER}
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
%{SEMVER}
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
%{SEMVER}
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- #!/[0-9]{1}\.[0-9]{2}/!#
+ 2.2.5
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ 3.37
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- Upgrade successful. New version searchd: %{SEMVER}
+ 2.3.7
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
- Upgrade successful. New version columnar: %{SEMVER}
+ Upgrade successful. New version searchd: 6.2.13
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
- Upgrade successful. New version secondary: %{SEMVER}
+ Upgrade successful. New version columnar: 2.2.5
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
- Upgrade successful. New version knn: %{SEMVER}
+ Upgrade successful. New version secondary: 2.2.5
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
- Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
+ Upgrade successful. New version knn: 2.2.5
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
- Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Upgrade successful. New version galera: 3.37
-
+ ––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
+ ––– output –––
+ Upgrade successful. New version buddy: 2.3.7
+

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 44s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/rhel-dev-update.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
yum -y --enablerepo manticore-dev update manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-debuginfo manticore-tools-debuginfo manticore-columnar-lib-debuginfo  manticore-icudata manticore-galera > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --stop
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
- sleep 5; searchd | head -n 9
- ––– output –––
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
––– input –––
sleep 5; searchd | head -n 9
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Fri May 17 10:04:51.951 2024] [355] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
- listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- Buddy started!
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ [04:52.064] [382] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ [04:52.065] [382] stop: successfully sent SIGTERM to pid 359
+ [Fri May 17 10:04:53.025 2024] [383] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
%{SEMVER}
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
%{SEMVER}
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
%{SEMVER}
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- #!/[0-9]{1}\.[0-9]{2}/!#
+ 2.2.5
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ 3.37
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- Upgrade successful. New version searchd: %{SEMVER}
+ 2.3.7
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
- Upgrade successful. New version columnar: %{SEMVER}
+ Upgrade successful. New version searchd: 6.2.13
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
- Upgrade successful. New version secondary: %{SEMVER}
+ Upgrade successful. New version columnar: 2.2.5
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
- Upgrade successful. New version knn: %{SEMVER}
+ Upgrade successful. New version secondary: 2.2.5
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
- Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
+ Upgrade successful. New version knn: 2.2.5
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
- Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Upgrade successful. New version galera: 3.37
-
+ ––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
+ ––– output –––
+ Upgrade successful. New version buddy: 2.3.7
+

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 69s
👉 Check Action Results for commit 8bde642
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <support@manticoresearch.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <support@manticoresearch.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
- sleep 5; searchd | head -n 9
- ––– output –––
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
––– input –––
sleep 5; searchd | head -n 9
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Fri May 17 10:04:51.407 2024] [4551] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
- [#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
- listening on %{IPADDR}:9312 for sphinx and http(s)
- listening on %{IPADDR}:9306 for mysql
- listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
- Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
- Buddy started!
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ [04:51.521] [4578] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [04:51.522] [4578] stop: successfully sent SIGTERM to pid 4555
+ [Fri May 17 10:04:52.487 2024] [4579] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ starting daemon version '6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)' ...
+ listening on 127.0.0.1:9312 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Manticore 6.2.13 015475766@24051708 dev (columnar 2.2.5 a915428@24051706) (secondary 2.2.5 a915428@24051706) (knn 2.2.5 a915428@24051706)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
%{SEMVER}
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
%{SEMVER}
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
%{SEMVER}
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- #!/[0-9]{1}\.[0-9]{2}/!#
+ 2.2.5
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ 3.37
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- Upgrade successful. New version searchd: %{SEMVER}
+ 2.3.7
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
- Upgrade successful. New version columnar: %{SEMVER}
+ Upgrade successful. New version searchd: 6.2.13
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
- Upgrade successful. New version secondary: %{SEMVER}
+ Upgrade successful. New version columnar: 2.2.5
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
- Upgrade successful. New version knn: %{SEMVER}
+ Upgrade successful. New version secondary: 2.2.5
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
- Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
+ Upgrade successful. New version knn: 2.2.5
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
- Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
+ Upgrade successful. New version galera: 3.37
-
+ ––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
+ ––– output –––
+ Upgrade successful. New version buddy: 2.3.7
+

@PavelShilin89 PavelShilin89 merged commit 5755746 into master May 17, 2024
112 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants