CI - playwright install error

yoonene·2023년 6월 19일
0

gitlab을 통해 쿠버네티스에 ci 하는 과정에서 아래와 같이 도커 이미지 빌드 오류가 발생했다.

INFO[0130] Running: [/bin/sh -c playwright install-deps && playwright install] 
.
.
.
Failed to install browser dependencies
Error: Installation process exited with code: 100
error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1
Cleaning up project directory and file based variables
00:00
ERROR: Job failed: command terminated with exit code 1

문제 원인: 2023.6.10 데비안에서 새 릴리즈를 내서 playwright integration에 오류가 발생한다고 한다.
해결 방법: FROM python:3.9-slim 이미지를 Pull해서 사용했었는데 python:3.9-bullseye로 변경하면 된다.
참고 링크: https://stackoverflow.com/questions/76480902/playwright-install-deps-fails-in-dockerfile

도커 이미지 빌드를 성공했으나, 원래는 잘되던 Milvus connection이 안되는 문제가 발생했다.
pymilvus.exceptions.MilvusException: <MilvusException: (code=2, message=Fail connecting to server on 10.130.198.15:19530. Timeout)>
문제 원인: 다른 이미지로 pull하면서 기존에 사용하던 pymlivus와 버전이 맞지 않아서 발생한 것이었다.
해결 방법: pymilvus 2.2.8 -> 2.3.0b1 으로 업그레이드

profile
NLP Researcher / Information Retrieval / Search

0개의 댓글