Commit 8ef54ba7 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

Update Release Candidate

parents fd19d98d 544521b1
......@@ -10,10 +10,10 @@ parts =
[automake]
recipe = slapos.recipe.cmmi
shared = true
md5sum = 24cd3501b6ad8cd4d7e2546f07e8b4d4
url = http://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.xz
md5sum = 53f38e7591fa57c3d2cee682be668e5b
url = https://ftp.gnu.org/gnu/automake/automake-1.16.1.tar.xz
patch-options = -p1
patches =
${:_profile_base_location_}/automake-1.15-shebang_workaround.patch#203f9199b0e629de3630b5959f8cf73e
${:_profile_base_location_}/automake-1.16-shebang_workaround.patch#203f9199b0e629de3630b5959f8cf73e
environment =
PATH=${autoconf:location}/bin:${patch:location}/bin:${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
[buildout]
extends =
../autoconf/buildout.cfg
../automake/buildout.cfg
../m4/buildout.cfg
../perl/buildout.cfg
......@@ -13,9 +14,8 @@ shared = true
url = http://ftp.gnu.org/gnu/bison/bison-3.3.2.tar.xz
md5sum = c9b552dee234b2f6b66e56b27e5234c9
environment =
AUTOMAKE=${automake:location}/bin/automake
M4=${m4:location}/bin/m4
PATH=${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${autoconf:location}/bin:${automake:location}/bin:${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
patch-options = -p1
patches =
${:_profile_base_location_}/01_inhibit_example_generation#ee2df22601a56d738939fa760f9dc19b
......@@ -17,5 +17,5 @@ rpath = ${:library-dirs}
[geolite2-country]
recipe = slapos.recipe.build:download-unpacked
url = http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz#${:md5sum}
md5sum = 2e92c3567aaad25e0f1cc8ce2c1f920d
md5sum = 9c2d927d3a9ee0220855037b0566d77a
strip-top-level-dir = true
......@@ -7,8 +7,9 @@ parts =
h5py
[hdf5-env]
LDFLAGS = -L${hdf5:location}/lib
LDFLAGS = -L${hdf5:location}/lib -Wl,-rpath=${hdf5:location}/lib
CPPFLAGS = -I${hdf5:location}/include
LD_LIBRARY_PATH=${hdf5:location}/lib
[h5py]
recipe = zc.recipe.egg:custom
......
......@@ -2,14 +2,15 @@
extends =
../gdbm/buildout.cfg
../patch/buildout.cfg
../xz-utils/buildout.cfg
parts =
perl
[perl]
recipe = slapos.recipe.cmmi
version = 5.26.1
url = http://www.cpan.org/src/5.0/perl-${:version}.tar.bz2
md5sum = 467cd0c43514b9b5e397c8b385581f53
version = 5.28.1
url = http://www.cpan.org/src/5.0/perl-${:version}.tar.xz
md5sum = fbb590c305f2f88578f448581b8cf9c4
siteprefix = ${buildout:parts-directory}/site_${:_buildout_section_name_}
patch-options = -p1
patches =
......@@ -24,7 +25,7 @@ configure-command =
-Dnoextensions=ODBM_File \
-Dusethreads
environment =
PATH=${patch:location}/bin:%(PATH)s
PATH=${patch:location}/bin:${xz-utils:location}/bin:%(PATH)s
post-make-hook = ${:_profile_base_location_}/perl-create-libs-symlink.py#943453b7d3ff8d49ed12d44a7f7076ee:post_make_hook
......
......@@ -273,7 +273,7 @@ class TestDataMixin(object):
'%(group)s:%(name)s %(statename)s' % q for q
in self.getSupervisorRPCServer().supervisor.getAllProcessInfo()]))
def assertTestData(self, runtime_data, hash_value=None):
def assertTestData(self, runtime_data, hash_value=None, msg=None):
filename = '%s-%s.txt' % (self.id(), 'CADDY')
test_data_file = os.path.join(
os.path.dirname(os.path.realpath(__file__)), 'test_data', filename)
......@@ -288,10 +288,13 @@ class TestDataMixin(object):
maxDiff = self.maxDiff
self.maxDiff = None
longMessage = self.longMessage
self.longMessage = True
try:
self.assertMultiLineEqual(
test_data,
runtime_data
runtime_data,
msg=msg
)
except AssertionError:
if os.environ.get('SAVE_TEST_DATA', '0') == '1':
......@@ -299,6 +302,7 @@ class TestDataMixin(object):
raise
finally:
self.maxDiff = maxDiff
self.longMessage = longMessage
def _test_file_list(self, slave_dir, IGNORE_PATH_LIST):
runtime_data = []
......@@ -360,6 +364,7 @@ class TestDataMixin(object):
self.software_path, 'bin', 'monitor.runpromise')
partition_path_list = glob.glob(os.path.join(self.instance_path, '*'))
promise_status_list = []
msg = []
for partition_path in sorted(partition_path_list):
plugin_path_list = sorted(glob.glob(
os.path.join(partition_path, 'etc', 'plugin', '*.py')
......@@ -373,17 +378,25 @@ class TestDataMixin(object):
plugin_status, plugin_result = subprocess_status_output([
runpromise_bin,
'-c', monitor_conf,
'--run-only', plugin
'--run-only', plugin,
'--force',
'--check-anomaly'
])
if plugin_status == 1:
msg.append(plugin_result)
# sanity check
if 'Checking promise %s' % plugin not in plugin_result:
plugin_status = 1
msg.append(plugin_result)
promise_status_list.append(
'%s: %s' % (
plugin_path[len(self.instance_path) + 1:],
plugin_status == 0 and 'OK' or 'ERROR'))
self.assertTestData('\n'.join(promise_status_list))
if msg:
msg = ''.join(msg).strip()
self.assertTestData('\n'.join(promise_status_list), msg=(msg or None))
def test_promise_run_promise(self):
partition_path_list = glob.glob(os.path.join(self.instance_path, '*'))
......
......@@ -3,23 +3,23 @@ T-0/etc/plugin/check-free-disk-space.py: OK
T-0/etc/plugin/monitor-bootstrap-status.py: OK
T-0/etc/plugin/monitor-httpd-listening-on-tcp.py: OK
T-2/etc/plugin/buildout-T-2-status.py: OK
T-2/etc/plugin/caddy_cached.py: ERROR
T-2/etc/plugin/caddy_frontend_ipv4_http.py: ERROR
T-2/etc/plugin/caddy_frontend_ipv4_https.py: ERROR
T-2/etc/plugin/caddy_frontend_ipv6_http.py: ERROR
T-2/etc/plugin/caddy_frontend_ipv6_https.py: ERROR
T-2/etc/plugin/caddy_ssl_cached.py: ERROR
T-2/etc/plugin/caddy_cached.py: OK
T-2/etc/plugin/caddy_frontend_ipv4_http.py: OK
T-2/etc/plugin/caddy_frontend_ipv4_https.py: OK
T-2/etc/plugin/caddy_frontend_ipv6_http.py: OK
T-2/etc/plugin/caddy_frontend_ipv6_https.py: OK
T-2/etc/plugin/caddy_ssl_cached.py: OK
T-2/etc/plugin/check-_test-error-log-last-day.py: OK
T-2/etc/plugin/check-_test-error-log-last-hour.py: OK
T-2/etc/plugin/check-free-disk-space.py: OK
T-2/etc/plugin/frontend-caddy-configuration-promise.py: OK
T-2/etc/plugin/monitor-bootstrap-status.py: OK
T-2/etc/plugin/monitor-httpd-listening-on-tcp.py: ERROR
T-2/etc/plugin/monitor-httpd-listening-on-tcp.py: OK
T-2/etc/plugin/nginx-configuration-promise.py: OK
T-2/etc/plugin/nginx_frontend_ipv4_http.py: ERROR
T-2/etc/plugin/nginx_frontend_ipv4_https.py: ERROR
T-2/etc/plugin/nginx_frontend_ipv6_http.py: ERROR
T-2/etc/plugin/nginx_frontend_ipv6_https.py: ERROR
T-2/etc/plugin/nginx_frontend_ipv4_http.py: OK
T-2/etc/plugin/nginx_frontend_ipv4_https.py: OK
T-2/etc/plugin/nginx_frontend_ipv6_http.py: OK
T-2/etc/plugin/nginx_frontend_ipv6_https.py: OK
T-2/etc/plugin/re6st-connectivity.py: OK
T-2/etc/plugin/trafficserver-cache-availability.py: ERROR
T-2/etc/plugin/trafficserver-port-listening.py: ERROR
\ No newline at end of file
T-2/etc/plugin/trafficserver-cache-availability.py: OK
T-2/etc/plugin/trafficserver-port-listening.py: OK
\ No newline at end of file
......@@ -24,18 +24,18 @@ T-2/etc/plugin/re6st-connectivity.py: OK
T-2/etc/plugin/trafficserver-cache-availability.py: OK
T-2/etc/plugin/trafficserver-port-listening.py: OK
T-3/etc/plugin/buildout-T-3-status.py: OK
T-3/etc/plugin/caddy_cached.py: ERROR
T-3/etc/plugin/caddy_cached.py: OK
T-3/etc/plugin/caddy_frontend_ipv4_http.py: OK
T-3/etc/plugin/caddy_frontend_ipv4_https.py: OK
T-3/etc/plugin/caddy_frontend_ipv6_http.py: OK
T-3/etc/plugin/caddy_frontend_ipv6_https.py: OK
T-3/etc/plugin/caddy_ssl_cached.py: ERROR
T-3/etc/plugin/caddy_ssl_cached.py: OK
T-3/etc/plugin/check-_replicate-error-log-last-day.py: OK
T-3/etc/plugin/check-_replicate-error-log-last-hour.py: OK
T-3/etc/plugin/check-free-disk-space.py: OK
T-3/etc/plugin/frontend-caddy-configuration-promise.py: OK
T-3/etc/plugin/monitor-bootstrap-status.py: OK
T-3/etc/plugin/monitor-httpd-listening-on-tcp.py: ERROR
T-3/etc/plugin/monitor-httpd-listening-on-tcp.py: OK
T-3/etc/plugin/nginx-configuration-promise.py: OK
T-3/etc/plugin/nginx_frontend_ipv4_http.py: OK
T-3/etc/plugin/nginx_frontend_ipv4_https.py: OK
......
......@@ -131,9 +131,6 @@ mode = 640
# Recent erp5.util is needed
erp5.util = 0.4.58
# Use slapos.core <= 1.4.16 for correctly working slapos proxy
slapos.core = 1.4.15
# Various needed versions
Pillow = 5.3.0
PyNaCl = 1.3.0
......
......@@ -187,6 +187,7 @@ Pygments = 2.1.3
slapos.recipe.template = 4.3
# All depencies should be pinned.
zc.lockfile = 1.4
bcrypt = 3.1.4
dnspython = 1.15.0
funcsigs = 1.0.2
......
......@@ -19,8 +19,8 @@ md5sum = c35e6baca37c690bce39ef43825ec42b
[yarn.lock]
filename = yarn.lock
md5sum = eb30f0839ef6ce19b89757cf027e3302
md5sum = fc2f20d496911241a0d9001c445d6158
[python-language-server-requirements.txt]
filename = python-language-server-requirements.txt
md5sum = c21a684783b3e746134c3505ce00b757
md5sum = 242c8359be6893725ad2ac8e3c864eb0
autopep8==1.4.2
flake8==3.6.0
future==0.16.0
jedi==0.13.1
appdirs==1.4.3
attrs==18.2.0
black==18.9b0
Click==7.0
future==0.17.1
isort==4.3.4
jedi==0.13.2
mccabe==0.6.1
parso==0.3.1
pluggy==0.8.0
pycodestyle==2.4.0
mypy==0.660
mypy-extensions==0.4.1
parso==0.3.2
pluggy==0.8.1
pydocstyle==3.0.0
pyflakes==2.0.0
python-language-server==0.19.0
pyflakes==2.1.0
python-jsonrpc-server==0.1.2
-e git+https://github.com/palantir/python-language-server@50d03d5931d564e9908292ccfa21dd629ee817ba#egg=python_language_server
rope==0.11.0
six==1.11.0
six==1.12.0
snowballstemmer==1.2.1
yapf==0.24.0
toml==0.10.0
typed-ast==1.2.0
typeshed==0.0.1
yapf==0.25.0
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -215,7 +215,7 @@ link-binary =
[template-run-zelenium]
< = download-base
url = ${:_profile_base_location_}/template/run-zelenium-test.py.in
[template]
recipe = slapos.recipe.template:jinja2
......@@ -455,6 +455,7 @@ eggs = ${neoppod:eggs}
${scikit-learn:egg}
${scikit-image:egg}
sympy
more-itertools
${h5py:egg}
openpyxl
${statsmodels:egg}
......@@ -785,6 +786,7 @@ zope.app.form = 4.0.2
Cython = 0.26.1
et-xmlfile = 1.0.1
more-itertools = 5.0.0
h5py = 2.7.1
mpmath = 0.19
openpyxl = 2.4.8
......
......@@ -26,7 +26,7 @@ md5sum = d95e8500bdc72d1f40b97cc414656e7e
[template-mariadb]
filename = instance-mariadb.cfg.in
md5sum = b27b034e7c9ab13e446e4ac59cda9f38
md5sum = 2d687117150528fb5aad503874a1ad33
[template-kumofs]
filename = instance-kumofs.cfg.in
......@@ -64,6 +64,10 @@ md5sum = 886d1b004049c8dc1f89cbbfe4f95371
filename = postfix_aliases.in
md5sum = 0969fbb25b05c02ef3c2d437b2f4e1a0
[template-run-zelenium]
filename = run-zelenium-test.py.in
md5sum = 37f94ecf60876bbe30877773dfe9828b
[template]
filename = instance.cfg.in
md5sum = 1f88fb841394a1d24b7cc01f966c7b21
......
......@@ -273,7 +273,7 @@ slowquery = ${monitor-directory:private}/slowquery_digest
[{{ section('resiliency-exclude-file') }}]
# Generate rdiff exclude file in case of resiliency
< = jinja2-template-base
template = {{ 'inline:{{ "${directory:mariadb-data}/**\\n${directory:log}/**\\n${directory:tmp}/**\\n" }}' }}
template = {{ 'inline:{{ "${directory:mariadb-data}/**\\n${directory:mariadb-backup-incremental}/**\\n${directory:log}/**\\n${directory:tmp}/**\\n" }}' }}
rendered = ${directory:srv}/exporter.exclude
[{{ section("resiliency-identity-signature-script")}}]
......
......@@ -142,7 +142,7 @@ slapos.libnetworkcache = 0.16
slapos.rebootstrap = 4.1
slapos.recipe.build = 0.40
slapos.recipe.cmmi = 0.10
slapos.toolbox = 0.91
slapos.toolbox = 0.92
stevedore = 1.21.0
subprocess32 = 3.5.3
unicodecsv = 0.14.1
......@@ -154,7 +154,7 @@ paramiko = 2.1.3
Flask = 0.12
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
GitPython = 2.1.11
# Required by:
......@@ -166,23 +166,23 @@ gitdb2 = 2.0.5
smmap2 = 2.0.5
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
PyRSS2Gen = 1.1
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
apache-libcloud = 2.4.0
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
atomize = 0.2.0
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
croniter = 0.3.25
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
dnspython = 1.15.0
# Required by:
......@@ -190,11 +190,11 @@ dnspython = 1.15.0
enum34 = 1.1.6
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
erp5.util = 0.4.51
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
feedparser = 5.2.1
# Required by:
......@@ -218,7 +218,7 @@ ipaddress = 1.0.18
jsonschema = 3.0.0a3
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
lockfile = 0.12.2
# Required by:
......@@ -231,11 +231,11 @@ netifaces = 0.10.4
packaging = 16.8
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
passlib = 1.7.1
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
pyasn1 = 0.4.5
# Required by:
......@@ -243,15 +243,15 @@ pyasn1 = 0.4.5
pycparser = 2.17
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
pycurl = 7.43.0
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
python-dateutil = 2.7.3
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
rpdb = 0.1.5
# Required by:
......@@ -259,7 +259,7 @@ rpdb = 0.1.5
supervisor = 3.3.3
# Required by:
# slapos.toolbox==0.91
# slapos.toolbox==0.92
tzlocal = 1.5.1
# Required by:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment