2
respostas

Build step 'Build / Publish Docker Image' marked build as failure

Erro ao fazer instalação dos requerimentos, não tenho ideia do q pode ter sido.

Step 5/7 : RUN pip install --no-cache-dir -r requirements.txt


 ---> Running in aa6918364b78

[91mSegmentation fault (core dumped)
[0m
ERROR: Build step failed with exception
com.github.dockerjava.api.exception.DockerClientException: Could not build image: The command '/bin/sh -c pip install --no-cache-dir -r requirements.txt' returned a non-zero code: 139
    at com.github.dockerjava.core.command.BuildImageResultCallback.getImageId(BuildImageResultCallback.java:79)
    at com.github.dockerjava.core.command.BuildImageResultCallback.awaitImageId(BuildImageResultCallback.java:51)
    at com.nirima.jenkins.plugins.docker.builder.DockerBuilderPublisher$Run.buildImage(DockerBuilderPublisher.java:370)
    at com.nirima.jenkins.plugins.docker.builder.DockerBuilderPublisher$Run.run(DockerBuilderPublisher.java:310)
    at com.nirima.jenkins.plugins.docker.builder.DockerBuilderPublisher.perform(DockerBuilderPublisher.java:451)
    at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
    at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
    at hudson.model.Build$BuildExecution.build(Build.java:197)
    at hudson.model.Build$BuildExecution.doRun(Build.java:163)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:514)
    at hudson.model.Run.execute(Run.java:1907)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:97)
    at hudson.model.Executor.run(Executor.java:429)
Build step 'Build / Publish Docker Image' marked build as failure
Finished: FAILURE
2 respostas

Apenas reexecutei o build e funcionou corretamente! Tem como excluir o tópico?

Olá, Natanael.

Acontece às vezes. A gente esquece de executar algum passo ou algum circuito não tava ligado do jeito que deveria haha. Que bom que conseguiu prosseguir.

Bons estudos!