- 29 Mar, 2022 1 commit
-
-
Arnaud Fontaine authored
mysql: With universal_newlines, python3 subprocess assumes that communicate() parameter is str() (not bytes()). But mysql_script_file was opened as a binary files and thus a bytes() was returned: File "etc/run/mariadb_update", line 51, in <module> sys.exit(slapos.recipe.generic_mysql.mysql.updateMysql(mysql_upgrade_binary='/srv/slapgrid/slappart3/bin/mysql_upgrade', mysql_binary='/srv/slapgrid/slappart3/bin/mysql', mysql_script_file='/srv/slapgrid/slappart3/etc/mariadb_initial_setup.sql')) File "parts/slapos.cookbook-repository/slapos/recipe/generic_mysql/mysql.py", line 31, in updateMysql result = mysql.communicate(mysql_script)[0] File "parts/python3/lib/python3.7/subprocess.py", line 964, in communicate stdout, stderr = self._communicate(input, endtime, timeout) File "parts/python3/lib/python3.7/subprocess.py", line 1692, in _communicate self._save_input(input) File "parts/python3/lib/python3.7/subprocess.py", line 1774, in _save_input self._input = self._input.encode(self.stdin.encoding, AttributeError: 'bytes' object has no attribute 'encode'
-
- 28 Mar, 2022 3 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Thomas Leymonerie authored
See merge request !1135
-
- 25 Mar, 2022 2 commits
-
-
Thomas Leymonerie authored
Using macros.cfg to add a new macro. This macro will works like [macro-virtual-env]. Neverthless, it will use pygolang to create a more "classic" interpreter.
-
Thomas Leymonerie authored
-
- 24 Mar, 2022 5 commits
-
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Use the python `six` library to realize the compatibility of `urlparse` in python2 and python3 See merge request !1138
-
Xavier Thompson authored
See merge request nexedi/slapos!1128
-
Łukasz Nowak authored
Since da03653908aea9a62f805faf0328f7b2f046abaa slapos.core's slapproxy transmit more parameters, so adapt tests to account for it.
-
- 23 Mar, 2022 4 commits
-
-
Thomas Leymonerie authored
-
Thomas Leymonerie authored
-
Thomas Leymonerie authored
-
Łukasz Nowak authored
The https://bz.apache.org/bugzilla/show_bug.cgi?id=65769 seems hitting various software releases with strace like: select(0, NULL, NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout) wait4(-1, 0x7ffe9579eb84, WNOHANG|WSTOPPED, NULL) = -1 ECHILD (No child processes) times({tms_utime=561, tms_stime=669, tms_cutime=558, tms_cstime=99}) = 3280801757 Also adapt the --with-pcre switch in order to find the pcre-config during the build process.
-
- 22 Mar, 2022 5 commits
-
-
Jérome Perrin authored
This prevents errors like: Error while executing: /srv/slapgrid/slappart54/t/dau/shared/git/f7efae57344573a59b9e441431a34e9a/bin/git ls-remote -h -t git://github.com/qunitjs/node-qunit.git fatal: remote error: The unauthenticated git protocol on port 9418 is no longer supported. Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
-
HongzheWang authored
-
Jérome Perrin authored
In slapos.core commit 425f5bb7b (slapgrid: replace platform.linux_distribution() with distro.linux_distribution(), 2022-03-21), a dependency to distro was introduced. Because tests run with slapos.core fetched from git, they already started to fail because of the missing version pin. The pin is made to the latest version for both python2 and python3. Usually we take the latest version compatible with python2, but I just thought this way was probably better.
-
Jérome Perrin authored
-
Jérome Perrin authored
I think we don't want trailing whitespaces anywhere in this repository
-
- 21 Mar, 2022 12 commits
-
-
HongzheWang authored
-
Łukasz Nowak authored
This reverts commit e1dae860. Despite of microupgrade, there are problems with compiling this version.
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Łukasz Nowak authored
-
Łukasz Nowak authored
Via header for response and request is fully stabilized and present according to the RFC now. Important information, like protocol and protocol version are exposed. Hops which were present in the request are stored and descriptively named. Versions of components are exposed in hidden way and in the same time the frontend administrator and frontend user are able to analyze the versions, and the version history present on the node is transmitted back. Additionally each node can be identified by frontend admins and users for request and response headers, allowing more debugging. Improve the tests by extending assertSlaveBase and reuse it instead of duplicating the code everywhere.
-
Łukasz Nowak authored
Accessing headers.dict results with dropping headers sent in more then one line, which is accepted by RFC. So in case if many lines for given header arrived, expose them as a list, otherwise simply show exactly arrived header.
-
Łukasz Nowak authored
Rapid.CDN has strong requirements regarding Via header passing by, so strip down unnecessary parts of the original implementation.
-
Boxiang Sun authored
The former ftp.pcre.org FTP site is no longer available, use sourceforge instead, see https://www.pcre.org/
-
Łukasz Nowak authored
The https://bz.apache.org/bugzilla/show_bug.cgi?id=65769 seems hitting various software releases with strace like: elect(0, NULL, NULL, NULL, {tv_sec=1, tv_usec=0}) = 0 (Timeout) wait4(-1, 0x7ffe9579eb84, WNOHANG|WSTOPPED, NULL) = -1 ECHILD (No child processes) times({tms_utime=561, tms_stime=669, tms_cutime=558, tms_cstime=99}) = 3280801757
-
Thomas Gambier authored
-
Łukasz Nowak authored
Also do micro upgrade from util-linux 2.37.1 to 2.37.2, which was in component/libuuid.
-
- 16 Mar, 2022 5 commits
-
-
Thomas Gambier authored
-
Thomas Gambier authored
-
Kazuhiko Shiozaki authored
-
HongzheWang authored
-
HongzheWang authored
-
- 14 Mar, 2022 1 commit
-
-
Joanne Hugé authored
-
- 10 Mar, 2022 1 commit
-
-
Lu Xu authored
See merge request nexedi/slapos!1130
-
- 09 Mar, 2022 1 commit
-
-
HongzheWang authored
-