Skip to content

Куненков Иван Лаб. 3 Группа 6511#64

Closed
razzzenya wants to merge 27 commits intoitsecd:mainfrom
razzzenya:main
Closed

Куненков Иван Лаб. 3 Группа 6511#64
razzzenya wants to merge 27 commits intoitsecd:mainfrom
razzzenya:main

Conversation

@razzzenya
Copy link

ФИО: Куненков Иван
Номер группы: 6511
Номер лабораторной: 3
Номер варианта: 9
Краткое описание предметной области: Кредитные заявки
Краткое описание добавленных фич: Добавлен файловый сервис, объектное хранилище MinIO, тестирование.

@github-actions github-actions bot added In progress Код в процессе проверки Lab 3 Лабораторная №3. Интеграционное тестирование labels Mar 15, 2026
@github-actions github-actions bot requested a review from danlla March 15, 2026 19:00
Copy link

@danlla danlla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Файлы в минио не появляются почему-то
Из-за этого не срабатывают 2 теста: EndToEnd_CreditApplicationFlow_SavesFileToMinIO, Gateway_EndToEnd_CreditApplicationFlow_SavesFileToMinIO

Вероятно какая-то ошибка при чтении сообщения из очереди или настройки этого чтения

Copy link

@danlla danlla Mar 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Вероятно это у этого скрипта возникает ошибка:

2026-03-17T13:02:51.152 ERROR --- [ady_monitor)] localstack.runtime.init : Error while running script Script(path='/etc/localstack/init/ready.d/init-aws.sh', stage=READY, state=ERROR)
Traceback (most recent call last):
File "/opt/code/localstack/localstack-core/localstack/runtime/init.py", line 162, in run_stage
runner.run(script.path)
~~~~~~~~~~^^^^^^^^^^^^^
File "/opt/code/localstack/localstack-core/localstack/runtime/init.py", line 92, in run
exit_code = subprocess.call(args=[path])
File "/usr/local/lib/python3.13/subprocess.py", line 395, in call
with Popen(*popenargs, **kwargs) as p:
~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/subprocess.py", line 1039, in init
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/subprocess.py", line 1876, in _execute_child
self._posix_spawn(args, executable, env, restore_signals, close_fds,
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
p2cread, p2cwrite,
^^^^^^^^^^^^^^^^^^
c2pread, c2pwrite,
^^^^^^^^^^^^^^^^^^
errread, errwrite)
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/subprocess.py", line 1820, in _posix_spawn
self.pid = os.posix_spawn(executable, args, env, **kwargs)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/etc/localstack/init/ready.d/init-aws.sh'

@razzzenya razzzenya requested a review from danlla March 17, 2026 15:23
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ошибка в этом скрипте осталась
Возможно она локальная и зависит от ОС/версии докера

Чтобы пофиксить нужно поменять формат конца строки на LF, который используется в UNIX

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а я поменял вроде

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Странно, у меня заработало только когда сменил формат конца строки
Ну да ладно

@danlla danlla added Approved Лабораторная зачтена and removed In progress Код в процессе проверки labels Mar 19, 2026
@danlla danlla closed this Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved Лабораторная зачтена Lab 3 Лабораторная №3. Интеграционное тестирование

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants