Pull request #170 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c0884966557fe3d7729708a8590c398099c0c67+6531ea4c41f254cf50b7bf163b00c66c5ab1611c (f3d47261e845f8bd30b1210e5f7771ba16f897ba) 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-ssh10315018422256567455.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh11146674417086080387.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-170/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-170/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4355656700300628822.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-170/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4510479214591056786.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh7015287791863668746.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-170/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-170/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8068975099743336216.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 Running on prd-ubuntu20.04-docker-8c-8g-8577 in /w/workspace/foundry_device-usb-camera_PR-170 [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/foundry_device-usb-camera_PR-170 # 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 Merging remotes/origin/main commit 6531ea4c41f254cf50b7bf163b00c66c5ab1611c into PR head commit 1c0884966557fe3d7729708a8590c398099c0c67 Merge succeeded, producing 1c0884966557fe3d7729708a8590c398099c0c67 Checking out Revision 1c0884966557fe3d7729708a8590c398099c0c67 (PR-170) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > 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/170/head:refs/remotes/origin/PR-170 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c0884966557fe3d7729708a8590c398099c0c67 # 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 6531ea4c41f254cf50b7bf163b00c66c5ab1611c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c0884966557fe3d7729708a8590c398099c0c67 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T18:02:12.982Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T18:02:13.156Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T18:02:13.249Z] ========================================================= [2023-03-07T18:02:13.249Z] EdgeX Global Pipelines Version Info [2023-03-07T18:02:13.249Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:02:14.000Z] ------------------- [2023-03-07T18:02:14.000Z] stable info: [2023-03-07T18:02:14.000Z] ------------------- [2023-03-07T18:02:14.000Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T18:02:14.000Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T18:02:14.000Z] Message: update stable to v1.0.244 [2023-03-07T18:02:14.573Z] ------------------- [2023-03-07T18:02:14.573Z] experimental info: [2023-03-07T18:02:14.573Z] ------------------- [2023-03-07T18:02:14.573Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T18:02:14.573Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T18:02:14.573Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T18:02:14.851Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-07T18:02:14.895Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-07T18:02:14.934Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T18:02:14.975Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T18:02:15.014Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T18:02:15.056Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T18:02:15.097Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T18:02:15.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-07T18:02:15.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T18:02:15.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T18:02:15.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T18:02:15.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-07T18:02:15.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T18:02:15.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T18:02:15.428Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T18:02:15.475Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T18:02:15.517Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T18:02:15.556Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T18:02:15.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T18:02:15.627Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T18:02:15.669Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-07T18:02:15.713Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-07T18:02:15.756Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T18:02:15.794Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T18:02:15.836Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T18:02:15.881Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T18:02:15.925Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T18:02:15.968Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-170 [Pipeline] echo [2023-03-07T18:02:16.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-170 [Pipeline] echo [2023-03-07T18:02:16.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-170 [Pipeline] echo [2023-03-07T18:02:16.095Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c0884966557fe3d7729708a8590c398099c0c67 [Pipeline] echo [2023-03-07T18:02:16.138Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c08849 [Pipeline] echo [2023-03-07T18:02:16.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:02:16.301Z] provisioning config files... [2023-03-07T18:02:16.314Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-170@tmp/config18171768152871021001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:02:16.674Z] ---> docker-login.sh [2023-03-07T18:02:16.674Z] nexus3.edgexfoundry.org:10001 [2023-03-07T18:02:16.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:02:16.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:02:16.935Z] Configure a credential helper to remove this warning. See [2023-03-07T18:02:16.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:02:16.935Z] [2023-03-07T18:02:16.935Z] Login Succeeded [2023-03-07T18:02:16.935Z] nexus3.edgexfoundry.org:10002 [2023-03-07T18:02:16.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:02:17.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:02:17.195Z] Configure a credential helper to remove this warning. See [2023-03-07T18:02:17.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:02:17.195Z] [2023-03-07T18:02:17.195Z] Login Succeeded [2023-03-07T18:02:17.195Z] nexus3.edgexfoundry.org:10003 [2023-03-07T18:02:17.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:02:17.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:02:17.195Z] Configure a credential helper to remove this warning. See [2023-03-07T18:02:17.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:02:17.195Z] [2023-03-07T18:02:17.195Z] Login Succeeded [2023-03-07T18:02:17.195Z] nexus3.edgexfoundry.org:10004 [2023-03-07T18:02:17.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:02:17.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:02:17.195Z] Configure a credential helper to remove this warning. See [2023-03-07T18:02:17.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:02:17.195Z] [2023-03-07T18:02:17.195Z] Login Succeeded [2023-03-07T18:02:17.195Z] docker.io [2023-03-07T18:02:17.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:02:17.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:02:17.457Z] Configure a credential helper to remove this warning. See [2023-03-07T18:02:17.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:02:17.457Z] [2023-03-07T18:02:17.457Z] Login Succeeded [2023-03-07T18:02:17.720Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T18:02:17.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T18:02:18.383Z] + git rev-list -1 --merges 1c0884966557fe3d7729708a8590c398099c0c67~1..1c0884966557fe3d7729708a8590c398099c0c67 [Pipeline] echo [2023-03-07T18:02:18.418Z] -----------> git rev-list -1 --merges 1c0884966557fe3d7729708a8590c398099c0c67~1..1c0884966557fe3d7729708a8590c398099c0c67 1c0884966557fe3d7729708a8590c398099c0c67 [false] [Pipeline] sh [2023-03-07T18:02:18.730Z] + git log --format=format:%s -1 1c0884966557fe3d7729708a8590c398099c0c67 [Pipeline] echo [2023-03-07T18:02:18.766Z] ========================================================= [2023-03-07T18:02:18.766Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T18:02:18.766Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T18:02:19.186Z] + git log --format=format:%s -1 1c0884966557fe3d7729708a8590c398099c0c67 [Pipeline] echo [2023-03-07T18:02:19.218Z] [semverPrep] GIT_COMMIT: 1c0884966557fe3d7729708a8590c398099c0c67, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-07T18:02:19.245Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T18:02:19.635Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T18:02:19.635Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T18:02:19.635Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T18:02:19.635Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T18:02:19.635Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T18:02:19.635Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T18:02:19.635Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:02:20.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T18:02:20.136Z] [2023-03-07T18:02:20.136Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:02:20.520Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T18:02:20.520Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T18:02:20.520Z] b85a868b505f: Pulling fs layer [2023-03-07T18:02:20.520Z] e2be974225ed: Pulling fs layer [2023-03-07T18:02:20.520Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T18:02:20.520Z] 988bab9f4d93: Pulling fs layer [2023-03-07T18:02:20.520Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T18:02:20.520Z] eaf3925da568: Pulling fs layer [2023-03-07T18:02:20.520Z] bab4dde63d76: Pulling fs layer [2023-03-07T18:02:20.520Z] bde34c3a00c8: Pulling fs layer [2023-03-07T18:02:20.520Z] b352a97aabf1: Pulling fs layer [2023-03-07T18:02:20.520Z] 4872d77fe225: Pulling fs layer [2023-03-07T18:02:20.520Z] 5851b861e8e6: Pulling fs layer [2023-03-07T18:02:20.520Z] 988bab9f4d93: Waiting [2023-03-07T18:02:20.520Z] 1469e6f7b9e6: Waiting [2023-03-07T18:02:20.520Z] eaf3925da568: Waiting [2023-03-07T18:02:20.520Z] bab4dde63d76: Waiting [2023-03-07T18:02:20.520Z] bde34c3a00c8: Waiting [2023-03-07T18:02:20.520Z] b352a97aabf1: Waiting [2023-03-07T18:02:20.520Z] 5851b861e8e6: Waiting [2023-03-07T18:02:20.520Z] 4872d77fe225: Waiting [2023-03-07T18:02:20.520Z] e2be974225ed: Verifying Checksum [2023-03-07T18:02:20.520Z] e2be974225ed: Download complete [2023-03-07T18:02:20.520Z] 988bab9f4d93: Verifying Checksum [2023-03-07T18:02:20.520Z] 988bab9f4d93: Download complete [2023-03-07T18:02:20.781Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T18:02:20.781Z] 1469e6f7b9e6: Download complete [2023-03-07T18:02:20.781Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T18:02:20.781Z] 339a4e72a1f5: Download complete [2023-03-07T18:02:20.781Z] eaf3925da568: Download complete [2023-03-07T18:02:20.781Z] bde34c3a00c8: Verifying Checksum [2023-03-07T18:02:20.781Z] bde34c3a00c8: Download complete [2023-03-07T18:02:20.781Z] b352a97aabf1: Verifying Checksum [2023-03-07T18:02:20.781Z] b352a97aabf1: Download complete [2023-03-07T18:02:20.781Z] 4872d77fe225: Verifying Checksum [2023-03-07T18:02:20.781Z] 4872d77fe225: Download complete [2023-03-07T18:02:20.781Z] 5851b861e8e6: Download complete [2023-03-07T18:02:20.781Z] b85a868b505f: Verifying Checksum [2023-03-07T18:02:20.781Z] b85a868b505f: Download complete [2023-03-07T18:02:21.041Z] bab4dde63d76: Verifying Checksum [2023-03-07T18:02:21.041Z] bab4dde63d76: Download complete [2023-03-07T18:02:21.975Z] b85a868b505f: Pull complete [2023-03-07T18:02:22.235Z] e2be974225ed: Pull complete [2023-03-07T18:02:22.808Z] 339a4e72a1f5: Pull complete [2023-03-07T18:02:22.808Z] 988bab9f4d93: Pull complete [2023-03-07T18:02:23.071Z] 1469e6f7b9e6: Pull complete [2023-03-07T18:02:23.071Z] eaf3925da568: Pull complete [2023-03-07T18:02:24.974Z] bab4dde63d76: Pull complete [2023-03-07T18:02:24.974Z] bde34c3a00c8: Pull complete [2023-03-07T18:02:24.974Z] b352a97aabf1: Pull complete [2023-03-07T18:02:24.974Z] 4872d77fe225: Pull complete [2023-03-07T18:02:24.974Z] 5851b861e8e6: Pull complete [2023-03-07T18:02:24.974Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T18:02:24.974Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T18:02:24.974Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:02:25.202Z] prd-ubuntu20.04-docker-8c-8g-8577 does not seem to be running inside a container [2023-03-07T18:02:25.247Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-170 -v /w/workspace/foundry_device-usb-camera_PR-170:/w/workspace/foundry_device-usb-camera_PR-170:rw,z -v /w/workspace/foundry_device-usb-camera_PR-170@tmp:/w/workspace/foundry_device-usb-camera_PR-170@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T18:02:30.277Z] $ docker top c37e948d3159082a6798bb21ebaaefaaec2be7eb9a031fa3a1023990aca6f2f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T18:02:30.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T18:02:30.447Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T18:02:30.563Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T18:02:30.578Z] $ docker exec c37e948d3159082a6798bb21ebaaefaaec2be7eb9a031fa3a1023990aca6f2f1 ssh-agent [2023-03-07T18:02:30.669Z] SSH_AUTH_SOCK=/tmp/ssh-ASf3SHFAgJoH/agent.32 [2023-03-07T18:02:30.669Z] SSH_AGENT_PID=38 [2023-03-07T18:02:30.675Z] Running ssh-add (command line suppressed) [2023-03-07T18:02:30.791Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-170@tmp/private_key_4301809218344175127.key (/w/workspace/foundry_device-usb-camera_PR-170@tmp/private_key_4301809218344175127.key) [2023-03-07T18:02:30.794Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T18:02:31.131Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T18:02:31.170Z] $ docker exec --env ******** --env ******** c37e948d3159082a6798bb21ebaaefaaec2be7eb9a031fa3a1023990aca6f2f1 ssh-agent -k [2023-03-07T18:02:31.265Z] unset SSH_AUTH_SOCK; [2023-03-07T18:02:31.267Z] unset SSH_AGENT_PID; [2023-03-07T18:02:31.267Z] echo Agent pid 38 killed; [2023-03-07T18:02:31.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T18:02:31.352Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T18:02:31.352Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T18:02:31.466Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T18:02:31.481Z] $ docker exec c37e948d3159082a6798bb21ebaaefaaec2be7eb9a031fa3a1023990aca6f2f1 ssh-agent [2023-03-07T18:02:31.587Z] SSH_AUTH_SOCK=/tmp/ssh-12ZNN8GggvMn/agent.70 [2023-03-07T18:02:31.587Z] SSH_AGENT_PID=76 [2023-03-07T18:02:31.592Z] Running ssh-add (command line suppressed) [2023-03-07T18:02:31.697Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-170@tmp/private_key_9234989972337664825.key (/w/workspace/foundry_device-usb-camera_PR-170@tmp/private_key_9234989972337664825.key) [2023-03-07T18:02:31.697Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T18:02:32.030Z] + git semver init [2023-03-07T18:02:32.599Z] 2023-03-07 18:02:32,419 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T18:02:32.599Z] 2023-03-07 18:02:32,420 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-170/.semver [2023-03-07T18:02:32.599Z] 2023-03-07 18:02:32,420 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-170/.semver [2023-03-07T18:02:32.599Z] 2023-03-07 18:02:32,420 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-170/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-170, universal_newlines=False, shell=None, istream=None) [2023-03-07T18:02:33.168Z] 2023-03-07 18:02:33,123 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-170/.git/info/exclude [2023-03-07T18:02:33.168Z] 2023-03-07 18:02:33,123 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-170/.semver/PR-170 with force:False [2023-03-07T18:02:33.169Z] 2023-03-07 18:02:33,124 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-170/.semver/PR-170 [2023-03-07T18:02:33.169Z] 2023-03-07 18:02:33,127 [execute] INFO git cat-file --batch-check [2023-03-07T18:02:33.169Z] 2023-03-07 18:02:33,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-170/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T18:02:33.169Z] 2023-03-07 18:02:33,135 [execute] INFO git cat-file --batch [2023-03-07T18:02:33.169Z] 2023-03-07 18:02:33,135 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-170/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T18:02:33.169Z] 2023-03-07 18:02:33,141 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-170/.semver/PR-170 [2023-03-07T18:02:33.169Z] 0.0.0 [Pipeline] } [2023-03-07T18:02:33.204Z] $ docker exec --env ******** --env ******** c37e948d3159082a6798bb21ebaaefaaec2be7eb9a031fa3a1023990aca6f2f1 ssh-agent -k [2023-03-07T18:02:33.309Z] unset SSH_AUTH_SOCK; [2023-03-07T18:02:33.309Z] unset SSH_AGENT_PID; [2023-03-07T18:02:33.309Z] echo Agent pid 76 killed; [2023-03-07T18:02:33.306Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T18:02:33.744Z] + git semver [Pipeline] } [2023-03-07T18:02:34.040Z] $ docker stop --time=1 c37e948d3159082a6798bb21ebaaefaaec2be7eb9a031fa3a1023990aca6f2f1 [2023-03-07T18:02:35.342Z] $ docker rm -f --volumes c37e948d3159082a6798bb21ebaaefaaec2be7eb9a031fa3a1023990aca6f2f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T18:02:35.733Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T18:02:36.028Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T18:02:36.047Z] [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] { [2023-03-07T18:02:36.576Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8589 in /w/workspace/foundry_device-usb-camera_PR-170 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:02:36.643Z] provisioning config files... [2023-03-07T18:02:36.653Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-170@tmp/config16209214920552722878tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-03-07T18:02:36.807Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-07T18:02:36.885Z] Selected Git installation does not exist. Using Default [2023-03-07T18:02:36.885Z] The recommended git tool is: NONE [2023-03-07T18:02:37.020Z] ---> docker-login.sh [2023-03-07T18:02:37.020Z] nexus3.edgexfoundry.org:10001 [2023-03-07T18:02:37.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:02:37.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:02:37.020Z] Configure a credential helper to remove this warning. See [2023-03-07T18:02:37.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:02:37.020Z] [2023-03-07T18:02:37.020Z] Login Succeeded [2023-03-07T18:02:37.020Z] nexus3.edgexfoundry.org:10002 [2023-03-07T18:02:37.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:02:37.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:02:37.020Z] Configure a credential helper to remove this warning. See [2023-03-07T18:02:37.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:02:37.020Z] [2023-03-07T18:02:37.020Z] Login Succeeded [2023-03-07T18:02:37.020Z] nexus3.edgexfoundry.org:10003 [2023-03-07T18:02:37.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:02:37.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:02:37.280Z] Configure a credential helper to remove this warning. See [2023-03-07T18:02:37.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:02:37.280Z] [2023-03-07T18:02:37.280Z] Login Succeeded [2023-03-07T18:02:37.280Z] nexus3.edgexfoundry.org:10004 [2023-03-07T18:02:37.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:02:37.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:02:37.280Z] Configure a credential helper to remove this warning. See [2023-03-07T18:02:37.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:02:37.280Z] [2023-03-07T18:02:37.280Z] Login Succeeded [2023-03-07T18:02:37.280Z] docker.io [2023-03-07T18:02:37.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:02:37.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:02:37.539Z] Configure a credential helper to remove this warning. See [2023-03-07T18:02:37.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:02:37.539Z] [2023-03-07T18:02:37.539Z] Login Succeeded [2023-03-07T18:02:37.539Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T18:02:37.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T18:02:37.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:02:37.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:02:37.845Z] ========================================================= [2023-03-07T18:02:37.845Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T18:02:37.845Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:02:38.307Z] + 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 . [2023-03-07T18:02:38.307Z] Sending build context to Docker daemon 1.788MB [2023-03-07T18:02:38.307Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:02:38.307Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-07T18:02:38.307Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T18:02:38.307Z] 213ec9aee27d: Pulling fs layer [2023-03-07T18:02:38.307Z] 4583459ba037: Pulling fs layer [2023-03-07T18:02:38.307Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T18:02:38.307Z] 53926ce57604: Pulling fs layer [2023-03-07T18:02:38.307Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T18:02:38.307Z] 22ff95d597cd: Pulling fs layer [2023-03-07T18:02:38.307Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T18:02:38.307Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T18:02:38.307Z] a7acece74701: Pulling fs layer [2023-03-07T18:02:38.307Z] 22ff95d597cd: Waiting [2023-03-07T18:02:38.307Z] 12d6caf4c0d1: Waiting [2023-03-07T18:02:38.307Z] 96b7cbca73a9: Waiting [2023-03-07T18:02:38.307Z] a7acece74701: Waiting [2023-03-07T18:02:38.307Z] 53926ce57604: Waiting [2023-03-07T18:02:38.307Z] 21b2b0c7a3f4: Waiting [2023-03-07T18:02:38.307Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T18:02:38.307Z] 93c1e223e6f2: Download complete [2023-03-07T18:02:38.307Z] 4583459ba037: Download complete [2023-03-07T18:02:38.307Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T18:02:38.307Z] 21b2b0c7a3f4: Download complete [2023-03-07T18:02:38.569Z] 213ec9aee27d: Verifying Checksum [2023-03-07T18:02:38.569Z] 213ec9aee27d: Download complete [2023-03-07T18:02:38.569Z] 22ff95d597cd: Verifying Checksum [2023-03-07T18:02:38.569Z] 22ff95d597cd: Download complete [2023-03-07T18:02:38.569Z] 12d6caf4c0d1: Download complete [2023-03-07T18:02:38.569Z] 213ec9aee27d: Pull complete [2023-03-07T18:02:38.569Z] 4583459ba037: Pull complete [2023-03-07T18:02:38.833Z] 93c1e223e6f2: Pull complete [2023-03-07T18:02:38.833Z] a7acece74701: Verifying Checksum [2023-03-07T18:02:38.833Z] a7acece74701: Download complete [2023-03-07T18:02:39.093Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T18:02:39.093Z] 96b7cbca73a9: Download complete [2023-03-07T18:02:39.352Z] 53926ce57604: Verifying Checksum [2023-03-07T18:02:39.352Z] 53926ce57604: Download complete [2023-03-07T18:02:41.342Z] using credential edgex-jenkins-ssh [2023-03-07T18:02:41.364Z] Cloning the remote Git repository [2023-03-07T18:02:41.412Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-07T18:02:41.477Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-03-07T18:02:42.641Z] 53926ce57604: Pull complete [2023-03-07T18:02:42.641Z] 21b2b0c7a3f4: Pull complete [2023-03-07T18:02:42.641Z] 22ff95d597cd: Pull complete [2023-03-07T18:02:42.903Z] 12d6caf4c0d1: Pull complete [2023-03-07T18:02:42.544Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-07T18:02:42.545Z] > git --version # timeout=10 [2023-03-07T18:02:42.568Z] > git --version # 'git version 2.25.1' [2023-03-07T18:02:42.577Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T18:02:42.633Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T18:02:43.392Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-07T18:02:43.429Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T18:02:44.915Z] Merging remotes/origin/main commit 6531ea4c41f254cf50b7bf163b00c66c5ab1611c into PR head commit 1c0884966557fe3d7729708a8590c398099c0c67 [2023-03-07T18:02:45.203Z] Merge succeeded, producing 1c0884966557fe3d7729708a8590c398099c0c67 [2023-03-07T18:02:45.204Z] Checking out Revision 1c0884966557fe3d7729708a8590c398099c0c67 (PR-170) [2023-03-07T18:02:45.436Z] 96b7cbca73a9: Pull complete [2023-03-07T18:02:44.346Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-07T18:02:44.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-07T18:02:44.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T18:02:44.397Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T18:02:44.938Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T18:02:44.955Z] > git checkout -f 1c0884966557fe3d7729708a8590c398099c0c67 # timeout=10 [2023-03-07T18:02:45.071Z] > git remote # timeout=10 [2023-03-07T18:02:45.092Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T18:02:45.130Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T18:02:45.150Z] > git merge 6531ea4c41f254cf50b7bf163b00c66c5ab1611c # timeout=10 [2023-03-07T18:02:45.177Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T18:02:45.210Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T18:02:45.226Z] > git checkout -f 1c0884966557fe3d7729708a8590c398099c0c67 # timeout=10 [2023-03-07T18:02:45.682Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-07T18:02:45.696Z] a7acece74701: Pull complete [2023-03-07T18:02:45.696Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T18:02:45.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T18:02:45.696Z] ---> db6d94c90886 [2023-03-07T18:02:45.696Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-07T18:02:45.735Z] > git --version # timeout=10 [2023-03-07T18:02:45.752Z] > git --version # 'git version 2.25.1' [2023-03-07T18:02:45.785Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T18:02:46.807Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T18:02:46.807Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T18:02:46.807Z] Dload Upload Total Spent Left Speed [2023-03-07T18:02:46.807Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2023-03-07T18:02:47.454Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T18:02:47.803Z] + sudo tee /etc/docker/daemon.new [2023-03-07T18:02:47.803Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T18:02:47.803Z] { [2023-03-07T18:02:47.803Z] "registry-mirrors": [ [2023-03-07T18:02:47.803Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T18:02:47.803Z] ], [2023-03-07T18:02:47.803Z] "bip": "10.250.0.254/24", [2023-03-07T18:02:47.803Z] "hosts": [ [2023-03-07T18:02:47.803Z] "tcp://0.0.0.0:5555", [2023-03-07T18:02:47.803Z] "unix:///var/run/docker.sock" [2023-03-07T18:02:47.803Z] ], [2023-03-07T18:02:47.803Z] "mtu": 1458, [2023-03-07T18:02:47.803Z] "selinux-enabled": true, [2023-03-07T18:02:47.803Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T18:02:47.803Z] } [Pipeline] sh [2023-03-07T18:02:48.162Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T18:02:48.514Z] + sudo service docker restart [2023-03-07T18:02:58.012Z] ---> Running in 99de914c3654 [2023-03-07T18:02:58.012Z] Removing intermediate container 99de914c3654 [2023-03-07T18:02:58.012Z] ---> 74637985e55a [2023-03-07T18:02:58.012Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T18:02:58.012Z] ---> Running in 6eca5d21e87a [2023-03-07T18:02:58.012Z] Removing intermediate container 6eca5d21e87a [2023-03-07T18:02:58.012Z] ---> f0140b907d09 [2023-03-07T18:02:58.012Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-07T18:02:58.012Z] ---> Running in 71221725176c [2023-03-07T18:02:58.012Z] Removing intermediate container 71221725176c [2023-03-07T18:02:58.012Z] ---> 033c1a49f601 [2023-03-07T18:02:58.012Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-07T18:02:58.012Z] ---> Running in 4a6c2175ec15 [2023-03-07T18:02:58.012Z] Removing intermediate container 4a6c2175ec15 [2023-03-07T18:02:58.012Z] ---> 7b78514a3366 [2023-03-07T18:02:58.012Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T18:02:58.012Z] ---> Running in afcc6e25aca0 [2023-03-07T18:02:58.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T18:02:58.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T18:02:58.012Z] (1/80) Installing mesa (21.3.9-r0) [2023-03-07T18:02:58.012Z] (2/80) Installing libxau (1.0.9-r0) [2023-03-07T18:02:58.012Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-03-07T18:02:58.012Z] (4/80) Installing libxcb (1.15-r0) [2023-03-07T18:02:58.012Z] (5/80) Installing libx11 (1.8-r0) [2023-03-07T18:02:58.012Z] (6/80) Installing libxext (1.3.4-r0) [2023-03-07T18:02:58.012Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-03-07T18:02:58.012Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-03-07T18:02:58.012Z] (9/80) Installing libpciaccess (0.16-r0) [2023-03-07T18:02:58.012Z] (10/80) Installing libdrm (2.4.110-r0) [2023-03-07T18:02:58.012Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-03-07T18:02:58.012Z] (12/80) Installing libxshmfence (1.3-r1) [2023-03-07T18:02:58.012Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-03-07T18:02:58.012Z] (14/80) Installing icu-data-full (71.1-r2) [2023-03-07T18:02:58.271Z] (15/80) Installing libice (1.0.10-r0) [2023-03-07T18:02:58.271Z] (16/80) Installing libuuid (2.38-r1) [2023-03-07T18:02:58.271Z] (17/80) Installing libsm (1.2.3-r0) [2023-03-07T18:02:58.271Z] (18/80) Installing libxt (1.2.1-r0) [2023-03-07T18:02:58.271Z] (19/80) Installing libxmu (1.1.3-r0) [2023-03-07T18:02:58.271Z] (20/80) Installing xset (1.2.4-r0) [2023-03-07T18:02:58.271Z] (21/80) Installing xprop (1.2.5-r0) [2023-03-07T18:02:58.271Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-03-07T18:02:58.271Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-03-07T18:02:58.271Z] (24/80) Installing libffi (3.4.2-r1) [2023-03-07T18:02:58.271Z] (25/80) Installing libintl (0.21-r2) [2023-03-07T18:02:58.271Z] (26/80) Installing libblkid (2.38-r1) [2023-03-07T18:02:58.271Z] (27/80) Installing libmount (2.38-r1) [2023-03-07T18:02:58.271Z] (28/80) Installing pcre (8.45-r2) [2023-03-07T18:02:58.271Z] (29/80) Installing glib (2.72.1-r0) [2023-03-07T18:02:58.271Z] (30/80) Installing icu-libs (71.1-r2) [2023-03-07T18:02:58.271Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-03-07T18:02:58.271Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-03-07T18:02:58.271Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-03-07T18:02:58.531Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-03-07T18:02:58.531Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-03-07T18:02:58.531Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-03-07T18:02:58.531Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-03-07T18:02:58.531Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-03-07T18:02:59.100Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-03-07T18:02:59.100Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-03-07T18:02:59.100Z] (41/80) Installing libpng (1.6.37-r1) [2023-03-07T18:02:59.100Z] (42/80) Installing freetype (2.12.1-r0) [2023-03-07T18:02:59.100Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-03-07T18:02:59.100Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-03-07T18:02:59.100Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-03-07T18:02:59.100Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-03-07T18:02:59.100Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-03-07T18:02:59.100Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-03-07T18:02:59.100Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-03-07T18:02:59.100Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-03-07T18:02:59.667Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-03-07T18:02:59.667Z] (52/80) Installing avahi-libs (0.8-r6) [2023-03-07T18:02:59.667Z] (53/80) Installing nettle (3.7.3-r0) [2023-03-07T18:02:59.667Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-03-07T18:02:59.667Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-03-07T18:02:59.667Z] (56/80) Installing libunistring (1.0-r0) [2023-03-07T18:02:59.667Z] (57/80) Installing gnutls (3.7.7-r1) [2023-03-07T18:02:59.667Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-03-07T18:02:59.667Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-03-07T18:02:59.667Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-03-07T18:02:59.667Z] (61/80) Installing libevdev (1.12.1-r0) [2023-03-07T18:02:59.667Z] (62/80) Installing mtdev (1.1.6-r0) [2023-03-07T18:02:59.667Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-03-07T18:02:59.667Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-03-07T18:02:59.667Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-03-07T18:02:59.667Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-03-07T18:02:59.667Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-03-07T18:02:59.667Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-03-07T18:02:59.667Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-03-07T18:02:59.925Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-03-07T18:02:59.925Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-03-07T18:02:59.925Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-03-07T18:03:00.184Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-03-07T18:03:00.184Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-03-07T18:03:00.184Z] (75/80) Installing udev-init-scripts (35-r0) [2023-03-07T18:03:00.184Z] Executing udev-init-scripts-35-r0.post-install [2023-03-07T18:03:00.184Z] (76/80) Installing kmod-libs (29-r2) [2023-03-07T18:03:00.184Z] (77/80) Installing eudev (3.2.11-r0) [2023-03-07T18:03:00.184Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-03-07T18:03:00.184Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-07T18:03:00.444Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-03-07T18:03:00.444Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T18:03:00.444Z] Executing eudev-3.2.11-r0.trigger [2023-03-07T18:03:00.444Z] OK: 331 MiB in 131 packages [2023-03-07T18:03:05.719Z] Removing intermediate container afcc6e25aca0 [2023-03-07T18:03:05.719Z] ---> 37f60324889e [2023-03-07T18:03:05.719Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-07T18:03:05.719Z] ---> Running in d2771546f3d6 [2023-03-07T18:03:05.719Z] Removing intermediate container d2771546f3d6 [2023-03-07T18:03:05.719Z] ---> d84888d235d9 [2023-03-07T18:03:05.719Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-07T18:03:05.977Z] ---> 65d9164d5dfd [2023-03-07T18:03:05.977Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:03:05.977Z] ---> Running in d6a2d11ee597 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:03:06.848Z] provisioning config files... [2023-03-07T18:03:06.878Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config8606375990819343377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:03:07.275Z] ---> docker-login.sh [2023-03-07T18:03:07.275Z] nexus3.edgexfoundry.org:10001 [2023-03-07T18:03:07.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:03:07.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:03:07.872Z] Configure a credential helper to remove this warning. See [2023-03-07T18:03:07.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:03:07.872Z] [2023-03-07T18:03:07.872Z] Login Succeeded [2023-03-07T18:03:07.872Z] nexus3.edgexfoundry.org:10002 [2023-03-07T18:03:08.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:03:08.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:03:08.422Z] Configure a credential helper to remove this warning. See [2023-03-07T18:03:08.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:03:08.422Z] [2023-03-07T18:03:08.422Z] Login Succeeded [2023-03-07T18:03:08.422Z] nexus3.edgexfoundry.org:10003 [2023-03-07T18:03:08.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:03:08.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:03:08.691Z] Configure a credential helper to remove this warning. See [2023-03-07T18:03:08.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:03:08.691Z] [2023-03-07T18:03:08.691Z] Login Succeeded [2023-03-07T18:03:08.691Z] nexus3.edgexfoundry.org:10004 [2023-03-07T18:03:08.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:03:08.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:03:08.960Z] Configure a credential helper to remove this warning. See [2023-03-07T18:03:08.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:03:08.960Z] [2023-03-07T18:03:08.960Z] Login Succeeded [2023-03-07T18:03:08.960Z] docker.io [2023-03-07T18:03:09.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:03:09.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:03:09.500Z] Configure a credential helper to remove this warning. See [2023-03-07T18:03:09.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:03:09.500Z] [2023-03-07T18:03:09.500Z] Login Succeeded [2023-03-07T18:03:09.500Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T18:03:09.529Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T18:03:09.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:03:09.892Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:03:09.922Z] ========================================================= [2023-03-07T18:03:09.922Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T18:03:09.922Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:03:10.427Z] + 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 . [2023-03-07T18:03:10.696Z] Sending build context to Docker daemon 1.15MB [2023-03-07T18:03:10.696Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:03:10.696Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-07T18:03:10.966Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T18:03:10.966Z] 9b18e9b68314: Pulling fs layer [2023-03-07T18:03:10.966Z] 35d82f9e3411: Pulling fs layer [2023-03-07T18:03:10.966Z] e16973657156: Pulling fs layer [2023-03-07T18:03:10.966Z] fc693d55d65f: Pulling fs layer [2023-03-07T18:03:10.966Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T18:03:10.966Z] dda99020689f: Pulling fs layer [2023-03-07T18:03:10.966Z] db1c61fa0a46: Pulling fs layer [2023-03-07T18:03:10.966Z] 891c053d2c06: Pulling fs layer [2023-03-07T18:03:10.966Z] dda99020689f: Waiting [2023-03-07T18:03:10.966Z] fc693d55d65f: Waiting [2023-03-07T18:03:10.966Z] db1c61fa0a46: Waiting [2023-03-07T18:03:10.966Z] 7e9fc2657dce: Waiting [2023-03-07T18:03:10.966Z] 891c053d2c06: Waiting [2023-03-07T18:03:10.966Z] e16973657156: Verifying Checksum [2023-03-07T18:03:10.966Z] e16973657156: Download complete [2023-03-07T18:03:10.966Z] 35d82f9e3411: Download complete [2023-03-07T18:03:10.966Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T18:03:10.966Z] 7e9fc2657dce: Download complete [2023-03-07T18:03:10.966Z] dda99020689f: Verifying Checksum [2023-03-07T18:03:10.966Z] dda99020689f: Download complete [2023-03-07T18:03:10.966Z] 9b18e9b68314: Verifying Checksum [2023-03-07T18:03:10.966Z] 9b18e9b68314: Download complete [2023-03-07T18:03:11.934Z] 9b18e9b68314: Pull complete [2023-03-07T18:03:12.202Z] 891c053d2c06: Verifying Checksum [2023-03-07T18:03:12.202Z] 891c053d2c06: Download complete [2023-03-07T18:03:12.473Z] 35d82f9e3411: Pull complete [2023-03-07T18:03:12.745Z] e16973657156: Pull complete [2023-03-07T18:03:13.336Z] db1c61fa0a46: Verifying Checksum [2023-03-07T18:03:13.336Z] db1c61fa0a46: Download complete [2023-03-07T18:03:13.929Z] fc693d55d65f: Verifying Checksum [2023-03-07T18:03:13.929Z] fc693d55d65f: Download complete [2023-03-07T18:03:26.293Z] fc693d55d65f: Pull complete [2023-03-07T18:03:26.294Z] 7e9fc2657dce: Pull complete [2023-03-07T18:03:26.294Z] dda99020689f: Pull complete [2023-03-07T18:03:32.950Z] db1c61fa0a46: Pull complete [2023-03-07T18:03:34.906Z] 891c053d2c06: Pull complete [2023-03-07T18:03:34.906Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T18:03:34.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T18:03:35.175Z] ---> f96f9c87975a [2023-03-07T18:03:35.175Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-07T18:03:37.122Z] ---> Running in fcd4152546e0 [2023-03-07T18:03:37.122Z] Removing intermediate container fcd4152546e0 [2023-03-07T18:03:37.122Z] ---> d75090cdf79d [2023-03-07T18:03:37.122Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T18:03:37.122Z] ---> Running in 362c108e3730 [2023-03-07T18:03:37.391Z] Removing intermediate container 362c108e3730 [2023-03-07T18:03:37.391Z] ---> bf14d8d5c6d7 [2023-03-07T18:03:37.391Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-07T18:03:37.391Z] ---> Running in 7b8a86017807 [2023-03-07T18:03:37.659Z] Removing intermediate container 7b8a86017807 [2023-03-07T18:03:37.659Z] ---> 3471faddc7c8 [2023-03-07T18:03:37.659Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-07T18:03:37.930Z] ---> Running in d94ec3c0a7c9 [2023-03-07T18:03:38.198Z] Removing intermediate container d94ec3c0a7c9 [2023-03-07T18:03:38.198Z] ---> 8e7ef0559dec [2023-03-07T18:03:38.198Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T18:03:38.198Z] ---> Running in 0e20ffb82786 [2023-03-07T18:03:39.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T18:03:39.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T18:03:40.381Z] (1/14) Installing libintl (0.21-r2) [2023-03-07T18:03:40.381Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-03-07T18:03:40.381Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-03-07T18:03:40.381Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-03-07T18:03:40.381Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-03-07T18:03:40.381Z] (6/14) Installing udev-init-scripts (35-r0) [2023-03-07T18:03:40.381Z] Executing udev-init-scripts-35-r0.post-install [2023-03-07T18:03:40.381Z] (7/14) Installing libblkid (2.38-r1) [2023-03-07T18:03:40.647Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-03-07T18:03:40.647Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-03-07T18:03:40.647Z] (10/14) Installing kmod-libs (29-r2) [2023-03-07T18:03:40.647Z] (11/14) Installing eudev (3.2.11-r0) [2023-03-07T18:03:40.647Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-03-07T18:03:40.913Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-07T18:03:41.183Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-03-07T18:03:41.183Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T18:03:41.183Z] Executing eudev-3.2.11-r0.trigger [2023-03-07T18:03:41.183Z] OK: 228 MiB in 65 packages [2023-03-07T18:03:42.146Z] Removing intermediate container 0e20ffb82786 [2023-03-07T18:03:42.146Z] ---> 82ea891a8a88 [2023-03-07T18:03:42.146Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-07T18:03:42.429Z] ---> Running in 9c508d465326 [2023-03-07T18:03:42.429Z] Removing intermediate container 9c508d465326 [2023-03-07T18:03:42.429Z] ---> c2e9c66d357f [2023-03-07T18:03:42.429Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-07T18:03:43.017Z] ---> 141622381673 [2023-03-07T18:03:43.017Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:03:43.017Z] ---> Running in 915b8f454a55 [2023-03-07T18:03:52.676Z] Removing intermediate container d6a2d11ee597 [2023-03-07T18:03:52.676Z] ---> 2219723473a5 [2023-03-07T18:03:52.676Z] Step 11/13 : COPY . . [2023-03-07T18:03:52.935Z] ---> dbbbc27e9f91 [2023-03-07T18:03:52.935Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-07T18:03:52.935Z] ---> Running in 516b98ced876 [2023-03-07T18:03:53.193Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T18:03:53.193Z] Dload Upload Total Spent Left Speed [2023-03-07T18:03:53.453Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9577 0 --:--:-- --:--:-- --:--:-- 9654 [2023-03-07T18:03:53.713Z] Removing intermediate container 516b98ced876 [2023-03-07T18:03:53.713Z] ---> 8454d3e033ba [2023-03-07T18:03:53.713Z] Step 13/13 : RUN ${MAKE} [2023-03-07T18:03:53.713Z] ---> Running in 8f67f472ecbf [2023-03-07T18:03:53.973Z] noop [2023-03-07T18:03:54.232Z] Removing intermediate container 8f67f472ecbf [2023-03-07T18:03:54.232Z] ---> 813ebe850d04 [2023-03-07T18:03:54.232Z] Successfully built 813ebe850d04 [2023-03-07T18:03:54.232Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:03:54.698Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T18:03:54.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:03:54.862Z] prd-ubuntu20.04-docker-8c-8g-8577 does not seem to be running inside a container [2023-03-07T18:03:54.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-170 -v /w/workspace/foundry_device-usb-camera_PR-170:/w/workspace/foundry_device-usb-camera_PR-170:rw,z -v /w/workspace/foundry_device-usb-camera_PR-170@tmp:/w/workspace/foundry_device-usb-camera_PR-170@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 ******** ci-base-image-x86_64 cat [2023-03-07T18:03:55.232Z] $ docker top b32df38c5e3be2ec920dedbfc32317a1d167eadf66c5120b1c128c5abd3aa811 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:03:55.610Z] + go version [2023-03-07T18:03:55.610Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T18:03:55.658Z] $ docker stop --time=1 b32df38c5e3be2ec920dedbfc32317a1d167eadf66c5120b1c128c5abd3aa811 [2023-03-07T18:03:56.970Z] $ docker rm -f --volumes b32df38c5e3be2ec920dedbfc32317a1d167eadf66c5120b1c128c5abd3aa811 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:03:57.719Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T18:03:57.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:03:57.875Z] prd-ubuntu20.04-docker-8c-8g-8577 does not seem to be running inside a container [2023-03-07T18:03:57.925Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-170 -v /w/workspace/foundry_device-usb-camera_PR-170:/w/workspace/foundry_device-usb-camera_PR-170:rw,z -v /w/workspace/foundry_device-usb-camera_PR-170@tmp:/w/workspace/foundry_device-usb-camera_PR-170@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 ******** ci-base-image-x86_64 cat [2023-03-07T18:03:58.259Z] $ docker top e8aacef4e4367de4a2e448bfabd094bedb4bb0075b855c17a086f4b043e0afaf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:03:58.641Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-170 [Pipeline] fileExists [Pipeline] sh [2023-03-07T18:03:59.000Z] + make test [2023-03-07T18:03:59.000Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T18:03:59.258Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-07T18:04:09.232Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-07T18:04:09.232Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.012s coverage: 2.0% of statements [2023-03-07T18:04:15.805Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-07T18:04:15.805Z] go vet ./... [2023-03-07T18:04:19.089Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T18:04:19.089Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T18:04:19.089Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T18:04:19.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T18:04:19.170Z] $ docker stop --time=1 e8aacef4e4367de4a2e448bfabd094bedb4bb0075b855c17a086f4b043e0afaf [2023-03-07T18:04:22.042Z] $ docker rm -f --volumes e8aacef4e4367de4a2e448bfabd094bedb4bb0075b855c17a086f4b043e0afaf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T18:04:22.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T18:04:22.634Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T18:04:23.275Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T18:04:23.590Z] + ls -al . [2023-03-07T18:04:23.590Z] total 188 [2023-03-07T18:04:23.590Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 18:03 . [2023-03-07T18:04:23.590Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:02 .. [2023-03-07T18:04:23.590Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:04 .git [2023-03-07T18:04:23.590Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:02 .github [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 7 18:02 .gitignore [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 18:02 .golangci.yml [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 7 18:02 .hadolint.yml [2023-03-07T18:04:23.590Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:02 .semver [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 9660 Mar 7 18:02 Attribution.txt [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 7 18:02 CHANGELOG.md [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 2328 Mar 7 18:02 Dockerfile [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 7 18:02 GOVERNANCE.md [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 659 Mar 7 18:02 Jenkinsfile [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 18:02 LICENSE [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 2329 Mar 7 18:02 Makefile [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 7 18:02 OWNERS.md [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 5271 Mar 7 18:02 README.md [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 18:02 VERSION [2023-03-07T18:04:23.590Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:02 bin [2023-03-07T18:04:23.590Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:02 cmd [2023-03-07T18:04:23.590Z] -rw-r--r-- 1 jenkins jenkins 28352 Mar 7 18:04 coverage.out [2023-03-07T18:04:23.590Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 7 18:02 docker-entrypoint.sh [2023-03-07T18:04:23.590Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:02 docs [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 3487 Mar 7 18:02 go.mod [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 31547 Mar 7 18:02 go.sum [2023-03-07T18:04:23.590Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:02 internal [2023-03-07T18:04:23.590Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:02 snap [2023-03-07T18:04:23.590Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 7 18:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:04:23.974Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=1c0884966557fe3d7729708a8590c398099c0c67 --label arch=amd64 --label version=0.0.0 . [2023-03-07T18:04:23.974Z] Sending build context to Docker daemon 1.817MB [2023-03-07T18:04:23.974Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:04:23.974Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-07T18:04:23.974Z] ---> 813ebe850d04 [2023-03-07T18:04:23.974Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-07T18:04:23.974Z] ---> Running in 6021c9838875 [2023-03-07T18:04:23.974Z] Removing intermediate container 6021c9838875 [2023-03-07T18:04:23.974Z] ---> 79d234b97f42 [2023-03-07T18:04:23.974Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T18:04:23.974Z] ---> Running in 8f7c5b866107 [2023-03-07T18:04:24.232Z] Removing intermediate container 8f7c5b866107 [2023-03-07T18:04:24.232Z] ---> abcfe01d2931 [2023-03-07T18:04:24.232Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-07T18:04:24.232Z] ---> Running in 53ca29e9521b [2023-03-07T18:04:24.232Z] Removing intermediate container 53ca29e9521b [2023-03-07T18:04:24.232Z] ---> 9599e3a02844 [2023-03-07T18:04:24.232Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-07T18:04:24.232Z] ---> Running in 4d66b04c9c70 [2023-03-07T18:04:24.232Z] Removing intermediate container 4d66b04c9c70 [2023-03-07T18:04:24.232Z] ---> 40e66332f2e8 [2023-03-07T18:04:24.232Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T18:04:24.232Z] ---> Running in e4d341225342 [2023-03-07T18:04:24.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T18:04:24.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T18:04:25.008Z] OK: 331 MiB in 131 packages [2023-03-07T18:04:25.574Z] Removing intermediate container e4d341225342 [2023-03-07T18:04:25.574Z] ---> ca11abcc1dc9 [2023-03-07T18:04:25.574Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-07T18:04:25.574Z] ---> Running in 9e314ba3c5af [2023-03-07T18:04:25.574Z] Removing intermediate container 9e314ba3c5af [2023-03-07T18:04:25.574Z] ---> 393d69e43a97 [2023-03-07T18:04:25.574Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-07T18:04:25.574Z] ---> de99b88905ac [2023-03-07T18:04:25.574Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:04:25.574Z] ---> Running in 06530b7e747f [2023-03-07T18:04:26.508Z] Removing intermediate container 06530b7e747f [2023-03-07T18:04:26.508Z] ---> 76b154bb4f58 [2023-03-07T18:04:26.508Z] Step 11/35 : COPY . . [2023-03-07T18:04:26.767Z] ---> 2c7d7018fcd0 [2023-03-07T18:04:26.767Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-07T18:04:26.767Z] ---> Running in 52726e94b447 [2023-03-07T18:04:27.026Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T18:04:27.026Z] Dload Upload Total Spent Left Speed [2023-03-07T18:04:27.027Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 44998 0 --:--:-- --:--:-- --:--:-- 46173 [2023-03-07T18:04:27.285Z] Removing intermediate container 52726e94b447 [2023-03-07T18:04:27.285Z] ---> bf5167ef08ef [2023-03-07T18:04:27.285Z] Step 13/35 : RUN ${MAKE} [2023-03-07T18:04:27.285Z] ---> Running in c21e8d048373 [2023-03-07T18:04:27.544Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-03-07T18:04:50.888Z] Removing intermediate container 915b8f454a55 [2023-03-07T18:04:50.888Z] ---> 40568b567074 [2023-03-07T18:04:50.888Z] Step 11/13 : COPY . . [2023-03-07T18:04:50.888Z] ---> 46d52effa198 [2023-03-07T18:04:50.888Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-07T18:04:50.888Z] ---> Running in adb366e0b48a [2023-03-07T18:04:50.888Z]  % Total  % Received % Xferd Average Speed Time Time Time Current [2023-03-07T18:04:50.888Z]  Dload Upload Total Spent Left Speed [2023-03-07T18:04:50.888Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14967 0 --:--:-- --:--:-- --:--:-- 15171 [2023-03-07T18:04:50.888Z] Removing intermediate container adb366e0b48a [2023-03-07T18:04:50.888Z] ---> 50fbb10c9640 [2023-03-07T18:04:50.888Z] Step 13/13 : RUN ${MAKE} [2023-03-07T18:04:50.888Z] ---> Running in 8b0ce4a4f2cc [2023-03-07T18:04:50.888Z] noop [2023-03-07T18:04:50.888Z] Removing intermediate container 8b0ce4a4f2cc [2023-03-07T18:04:50.888Z] ---> 0bda1ef4519e [2023-03-07T18:04:50.888Z] Successfully built 0bda1ef4519e [2023-03-07T18:04:50.888Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:04:51.384Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T18:04:51.384Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:04:51.652Z] prd-ubuntu20.04-docker-arm64-4c-16g-8589 does not seem to be running inside a container [2023-03-07T18:04:51.780Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-07T18:04:53.024Z] $ docker top 04e2545a6d30f178d102f1b548985e8bd540e3362e83dd15d68d23c500cc6b24 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:04:53.928Z] + go version [2023-03-07T18:04:53.928Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T18:04:53.971Z] $ docker stop --time=1 04e2545a6d30f178d102f1b548985e8bd540e3362e83dd15d68d23c500cc6b24 [2023-03-07T18:04:54.092Z] Removing intermediate container c21e8d048373 [2023-03-07T18:04:54.092Z] ---> cdef1cd68930 [2023-03-07T18:04:54.092Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-03-07T18:04:54.092Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-03-07T18:04:54.092Z] af6660deedbd: Pulling fs layer [2023-03-07T18:04:54.092Z] 97cd0a44c592: Pulling fs layer [2023-03-07T18:04:54.092Z] 97cd0a44c592: Verifying Checksum [2023-03-07T18:04:54.092Z] 97cd0a44c592: Download complete [2023-03-07T18:04:54.092Z] af6660deedbd: Download complete [2023-03-07T18:04:54.092Z] af6660deedbd: Pull complete [2023-03-07T18:04:54.092Z] 97cd0a44c592: Pull complete [2023-03-07T18:04:54.092Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-03-07T18:04:54.092Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-03-07T18:04:54.092Z] ---> fea57e182299 [2023-03-07T18:04:54.092Z] Step 15/35 : FROM alpine:3.16 [2023-03-07T18:04:54.092Z] 3.16: Pulling from library/alpine [2023-03-07T18:04:54.349Z] ef5531b6e74e: Pulling fs layer [2023-03-07T18:04:54.349Z] ef5531b6e74e: Verifying Checksum [2023-03-07T18:04:54.349Z] ef5531b6e74e: Download complete [2023-03-07T18:04:54.606Z] ef5531b6e74e: Pull complete [2023-03-07T18:04:54.606Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T18:04:54.606Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T18:04:54.606Z] ---> dfd21b5a31f5 [2023-03-07T18:04:54.606Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-07T18:04:55.202Z] ---> Running in 19d08daca8cc [2023-03-07T18:04:55.202Z] Removing intermediate container 19d08daca8cc [2023-03-07T18:04:55.202Z] ---> 92fb1a72b4c1 [2023-03-07T18:04:55.202Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-03-07T18:04:55.202Z] ---> Running in 091158cc7a59 [2023-03-07T18:04:55.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T18:04:55.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T18:04:55.641Z] $ docker rm -f --volumes 04e2545a6d30f178d102f1b548985e8bd540e3362e83dd15d68d23c500cc6b24 [2023-03-07T18:04:55.720Z] (1/80) Installing dumb-init (1.2.5-r1) [2023-03-07T18:04:55.720Z] (2/80) Installing sdl2 (2.0.22-r0) [Pipeline] // withDockerContainer [2023-03-07T18:04:55.977Z] (3/80) Installing libxau (1.0.9-r0) [2023-03-07T18:04:55.977Z] (4/80) Installing libxdmcp (1.1.3-r0) [2023-03-07T18:04:55.977Z] (5/80) Installing libxcb (1.15-r0) [2023-03-07T18:04:55.977Z] (6/80) Installing libx11 (1.8-r0) [2023-03-07T18:04:55.977Z] (7/80) Installing aom-libs (3.3.0-r0) [2023-03-07T18:04:55.977Z] (8/80) Installing alsa-lib (1.2.7.2-r0) [2023-03-07T18:04:55.977Z] (9/80) Installing expat (2.5.0-r0) [2023-03-07T18:04:55.977Z] (10/80) Installing brotli-libs (1.0.9-r6) [2023-03-07T18:04:55.977Z] (11/80) Installing libbz2 (1.0.8-r1) [2023-03-07T18:04:55.977Z] (12/80) Installing libpng (1.6.37-r1) [2023-03-07T18:04:55.977Z] (13/80) Installing freetype (2.12.1-r0) [2023-03-07T18:04:55.977Z] (14/80) Installing fontconfig (2.14.0-r0) [2023-03-07T18:04:55.977Z] (15/80) Installing fribidi (1.0.12-r0) [2023-03-07T18:04:55.977Z] (16/80) Installing libffi (3.4.2-r1) [2023-03-07T18:04:55.977Z] (17/80) Installing libintl (0.21-r2) [2023-03-07T18:04:55.977Z] (18/80) Installing libblkid (2.38-r1) [2023-03-07T18:04:55.977Z] (19/80) Installing libmount (2.38-r1) [2023-03-07T18:04:55.977Z] (20/80) Installing pcre (8.45-r2) [2023-03-07T18:04:55.977Z] (21/80) Installing glib (2.72.1-r0) [2023-03-07T18:04:55.977Z] (22/80) Installing graphite2 (1.3.14-r1) [2023-03-07T18:04:55.977Z] (23/80) Installing harfbuzz (4.3.0-r0) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [2023-03-07T18:04:56.236Z] (24/80) Installing libass (0.16.0-r0) [2023-03-07T18:04:56.236Z] (25/80) Installing libdav1d (1.0.0-r0) [2023-03-07T18:04:56.236Z] (26/80) Installing libpciaccess (0.16-r0) [2023-03-07T18:04:56.236Z] (27/80) Installing libdrm (2.4.110-r0) [2023-03-07T18:04:56.236Z] (28/80) Installing gmp (6.2.1-r2) [2023-03-07T18:04:56.236Z] (29/80) Installing nettle (3.7.3-r0) [2023-03-07T18:04:56.236Z] (30/80) Installing p11-kit (0.24.1-r0) [2023-03-07T18:04:56.236Z] (31/80) Installing libtasn1 (4.18.0-r1) [2023-03-07T18:04:56.236Z] (32/80) Installing libunistring (1.0-r0) [2023-03-07T18:04:56.236Z] (33/80) Installing gnutls (3.7.7-r1) [2023-03-07T18:04:56.236Z] (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-03-07T18:04:56.236Z] (35/80) Installing ncurses-libs (6.3_p20220521-r0) [2023-03-07T18:04:56.236Z] (36/80) Installing lame (3.100-r0) [2023-03-07T18:04:56.236Z] (37/80) Installing opus (1.3.1-r1) [2023-03-07T18:04:56.236Z] (38/80) Installing libasyncns (0.8-r1) [2023-03-07T18:04:56.236Z] (39/80) Installing dbus-libs (1.14.4-r0) [2023-03-07T18:04:56.236Z] (40/80) Installing libltdl (2.4.7-r0) [2023-03-07T18:04:56.236Z] (41/80) Installing orc (0.4.32-r0) [2023-03-07T18:04:56.236Z] (42/80) Installing libgcc (11.2.1_git20220219-r2) [2023-03-07T18:04:56.236Z] (43/80) Installing libogg (1.3.5-r1) [2023-03-07T18:04:56.236Z] (44/80) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-07T18:04:56.236Z] (45/80) Installing flac (1.3.4-r0) [2023-03-07T18:04:56.236Z] (46/80) Installing libvorbis (1.3.7-r0) [2023-03-07T18:04:56.236Z] (47/80) Installing libsndfile (1.1.0-r0) [2023-03-07T18:04:56.236Z] (48/80) Installing libgomp (11.2.1_git20220219-r2) [2023-03-07T18:04:56.236Z] (49/80) Installing soxr (0.1.3-r2) [2023-03-07T18:04:56.236Z] (50/80) Installing speexdsp (1.2.0-r0) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:04:56.495Z] (51/80) Installing tdb-libs (1.4.6-r0) [2023-03-07T18:04:56.495Z] (52/80) Installing libpulse (15.0-r2) [2023-03-07T18:04:56.495Z] (53/80) Installing cjson (1.7.15-r3) [2023-03-07T18:04:56.495Z] (54/80) Installing mbedtls (2.28.2-r0) [2023-03-07T18:04:56.495Z] (55/80) Installing librist (0.2.6-r1) [2023-03-07T18:04:56.495Z] (56/80) Installing libsrt (1.4.4-r0) [2023-03-07T18:04:56.495Z] (57/80) Installing libssh (0.9.6-r1) [2023-03-07T18:04:56.495Z] (58/80) Installing libtheora (1.1.1-r16) [2023-03-07T18:04:56.495Z] (59/80) Installing libjpeg-turbo (2.1.3-r1) [2023-03-07T18:04:56.495Z] (60/80) Installing v4l-utils-libs (1.22.1-r1) [2023-03-07T18:04:56.495Z] (61/80) Installing libxext (1.3.4-r0) [2023-03-07T18:04:56.495Z] (62/80) Installing libxfixes (6.0.0-r0) [2023-03-07T18:04:56.495Z] (63/80) Installing wayland-libs-client (1.20.0-r0) [2023-03-07T18:04:56.495Z] (64/80) Installing libva (2.14.0-r0) [2023-03-07T18:04:56.495Z] (65/80) Installing libvdpau (1.5-r0) [2023-03-07T18:04:56.495Z] (66/80) Installing vidstab (1.1.0-r1) [2023-03-07T18:04:56.495Z] (67/80) Installing libvpx (1.11.0-r1) [2023-03-07T18:04:56.495Z] (68/80) Installing libwebp (1.2.3-r0) [2023-03-07T18:04:56.495Z] (69/80) Installing x264-libs (0.163_git20210613-r0) [2023-03-07T18:04:56.495Z] (70/80) Installing numactl (2.0.14-r0) [2023-03-07T18:04:56.495Z] (71/80) Installing x265-libs (3.5-r3) [2023-03-07T18:04:56.636Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T18:04:56.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:04:56.755Z] (72/80) Installing xvidcore (1.3.7-r1) [2023-03-07T18:04:56.755Z] (73/80) Installing ffmpeg-libs (5.0.1-r1) [2023-03-07T18:04:56.755Z] (74/80) Installing ffmpeg (5.0.1-r1) [2023-03-07T18:04:56.899Z] prd-ubuntu20.04-docker-arm64-4c-16g-8589 does not seem to be running inside a container [2023-03-07T18:04:56.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** ci-base-image-arm64 cat [2023-03-07T18:04:57.014Z] (75/80) Installing udev-init-scripts (35-r0) [2023-03-07T18:04:57.014Z] Executing udev-init-scripts-35-r0.post-install [2023-03-07T18:04:57.014Z] (76/80) Installing eudev-libs (3.2.11-r0) [2023-03-07T18:04:57.014Z] (77/80) Installing xz-libs (5.2.5-r1) [2023-03-07T18:04:57.014Z] (78/80) Installing zstd-libs (1.5.2-r1) [2023-03-07T18:04:57.014Z] (79/80) Installing kmod-libs (29-r2) [2023-03-07T18:04:57.014Z] (80/80) Installing eudev (3.2.11-r0) [2023-03-07T18:04:57.014Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T18:04:57.014Z] Executing eudev-3.2.11-r0.trigger [2023-03-07T18:04:57.014Z] OK: 100 MiB in 94 packages [2023-03-07T18:04:58.149Z] $ docker top 3f3133eae5e8d9873c6a74048a09ed294c332b98ac97a2bc0a91188627b8ff15 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:04:58.743Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-07T18:04:59.452Z] + make test [2023-03-07T18:04:59.452Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T18:05:00.861Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-07T18:05:01.198Z] Removing intermediate container 091158cc7a59 [2023-03-07T18:05:01.198Z] ---> cdd8f4db8551 [2023-03-07T18:05:01.198Z] Step 18/35 : WORKDIR / [2023-03-07T18:05:01.198Z] ---> Running in c25f099f0b03 [2023-03-07T18:05:01.198Z] Removing intermediate container c25f099f0b03 [2023-03-07T18:05:01.198Z] ---> 7b62f5061213 [2023-03-07T18:05:01.198Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-07T18:05:02.138Z] ---> 3fda331b021b [2023-03-07T18:05:02.139Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-07T18:05:02.400Z] ---> 669cc0725951 [2023-03-07T18:05:02.400Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-07T18:05:02.400Z] ---> f1c3c2823f52 [2023-03-07T18:05:02.400Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-07T18:05:02.662Z] ---> b11676d304e4 [2023-03-07T18:05:02.662Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-07T18:05:02.662Z] ---> 4d2eb92b6b09 [2023-03-07T18:05:02.662Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-07T18:05:02.662Z] ---> 61242e3b2a1a [2023-03-07T18:05:02.662Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-07T18:05:03.960Z] ---> cfc01a4e1383 [2023-03-07T18:05:03.960Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-07T18:05:03.960Z] ---> Running in 17d7fe9e8cf1 [2023-03-07T18:05:04.528Z] Removing intermediate container 17d7fe9e8cf1 [2023-03-07T18:05:04.528Z] ---> bce07e4b52cf [2023-03-07T18:05:04.528Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-07T18:05:04.528Z] ---> Running in b5fa974cf4b3 [2023-03-07T18:05:05.097Z] Removing intermediate container b5fa974cf4b3 [2023-03-07T18:05:05.097Z] ---> 816bd16a6fca [2023-03-07T18:05:05.097Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-07T18:05:05.097Z] ---> Running in 690e25d1bf0a [2023-03-07T18:05:05.664Z] Removing intermediate container 690e25d1bf0a [2023-03-07T18:05:05.664Z] ---> e43dcb45af5d [2023-03-07T18:05:05.664Z] Step 29/35 : EXPOSE 59983 [2023-03-07T18:05:05.664Z] ---> Running in c1e291af571e [2023-03-07T18:05:05.664Z] Removing intermediate container c1e291af571e [2023-03-07T18:05:05.664Z] ---> e7a2f929a0ab [2023-03-07T18:05:05.664Z] Step 30/35 : EXPOSE 8554 [2023-03-07T18:05:05.664Z] ---> Running in 3bb6046fcf4c [2023-03-07T18:05:05.664Z] Removing intermediate container 3bb6046fcf4c [2023-03-07T18:05:05.664Z] ---> 13f44da3ad87 [2023-03-07T18:05:05.664Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-07T18:05:05.664Z] ---> Running in 7eae4bcaff5a [2023-03-07T18:05:05.664Z] Removing intermediate container 7eae4bcaff5a [2023-03-07T18:05:05.664Z] ---> bcd895f2a1ea [2023-03-07T18:05:05.664Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-03-07T18:05:05.664Z] ---> Running in bcef565f89ef [2023-03-07T18:05:05.922Z] Removing intermediate container bcef565f89ef [2023-03-07T18:05:05.922Z] ---> f178d5c76ce0 [2023-03-07T18:05:05.922Z] Step 33/35 : LABEL arch=amd64 [2023-03-07T18:05:05.922Z] ---> Running in 4928fbe9230c [2023-03-07T18:05:05.922Z] Removing intermediate container 4928fbe9230c [2023-03-07T18:05:05.922Z] ---> 16a0ebe9b9c8 [2023-03-07T18:05:05.922Z] Step 34/35 : LABEL git_sha=1c0884966557fe3d7729708a8590c398099c0c67 [2023-03-07T18:05:05.922Z] ---> Running in 184eabdb346b [2023-03-07T18:05:05.922Z] Removing intermediate container 184eabdb346b [2023-03-07T18:05:05.922Z] ---> 0e407aa9e4b2 [2023-03-07T18:05:05.922Z] Step 35/35 : LABEL version=0.0.0 [2023-03-07T18:05:06.180Z] ---> Running in 008a6c9d6ae8 [2023-03-07T18:05:06.180Z] Removing intermediate container 008a6c9d6ae8 [2023-03-07T18:05:06.180Z] ---> afcdbcb01fab [2023-03-07T18:05:06.180Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T18:05:06.180Z] Successfully built afcdbcb01fab [2023-03-07T18:05:06.180Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:05:07.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:05:07.105Z] [2023-03-07T18:05:07.105Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:05:07.528Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:05:07.528Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T18:05:07.528Z] 5eb5b503b376: Pulling fs layer [2023-03-07T18:05:07.528Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T18:05:07.528Z] ec43610c2a17: Pulling fs layer [2023-03-07T18:05:07.528Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T18:05:07.528Z] 33b1e0a273af: Pulling fs layer [2023-03-07T18:05:07.528Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T18:05:07.528Z] 2f39f015ded8: Pulling fs layer [2023-03-07T18:05:07.528Z] 3a2ae6a8a46f: Waiting [2023-03-07T18:05:07.528Z] 33b1e0a273af: Waiting [2023-03-07T18:05:07.528Z] 5d3b04190fa2: Waiting [2023-03-07T18:05:07.528Z] 2f39f015ded8: Waiting [2023-03-07T18:05:07.528Z] 5c69ac0246d0: Verifying Checksum [2023-03-07T18:05:07.528Z] 5c69ac0246d0: Download complete [2023-03-07T18:05:07.528Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T18:05:07.528Z] 3a2ae6a8a46f: Download complete [2023-03-07T18:05:07.528Z] 33b1e0a273af: Verifying Checksum [2023-03-07T18:05:07.528Z] 33b1e0a273af: Download complete [2023-03-07T18:05:07.788Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T18:05:07.788Z] 5d3b04190fa2: Download complete [2023-03-07T18:05:07.788Z] ec43610c2a17: Verifying Checksum [2023-03-07T18:05:07.788Z] ec43610c2a17: Download complete [2023-03-07T18:05:07.788Z] 5eb5b503b376: Verifying Checksum [2023-03-07T18:05:07.788Z] 5eb5b503b376: Download complete [2023-03-07T18:05:08.356Z] 2f39f015ded8: Download complete [2023-03-07T18:05:08.925Z] 5eb5b503b376: Pull complete [2023-03-07T18:05:09.183Z] 5c69ac0246d0: Pull complete [2023-03-07T18:05:09.442Z] ec43610c2a17: Pull complete [2023-03-07T18:05:09.442Z] 3a2ae6a8a46f: Pull complete [2023-03-07T18:05:09.701Z] 33b1e0a273af: Pull complete [2023-03-07T18:05:09.701Z] 5d3b04190fa2: Pull complete [2023-03-07T18:05:13.887Z] 2f39f015ded8: Pull complete [2023-03-07T18:05:13.887Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T18:05:13.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:05:13.887Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:05:14.086Z] prd-ubuntu20.04-docker-8c-8g-8577 does not seem to be running inside a container [2023-03-07T18:05:14.130Z] $ 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/foundry_device-usb-camera_PR-170 -v /w/workspace/foundry_device-usb-camera_PR-170:/w/workspace/foundry_device-usb-camera_PR-170:rw,z -v /w/workspace/foundry_device-usb-camera_PR-170@tmp:/w/workspace/foundry_device-usb-camera_PR-170@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T18:05:20.945Z] $ docker top 2320615932e7d921cd8b2d9c8df0e8bcd250d121fea2536b4dfcdd30b6446a43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:05:21.394Z] ---> job-cost.sh [2023-03-07T18:05:21.394Z] lf-activate-venv: SKIPPING [2023-03-07T18:05:21.394Z] INFO: No Stack... [2023-03-07T18:05:21.964Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T18:05:22.223Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T18:05:22.543Z] + cat /w/workspace/foundry_device-usb-camera_PR-170/archives/cost.csv [2023-03-07T18:05:22.543Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T18:05:22.584Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-170-1-stack-cost] [2023-03-07T18:05:22.589Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-170-1-stack-cost] did not exist. Created. [2023-03-07T18:05:22.589Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T18:05:22.972Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T18:05:23.021Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T18:05:23.053Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-170-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T18:05:23.144Z] $ docker stop --time=1 2320615932e7d921cd8b2d9c8df0e8bcd250d121fea2536b4dfcdd30b6446a43 [2023-03-07T18:05:24.291Z] $ docker rm -f --volumes 2320615932e7d921cd8b2d9c8df0e8bcd250d121fea2536b4dfcdd30b6446a43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T18:06:37.496Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-07T18:06:37.496Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.063s coverage: 2.0% of statements [2023-03-07T18:06:37.497Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T18:06:37.497Z] go vet ./... [2023-03-07T18:06:49.800Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T18:06:49.800Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T18:06:49.800Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T18:06:50.418Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T18:06:50.454Z] $ docker stop --time=1 3f3133eae5e8d9873c6a74048a09ed294c332b98ac97a2bc0a91188627b8ff15 [2023-03-07T18:06:52.192Z] $ docker rm -f --volumes 3f3133eae5e8d9873c6a74048a09ed294c332b98ac97a2bc0a91188627b8ff15 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T18:06:53.162Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T18:06:53.195Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T18:06:53.631Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T18:06:54.211Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T18:06:54.546Z] + ls -al . [2023-03-07T18:06:54.546Z] total 184 [2023-03-07T18:06:54.546Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 18:05 . [2023-03-07T18:06:54.546Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:02 .. [2023-03-07T18:06:54.546Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:02 .git [2023-03-07T18:06:54.546Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:02 .github [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 7 18:02 .gitignore [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 18:02 .golangci.yml [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 7 18:02 .hadolint.yml [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 9660 Mar 7 18:02 Attribution.txt [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 7 18:02 CHANGELOG.md [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 2328 Mar 7 18:02 Dockerfile [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 7 18:02 GOVERNANCE.md [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 659 Mar 7 18:02 Jenkinsfile [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 18:02 LICENSE [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 2329 Mar 7 18:02 Makefile [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 7 18:02 OWNERS.md [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 5271 Mar 7 18:02 README.md [2023-03-07T18:06:54.546Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 18:02 VERSION [2023-03-07T18:06:54.546Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:02 bin [2023-03-07T18:06:54.546Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:02 cmd [2023-03-07T18:06:54.546Z] -rw-r--r-- 1 jenkins jenkins 28352 Mar 7 18:06 coverage.out [2023-03-07T18:06:54.546Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 7 18:02 docker-entrypoint.sh [2023-03-07T18:06:54.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:02 docs [2023-03-07T18:06:54.547Z] -rw-rw-r-- 1 jenkins jenkins 3487 Mar 7 18:02 go.mod [2023-03-07T18:06:54.547Z] -rw-rw-r-- 1 jenkins jenkins 31547 Mar 7 18:02 go.sum [2023-03-07T18:06:54.547Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:02 internal [2023-03-07T18:06:54.547Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:02 snap [2023-03-07T18:06:54.547Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 7 18:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:06:54.959Z] + 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=1c0884966557fe3d7729708a8590c398099c0c67 --label arch=arm64 --label version=0.0.0 . [2023-03-07T18:06:55.226Z] Sending build context to Docker daemon 1.18MB [2023-03-07T18:06:55.226Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:06:55.226Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-07T18:06:55.226Z] ---> 0bda1ef4519e [2023-03-07T18:06:55.226Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-07T18:06:55.493Z] ---> Running in 0e040ae52356 [2023-03-07T18:06:55.760Z] Removing intermediate container 0e040ae52356 [2023-03-07T18:06:55.760Z] ---> 5765b7526732 [2023-03-07T18:06:55.760Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T18:06:55.760Z] ---> Running in ba655c5b1cf1 [2023-03-07T18:06:56.027Z] Removing intermediate container ba655c5b1cf1 [2023-03-07T18:06:56.027Z] ---> 04bb61bd6101 [2023-03-07T18:06:56.027Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-07T18:06:56.027Z] ---> Running in f2d8f85749c6 [2023-03-07T18:06:56.300Z] Removing intermediate container f2d8f85749c6 [2023-03-07T18:06:56.300Z] ---> ca71970c5760 [2023-03-07T18:06:56.300Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-07T18:06:56.569Z] ---> Running in 963e6724c7b6 [2023-03-07T18:06:56.836Z] Removing intermediate container 963e6724c7b6 [2023-03-07T18:06:56.836Z] ---> 48988fca94b4 [2023-03-07T18:06:56.836Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T18:06:56.836Z] ---> Running in 3f93242c04b4 [2023-03-07T18:06:57.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T18:06:58.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T18:06:59.035Z] OK: 228 MiB in 65 packages [2023-03-07T18:07:01.618Z] Removing intermediate container 3f93242c04b4 [2023-03-07T18:07:01.618Z] ---> e1bbd41c1b2a [2023-03-07T18:07:01.618Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-07T18:07:01.618Z] ---> Running in 6ee97dc8a17f [2023-03-07T18:07:01.895Z] Removing intermediate container 6ee97dc8a17f [2023-03-07T18:07:01.895Z] ---> 2150ddc50425 [2023-03-07T18:07:01.895Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-07T18:07:02.479Z] ---> 1e6e43e08f0b [2023-03-07T18:07:02.479Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:07:02.479Z] ---> Running in 30ca75d0cf9f [2023-03-07T18:07:05.060Z] Removing intermediate container 30ca75d0cf9f [2023-03-07T18:07:05.060Z] ---> de4d073a9c6a [2023-03-07T18:07:05.060Z] Step 11/35 : COPY . . [2023-03-07T18:07:06.020Z] ---> 7912d9c927ee [2023-03-07T18:07:06.020Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-07T18:07:06.020Z] ---> Running in 5c3d2fbf3536 [2023-03-07T18:07:06.978Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T18:07:06.978Z] Dload Upload Total Spent Left Speed [2023-03-07T18:07:06.978Z] 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14083 0 --:--:-- --:--:-- --:--:-- 14160 [2023-03-07T18:07:07.561Z] Removing intermediate container 5c3d2fbf3536 [2023-03-07T18:07:07.561Z] ---> a65b852348b2 [2023-03-07T18:07:07.561Z] Step 13/35 : RUN ${MAKE} [2023-03-07T18:07:07.561Z] ---> Running in 48f101d2e4f6 [2023-03-07T18:07:08.536Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-03-07T18:09:30.226Z] Removing intermediate container 48f101d2e4f6 [2023-03-07T18:09:30.226Z] ---> 7df1c40b4f46 [2023-03-07T18:09:30.226Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-03-07T18:09:30.226Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-03-07T18:09:30.226Z] eab2503cf8f4: Pulling fs layer [2023-03-07T18:09:30.226Z] 97cd0a44c592: Pulling fs layer [2023-03-07T18:09:30.226Z] 97cd0a44c592: Verifying Checksum [2023-03-07T18:09:30.226Z] 97cd0a44c592: Download complete [2023-03-07T18:09:30.226Z] eab2503cf8f4: Download complete [2023-03-07T18:09:30.226Z] eab2503cf8f4: Pull complete [2023-03-07T18:09:30.226Z] 97cd0a44c592: Pull complete [2023-03-07T18:09:30.226Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-03-07T18:09:30.226Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-03-07T18:09:30.226Z] ---> 7f763cca56b3 [2023-03-07T18:09:30.226Z] Step 15/35 : FROM alpine:3.16 [2023-03-07T18:09:30.226Z] 3.16: Pulling from library/alpine [2023-03-07T18:09:30.226Z] 3760b48202b3: Pulling fs layer [2023-03-07T18:09:30.226Z] 3760b48202b3: Verifying Checksum [2023-03-07T18:09:30.226Z] 3760b48202b3: Download complete [2023-03-07T18:09:30.226Z] 3760b48202b3: Pull complete [2023-03-07T18:09:30.226Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T18:09:30.226Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T18:09:30.226Z] ---> 4c81e5bf8899 [2023-03-07T18:09:30.226Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-07T18:09:30.226Z] ---> Running in a5f78b4ee1dc [2023-03-07T18:09:30.226Z] Removing intermediate container a5f78b4ee1dc [2023-03-07T18:09:30.226Z] ---> f38065594583 [2023-03-07T18:09:30.226Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-03-07T18:09:30.226Z] ---> Running in 7e34344d2f83 [2023-03-07T18:09:30.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T18:09:30.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T18:09:30.807Z] (1/79) Installing dumb-init (1.2.5-r1) [2023-03-07T18:09:30.807Z] (2/79) Installing sdl2 (2.0.22-r0) [2023-03-07T18:09:30.807Z] (3/79) Installing libxau (1.0.9-r0) [2023-03-07T18:09:31.073Z] (4/79) Installing libxdmcp (1.1.3-r0) [2023-03-07T18:09:31.073Z] (5/79) Installing libxcb (1.15-r0) [2023-03-07T18:09:31.073Z] (6/79) Installing libx11 (1.8-r0) [2023-03-07T18:09:31.338Z] (7/79) Installing aom-libs (3.3.0-r0) [2023-03-07T18:09:31.338Z] (8/79) Installing alsa-lib (1.2.7.2-r0) [2023-03-07T18:09:31.604Z] (9/79) Installing expat (2.5.0-r0) [2023-03-07T18:09:31.604Z] (10/79) Installing brotli-libs (1.0.9-r6) [2023-03-07T18:09:31.604Z] (11/79) Installing libbz2 (1.0.8-r1) [2023-03-07T18:09:31.604Z] (12/79) Installing libpng (1.6.37-r1) [2023-03-07T18:09:31.604Z] (13/79) Installing freetype (2.12.1-r0) [2023-03-07T18:09:31.604Z] (14/79) Installing fontconfig (2.14.0-r0) [2023-03-07T18:09:31.604Z] (15/79) Installing fribidi (1.0.12-r0) [2023-03-07T18:09:31.604Z] (16/79) Installing libffi (3.4.2-r1) [2023-03-07T18:09:31.604Z] (17/79) Installing libintl (0.21-r2) [2023-03-07T18:09:31.604Z] (18/79) Installing libblkid (2.38-r1) [2023-03-07T18:09:31.604Z] (19/79) Installing libmount (2.38-r1) [2023-03-07T18:09:31.604Z] (20/79) Installing pcre (8.45-r2) [2023-03-07T18:09:31.604Z] (21/79) Installing glib (2.72.1-r0) [2023-03-07T18:09:31.870Z] (22/79) Installing graphite2 (1.3.14-r1) [2023-03-07T18:09:31.870Z] (23/79) Installing harfbuzz (4.3.0-r0) [2023-03-07T18:09:32.137Z] (24/79) Installing libass (0.16.0-r0) [2023-03-07T18:09:32.137Z] (25/79) Installing libdav1d (1.0.0-r0) [2023-03-07T18:09:32.137Z] (26/79) Installing libdrm (2.4.110-r0) [2023-03-07T18:09:32.137Z] (27/79) Installing gmp (6.2.1-r2) [2023-03-07T18:09:32.137Z] (28/79) Installing nettle (3.7.3-r0) [2023-03-07T18:09:32.137Z] (29/79) Installing p11-kit (0.24.1-r0) [2023-03-07T18:09:32.137Z] (30/79) Installing libtasn1 (4.18.0-r1) [2023-03-07T18:09:32.137Z] (31/79) Installing libunistring (1.0-r0) [2023-03-07T18:09:32.405Z] (32/79) Installing gnutls (3.7.7-r1) [2023-03-07T18:09:32.405Z] (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-03-07T18:09:32.405Z] (34/79) Installing ncurses-libs (6.3_p20220521-r0) [2023-03-07T18:09:32.405Z] (35/79) Installing lame (3.100-r0) [2023-03-07T18:09:32.669Z] (36/79) Installing opus (1.3.1-r1) [2023-03-07T18:09:32.669Z] (37/79) Installing libasyncns (0.8-r1) [2023-03-07T18:09:32.669Z] (38/79) Installing dbus-libs (1.14.4-r0) [2023-03-07T18:09:32.669Z] (39/79) Installing libltdl (2.4.7-r0) [2023-03-07T18:09:32.669Z] (40/79) Installing orc (0.4.32-r0) [2023-03-07T18:09:32.669Z] (41/79) Installing libgcc (11.2.1_git20220219-r2) [2023-03-07T18:09:32.669Z] (42/79) Installing libogg (1.3.5-r1) [2023-03-07T18:09:32.939Z] (43/79) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-07T18:09:32.939Z] (44/79) Installing flac (1.3.4-r0) [2023-03-07T18:09:32.939Z] (45/79) Installing libvorbis (1.3.7-r0) [2023-03-07T18:09:33.206Z] (46/79) Installing libsndfile (1.1.0-r0) [2023-03-07T18:09:33.206Z] (47/79) Installing libgomp (11.2.1_git20220219-r2) [2023-03-07T18:09:33.206Z] (48/79) Installing soxr (0.1.3-r2) [2023-03-07T18:09:33.206Z] (49/79) Installing speexdsp (1.2.0-r0) [2023-03-07T18:09:33.206Z] (50/79) Installing tdb-libs (1.4.6-r0) [2023-03-07T18:09:33.206Z] (51/79) Installing libpulse (15.0-r2) [2023-03-07T18:09:33.473Z] (52/79) Installing cjson (1.7.15-r3) [2023-03-07T18:09:33.473Z] (53/79) Installing mbedtls (2.28.2-r0) [2023-03-07T18:09:33.473Z] (54/79) Installing librist (0.2.6-r1) [2023-03-07T18:09:33.473Z] (55/79) Installing libsrt (1.4.4-r0) [2023-03-07T18:09:33.473Z] (56/79) Installing libssh (0.9.6-r1) [2023-03-07T18:09:33.738Z] (57/79) Installing libtheora (1.1.1-r16) [2023-03-07T18:09:33.738Z] (58/79) Installing libjpeg-turbo (2.1.3-r1) [2023-03-07T18:09:33.738Z] (59/79) Installing v4l-utils-libs (1.22.1-r1) [2023-03-07T18:09:33.738Z] (60/79) Installing libxext (1.3.4-r0) [2023-03-07T18:09:33.738Z] (61/79) Installing libxfixes (6.0.0-r0) [2023-03-07T18:09:34.003Z] (62/79) Installing wayland-libs-client (1.20.0-r0) [2023-03-07T18:09:34.003Z] (63/79) Installing libva (2.14.0-r0) [2023-03-07T18:09:34.003Z] (64/79) Installing libvdpau (1.5-r0) [2023-03-07T18:09:34.003Z] (65/79) Installing vidstab (1.1.0-r1) [2023-03-07T18:09:34.003Z] (66/79) Installing libvpx (1.11.0-r1) [2023-03-07T18:09:34.270Z] (67/79) Installing libwebp (1.2.3-r0) [2023-03-07T18:09:34.270Z] (68/79) Installing x264-libs (0.163_git20210613-r0) [2023-03-07T18:09:34.270Z] (69/79) Installing numactl (2.0.14-r0) [2023-03-07T18:09:34.270Z] (70/79) Installing x265-libs (3.5-r3) [2023-03-07T18:09:34.538Z] (71/79) Installing xvidcore (1.3.7-r1) [2023-03-07T18:09:34.538Z] (72/79) Installing ffmpeg-libs (5.0.1-r1) [2023-03-07T18:09:35.124Z] (73/79) Installing ffmpeg (5.0.1-r1) [2023-03-07T18:09:35.125Z] (74/79) Installing udev-init-scripts (35-r0) [2023-03-07T18:09:35.125Z] Executing udev-init-scripts-35-r0.post-install [2023-03-07T18:09:35.125Z] (75/79) Installing eudev-libs (3.2.11-r0) [2023-03-07T18:09:35.125Z] (76/79) Installing xz-libs (5.2.5-r1) [2023-03-07T18:09:35.125Z] (77/79) Installing zstd-libs (1.5.2-r1) [2023-03-07T18:09:35.125Z] (78/79) Installing kmod-libs (29-r2) [2023-03-07T18:09:35.125Z] (79/79) Installing eudev (3.2.11-r0) [2023-03-07T18:09:35.125Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T18:09:35.125Z] Executing eudev-3.2.11-r0.trigger [2023-03-07T18:09:35.391Z] OK: 77 MiB in 93 packages [2023-03-07T18:09:39.675Z] Removing intermediate container 7e34344d2f83 [2023-03-07T18:09:39.675Z] ---> 14a9aa0f91c9 [2023-03-07T18:09:39.675Z] Step 18/35 : WORKDIR / [2023-03-07T18:09:39.945Z] ---> Running in a36f2fcd0270 [2023-03-07T18:09:40.214Z] Removing intermediate container a36f2fcd0270 [2023-03-07T18:09:40.214Z] ---> 6dcf3ade74e2 [2023-03-07T18:09:40.214Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-07T18:09:41.629Z] ---> ca1540166d5a [2023-03-07T18:09:41.629Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-07T18:09:42.214Z] ---> aef48f7d6235 [2023-03-07T18:09:42.214Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-07T18:09:42.797Z] ---> a7ceb249b8b1 [2023-03-07T18:09:42.797Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-07T18:09:43.380Z] ---> 1ec689611538 [2023-03-07T18:09:43.380Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-07T18:09:43.964Z] ---> 6a105c6d26ec [2023-03-07T18:09:43.964Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-07T18:09:44.232Z] ---> 8d5c2d5432df [2023-03-07T18:09:44.232Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-07T18:09:45.653Z] ---> aa2e94a5d87c [2023-03-07T18:09:45.653Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-07T18:09:45.653Z] ---> Running in 5ba9b3c100f2 [2023-03-07T18:09:47.065Z] Removing intermediate container 5ba9b3c100f2 [2023-03-07T18:09:47.065Z] ---> dcf89a8369bb [2023-03-07T18:09:47.065Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-07T18:09:47.065Z] ---> Running in e57594bc9753 [2023-03-07T18:09:49.012Z] Removing intermediate container e57594bc9753 [2023-03-07T18:09:49.012Z] ---> b2c1aa73c348 [2023-03-07T18:09:49.012Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-07T18:09:49.012Z] ---> Running in 0c1728ee1fcb [2023-03-07T18:09:50.427Z] Removing intermediate container 0c1728ee1fcb [2023-03-07T18:09:50.427Z] ---> 43ca13fb7b74 [2023-03-07T18:09:50.427Z] Step 29/35 : EXPOSE 59983 [2023-03-07T18:09:50.427Z] ---> Running in c5246235d6b9 [2023-03-07T18:09:51.010Z] Removing intermediate container c5246235d6b9 [2023-03-07T18:09:51.010Z] ---> 476282924975 [2023-03-07T18:09:51.010Z] Step 30/35 : EXPOSE 8554 [2023-03-07T18:09:51.010Z] ---> Running in 5d8896fa8f21 [2023-03-07T18:09:51.278Z] Removing intermediate container 5d8896fa8f21 [2023-03-07T18:09:51.278Z] ---> 1e5290209338 [2023-03-07T18:09:51.278Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-07T18:09:51.278Z] ---> Running in 23e1743a9ff1 [2023-03-07T18:09:51.546Z] Removing intermediate container 23e1743a9ff1 [2023-03-07T18:09:51.547Z] ---> 970fc5998736 [2023-03-07T18:09:51.547Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-03-07T18:09:51.547Z] ---> Running in 3b80b81afb08 [2023-03-07T18:09:52.130Z] Removing intermediate container 3b80b81afb08 [2023-03-07T18:09:52.130Z] ---> 68ebb8116cdb [2023-03-07T18:09:52.130Z] Step 33/35 : LABEL arch=arm64 [2023-03-07T18:09:52.130Z] ---> Running in 63df85ec0d72 [2023-03-07T18:09:52.397Z] Removing intermediate container 63df85ec0d72 [2023-03-07T18:09:52.397Z] ---> 289029656043 [2023-03-07T18:09:52.397Z] Step 34/35 : LABEL git_sha=1c0884966557fe3d7729708a8590c398099c0c67 [2023-03-07T18:09:52.397Z] ---> Running in 14c448e23147 [2023-03-07T18:09:52.665Z] Removing intermediate container 14c448e23147 [2023-03-07T18:09:52.665Z] ---> d491938f3dad [2023-03-07T18:09:52.665Z] Step 35/35 : LABEL version=0.0.0 [2023-03-07T18:09:52.665Z] ---> Running in b0e0cb288ec3 [2023-03-07T18:09:53.249Z] Removing intermediate container b0e0cb288ec3 [2023-03-07T18:09:53.249Z] ---> ee63bc2f074f [2023-03-07T18:09:53.249Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T18:09:53.249Z] Successfully built ee63bc2f074f [2023-03-07T18:09:53.249Z] 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 [2023-03-07T18:09:54.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T18:09:54.049Z] [2023-03-07T18:09:54.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:09:54.450Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T18:09:54.450Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T18:09:54.450Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T18:09:54.450Z] 04944245beec: Pulling fs layer [2023-03-07T18:09:54.450Z] 699f458cf7ca: Pulling fs layer [2023-03-07T18:09:54.450Z] 765212b225bb: Pulling fs layer [2023-03-07T18:09:54.450Z] f23df028b6ca: Pulling fs layer [2023-03-07T18:09:54.450Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T18:09:54.450Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T18:09:54.450Z] 765212b225bb: Waiting [2023-03-07T18:09:54.450Z] f23df028b6ca: Waiting [2023-03-07T18:09:54.450Z] d65c8cfc05b1: Waiting [2023-03-07T18:09:54.450Z] 2437ff75d9bd: Waiting [2023-03-07T18:09:54.721Z] 04944245beec: Verifying Checksum [2023-03-07T18:09:54.721Z] 04944245beec: Download complete [2023-03-07T18:09:54.721Z] 765212b225bb: Verifying Checksum [2023-03-07T18:09:54.721Z] 765212b225bb: Download complete [2023-03-07T18:09:54.721Z] f23df028b6ca: Verifying Checksum [2023-03-07T18:09:54.721Z] f23df028b6ca: Download complete [2023-03-07T18:09:54.721Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T18:09:54.721Z] d65c8cfc05b1: Download complete [2023-03-07T18:09:54.991Z] 699f458cf7ca: Verifying Checksum [2023-03-07T18:09:54.991Z] 699f458cf7ca: Download complete [2023-03-07T18:09:55.259Z] 8998bd30e6a1: Download complete [2023-03-07T18:09:57.338Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T18:09:57.338Z] 2437ff75d9bd: Download complete [2023-03-07T18:09:59.996Z] 8998bd30e6a1: Pull complete [2023-03-07T18:09:59.996Z] 04944245beec: Pull complete [2023-03-07T18:10:01.428Z] 699f458cf7ca: Pull complete [2023-03-07T18:10:01.694Z] 765212b225bb: Pull complete [2023-03-07T18:10:02.655Z] f23df028b6ca: Pull complete [2023-03-07T18:10:02.655Z] d65c8cfc05b1: Pull complete [2023-03-07T18:10:17.667Z] 2437ff75d9bd: Pull complete [2023-03-07T18:10:17.667Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T18:10:17.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T18:10:17.667Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:10:17.979Z] prd-ubuntu20.04-docker-arm64-4c-16g-8589 does not seem to be running inside a container [2023-03-07T18:10:18.041Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-07T18:10:20.669Z] $ docker top eb645567dcce00bb82addf69513cf3f01f4b7611c641374b2a2fb6bc3e227511 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:10:21.574Z] ---> job-cost.sh [2023-03-07T18:10:21.574Z] lf-activate-venv: SKIPPING [2023-03-07T18:10:21.574Z] INFO: No Stack... [2023-03-07T18:10:21.841Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T18:10:22.800Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T18:10:23.463Z] + cut -d, -f6 [2023-03-07T18:10:23.463Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock [2023-03-07T18:10:23.520Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-170-1-stack-cost] [2023-03-07T18:10:23.524Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-170-1-stack-cost] did not exist. Created. [2023-03-07T18:10:23.524Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-170-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T18:10:24.254Z] /w/workspace/device-usb-camera/1@tmp/durable-286e3ff1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T18:10:24.928Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T18:10:24.962Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T18:10:25.013Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T18:10:25.027Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-170-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T18:10:25.124Z] $ docker stop --time=1 eb645567dcce00bb82addf69513cf3f01f4b7611c641374b2a2fb6bc3e227511 [2023-03-07T18:10:26.635Z] $ docker rm -f --volumes eb645567dcce00bb82addf69513cf3f01f4b7611c641374b2a2fb6bc3e227511 [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) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-07T18:10:27.546Z] provisioning config files... [2023-03-07T18:10:27.552Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-170@tmp/config8186113424238308512tmp [Pipeline] { [Pipeline] sh [2023-03-07T18:10:27.871Z] + set +x [2023-03-07T18:10:27.871Z] + + curl -s https://codecov.io/bash [2023-03-07T18:10:27.871Z] bash -s -- [2023-03-07T18:10:27.871Z] [2023-03-07T18:10:27.871Z] _____ _ [2023-03-07T18:10:27.871Z] / ____| | | [2023-03-07T18:10:27.871Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T18:10:27.871Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T18:10:27.871Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T18:10:27.871Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T18:10:27.871Z] Bash-1.0.6 [2023-03-07T18:10:27.871Z] [2023-03-07T18:10:27.871Z] [2023-03-07T18:10:27.871Z] ==> git version 2.25.1 found [2023-03-07T18:10:27.871Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-07T18:10:27.871Z] Release-Date: 2020-01-08 [2023-03-07T18:10:27.871Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-07T18:10:27.871Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T18:10:27.871Z] ==> Jenkins CI detected. [2023-03-07T18:10:27.871Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-170 [2023-03-07T18:10:27.871Z] project root: . [2023-03-07T18:10:27.871Z] --> token set from env [2023-03-07T18:10:27.871Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T18:10:27.871Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T18:10:27.871Z] ==> Python coveragepy not found [2023-03-07T18:10:27.871Z] ==> Searching for coverage reports in: [2023-03-07T18:10:27.871Z] + . [2023-03-07T18:10:27.871Z] -> Found 1 reports [2023-03-07T18:10:27.871Z] ==> Detecting git/mercurial file structure [2023-03-07T18:10:27.871Z] ==> Reading reports [2023-03-07T18:10:27.871Z] + ./coverage.out bytes=28352 [2023-03-07T18:10:27.871Z] ==> Appending adjustments [2023-03-07T18:10:27.871Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T18:10:28.129Z] + Found adjustments [2023-03-07T18:10:28.129Z] ==> Gzipping contents [2023-03-07T18:10:28.129Z] 4.0K /tmp/codecov.hnzofW.gz [2023-03-07T18:10:28.129Z] ==> Uploading reports [2023-03-07T18:10:28.129Z] url: https://codecov.io [2023-03-07T18:10:28.129Z] query: branch=PR-170&commit=1c0884966557fe3d7729708a8590c398099c0c67&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-170%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=170&job=&cmd_args= [2023-03-07T18:10:28.129Z] -> Pinging Codecov [2023-03-07T18:10:28.129Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-170&commit=1c0884966557fe3d7729708a8590c398099c0c67&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-170%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=170&job=&cmd_args= [2023-03-07T18:10:28.129Z] -> Uploading to [2023-03-07T18:10:28.129Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/73D8F5FF140700D3E01443B452E23636/1c0884966557fe3d7729708a8590c398099c0c67/ee2b98cb-acd6-4fdd-aa2d-807727838e98.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T181028Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f4e4902455dc5f61bc8fc2a8708462ae6ca70eb870972260bc5057d3b2146949 [2023-03-07T18:10:28.129Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T18:10:28.129Z] Dload Upload Total Spent Left Speed [2023-03-07T18:10:28.387Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4001 0 0 100 4001 0 14709 --:--:-- --:--:-- --:--:-- 14709 [2023-03-07T18:10:28.387Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/1c0884966557fe3d7729708a8590c398099c0c67 [Pipeline] } [2023-03-07T18:10:28.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-07T18:10:30.146Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-170/archives ] [2023-03-07T18:10:30.146Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-170/archives [2023-03-07T18:10:30.146Z] total 16 [2023-03-07T18:10:30.146Z] drwxr-xr-x 3 root root 4096 Mar 7 18:05 . [2023-03-07T18:10:30.146Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 18:05 .. [2023-03-07T18:10:30.146Z] drwxr-xr-x 2 root root 4096 Mar 7 18:05 cost [2023-03-07T18:10:30.146Z] -rw-r--r-- 1 root root 90 Mar 7 18:05 cost.csv [2023-03-07T18:10:30.146Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-170/archives [2023-03-07T18:10:30.146Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-170/archives [2023-03-07T18:10:30.146Z] total 16 [2023-03-07T18:10:30.146Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:05 . [2023-03-07T18:10:30.146Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 18:05 .. [2023-03-07T18:10:30.146Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 18:05 cost [2023-03-07T18:10:30.146Z] -rw-r--r-- 1 jenkins jenkins 90 Mar 7 18:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:10:30.480Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:10:31.367Z] ---> package-listing.sh [2023-03-07T18:10:31.367Z] ++ facter osfamily [2023-03-07T18:10:31.367Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T18:10:31.627Z] + OS_FAMILY=debian [2023-03-07T18:10:31.627Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-170 [2023-03-07T18:10:31.627Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T18:10:31.627Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T18:10:31.627Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T18:10:31.627Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T18:10:31.627Z] + '[' /w/workspace/foundry_device-usb-camera_PR-170 ']' [2023-03-07T18:10:31.627Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T18:10:31.627Z] + case "${OS_FAMILY}" in [2023-03-07T18:10:31.627Z] + dpkg -l [2023-03-07T18:10:31.627Z] + grep '^ii' [2023-03-07T18:10:31.627Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T18:10:31.627Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T18:10:31.627Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T18:10:31.627Z] + '[' /w/workspace/foundry_device-usb-camera_PR-170 ']' [2023-03-07T18:10:31.627Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-170/archives/ [2023-03-07T18:10:31.627Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-170/archives/ [Pipeline] echo [2023-03-07T18:10:31.658Z] 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/foundry_device-usb-camera_PR-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T18:10:31.950Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:10:32.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:10:32.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:10:32.784Z] prd-ubuntu20.04-docker-8c-8g-8577 does not seem to be running inside a container [2023-03-07T18:10:32.828Z] $ 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/foundry_device-usb-camera_PR-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-170 -v /w/workspace/foundry_device-usb-camera_PR-170:/w/workspace/foundry_device-usb-camera_PR-170:rw,z -v /w/workspace/foundry_device-usb-camera_PR-170@tmp:/w/workspace/foundry_device-usb-camera_PR-170@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T18:10:33.013Z] $ docker top e70bd72876695e3bfde7a900fe6f1fbf50c760a6d44e29e24e3ab6bcaeb6be9d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:10:33.385Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T18:10:33.692Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T18:10:34.001Z] + ls /var/log/sa-host [2023-03-07T18:10:34.001Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:10:34.200Z] provisioning config files... [2023-03-07T18:10:34.209Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-170@tmp/config7445777695356663896tmp [Pipeline] { [Pipeline] echo [2023-03-07T18:10:34.253Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:10:34.570Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T18:10:34.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:10:35.020Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T18:10:35.051Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:10:35.373Z] ---> sudo-logs.sh [2023-03-07T18:10:35.373Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T18:10:35.451Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:10:35.759Z] ---> job-cost.sh [2023-03-07T18:10:35.759Z] lf-activate-venv: SKIPPING [2023-03-07T18:10:35.759Z] DEBUG: total: 0.2199999988079071 [2023-03-07T18:10:35.759Z] INFO: Retrieving Stack Cost... [2023-03-07T18:10:36.018Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T18:10:36.586Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T18:10:36.623Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:10:36.938Z] ---> logs-deploy.sh [2023-03-07T18:10:36.938Z] lf-activate-venv: SKIPPING [2023-03-07T18:10:36.938Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-170/1 [2023-03-07T18:10:36.938Z] INFO: archiving workspace using pattern(s): [2023-03-07T18:10:37.886Z] Archives upload complete. [2023-03-07T18:10:38.152Z] INFO: archiving logs to Nexus [2023-03-07T18:10:38.722Z] ---> uname -a: [2023-03-07T18:10:38.722Z] Linux prd-ubuntu20-04-docker-8c-8g-8577 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-03-07T18:10:38.722Z] [2023-03-07T18:10:38.722Z] [2023-03-07T18:10:38.722Z] ---> lscpu: [2023-03-07T18:10:38.722Z] Architecture: x86_64 [2023-03-07T18:10:38.722Z] CPU op-mode(s): 32-bit, 64-bit [2023-03-07T18:10:38.722Z] Byte Order: Little Endian [2023-03-07T18:10:38.722Z] Address sizes: 40 bits physical, 48 bits virtual [2023-03-07T18:10:38.722Z] CPU(s): 8 [2023-03-07T18:10:38.722Z] On-line CPU(s) list: 0-7 [2023-03-07T18:10:38.722Z] Thread(s) per core: 1 [2023-03-07T18:10:38.722Z] Core(s) per socket: 1 [2023-03-07T18:10:38.722Z] Socket(s): 8 [2023-03-07T18:10:38.722Z] NUMA node(s): 1 [2023-03-07T18:10:38.722Z] Vendor ID: AuthenticAMD [2023-03-07T18:10:38.722Z] CPU family: 23 [2023-03-07T18:10:38.722Z] Model: 49 [2023-03-07T18:10:38.722Z] Model name: AMD EPYC-Rome Processor [2023-03-07T18:10:38.722Z] Stepping: 0 [2023-03-07T18:10:38.722Z] CPU MHz: 2799.996 [2023-03-07T18:10:38.722Z] BogoMIPS: 5599.99 [2023-03-07T18:10:38.722Z] Virtualization: AMD-V [2023-03-07T18:10:38.722Z] Hypervisor vendor: KVM [2023-03-07T18:10:38.722Z] Virtualization type: full [2023-03-07T18:10:38.722Z] L1d cache: 256 KiB [2023-03-07T18:10:38.722Z] L1i cache: 256 KiB [2023-03-07T18:10:38.722Z] L2 cache: 4 MiB [2023-03-07T18:10:38.722Z] L3 cache: 128 MiB [2023-03-07T18:10:38.722Z] NUMA node0 CPU(s): 0-7 [2023-03-07T18:10:38.722Z] Vulnerability Itlb multihit: Not affected [2023-03-07T18:10:38.722Z] Vulnerability L1tf: Not affected [2023-03-07T18:10:38.722Z] Vulnerability Mds: Not affected [2023-03-07T18:10:38.722Z] Vulnerability Meltdown: Not affected [2023-03-07T18:10:38.722Z] Vulnerability Mmio stale data: Not affected [2023-03-07T18:10:38.722Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-03-07T18:10:38.722Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-03-07T18:10:38.722Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-03-07T18:10:38.722Z] Vulnerability Srbds: Not affected [2023-03-07T18:10:38.722Z] Vulnerability Tsx async abort: Not affected [2023-03-07T18:10:38.722Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-03-07T18:10:38.722Z] [2023-03-07T18:10:38.722Z]