Pull request #50 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c+d52eed5e0bdf095fe71ab1c2620e174378e09b3d (d05cd5d9994de46c23eaf21d88d1ebf99a38d9e7) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17616890306177752528.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13204173832232218423.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5365306598376215881.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-50/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3325765341352835827.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15851131095765637251.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-50/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-50/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17965415464998369438.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19939 in /w/workspace/xfoundry_device-usb-camera_PR-50 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-50 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d52eed5e0bdf095fe71ab1c2620e174378e09b3d into PR head commit b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c Merge succeeded, producing b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c Checking out Revision b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c (PR-50) > git config core.sparsecheckout # timeout=10 > git checkout -f b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d52eed5e0bdf095fe71ab1c2620e174378e09b3d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c # timeout=10 Commit message: "feat: make rtsp server configurable with snap options" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-14T13:58:27.932Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-14T13:58:28.095Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-14T13:58:28.185Z] ========================================================= [2022-07-14T13:58:28.185Z] EdgeX Global Pipelines Version Info [2022-07-14T13:58:28.185Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-14T13:58:29.017Z] ------------------- [2022-07-14T13:58:29.017Z] stable info: [2022-07-14T13:58:29.017Z] ------------------- [2022-07-14T13:58:29.017Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-14T13:58:29.017Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-14T13:58:29.017Z] Message: update stable to v1.0.238 [2022-07-14T13:58:29.594Z] ------------------- [2022-07-14T13:58:29.594Z] experimental info: [2022-07-14T13:58:29.594Z] ------------------- [2022-07-14T13:58:29.594Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-14T13:58:29.594Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-14T13:58:29.594Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-14T13:58:29.990Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-07-14T13:58:30.029Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-07-14T13:58:30.067Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-14T13:58:30.109Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-14T13:58:30.159Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-14T13:58:30.199Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-14T13:58:30.240Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-14T13:58:30.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-14T13:58:30.326Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-14T13:58:30.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-14T13:58:30.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-14T13:58:30.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-07-14T13:58:30.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-14T13:58:30.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-14T13:58:30.572Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-14T13:58:30.612Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-14T13:58:30.652Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-14T13:58:30.695Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-14T13:58:30.738Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-14T13:58:30.781Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-14T13:58:30.821Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-14T13:58:30.874Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-14T13:58:30.912Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-14T13:58:30.956Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-14T13:58:31.004Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-14T13:58:31.054Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-14T13:58:31.097Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-14T13:58:31.140Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-50 [Pipeline] echo [2022-07-14T13:58:31.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-50 [Pipeline] echo [2022-07-14T13:58:31.222Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-50 [Pipeline] echo [2022-07-14T13:58:31.265Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [Pipeline] echo [2022-07-14T13:58:31.306Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0ee5d7 [Pipeline] echo [2022-07-14T13:58:31.346Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-14T13:58:31.470Z] provisioning config files... [2022-07-14T13:58:31.484Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/config4130632854235618952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T13:58:31.838Z] ---> docker-login.sh [2022-07-14T13:58:31.838Z] nexus3.edgexfoundry.org:10001 [2022-07-14T13:58:32.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T13:58:32.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T13:58:32.364Z] Configure a credential helper to remove this warning. See [2022-07-14T13:58:32.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T13:58:32.364Z] [2022-07-14T13:58:32.364Z] Login Succeeded [2022-07-14T13:58:32.364Z] nexus3.edgexfoundry.org:10002 [2022-07-14T13:58:32.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T13:58:32.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T13:58:32.626Z] Configure a credential helper to remove this warning. See [2022-07-14T13:58:32.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T13:58:32.626Z] [2022-07-14T13:58:32.626Z] Login Succeeded [2022-07-14T13:58:32.626Z] nexus3.edgexfoundry.org:10003 [2022-07-14T13:58:32.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T13:58:32.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T13:58:32.626Z] Configure a credential helper to remove this warning. See [2022-07-14T13:58:32.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T13:58:32.626Z] [2022-07-14T13:58:32.626Z] Login Succeeded [2022-07-14T13:58:32.626Z] nexus3.edgexfoundry.org:10004 [2022-07-14T13:58:32.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T13:58:32.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T13:58:32.890Z] Configure a credential helper to remove this warning. See [2022-07-14T13:58:32.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T13:58:32.890Z] [2022-07-14T13:58:32.890Z] Login Succeeded [2022-07-14T13:58:32.890Z] docker.io [2022-07-14T13:58:32.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T13:58:33.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T13:58:33.156Z] Configure a credential helper to remove this warning. See [2022-07-14T13:58:33.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T13:58:33.156Z] [2022-07-14T13:58:33.156Z] Login Succeeded [2022-07-14T13:58:33.156Z] ---> docker-login.sh ends [Pipeline] } [2022-07-14T13:58:33.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-14T13:58:33.821Z] + git rev-list -1 --merges b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c~1..b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [Pipeline] echo [2022-07-14T13:58:33.870Z] -----------> git rev-list -1 --merges b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c~1..b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [false] [Pipeline] sh [2022-07-14T13:58:34.186Z] + git log --format=format:%s -1 b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [Pipeline] echo [2022-07-14T13:58:34.228Z] ========================================================= [2022-07-14T13:58:34.228Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-14T13:58:34.228Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-14T13:58:34.670Z] + git log --format=format:%s -1 b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [Pipeline] echo [2022-07-14T13:58:34.700Z] [semverPrep] GIT_COMMIT: b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c, Commit Message: feat: make rtsp server configurable with snap options [Pipeline] echo [2022-07-14T13:58:34.730Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-14T13:58:35.131Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-14T13:58:35.132Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-14T13:58:35.132Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-14T13:58:35.132Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-14T13:58:35.132Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-14T13:58:35.132Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-14T13:58:35.132Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T13:58:35.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-14T13:58:35.678Z] [2022-07-14T13:58:35.678Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T13:58:36.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-14T13:58:36.060Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-14T13:58:36.060Z] b85a868b505f: Pulling fs layer [2022-07-14T13:58:36.060Z] e2be974225ed: Pulling fs layer [2022-07-14T13:58:36.060Z] 339a4e72a1f5: Pulling fs layer [2022-07-14T13:58:36.060Z] 988bab9f4d93: Pulling fs layer [2022-07-14T13:58:36.060Z] 1469e6f7b9e6: Pulling fs layer [2022-07-14T13:58:36.060Z] eaf3925da568: Pulling fs layer [2022-07-14T13:58:36.060Z] 1469e6f7b9e6: Waiting [2022-07-14T13:58:36.060Z] 988bab9f4d93: Waiting [2022-07-14T13:58:36.060Z] bab4dde63d76: Pulling fs layer [2022-07-14T13:58:36.060Z] bde34c3a00c8: Pulling fs layer [2022-07-14T13:58:36.060Z] bde34c3a00c8: Waiting [2022-07-14T13:58:36.060Z] bab4dde63d76: Waiting [2022-07-14T13:58:36.060Z] eaf3925da568: Waiting [2022-07-14T13:58:36.060Z] b352a97aabf1: Pulling fs layer [2022-07-14T13:58:36.060Z] 4872d77fe225: Pulling fs layer [2022-07-14T13:58:36.060Z] 5851b861e8e6: Pulling fs layer [2022-07-14T13:58:36.060Z] 4872d77fe225: Waiting [2022-07-14T13:58:36.060Z] 5851b861e8e6: Waiting [2022-07-14T13:58:36.060Z] b352a97aabf1: Waiting [2022-07-14T13:58:36.060Z] e2be974225ed: Verifying Checksum [2022-07-14T13:58:36.060Z] e2be974225ed: Download complete [2022-07-14T13:58:36.060Z] 988bab9f4d93: Download complete [2022-07-14T13:58:36.322Z] 339a4e72a1f5: Verifying Checksum [2022-07-14T13:58:36.322Z] 339a4e72a1f5: Download complete [2022-07-14T13:58:36.322Z] 1469e6f7b9e6: Verifying Checksum [2022-07-14T13:58:36.322Z] 1469e6f7b9e6: Download complete [2022-07-14T13:58:36.322Z] eaf3925da568: Verifying Checksum [2022-07-14T13:58:36.322Z] eaf3925da568: Download complete [2022-07-14T13:58:36.322Z] bde34c3a00c8: Download complete [2022-07-14T13:58:36.322Z] b352a97aabf1: Download complete [2022-07-14T13:58:36.322Z] 4872d77fe225: Download complete [2022-07-14T13:58:36.322Z] 5851b861e8e6: Verifying Checksum [2022-07-14T13:58:36.322Z] b85a868b505f: Verifying Checksum [2022-07-14T13:58:36.322Z] b85a868b505f: Download complete [2022-07-14T13:58:36.582Z] bab4dde63d76: Verifying Checksum [2022-07-14T13:58:36.582Z] bab4dde63d76: Download complete [2022-07-14T13:58:37.984Z] b85a868b505f: Pull complete [2022-07-14T13:58:37.984Z] e2be974225ed: Pull complete [2022-07-14T13:58:38.556Z] 339a4e72a1f5: Pull complete [2022-07-14T13:58:38.556Z] 988bab9f4d93: Pull complete [2022-07-14T13:58:38.820Z] 1469e6f7b9e6: Pull complete [2022-07-14T13:58:38.820Z] eaf3925da568: Pull complete [2022-07-14T13:58:41.369Z] bab4dde63d76: Pull complete [2022-07-14T13:58:41.369Z] bde34c3a00c8: Pull complete [2022-07-14T13:58:41.369Z] b352a97aabf1: Pull complete [2022-07-14T13:58:41.369Z] 4872d77fe225: Pull complete [2022-07-14T13:58:41.369Z] 5851b861e8e6: Pull complete [2022-07-14T13:58:41.369Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-14T13:58:41.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-14T13:58:41.369Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T13:58:41.615Z] prd-ubuntu20.04-docker-8c-8g-19939 does not seem to be running inside a container [2022-07-14T13:58:41.658Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-50 -v /w/workspace/xfoundry_device-usb-camera_PR-50:/w/workspace/xfoundry_device-usb-camera_PR-50:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-50@tmp:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-14T13:58:43.150Z] $ docker top 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 -eo pid,comm [2022-07-14T13:58:43.213Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-14T13:58:43.213Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-14T13:58:43.335Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-14T13:58:43.335Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-14T13:58:43.462Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-14T13:58:43.468Z] $ docker exec 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 ssh-agent [2022-07-14T13:58:43.591Z] SSH_AUTH_SOCK=/tmp/ssh-kWKfHb5fMvqH/agent.35 [2022-07-14T13:58:43.591Z] SSH_AGENT_PID=42 [2022-07-14T13:58:43.597Z] Running ssh-add (command line suppressed) [2022-07-14T13:58:43.709Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-50@tmp/private_key_9202714135048785919.key (/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/private_key_9202714135048785919.key) [2022-07-14T13:58:43.720Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-14T13:58:44.055Z] + git tag --points-at HEAD [Pipeline] } [2022-07-14T13:58:44.082Z] $ docker exec --env ******** --env ******** 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 ssh-agent -k [2022-07-14T13:58:44.196Z] unset SSH_AUTH_SOCK; [2022-07-14T13:58:44.197Z] unset SSH_AGENT_PID; [2022-07-14T13:58:44.197Z] echo Agent pid 42 killed; [2022-07-14T13:58:44.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-14T13:58:44.300Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-14T13:58:44.300Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-14T13:58:44.429Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-14T13:58:44.436Z] $ docker exec 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 ssh-agent [2022-07-14T13:58:44.564Z] SSH_AUTH_SOCK=/tmp/ssh-YfdXh6EkfCEN/agent.76 [2022-07-14T13:58:44.564Z] SSH_AGENT_PID=83 [2022-07-14T13:58:44.570Z] Running ssh-add (command line suppressed) [2022-07-14T13:58:44.693Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-50@tmp/private_key_5392454023760862778.key (/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/private_key_5392454023760862778.key) [2022-07-14T13:58:44.706Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-14T13:58:45.040Z] + git semver init [2022-07-14T13:58:45.302Z] 2022-07-14 13:58:45,263 [run_init] DEBUG init version:0.0.0 force:False [2022-07-14T13:58:45.302Z] 2022-07-14 13:58:45,264 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-50/.semver [2022-07-14T13:58:45.302Z] 2022-07-14 13:58:45,264 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-50/.semver [2022-07-14T13:58:45.302Z] 2022-07-14 13:58:45,265 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-50/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-50, universal_newlines=False, shell=None, istream=None) [2022-07-14T13:58:45.876Z] 2022-07-14 13:58:45,797 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-50/.git/info/exclude [2022-07-14T13:58:45.876Z] 2022-07-14 13:58:45,798 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-50/.semver/PR-50 with force:False [2022-07-14T13:58:45.876Z] 2022-07-14 13:58:45,798 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-50/.semver/PR-50 [2022-07-14T13:58:45.876Z] 2022-07-14 13:58:45,803 [execute] INFO git cat-file --batch-check [2022-07-14T13:58:45.876Z] 2022-07-14 13:58:45,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-50/.semver, universal_newlines=False, shell=None, istream=) [2022-07-14T13:58:45.876Z] 2022-07-14 13:58:45,809 [execute] INFO git cat-file --batch [2022-07-14T13:58:45.876Z] 2022-07-14 13:58:45,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-50/.semver, universal_newlines=False, shell=None, istream=) [2022-07-14T13:58:45.876Z] 2022-07-14 13:58:45,815 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-50/.semver/PR-50 [2022-07-14T13:58:45.876Z] 0.0.0 [Pipeline] } [2022-07-14T13:58:45.906Z] $ docker exec --env ******** --env ******** 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 ssh-agent -k [2022-07-14T13:58:46.033Z] unset SSH_AUTH_SOCK; [2022-07-14T13:58:46.034Z] unset SSH_AGENT_PID; [2022-07-14T13:58:46.034Z] echo Agent pid 83 killed; [2022-07-14T13:58:46.042Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-14T13:58:46.486Z] + git semver [Pipeline] } [2022-07-14T13:58:46.781Z] $ docker stop --time=1 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 [2022-07-14T13:58:48.144Z] $ docker rm -f 8b845f7aedf87bf3a08d34ca2f68fa07408609dfebd00ed655e7f4fea09f54d6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-14T13:58:48.572Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-14T13:58:48.939Z] Stashed 1 file(s) [Pipeline] echo [2022-07-14T13:58:48.958Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-14T13:58:49.551Z] provisioning config files... [2022-07-14T13:58:49.563Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/config3058864396899005432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T13:58:49.908Z] ---> docker-login.sh [2022-07-14T13:58:49.908Z] nexus3.edgexfoundry.org:10001 [2022-07-14T13:58:49.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T13:58:49.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T13:58:49.908Z] Configure a credential helper to remove this warning. See [2022-07-14T13:58:49.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T13:58:49.908Z] [2022-07-14T13:58:49.908Z] Login Succeeded [2022-07-14T13:58:49.908Z] nexus3.edgexfoundry.org:10002 [2022-07-14T13:58:49.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T13:58:50.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T13:58:50.171Z] Configure a credential helper to remove this warning. See [2022-07-14T13:58:50.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T13:58:50.171Z] [2022-07-14T13:58:50.171Z] Login Succeeded [2022-07-14T13:58:50.171Z] nexus3.edgexfoundry.org:10003 [2022-07-14T13:58:50.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T13:58:50.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T13:58:50.171Z] Configure a credential helper to remove this warning. See [2022-07-14T13:58:50.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T13:58:50.171Z] [2022-07-14T13:58:50.171Z] Login Succeeded [2022-07-14T13:58:50.171Z] nexus3.edgexfoundry.org:10004 [2022-07-14T13:58:50.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T13:58:50.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T13:58:50.433Z] Configure a credential helper to remove this warning. See [2022-07-14T13:58:50.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T13:58:50.433Z] [2022-07-14T13:58:50.433Z] Login Succeeded [2022-07-14T13:58:50.433Z] docker.io [2022-07-14T13:58:50.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T13:58:50.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T13:58:50.697Z] Configure a credential helper to remove this warning. See [2022-07-14T13:58:50.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T13:58:50.697Z] [2022-07-14T13:58:50.697Z] Login Succeeded [2022-07-14T13:58:50.697Z] ---> docker-login.sh ends [Pipeline] } [2022-07-14T13:58:50.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-14T13:58:50.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T13:58:50.987Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T13:58:51.021Z] ========================================================= [2022-07-14T13:58:51.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-14T13:58:51.021Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T13:58:51.490Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-14T13:58:51.490Z] Sending build context to Docker daemon 712.7kB [2022-07-14T13:58:51.490Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-14T13:58:51.490Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-14T13:58:51.490Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-14T13:58:51.490Z] 2408cc74d12b: Pulling fs layer [2022-07-14T13:58:51.490Z] ea60b727a1ce: Pulling fs layer [2022-07-14T13:58:51.490Z] 30c4a7721957: Pulling fs layer [2022-07-14T13:58:51.490Z] 370296b7ddb6: Pulling fs layer [2022-07-14T13:58:51.490Z] 7c6cee850709: Pulling fs layer [2022-07-14T13:58:51.490Z] 39a5fcdaea64: Pulling fs layer [2022-07-14T13:58:51.490Z] d94ebbe4e438: Pulling fs layer [2022-07-14T13:58:51.490Z] bcfd1f05c69d: Pulling fs layer [2022-07-14T13:58:51.490Z] 59ccb84bbe0f: Pulling fs layer [2022-07-14T13:58:51.490Z] 370296b7ddb6: Waiting [2022-07-14T13:58:51.490Z] d94ebbe4e438: Waiting [2022-07-14T13:58:51.490Z] bcfd1f05c69d: Waiting [2022-07-14T13:58:51.490Z] 39a5fcdaea64: Waiting [2022-07-14T13:58:51.490Z] 59ccb84bbe0f: Waiting [2022-07-14T13:58:51.490Z] 7c6cee850709: Waiting [2022-07-14T13:58:51.490Z] 30c4a7721957: Verifying Checksum [2022-07-14T13:58:51.490Z] 30c4a7721957: Download complete [2022-07-14T13:58:51.490Z] ea60b727a1ce: Verifying Checksum [2022-07-14T13:58:51.490Z] ea60b727a1ce: Download complete [2022-07-14T13:58:51.490Z] 7c6cee850709: Download complete [2022-07-14T13:58:51.751Z] 2408cc74d12b: Verifying Checksum [2022-07-14T13:58:51.751Z] 2408cc74d12b: Download complete [2022-07-14T13:58:51.751Z] d94ebbe4e438: Download complete [2022-07-14T13:58:51.751Z] 2408cc74d12b: Pull complete [2022-07-14T13:58:52.012Z] ea60b727a1ce: Pull complete [2022-07-14T13:58:52.012Z] 30c4a7721957: Pull complete [2022-07-14T13:58:52.012Z] 59ccb84bbe0f: Verifying Checksum [2022-07-14T13:58:52.012Z] 59ccb84bbe0f: Download complete [2022-07-14T13:58:52.584Z] bcfd1f05c69d: Verifying Checksum [2022-07-14T13:58:52.584Z] bcfd1f05c69d: Download complete [2022-07-14T13:58:52.584Z] 370296b7ddb6: Verifying Checksum [2022-07-14T13:58:52.584Z] 370296b7ddb6: Download complete [2022-07-14T13:58:56.786Z] 370296b7ddb6: Pull complete [2022-07-14T13:58:56.786Z] 7c6cee850709: Pull complete [2022-07-14T13:58:56.786Z] 39a5fcdaea64: Pull complete [2022-07-14T13:58:56.786Z] d94ebbe4e438: Pull complete [2022-07-14T13:58:59.336Z] bcfd1f05c69d: Pull complete [2022-07-14T13:58:59.908Z] 59ccb84bbe0f: Pull complete [2022-07-14T13:58:59.908Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-14T13:58:59.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-14T13:58:59.908Z] ---> a4fb48ad2a94 [2022-07-14T13:58:59.908Z] Step 3/12 : ARG MAKE="make build" [2022-07-14T13:59:01.830Z] ---> Running in d4b5518c94b7 [2022-07-14T13:59:01.830Z] Removing intermediate container d4b5518c94b7 [2022-07-14T13:59:01.830Z] ---> ac294a2a5933 [2022-07-14T13:59:01.830Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-14T13:59:01.830Z] ---> Running in 0a50ca92e252 [2022-07-14T13:59:01.830Z] Removing intermediate container 0a50ca92e252 [2022-07-14T13:59:01.830Z] ---> 723f44e933b8 [2022-07-14T13:59:01.830Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-14T13:59:01.830Z] ---> Running in 5047dbfd64bb [2022-07-14T13:59:01.830Z] Removing intermediate container 5047dbfd64bb [2022-07-14T13:59:01.830Z] ---> 9e3512cba50c [2022-07-14T13:59:01.830Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-14T13:59:01.830Z] ---> Running in 722e5d45a9bc [2022-07-14T13:59:02.402Z] Removing intermediate container 722e5d45a9bc [2022-07-14T13:59:02.402Z] ---> 0ec6c2e38cd7 [2022-07-14T13:59:02.402Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-14T13:59:02.665Z] ---> Running in 8756dfd04fba [2022-07-14T13:59:02.926Z] fetch https://nl.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-14T13:59:03.870Z] fetch https://nl.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-14T13:59:04.131Z] ERROR: unable to select packages: [2022-07-14T13:59:04.131Z]  so:libicui18n.so.71 (no such package): [2022-07-14T13:59:04.131Z] required by: qt5-qtbase-5.15.3_git20220217-r1[so:libicui18n.so.71] [2022-07-14T13:59:04.131Z] so:libicuuc.so.71 (no such package): [2022-07-14T13:59:04.131Z] required by: qt5-qtbase-5.15.3_git20220217-r1[so:libicuuc.so.71] [2022-07-14T13:59:04.371Z] Still waiting to schedule task [2022-07-14T13:59:04.372Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-14T13:59:04.393Z] The command '/bin/sh -c apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA}' returned a non-zero code: 5 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T13:59:05.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-14T13:59:05.608Z] [2022-07-14T13:59:05.608Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T13:59:05.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-14T13:59:05.993Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-14T13:59:05.993Z] 5eb5b503b376: Pulling fs layer [2022-07-14T13:59:05.993Z] 5c69ac0246d0: Pulling fs layer [2022-07-14T13:59:05.993Z] ec43610c2a17: Pulling fs layer [2022-07-14T13:59:05.993Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-14T13:59:05.993Z] 33b1e0a273af: Pulling fs layer [2022-07-14T13:59:05.993Z] 5d3b04190fa2: Pulling fs layer [2022-07-14T13:59:05.993Z] 2f39f015ded8: Pulling fs layer [2022-07-14T13:59:05.993Z] 5d3b04190fa2: Waiting [2022-07-14T13:59:05.993Z] 3a2ae6a8a46f: Waiting [2022-07-14T13:59:05.993Z] 2f39f015ded8: Waiting [2022-07-14T13:59:05.993Z] 33b1e0a273af: Waiting [2022-07-14T13:59:05.993Z] 5c69ac0246d0: Verifying Checksum [2022-07-14T13:59:05.993Z] 5c69ac0246d0: Download complete [2022-07-14T13:59:05.993Z] 3a2ae6a8a46f: Download complete [2022-07-14T13:59:06.252Z] 33b1e0a273af: Verifying Checksum [2022-07-14T13:59:06.252Z] 33b1e0a273af: Download complete [2022-07-14T13:59:06.252Z] 5d3b04190fa2: Verifying Checksum [2022-07-14T13:59:06.252Z] 5d3b04190fa2: Download complete [2022-07-14T13:59:06.252Z] ec43610c2a17: Verifying Checksum [2022-07-14T13:59:06.252Z] ec43610c2a17: Download complete [2022-07-14T13:59:06.252Z] 5eb5b503b376: Verifying Checksum [2022-07-14T13:59:06.252Z] 5eb5b503b376: Download complete [2022-07-14T13:59:06.823Z] 2f39f015ded8: Download complete [2022-07-14T13:59:07.764Z] 5eb5b503b376: Pull complete [2022-07-14T13:59:08.024Z] 5c69ac0246d0: Pull complete [2022-07-14T13:59:08.598Z] ec43610c2a17: Pull complete [2022-07-14T13:59:08.598Z] 3a2ae6a8a46f: Pull complete [2022-07-14T13:59:08.858Z] 33b1e0a273af: Pull complete [2022-07-14T13:59:08.858Z] 5d3b04190fa2: Pull complete [2022-07-14T13:59:14.143Z] 2f39f015ded8: Pull complete [2022-07-14T13:59:14.143Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-14T13:59:14.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-14T13:59:14.143Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T13:59:14.382Z] prd-ubuntu20.04-docker-8c-8g-19939 does not seem to be running inside a container [2022-07-14T13:59:14.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-50 -v /w/workspace/xfoundry_device-usb-camera_PR-50:/w/workspace/xfoundry_device-usb-camera_PR-50:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-50@tmp:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-14T13:59:16.122Z] $ docker top 8d11ef7ebd03028d4657f2035fc8ed954d6672570a4ba387400418f879043af3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T13:59:16.604Z] ---> job-cost.sh [2022-07-14T13:59:16.604Z] lf-activate-venv: SKIPPING [2022-07-14T13:59:16.604Z] INFO: No Stack... [2022-07-14T13:59:17.177Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-14T13:59:17.438Z] INFO: Archiving Costs [Pipeline] sh [2022-07-14T13:59:17.754Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-50/archives/cost.csv [2022-07-14T13:59:17.755Z] + cut -d, -f6 [Pipeline] lock [2022-07-14T13:59:17.793Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] [2022-07-14T13:59:17.797Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] did not exist. Created. [2022-07-14T13:59:17.797Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-14T13:59:18.203Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-14T13:59:18.265Z] Stashed 1 file(s) [Pipeline] } [2022-07-14T13:59:18.287Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-14T13:59:18.371Z] $ docker stop --time=1 8d11ef7ebd03028d4657f2035fc8ed954d6672570a4ba387400418f879043af3 [2022-07-14T13:59:19.578Z] $ docker rm -f 8d11ef7ebd03028d4657f2035fc8ed954d6672570a4ba387400418f879043af3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-14T13:59:19.976Z] Failed in branch amd64 [2022-07-14T14:00:37.904Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19940 in /w/workspace/xfoundry_device-usb-camera_PR-50 [Pipeline] { [Pipeline] ws [2022-07-14T14:00:37.947Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-07-14T14:00:38.033Z] Selected Git installation does not exist. Using Default [2022-07-14T14:00:38.033Z] The recommended git tool is: NONE [2022-07-14T14:00:44.868Z] using credential edgex-jenkins-ssh [2022-07-14T14:00:44.887Z] Cloning the remote Git repository [2022-07-14T14:00:44.950Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-07-14T14:00:45.027Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-07-14T14:00:45.094Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-14T14:00:45.094Z] > git --version # timeout=10 [2022-07-14T14:00:45.112Z] > git --version # 'git version 2.25.1' [2022-07-14T14:00:45.115Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-14T14:00:45.205Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-14T14:00:46.373Z] Merging remotes/origin/main commit d52eed5e0bdf095fe71ab1c2620e174378e09b3d into PR head commit b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [2022-07-14T14:00:46.573Z] Merge succeeded, producing b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [2022-07-14T14:00:46.573Z] Checking out Revision b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c (PR-50) [2022-07-14T14:00:45.790Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-14T14:00:45.804Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-14T14:00:45.830Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-14T14:00:45.870Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-14T14:00:45.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-14T14:00:45.886Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/50/head:refs/remotes/origin/PR-50 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-14T14:00:46.393Z] > git config core.sparsecheckout # timeout=10 [2022-07-14T14:00:46.414Z] > git checkout -f b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c # timeout=10 [2022-07-14T14:00:46.499Z] > git remote # timeout=10 [2022-07-14T14:00:46.513Z] > git config --get remote.origin.url # timeout=10 [2022-07-14T14:00:46.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-14T14:00:46.538Z] > git merge d52eed5e0bdf095fe71ab1c2620e174378e09b3d # timeout=10 [2022-07-14T14:00:46.561Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-14T14:00:46.583Z] > git config core.sparsecheckout # timeout=10 [2022-07-14T14:00:46.595Z] > git checkout -f b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c # timeout=10 [2022-07-14T14:00:50.720Z] Commit message: "feat: make rtsp server configurable with snap options" [2022-07-14T14:00:50.784Z] > git --version # timeout=10 [2022-07-14T14:00:50.797Z] > git --version # 'git version 2.25.1' [2022-07-14T14:00:50.812Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-14T14:00:51.925Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-14T14:00:51.925Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-14T14:00:51.925Z] Dload Upload Total Spent Left Speed [2022-07-14T14:00:51.925Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 79051 0 --:--:-- --:--:-- --:--:-- 79051 [Pipeline] sh [2022-07-14T14:00:52.753Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-14T14:00:53.103Z] + + sudosudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json tee [2022-07-14T14:00:53.103Z] /etc/docker/daemon.new [2022-07-14T14:00:53.103Z] { [2022-07-14T14:00:53.103Z] "registry-mirrors": [ [2022-07-14T14:00:53.103Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-14T14:00:53.103Z] ], [2022-07-14T14:00:53.103Z] "bip": "10.250.0.254/24", [2022-07-14T14:00:53.103Z] "hosts": [ [2022-07-14T14:00:53.103Z] "tcp://0.0.0.0:5555", [2022-07-14T14:00:53.103Z] "unix:///var/run/docker.sock" [2022-07-14T14:00:53.103Z] ], [2022-07-14T14:00:53.103Z] "mtu": 1458, [2022-07-14T14:00:53.103Z] "selinux-enabled": true, [2022-07-14T14:00:53.103Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-14T14:00:53.103Z] } [Pipeline] sh [2022-07-14T14:00:53.456Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-14T14:00:53.813Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-14T14:01:12.377Z] provisioning config files... [2022-07-14T14:01:12.400Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config5269046201252858790tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T14:01:12.790Z] ---> docker-login.sh [2022-07-14T14:01:12.790Z] nexus3.edgexfoundry.org:10001 [2022-07-14T14:01:13.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T14:01:13.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T14:01:13.659Z] Configure a credential helper to remove this warning. See [2022-07-14T14:01:13.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T14:01:13.659Z] [2022-07-14T14:01:13.659Z] Login Succeeded [2022-07-14T14:01:13.659Z] nexus3.edgexfoundry.org:10002 [2022-07-14T14:01:13.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T14:01:13.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T14:01:13.933Z] Configure a credential helper to remove this warning. See [2022-07-14T14:01:13.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T14:01:13.933Z] [2022-07-14T14:01:13.933Z] Login Succeeded [2022-07-14T14:01:13.933Z] nexus3.edgexfoundry.org:10003 [2022-07-14T14:01:14.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T14:01:14.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T14:01:14.479Z] Configure a credential helper to remove this warning. See [2022-07-14T14:01:14.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T14:01:14.479Z] [2022-07-14T14:01:14.479Z] Login Succeeded [2022-07-14T14:01:14.479Z] nexus3.edgexfoundry.org:10004 [2022-07-14T14:01:14.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T14:01:15.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T14:01:15.024Z] Configure a credential helper to remove this warning. See [2022-07-14T14:01:15.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T14:01:15.024Z] [2022-07-14T14:01:15.024Z] Login Succeeded [2022-07-14T14:01:15.024Z] docker.io [2022-07-14T14:01:15.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-14T14:01:15.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-14T14:01:15.569Z] Configure a credential helper to remove this warning. See [2022-07-14T14:01:15.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-14T14:01:15.569Z] [2022-07-14T14:01:15.569Z] Login Succeeded [2022-07-14T14:01:15.569Z] ---> docker-login.sh ends [Pipeline] } [2022-07-14T14:01:15.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-14T14:01:15.980Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T14:01:16.015Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-14T14:01:16.048Z] ========================================================= [2022-07-14T14:01:16.048Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-14T14:01:16.048Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T14:01:16.550Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-14T14:01:16.833Z] Sending build context to Docker daemon 469kB [2022-07-14T14:01:16.833Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-14T14:01:16.833Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-14T14:01:17.108Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-14T14:01:17.108Z] b3c136eddcbf: Pulling fs layer [2022-07-14T14:01:17.108Z] c0a3192eca97: Pulling fs layer [2022-07-14T14:01:17.108Z] a050256f5b6f: Pulling fs layer [2022-07-14T14:01:17.108Z] 656be50a0ddc: Pulling fs layer [2022-07-14T14:01:17.108Z] 2bbca73fdf42: Pulling fs layer [2022-07-14T14:01:17.108Z] 46d945488cbd: Pulling fs layer [2022-07-14T14:01:17.108Z] 8a5474983e97: Pulling fs layer [2022-07-14T14:01:17.108Z] 329c88fbcd65: Pulling fs layer [2022-07-14T14:01:17.108Z] 656be50a0ddc: Waiting [2022-07-14T14:01:17.108Z] 2bbca73fdf42: Waiting [2022-07-14T14:01:17.108Z] 46d945488cbd: Waiting [2022-07-14T14:01:17.108Z] 8a5474983e97: Waiting [2022-07-14T14:01:17.108Z] 329c88fbcd65: Waiting [2022-07-14T14:01:17.108Z] a050256f5b6f: Verifying Checksum [2022-07-14T14:01:17.108Z] a050256f5b6f: Download complete [2022-07-14T14:01:17.108Z] c0a3192eca97: Verifying Checksum [2022-07-14T14:01:17.108Z] c0a3192eca97: Download complete [2022-07-14T14:01:17.108Z] 2bbca73fdf42: Verifying Checksum [2022-07-14T14:01:17.108Z] 2bbca73fdf42: Download complete [2022-07-14T14:01:17.108Z] 46d945488cbd: Verifying Checksum [2022-07-14T14:01:17.108Z] 46d945488cbd: Download complete [2022-07-14T14:01:17.108Z] b3c136eddcbf: Verifying Checksum [2022-07-14T14:01:17.108Z] b3c136eddcbf: Download complete [2022-07-14T14:01:18.100Z] b3c136eddcbf: Pull complete [2022-07-14T14:01:18.100Z] 329c88fbcd65: Verifying Checksum [2022-07-14T14:01:18.100Z] 329c88fbcd65: Download complete [2022-07-14T14:01:18.709Z] c0a3192eca97: Pull complete [2022-07-14T14:01:18.984Z] a050256f5b6f: Pull complete [2022-07-14T14:01:19.256Z] 8a5474983e97: Verifying Checksum [2022-07-14T14:01:19.256Z] 8a5474983e97: Download complete [2022-07-14T14:01:19.851Z] 656be50a0ddc: Verifying Checksum [2022-07-14T14:01:19.851Z] 656be50a0ddc: Download complete [2022-07-14T14:01:34.942Z] 656be50a0ddc: Pull complete [2022-07-14T14:01:34.942Z] 2bbca73fdf42: Pull complete [2022-07-14T14:01:34.942Z] 46d945488cbd: Pull complete [2022-07-14T14:01:39.260Z] 8a5474983e97: Pull complete [2022-07-14T14:01:41.252Z] 329c88fbcd65: Pull complete [2022-07-14T14:01:41.252Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-14T14:01:41.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-14T14:01:41.252Z] ---> ff4287adb874 [2022-07-14T14:01:41.252Z] Step 3/12 : ARG MAKE="make build" [2022-07-14T14:01:41.850Z] ---> Running in 1cf52a448ab6 [2022-07-14T14:01:42.127Z] Removing intermediate container 1cf52a448ab6 [2022-07-14T14:01:42.127Z] ---> 7ed2a8d82bd4 [2022-07-14T14:01:42.127Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-14T14:01:42.402Z] ---> Running in 9a7dbeb63a7b [2022-07-14T14:01:42.676Z] Removing intermediate container 9a7dbeb63a7b [2022-07-14T14:01:42.676Z] ---> f2f153dd4b95 [2022-07-14T14:01:42.676Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-14T14:01:42.676Z] ---> Running in 73e62193e1a2 [2022-07-14T14:01:42.956Z] Removing intermediate container 73e62193e1a2 [2022-07-14T14:01:42.956Z] ---> db30c49d39bb [2022-07-14T14:01:42.956Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-14T14:01:42.956Z] ---> Running in 824c7e823f5e [2022-07-14T14:01:44.948Z] Removing intermediate container 824c7e823f5e [2022-07-14T14:01:44.948Z] ---> 3f3e32aa803b [2022-07-14T14:01:44.948Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-14T14:01:44.948Z] ---> Running in 22b536068678 [2022-07-14T14:01:46.952Z] fetch https://nl.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-14T14:01:47.932Z] fetch https://nl.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-14T14:01:48.913Z] (1/14) Installing libintl (0.21-r2) [2022-07-14T14:01:48.913Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-07-14T14:01:48.913Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-07-14T14:01:48.913Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-07-14T14:01:49.185Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-07-14T14:01:49.185Z] (6/14) Installing udev-init-scripts (35-r0) [2022-07-14T14:01:49.457Z] Executing udev-init-scripts-35-r0.post-install [2022-07-14T14:01:49.457Z] (7/14) Installing libblkid (2.38-r1) [2022-07-14T14:01:49.457Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-07-14T14:01:49.729Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-07-14T14:01:49.729Z] (10/14) Installing kmod-libs (29-r2) [2022-07-14T14:01:49.729Z] (11/14) Installing eudev (3.2.11-r0) [2022-07-14T14:01:50.001Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-07-14T14:01:50.001Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-14T14:01:50.001Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-07-14T14:01:50.273Z] Executing busybox-1.35.0-r13.trigger [2022-07-14T14:01:50.273Z] Executing eudev-3.2.11-r0.trigger [2022-07-14T14:01:50.273Z] OK: 228 MiB in 65 packages [2022-07-14T14:01:51.259Z] Removing intermediate container 22b536068678 [2022-07-14T14:01:51.259Z] ---> d4359606d2c8 [2022-07-14T14:01:51.259Z] Step 8/12 : WORKDIR /device-usb-camera [2022-07-14T14:01:51.259Z] ---> Running in f70ec3efd5c3 [2022-07-14T14:01:51.540Z] Removing intermediate container f70ec3efd5c3 [2022-07-14T14:01:51.540Z] ---> e24947a55e06 [2022-07-14T14:01:51.540Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-14T14:01:52.132Z] ---> 6e7c8e6cd12f [2022-07-14T14:01:52.132Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-14T14:01:52.132Z] ---> Running in b928e210ba6b [2022-07-14T14:02:39.097Z] Removing intermediate container b928e210ba6b [2022-07-14T14:02:39.097Z] ---> 683c8e7cac36 [2022-07-14T14:02:39.097Z] Step 11/12 : COPY . . [2022-07-14T14:02:39.097Z] ---> 79604a696ac1 [2022-07-14T14:02:39.097Z] Step 12/12 : RUN ${MAKE} [2022-07-14T14:02:39.097Z] ---> Running in b5ca35894f2d [2022-07-14T14:02:39.373Z] noop [2022-07-14T14:02:39.971Z] Removing intermediate container b5ca35894f2d [2022-07-14T14:02:39.971Z] ---> e1428b51841b [2022-07-14T14:02:39.971Z] Successfully built e1428b51841b [2022-07-14T14:02:39.971Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T14:02:40.458Z] + docker inspect -f . ci-base-image-arm64 [2022-07-14T14:02:40.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T14:02:40.791Z] prd-ubuntu20.04-docker-arm64-4c-16g-19940 does not seem to be running inside a container [2022-07-14T14:02:40.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-14T14:02:42.149Z] $ docker top a72be1e85f8d0819310b71b89b2b6a9b3413f8446a5939218b72f417a4604911 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T14:02:43.094Z] + go version [2022-07-14T14:02:43.094Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-14T14:02:43.134Z] $ docker stop --time=1 a72be1e85f8d0819310b71b89b2b6a9b3413f8446a5939218b72f417a4604911 [2022-07-14T14:02:44.795Z] $ docker rm -f a72be1e85f8d0819310b71b89b2b6a9b3413f8446a5939218b72f417a4604911 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T14:02:45.692Z] + docker inspect -f . ci-base-image-arm64 [2022-07-14T14:02:45.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T14:02:45.983Z] prd-ubuntu20.04-docker-arm64-4c-16g-19940 does not seem to be running inside a container [2022-07-14T14:02:46.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-14T14:02:47.285Z] $ docker top 88c5247e6ac312dde3a1d85f709c3256520321db21f122fdf06c75613bc8a99a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T14:02:48.210Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-07-14T14:02:48.931Z] + make test [2022-07-14T14:02:48.931Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-14T14:02:50.371Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-14T14:04:12.234Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-14T14:04:12.234Z] ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] [2022-07-14T14:04:12.234Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-14T14:04:12.234Z] CGO_ENABLED=1 go vet ./... [2022-07-14T14:04:30.571Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-14T14:04:30.571Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-14T14:04:30.571Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-14T14:04:31.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-14T14:04:31.630Z] $ docker stop --time=1 88c5247e6ac312dde3a1d85f709c3256520321db21f122fdf06c75613bc8a99a [2022-07-14T14:04:33.430Z] $ docker rm -f 88c5247e6ac312dde3a1d85f709c3256520321db21f122fdf06c75613bc8a99a [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-14T14:04:34.442Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-14T14:04:34.990Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-14T14:04:35.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-14T14:04:36.232Z] + ls -al . [2022-07-14T14:04:36.232Z] total 160 [2022-07-14T14:04:36.232Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 14:04 . [2022-07-14T14:04:36.232Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 14:00 .. [2022-07-14T14:04:36.232Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 14 14:00 .git [2022-07-14T14:04:36.232Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 14:00 .github [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 14 14:00 .gitignore [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 14 14:00 .golangci.yml [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 14 14:00 .hadolint.yml [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 8706 Jul 14 14:00 Attribution.txt [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 181 Jul 14 14:00 CHANGELOG.md [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 1891 Jul 14 14:00 Dockerfile [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 14 14:00 GOVERNANCE.md [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 14 14:00 Jenkinsfile [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 14 14:00 LICENSE [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 14 14:00 Makefile [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 14 14:00 OWNERS.md [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 11243 Jul 14 14:00 README.md [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 14 13:58 VERSION [2022-07-14T14:04:36.232Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 14 14:00 bin [2022-07-14T14:04:36.232Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 14:00 cmd [2022-07-14T14:04:36.232Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 14 14:02 coverage.out [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 14 14:00 docker-entrypoint.sh [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 3277 Jul 14 14:00 go.mod [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 35596 Jul 14 14:00 go.sum [2022-07-14T14:04:36.232Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 14 14:00 internal [2022-07-14T14:04:36.232Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 14 14:00 snap [2022-07-14T14:04:36.232Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 14 14:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T14:04:36.728Z] + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c --label arch=arm64 --label version=0.0.0 . [2022-07-14T14:04:37.015Z] Sending build context to Docker daemon 470kB [2022-07-14T14:04:37.306Z] Step 1/29 : ARG BASE=golang:1.17-alpine3.15 [2022-07-14T14:04:37.306Z] Step 2/29 : FROM ${BASE} AS builder [2022-07-14T14:04:37.306Z] ---> e1428b51841b [2022-07-14T14:04:37.306Z] Step 3/29 : ARG MAKE="make build" [2022-07-14T14:04:37.306Z] ---> Running in 771a74bb4a96 [2022-07-14T14:04:37.591Z] Removing intermediate container 771a74bb4a96 [2022-07-14T14:04:37.591Z] ---> a27e91008c11 [2022-07-14T14:04:37.591Z] Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-14T14:04:37.591Z] ---> Running in 97acb9f21005 [2022-07-14T14:04:37.865Z] Removing intermediate container 97acb9f21005 [2022-07-14T14:04:37.865Z] ---> 00431ad7b226 [2022-07-14T14:04:37.865Z] Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-14T14:04:38.139Z] ---> Running in ab211b08c617 [2022-07-14T14:04:38.414Z] Removing intermediate container ab211b08c617 [2022-07-14T14:04:38.414Z] ---> a6c0371c9f99 [2022-07-14T14:04:38.414Z] Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-14T14:04:38.414Z] ---> Running in b2d9c0cde5b7 [2022-07-14T14:04:39.856Z] Removing intermediate container b2d9c0cde5b7 [2022-07-14T14:04:39.856Z] ---> 6ffa36ce2ac2 [2022-07-14T14:04:39.856Z] Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-14T14:04:40.141Z] ---> Running in 6e6e66a39d69 [2022-07-14T14:04:41.118Z] fetch https://nl.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-14T14:04:42.090Z] fetch https://nl.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-14T14:04:42.685Z] OK: 228 MiB in 65 packages [2022-07-14T14:04:43.669Z] Removing intermediate container 6e6e66a39d69 [2022-07-14T14:04:43.669Z] ---> 3ca4d5ee3ae2 [2022-07-14T14:04:43.669Z] Step 8/29 : WORKDIR /device-usb-camera [2022-07-14T14:04:43.669Z] ---> Running in a19e7ff865a0 [2022-07-14T14:04:43.942Z] Removing intermediate container a19e7ff865a0 [2022-07-14T14:04:43.942Z] ---> 1d07d191ac8a [2022-07-14T14:04:43.942Z] Step 9/29 : COPY go.mod vendor* ./ [2022-07-14T14:04:44.540Z] ---> 776bd4f34652 [2022-07-14T14:04:44.540Z] Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-14T14:04:44.540Z] ---> Running in 7165b4f6cb4d [2022-07-14T14:04:46.520Z] Removing intermediate container 7165b4f6cb4d [2022-07-14T14:04:46.520Z] ---> ae065c21e7a7 [2022-07-14T14:04:46.520Z] Step 11/29 : COPY . . [2022-07-14T14:04:47.114Z] ---> d0c15212546e [2022-07-14T14:04:47.114Z] Step 12/29 : RUN ${MAKE} [2022-07-14T14:04:47.114Z] ---> Running in 2b5c34f2d7e7 [2022-07-14T14:04:48.091Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-07-14T14:07:10.006Z] Removing intermediate container 2b5c34f2d7e7 [2022-07-14T14:07:10.006Z] ---> 486d6a774c44 [2022-07-14T14:07:10.006Z] Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-14T14:07:10.006Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-14T14:07:10.006Z] eab2503cf8f4: Pulling fs layer [2022-07-14T14:07:10.006Z] 97cd0a44c592: Pulling fs layer [2022-07-14T14:07:10.006Z] eab2503cf8f4: Verifying Checksum [2022-07-14T14:07:10.006Z] eab2503cf8f4: Download complete [2022-07-14T14:07:10.006Z] eab2503cf8f4: Pull complete [2022-07-14T14:07:10.006Z] 97cd0a44c592: Pull complete [2022-07-14T14:07:10.006Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-14T14:07:10.006Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-14T14:07:10.006Z] ---> 7f763cca56b3 [2022-07-14T14:07:10.006Z] Step 14/29 : FROM alpine:3.15 [2022-07-14T14:07:10.006Z] 3.15: Pulling from library/alpine [2022-07-14T14:07:10.006Z] 9981e73032c8: Pulling fs layer [2022-07-14T14:07:10.006Z] 9981e73032c8: Verifying Checksum [2022-07-14T14:07:10.006Z] 9981e73032c8: Download complete [2022-07-14T14:07:10.006Z] 9981e73032c8: Pull complete [2022-07-14T14:07:10.006Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-14T14:07:10.006Z] Status: Downloaded newer image for alpine:3.15 [2022-07-14T14:07:10.006Z] ---> 3fb3c9af89a9 [2022-07-14T14:07:10.006Z] Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-14T14:07:10.006Z] ---> Running in 2a78b3f9a4bb [2022-07-14T14:07:10.006Z] Removing intermediate container 2a78b3f9a4bb [2022-07-14T14:07:10.006Z] ---> aed37ab38baf [2022-07-14T14:07:10.006Z] Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-14T14:07:10.006Z] ---> Running in 8e5d317102aa [2022-07-14T14:07:10.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-14T14:07:10.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-14T14:07:10.006Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-07-14T14:07:10.006Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-07-14T14:07:10.006Z] (3/73) Installing libxau (1.0.9-r0) [2022-07-14T14:07:10.006Z] (4/73) Installing libmd (1.0.3-r0) [2022-07-14T14:07:10.006Z] (5/73) Installing libbsd (0.11.3-r1) [2022-07-14T14:07:10.006Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-07-14T14:07:10.006Z] (7/73) Installing libxcb (1.14-r2) [2022-07-14T14:07:10.006Z] (8/73) Installing libx11 (1.7.2-r0) [2022-07-14T14:07:10.006Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-07-14T14:07:10.006Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-07-14T14:07:10.006Z] (11/73) Installing expat (2.4.7-r0) [2022-07-14T14:07:10.006Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-07-14T14:07:10.006Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-07-14T14:07:10.006Z] (14/73) Installing libpng (1.6.37-r1) [2022-07-14T14:07:10.006Z] (15/73) Installing freetype (2.11.1-r2) [2022-07-14T14:07:10.006Z] (16/73) Installing libuuid (2.37.4-r0) [2022-07-14T14:07:10.006Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-07-14T14:07:10.006Z] (18/73) Installing fribidi (1.0.11-r0) [2022-07-14T14:07:10.006Z] (19/73) Installing libffi (3.4.2-r1) [2022-07-14T14:07:10.006Z] (20/73) Installing libintl (0.21-r0) [2022-07-14T14:07:10.006Z] (21/73) Installing libblkid (2.37.4-r0) [2022-07-14T14:07:10.006Z] (22/73) Installing libmount (2.37.4-r0) [2022-07-14T14:07:10.006Z] (23/73) Installing pcre (8.45-r1) [2022-07-14T14:07:10.006Z] (24/73) Installing glib (2.70.1-r0) [2022-07-14T14:07:10.006Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-07-14T14:07:10.006Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-07-14T14:07:10.006Z] (27/73) Installing libass (0.15.2-r0) [2022-07-14T14:07:10.006Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-07-14T14:07:10.006Z] (29/73) Installing gmp (6.2.1-r1) [2022-07-14T14:07:10.006Z] (30/73) Installing nettle (3.7.3-r0) [2022-07-14T14:07:10.006Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-07-14T14:07:10.006Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-07-14T14:07:10.006Z] (33/73) Installing libunistring (0.9.10-r1) [2022-07-14T14:07:10.006Z] (34/73) Installing gnutls (3.7.1-r0) [2022-07-14T14:07:10.006Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) [2022-07-14T14:07:10.006Z] (36/73) Installing ncurses-libs (6.3_p20211120-r0) [2022-07-14T14:07:10.006Z] (37/73) Installing lame (3.100-r0) [2022-07-14T14:07:10.006Z] (38/73) Installing opus (1.3.1-r1) [2022-07-14T14:07:10.006Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-07-14T14:07:10.006Z] (40/73) Installing soxr (0.1.3-r2) [2022-07-14T14:07:10.006Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-07-14T14:07:10.006Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-14T14:07:10.006Z] (43/73) Installing libsrt (1.4.2-r1) [2022-07-14T14:07:10.006Z] (44/73) Installing libssh (0.9.6-r1) [2022-07-14T14:07:10.006Z] (45/73) Installing libogg (1.3.5-r0) [2022-07-14T14:07:10.006Z] (46/73) Installing libtheora (1.1.1-r16) [2022-07-14T14:07:10.006Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-07-14T14:07:10.006Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-07-14T14:07:10.006Z] (49/73) Installing libxext (1.3.4-r0) [2022-07-14T14:07:10.006Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-07-14T14:07:10.006Z] (51/73) Installing libdrm (2.4.109-r0) [2022-07-14T14:07:10.006Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-07-14T14:07:10.006Z] (53/73) Installing libva (2.13.0-r0) [2022-07-14T14:07:10.006Z] (54/73) Installing libvdpau (1.4-r0) [2022-07-14T14:07:10.006Z] (55/73) Installing vidstab (1.1.0-r1) [2022-07-14T14:07:10.006Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-07-14T14:07:10.006Z] (57/73) Installing libvpx (1.10.0-r0) [2022-07-14T14:07:10.006Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-07-14T14:07:10.006Z] (59/73) Installing libwebp (1.2.2-r0) [2022-07-14T14:07:10.006Z] (60/73) Installing x264-libs (20210613-r0) [2022-07-14T14:07:10.006Z] (61/73) Installing x265-libs (3.5-r0) [2022-07-14T14:07:10.006Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-07-14T14:07:10.006Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-07-14T14:07:10.006Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-07-14T14:07:10.006Z] (65/73) Installing udev-init-scripts (35-r0) [2022-07-14T14:07:10.006Z] Executing udev-init-scripts-35-r0.post-install [2022-07-14T14:07:10.006Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-14T14:07:10.006Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-07-14T14:07:10.006Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-07-14T14:07:10.006Z] (69/73) Installing kmod-libs (29-r2) [2022-07-14T14:07:10.006Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-07-14T14:07:10.006Z] (71/73) Installing libsodium (1.0.18-r0) [2022-07-14T14:07:10.006Z] (72/73) Installing libzmq (4.3.4-r0) [2022-07-14T14:07:10.006Z] (73/73) Installing zeromq (4.3.4-r0) [2022-07-14T14:07:10.006Z] Executing busybox-1.34.1-r5.trigger [2022-07-14T14:07:10.006Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-14T14:07:10.006Z] OK: 67 MiB in 87 packages [2022-07-14T14:07:10.006Z] Removing intermediate container 8e5d317102aa [2022-07-14T14:07:10.006Z] ---> eb527c4b386c [2022-07-14T14:07:10.006Z] Step 17/29 : WORKDIR / [2022-07-14T14:07:10.006Z] ---> Running in 372405985c68 [2022-07-14T14:07:10.006Z] Removing intermediate container 372405985c68 [2022-07-14T14:07:10.006Z] ---> 99c0d9ec0c46 [2022-07-14T14:07:10.006Z] Step 18/29 : COPY --from=builder /device-usb-camera/cmd / [2022-07-14T14:07:10.006Z] ---> a9431b81d1bc [2022-07-14T14:07:10.006Z] Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-14T14:07:10.603Z] ---> cdd61ac4e016 [2022-07-14T14:07:10.603Z] Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-14T14:07:11.200Z] ---> 1644c70b5d59 [2022-07-14T14:07:11.200Z] Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-14T14:07:11.802Z] ---> 78b41e6bb18c [2022-07-14T14:07:11.802Z] Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-14T14:07:12.408Z] ---> 04d2d974adbb [2022-07-14T14:07:12.408Z] Step 23/29 : COPY --from=rtsp /rtsp-simple-server / [2022-07-14T14:07:13.385Z] ---> 25727a398b65 [2022-07-14T14:07:13.385Z] Step 24/29 : EXPOSE 59983 [2022-07-14T14:07:13.665Z] ---> Running in beb5142a43ee [2022-07-14T14:07:13.938Z] Removing intermediate container beb5142a43ee [2022-07-14T14:07:13.938Z] ---> 315c76422ab0 [2022-07-14T14:07:13.938Z] Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-14T14:07:13.938Z] ---> Running in 1e3a035df622 [2022-07-14T14:07:14.212Z] Removing intermediate container 1e3a035df622 [2022-07-14T14:07:14.212Z] ---> 69dc044cb703 [2022-07-14T14:07:14.212Z] Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-14T14:07:14.212Z] ---> Running in 8a7ac0bac144 [2022-07-14T14:07:14.818Z] Removing intermediate container 8a7ac0bac144 [2022-07-14T14:07:14.818Z] ---> 8cb9aba351e9 [2022-07-14T14:07:14.818Z] Step 27/29 : LABEL arch=arm64 [2022-07-14T14:07:14.819Z] ---> Running in e827b35eb682 [2022-07-14T14:07:15.100Z] Removing intermediate container e827b35eb682 [2022-07-14T14:07:15.100Z] ---> 983656192910 [2022-07-14T14:07:15.100Z] Step 28/29 : LABEL git_sha=b0ee5d76f45011f899b8ffc92bea1ce84c2b3a6c [2022-07-14T14:07:15.100Z] ---> Running in f688b0fb7131 [2022-07-14T14:07:15.373Z] Removing intermediate container f688b0fb7131 [2022-07-14T14:07:15.373Z] ---> 75d03f69c317 [2022-07-14T14:07:15.373Z] Step 29/29 : LABEL version=0.0.0 [2022-07-14T14:07:15.373Z] ---> Running in 02e4a93d9013 [2022-07-14T14:07:15.647Z] Removing intermediate container 02e4a93d9013 [2022-07-14T14:07:15.647Z] ---> b9aeae73ae96 [2022-07-14T14:07:15.647Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-14T14:07:15.647Z] Successfully built b9aeae73ae96 [2022-07-14T14:07:15.921Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T14:07:16.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-14T14:07:16.712Z] [2022-07-14T14:07:16.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T14:07:17.135Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-14T14:07:17.411Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-14T14:07:17.411Z] 8998bd30e6a1: Pulling fs layer [2022-07-14T14:07:17.411Z] 04944245beec: Pulling fs layer [2022-07-14T14:07:17.411Z] 699f458cf7ca: Pulling fs layer [2022-07-14T14:07:17.411Z] 765212b225bb: Pulling fs layer [2022-07-14T14:07:17.411Z] f23df028b6ca: Pulling fs layer [2022-07-14T14:07:17.411Z] d65c8cfc05b1: Pulling fs layer [2022-07-14T14:07:17.411Z] 2437ff75d9bd: Pulling fs layer [2022-07-14T14:07:17.411Z] f23df028b6ca: Waiting [2022-07-14T14:07:17.411Z] d65c8cfc05b1: Waiting [2022-07-14T14:07:17.411Z] 2437ff75d9bd: Waiting [2022-07-14T14:07:17.411Z] 765212b225bb: Waiting [2022-07-14T14:07:17.411Z] 04944245beec: Verifying Checksum [2022-07-14T14:07:17.411Z] 765212b225bb: Download complete [2022-07-14T14:07:17.411Z] f23df028b6ca: Verifying Checksum [2022-07-14T14:07:17.411Z] f23df028b6ca: Download complete [2022-07-14T14:07:17.686Z] d65c8cfc05b1: Verifying Checksum [2022-07-14T14:07:17.686Z] d65c8cfc05b1: Download complete [2022-07-14T14:07:17.686Z] 699f458cf7ca: Verifying Checksum [2022-07-14T14:07:17.686Z] 699f458cf7ca: Download complete [2022-07-14T14:07:17.960Z] 8998bd30e6a1: Verifying Checksum [2022-07-14T14:07:17.960Z] 8998bd30e6a1: Download complete [2022-07-14T14:07:20.590Z] 2437ff75d9bd: Verifying Checksum [2022-07-14T14:07:20.590Z] 2437ff75d9bd: Download complete [2022-07-14T14:07:22.568Z] 8998bd30e6a1: Pull complete [2022-07-14T14:07:22.841Z] 04944245beec: Pull complete [2022-07-14T14:07:24.277Z] 699f458cf7ca: Pull complete [2022-07-14T14:07:24.551Z] 765212b225bb: Pull complete [2022-07-14T14:07:25.529Z] f23df028b6ca: Pull complete [2022-07-14T14:07:25.529Z] d65c8cfc05b1: Pull complete [2022-07-14T14:07:40.611Z] 2437ff75d9bd: Pull complete [2022-07-14T14:07:40.611Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-14T14:07:40.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-14T14:07:40.611Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T14:07:41.025Z] prd-ubuntu20.04-docker-arm64-4c-16g-19940 does not seem to be running inside a container [2022-07-14T14:07:41.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-14T14:07:43.598Z] $ docker top e143ae599b46d0e6d5c45161a17c7a3cb3800f25ea6ed9930b1fcba71c928691 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-14T14:07:44.686Z] ---> job-cost.sh [2022-07-14T14:07:44.686Z] lf-activate-venv: SKIPPING [2022-07-14T14:07:44.686Z] INFO: No Stack... [2022-07-14T14:07:44.963Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-14T14:07:45.945Z] INFO: Archiving Costs [Pipeline] sh [2022-07-14T14:07:46.637Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-07-14T14:07:46.637Z] + cut -d, -f6 [Pipeline] lock [2022-07-14T14:07:46.715Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] [2022-07-14T14:07:46.720Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] did not exist. Created. [2022-07-14T14:07:46.720Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-14T14:07:47.464Z] /w/workspace/device-usb-camera/1@tmp/durable-91984083/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-14T14:07:48.157Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-14T14:07:48.192Z] Warning: overwriting stash ‘stack-cost’ [2022-07-14T14:07:48.235Z] Stashed 1 file(s) [Pipeline] } [2022-07-14T14:07:48.252Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-50-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-14T14:07:48.334Z] $ docker stop --time=1 e143ae599b46d0e6d5c45161a17c7a3cb3800f25ea6ed9930b1fcba71c928691 [2022-07-14T14:07:49.843Z] $ docker rm -f e143ae599b46d0e6d5c45161a17c7a3cb3800f25ea6ed9930b1fcba71c928691 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-14T14:07:52.539Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-50/archives ] [2022-07-14T14:07:52.539Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-50/archives [2022-07-14T14:07:52.539Z] total 16 [2022-07-14T14:07:52.539Z] drwxr-xr-x 3 root root 4096 Jul 14 13:59 . [2022-07-14T14:07:52.539Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 14 13:59 .. [2022-07-14T14:07:52.539Z] drwxr-xr-x 2 root root 4096 Jul 14 13:59 cost [2022-07-14T14:07:52.539Z] -rw-r--r-- 1 root root 86 Jul 14 13:59 cost.csv [2022-07-14T14:07:52.539Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-50/archives [2022-07-14T14:07:52.539Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-50/archives [2022-07-14T14:07:52.539Z] total 16 [2022-07-14T14:07:52.539Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 13:59 . [2022-07-14T14:07:52.539Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 14 13:59 .. [2022-07-14T14:07:52.539Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 13:59 cost [2022-07-14T14:07:52.539Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 14 13:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-14T14:07:52.871Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T14:07:53.767Z] ---> package-listing.sh [2022-07-14T14:07:53.767Z] ++ facter osfamily [2022-07-14T14:07:53.767Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-14T14:07:54.030Z] + OS_FAMILY=debian [2022-07-14T14:07:54.030Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-50 [2022-07-14T14:07:54.030Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-14T14:07:54.030Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-14T14:07:54.030Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-14T14:07:54.030Z] + PACKAGES=/tmp/packages_start.txt [2022-07-14T14:07:54.030Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-50 ']' [2022-07-14T14:07:54.030Z] + PACKAGES=/tmp/packages_end.txt [2022-07-14T14:07:54.030Z] + case "${OS_FAMILY}" in [2022-07-14T14:07:54.030Z] + dpkg -l [2022-07-14T14:07:54.030Z] + grep '^ii' [2022-07-14T14:07:54.030Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-14T14:07:54.030Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-14T14:07:54.030Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-14T14:07:54.030Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-50 ']' [2022-07-14T14:07:54.030Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-50/archives/ [2022-07-14T14:07:54.030Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-50/archives/ [Pipeline] echo [2022-07-14T14:07:54.063Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-14T14:07:54.356Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-14T14:07:54.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-14T14:07:54.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-14T14:07:55.139Z] prd-ubuntu20.04-docker-8c-8g-19939 does not seem to be running inside a container [2022-07-14T14:07:55.178Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-50/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-50 -v /w/workspace/xfoundry_device-usb-camera_PR-50:/w/workspace/xfoundry_device-usb-camera_PR-50:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-50@tmp:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-14T14:07:55.477Z] $ docker top 81d3d176436463a583c5da24f843015910ff0e5e228eb51672b0d1fa99548ab4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-14T14:07:55.892Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-14T14:07:56.214Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-14T14:07:56.529Z] + ls /var/log/sa-host [2022-07-14T14:07:56.529Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-14T14:07:56.718Z] provisioning config files... [2022-07-14T14:07:56.728Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-50@tmp/config4332234431693537311tmp [Pipeline] { [Pipeline] echo [2022-07-14T14:07:56.772Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T14:07:57.086Z] ---> create-netrc.sh [Pipeline] } [2022-07-14T14:07:57.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-14T14:07:57.512Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-14T14:07:57.542Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T14:07:57.852Z] ---> sudo-logs.sh [2022-07-14T14:07:57.852Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-14T14:07:57.936Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T14:07:58.248Z] ---> job-cost.sh [2022-07-14T14:07:58.248Z] lf-activate-venv: SKIPPING [2022-07-14T14:07:58.248Z] DEBUG: total: 0.2199999988079071 [2022-07-14T14:07:58.248Z] INFO: Retrieving Stack Cost... [2022-07-14T14:07:58.509Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-14T14:07:59.096Z] INFO: Archiving Costs [Pipeline] echo [2022-07-14T14:07:59.136Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-14T14:07:59.454Z] ---> logs-deploy.sh [2022-07-14T14:07:59.454Z] lf-activate-venv: SKIPPING [2022-07-14T14:07:59.454Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-50/1 [2022-07-14T14:07:59.454Z] INFO: archiving workspace using pattern(s): [2022-07-14T14:08:00.394Z] Archives upload complete. [2022-07-14T14:08:00.394Z] INFO: archiving logs to Nexus