The GitHub Actions job "CMake" on subversion.git/1.15.x-r1935776 has failed.
Run started by GitHub user asf-gitbox-commits (triggered by asf-gitbox-commits).

Head commit for run:
347f82551203936e982205efeec65c5e483ab4b1 / Ivan Zhakov <[email protected]>
On 1.15.x-r1935776 branch: Merge r1935776 from trunk:
[[[
Rework XML output validation in tests.

1. Always parse XML output using built-in XML parser to check for structural
   errors.

2. Make XML schema validation opt-in. Enabled by --check-xml-schema option.

3. Enable XML schema validation on GitHub Actions jobs.

4. Remove auto-installation of lxml and rnc2rng package to Python Virtual 
   environment.

* .github/workflows/autoconf.yml
  (Run tests): Set CHECK_XML_SCHEMA=1. 

* .github/workflows/cmake.yml
  (Configure CMake): Set SVN_TEST_CHECK_XML_SCHEMA=ON.

* build/run_tests.py
  (TestHarness._init_py_tests): Remove `--python-venv`. Add
   `--check-xml-schema`. Do not download Python packages and do not update
   PYTHONPATH environment variable.
  (create_parser): Remove `--python-venv`. Add `--check-xml-schema`.

* CMakeLists.txt
  (): Add new SVN_TEST_CHECK_XML_SCHEMA option.

* INSTALL
  (A. Building from a Tarball): Reference section G.
  (G. Running the test suite): New section. Document CHECK_XML_SCHEMA and
   --check-xml-schema.

* Makefile.in
  (check): Add CHECK_XML_SCHEMA.

* subversion/tests/cmdline/prop_tests.py
  (xml_unsafe_author2): Update XFail condition.

* subversion/tests/cmdline/svntest/main.py
  (): Do not import venv and importlib packages.
  (venv_create, venv_base, found_dependencies, SVN_TESTS_REQUIRE,
   SVN_TESTS_DEPEND): Remove.
  (is_bad_xml_fatal): Remove.
  (is_xml_schema_validation_enabled): New.
  (TestSpawningThread.run_one): Remove options.venv_base handling. Handle
   options.check_xml_schema.
  (_create_parser): Remove `--python-venv`. Add `--check-xml-schema`.
  (parse_options): Remove options.venv_base handling.
  (_get_purelib_dir, ensure_dependencies, create_python_venv): Remove.
  (execute_tests): Do not call ensure_dependencies().

* subversion/tests/cmdline/svntest/verify.py
  (validate_xml_schema): Validate XML schema only if enabled. Always
   check that XML parses correctly using built-in XML parser. Consider XML
   parsing and schema validation errors as test failure.  

* win-tests.py
  (): Add `--check-xml-schema` option.
]]]

git-svn-id: 
https://svn.apache.org/repos/asf/subversion/branches/1.15.x-r1935776@1935877 
13f79535-47bb-0310-9956-ffa450edef68

Report URL: https://github.com/apache/subversion/actions/runs/28705822717

With regards,
GitHub Actions via GitBox

Reply via email to