시작하기무료로 시작하기

Fix a failing build

At NovaTech, a CodeBuild project for your Python Lambda app is failing. Use the build debugger to read the build logs, identify the root cause, and understand the fix.

The debugger shows the build log with phase-by-phase output. The build fails during one of the phases with a clear error message. You can switch between three different failure scenarios to practice diagnosing common build problems:

  • Missing dependency
  • Failed unit test
  • Python syntax error

For each scenario, find the error line in the log and identify what needs to change to make the build pass.

Question: The build log shows: INSTALL phase succeeded, PREBUILD phase succeeded, BUILD phase failed with "FAILED tests/testhandler.py::testprocessorder - AssertionError: assert 500 == 200". Which phase and fix would resolve this?

이 연습은 강의의 일부입니다

Automating Deployments on AWS

강의 보기

실습형 인터랙티브 연습문제

이론을 실습으로 바꾸는 인터랙티브 연습 중 하나를 만나보세요

연습 시작