We are following the steps outlined in
this article to create a Keda build agent, and it was a successful process. We added the following steps to the docker file to include and run ArangoDB in the docker image to utilize it in our Azure DevOps pipelines' integration tests:
RUN echo arangodb3 arangodb3/password root | debconf-set-selections
RUN echo arangodb3 arangodb3/password_again root | debconf-set-selections
RUN echo arangodb3 arangodb3/backup boolean false | debconf-set-selections
RUN echo arangodb3 arangodb3/upgrade boolean true | debconf-set-selections
RUN sudo apt-get install arangodb3=3.11.6-1
RUN sudo service arangodb3 start
Unfortunately the integration tests in our Azure DevOps' build pipelines are failing due to the following error message:
ArangoDB's connection error message: System.Net.Http.HttpRequestException : Cannot assign requested address (localhost:8529)
It's unclear whether or not the ArangoDB instance refrains from launching, or the ArangoDB's port is unavailable internally within the docker image. Regardless, we are not observing any error messages suggesting a failure in building and running the docker image. We are using Ubuntu 22.04 to build the docker image.
Any suggestions on how to fix this issue?
Thanks!