- 07 Sep, 2022 12 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
Now that all the problems of running a different version of python in slapos-node and within the software and now that slapos-node always run on python3, we no longer need to have two separate test softwares and two separate suites for python2 and python3 - we have one test suite for all our softwares, regardless of the python version used by these softwares and this test suite use python3 to run the tests code and to run slapos-node
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
On modern systems it is not installed and anyway slapos should not depend on host system programs. Basically same fix as b964b95b (software/fluentd: Fix SR test on Debian 11, 2022-01-04)
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
we'll only run the test on python3
-
Jérome Perrin authored
-
- 06 Sep, 2022 3 commits
-
-
Jérome Perrin authored
Sometimes backends process less than 15% of requests. For this test to test that the requests are distributed on all backends, testing that each backend process at least one request should be enough.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
- 05 Sep, 2022 3 commits
-
-
Łukasz Nowak authored
Fixed indentation.
-
Jérome Perrin authored
See merge request nexedi/slapos!1243
-
Jérome Perrin authored
See merge request !1245
-
- 02 Sep, 2022 8 commits
-
-
Boxiang Sun authored
See merge request nexedi/slapos!1229
-
Boxiang Sun authored
our shacache uploading code for pypi cannot handle the prefix 0 in the version number right now. it will upload the version 2020.4.5.1 instead of 2020.04.05.1
-
Boxiang Sun authored
-
Boxiang Sun authored
pango needs glib/glib-mkenums, and glib-mkenums needs python2.7: -mkenums: /usr/bin/env: ‘python2.7’: No such file or directory
-
Vincent Pelletier authored
Direct logs to instance's var/log and call postfix's logrotate command, instead of the slapos-hostile syslog. Unfortunately, rotated logs will stay in that directory, unlike the de-facto standard for slapos.
-
Vincent Pelletier authored
Resolve warnings emitted by postfix commands themselves.
-
Vincent Pelletier authored
Fixes build on recent libc headers: set -e; for i in src/util src/global src/dns src/tls src/xsasl src/master src/milter src/postfix src/fsstone src/smtpstone src/sendmail src/error src/pickup src/cleanup src/smtpd src/local src/trivial-rewrite src/qmgr src/oqmgr src/smtp src/bounce src/pipe src/showq src/postalias src/postcat src/postconf src/postdrop src/postkick src/postlock src/postlog src/postmap src/postqueue src/postsuper src/qmqpd src/spawn src/flush src/verify src/virtual src/proxymap src/anvil src/scache src/discard src/tlsmgr src/postmulti src/postscreen src/dnsblog src/tlsproxy src/posttls-finger src/postlogd; do \ (set -e; echo "[$i]"; cd $i; make 'WARN=-Wmissing-prototypes -Wformat -Wno-comment -fcommon' update MAKELEVEL=) || exit 1; \ done [src/util] gcc -I. -I../../include -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DUSE_TLS -DHAS_PCRE -DHAS_DB -I/home/vifib/software/b3708eca6720657934c5dee0b8247042/parts/libdb/include -I/home/vifib/software/b3708eca6720657934c5dee0b8247042/parts/pcre/include -I/home/vifib/software/b3708eca6720657934c5dee0b8247042/parts/openssl/include -I/home/vifib/software/b3708eca6720657934c5dee0b8247042/parts/cyrus-sasl/include/sasl -I/home/vifib/software/b3708eca6720657934c5dee0b8247042/parts/libnsl/include -DNO_EAI -DHAS_DEV_URANDOM -UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\"no\" -UUSE_DYNAMIC_MAPS -Wmissing-prototypes -Wformat -Wno-comment -fcommon -g -O -I. -DLINUX5 -c attr_clnt.c In file included from attr_clnt.c:87: ./sys_defs.h:763: warning: "HAS_DB" redefined 763 | #define HAS_DB | <command-line>: note: this is the location of the previous definition In file included from attr_clnt.c:88: /usr/include/unistd.h:363:13: error: conflicting types for 'closefrom'; have 'void(int)' 363 | extern void closefrom (int __lowfd) __THROW; | ^~~~~~~~~ ./sys_defs.h:1512:12: note: previous declaration of 'closefrom' with type 'int(int)' 1512 | extern int closefrom(int); | ^~~~~~~~~ make: *** [Makefile:192: attr_clnt.o] Error 1 make: *** [Makefile:94: update] Error 1 Also, switch from Wietse's own source ftp to a mirror.
-
Jérome Perrin authored
The default "skin" changed, which results in diagram being grey instead of looking like rational rose. The previous behavior can be kept by using instruction `skin rose` in diagram code (see the changes in tests for example)
-
- 01 Sep, 2022 10 commits
-
-
Thomas Gambier authored
-
Thomas Gambier authored
python3.8 can run only buildout versions greater than 2.7.1+slapos019 which restrict a lot the number of SR buildable by slapos. See merge request nexedi/slapos!1240
-
Jérome Perrin authored
-
Jérome Perrin authored
this prevents ResourceWarning because this way the sockets are closed
-
Jérome Perrin authored
see commit e6deadaca7f4469ab32e028cdbb029acc9c7d3c3 from slapos.core: We fork a subprocess to serve requests, but the listening socket is bound in server constructor and inherited by subprocess. With this pattern, we have to explicitly close the socket from parent process to prevent the leak.
-
Jérome Perrin authored
Now that this test is python 3, test output has lots of warnings like this: software/caddy-frontend/test/test.py:305: ResourceWarning: unclosed file <_io.TextIOWrapper name='software/caddy-frontend/test/test_data/test.TestEnableHttp2ByDefaultFalseSlave.test00cluster_request_instance_parameter_dict.txt' mode='r' encoding='UTF-8'> test_data = open(test_data_file).read().strip() ResourceWarning: Enable tracemalloc to get the object allocation traceback
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
revert fac8ceb5 now that mroonga install.sql is fixed See merge request !1242
-
- 31 Aug, 2022 4 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
See merge request nexedi/slapos!1238
-
Jérome Perrin authored
html5as-base, grafana and metabase are python3 software releases and we don't need to run these tests twice for python2 and python3.
-