Skip to content

Conversation

@PetrShumilov
Copy link
Contributor

Prevent errors like that:

______ ERROR at setup of TestJsonLogsWarnings.test_warning_with_long_env _______
  Traceback (most recent call last):
    File "kphp/tests/python/lib/testcase.py", line 98, in setup_class
      cls.custom_setup()
    File "kphp/tests/python/lib/testcase.py", line 238, in custom_setup
      cls.web_server.start()
    File "kphp/tests/python/lib/k2_server.py", line 46, in start
      super(K2Server, self).start(start_msgs)
    File "kphp/tests/python/lib/web_server.py", line 32, in start
      self._json_log_file_read_fd = open(self._json_log_file, 'r')
  FileNotFoundError: [Errno 2] No such file or directory: 'kphp/tests/python/_tmp/json_logs/artifacts/tmp_test_warnings/17/83/data/log-file'

Signed-off-by: Petr Shumilov <p.shumilov@vkteam.ru>
@PetrShumilov PetrShumilov added this to the next milestone Jan 22, 2026
@PetrShumilov PetrShumilov self-assigned this Jan 22, 2026
@PetrShumilov PetrShumilov added small fix When it's not an huge enhancement k2 k2 related CI/CD labels Jan 22, 2026
@PetrShumilov PetrShumilov merged commit aaf549a into master Jan 23, 2026
7 checks passed
@PetrShumilov PetrShumilov deleted the pshumilov/fix_k2_ci_stage2 branch January 23, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD k2 k2 related small fix When it's not an huge enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants