Pull request #74 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of brianointel for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 1b778559ac91a8212467a947f01e6afe9c490311+e0ef95115b204dfbd36822ed04c66be8fcb14502 (be082763738ae435db88e70faf2e60f45a189a4d) 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-ssh3536716339893200169.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10075905292286284769.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-74/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-74/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6700985781375202844.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-74/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11244045372368392203.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12269218631709571156.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-74/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-74/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18105573716760260714.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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21406 in /w/workspace/xfoundry_device-usb-camera_PR-74 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-74 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e0ef95115b204dfbd36822ed04c66be8fcb14502 into PR head commit 1b778559ac91a8212467a947f01e6afe9c490311 Merge succeeded, producing 1b778559ac91a8212467a947f01e6afe9c490311 Checking out Revision 1b778559ac91a8212467a947f01e6afe9c490311 (PR-74) > git config core.sparsecheckout # timeout=10 > git checkout -f 1b778559ac91a8212467a947f01e6afe9c490311 # 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 e0ef95115b204dfbd36822ed04c66be8fcb14502 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1b778559ac91a8212467a947f01e6afe9c490311 # timeout=10 Commit message: "docs: added CameraStatus command to readme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-28T21:14:09.970Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-28T21:14:10.150Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-28T21:14:10.250Z] ========================================================= [2022-07-28T21:14:10.250Z] EdgeX Global Pipelines Version Info [2022-07-28T21:14:10.250Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:14:11.091Z] ------------------- [2022-07-28T21:14:11.091Z] stable info: [2022-07-28T21:14:11.091Z] ------------------- [2022-07-28T21:14:11.091Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-28T21:14:11.091Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-28T21:14:11.091Z] Message: update stable to v1.0.238 [2022-07-28T21:14:11.666Z] ------------------- [2022-07-28T21:14:11.666Z] experimental info: [2022-07-28T21:14:11.666Z] ------------------- [2022-07-28T21:14:11.666Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-28T21:14:11.666Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-28T21:14:11.666Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-28T21:14:12.054Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-07-28T21:14:12.094Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-07-28T21:14:12.138Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-28T21:14:12.181Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-28T21:14:12.219Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-28T21:14:12.262Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-28T21:14:12.300Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-28T21:14:12.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-28T21:14:12.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-28T21:14:12.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-28T21:14:12.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-28T21:14:12.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-07-28T21:14:12.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-28T21:14:12.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-28T21:14:12.637Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-28T21:14:12.680Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-28T21:14:12.721Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T21:14:12.763Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T21:14:12.803Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-28T21:14:12.846Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-28T21:14:12.887Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-28T21:14:12.932Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-28T21:14:12.980Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-28T21:14:13.025Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-28T21:14:13.069Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-28T21:14:13.113Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-28T21:14:13.153Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-28T21:14:13.194Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-74 [Pipeline] echo [2022-07-28T21:14:13.236Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-74 [Pipeline] echo [2022-07-28T21:14:13.281Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-74 [Pipeline] echo [2022-07-28T21:14:13.326Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b778559ac91a8212467a947f01e6afe9c490311 [Pipeline] echo [2022-07-28T21:14:13.370Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b77855 [Pipeline] echo [2022-07-28T21:14:13.411Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T21:14:13.521Z] provisioning config files... [2022-07-28T21:14:13.536Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-74@tmp/config6308429513165765665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:14:13.893Z] ---> docker-login.sh [2022-07-28T21:14:13.893Z] nexus3.edgexfoundry.org:10001 [2022-07-28T21:14:14.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:14:14.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:14:14.418Z] Configure a credential helper to remove this warning. See [2022-07-28T21:14:14.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:14:14.418Z] [2022-07-28T21:14:14.418Z] Login Succeeded [2022-07-28T21:14:14.418Z] nexus3.edgexfoundry.org:10002 [2022-07-28T21:14:14.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:14:14.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:14:14.418Z] Configure a credential helper to remove this warning. See [2022-07-28T21:14:14.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:14:14.418Z] [2022-07-28T21:14:14.418Z] Login Succeeded [2022-07-28T21:14:14.418Z] nexus3.edgexfoundry.org:10003 [2022-07-28T21:14:14.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:14:14.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:14:14.680Z] Configure a credential helper to remove this warning. See [2022-07-28T21:14:14.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:14:14.680Z] [2022-07-28T21:14:14.680Z] Login Succeeded [2022-07-28T21:14:14.680Z] nexus3.edgexfoundry.org:10004 [2022-07-28T21:14:14.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:14:14.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:14:14.944Z] Configure a credential helper to remove this warning. See [2022-07-28T21:14:14.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:14:14.944Z] [2022-07-28T21:14:14.944Z] Login Succeeded [2022-07-28T21:14:14.945Z] docker.io [2022-07-28T21:14:14.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:14:15.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:14:15.206Z] Configure a credential helper to remove this warning. See [2022-07-28T21:14:15.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:14:15.206Z] [2022-07-28T21:14:15.206Z] Login Succeeded [2022-07-28T21:14:15.206Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T21:14:15.233Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-28T21:14:15.871Z] + git rev-list -1 --merges 1b778559ac91a8212467a947f01e6afe9c490311~1..1b778559ac91a8212467a947f01e6afe9c490311 [Pipeline] echo [2022-07-28T21:14:15.923Z] -----------> git rev-list -1 --merges 1b778559ac91a8212467a947f01e6afe9c490311~1..1b778559ac91a8212467a947f01e6afe9c490311 1b778559ac91a8212467a947f01e6afe9c490311 [false] [Pipeline] sh [2022-07-28T21:14:16.236Z] + git log --format=format:%s -1 1b778559ac91a8212467a947f01e6afe9c490311 [Pipeline] echo [2022-07-28T21:14:16.268Z] ========================================================= [2022-07-28T21:14:16.268Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-28T21:14:16.268Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T21:14:16.708Z] + git log --format=format:%s -1 1b778559ac91a8212467a947f01e6afe9c490311 [Pipeline] echo [2022-07-28T21:14:16.738Z] [semverPrep] GIT_COMMIT: 1b778559ac91a8212467a947f01e6afe9c490311, Commit Message: docs: added CameraStatus command to readme [Pipeline] echo [2022-07-28T21:14:16.766Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-28T21:14:17.152Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-28T21:14:17.152Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-28T21:14:17.152Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-28T21:14:17.152Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-28T21:14:17.152Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-28T21:14:17.152Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-28T21:14:17.152Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:14:17.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T21:14:17.587Z] [2022-07-28T21:14:17.587Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:14:17.970Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T21:14:17.970Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-28T21:14:17.970Z] b85a868b505f: Pulling fs layer [2022-07-28T21:14:17.970Z] e2be974225ed: Pulling fs layer [2022-07-28T21:14:17.970Z] 339a4e72a1f5: Pulling fs layer [2022-07-28T21:14:17.970Z] 988bab9f4d93: Pulling fs layer [2022-07-28T21:14:17.970Z] 1469e6f7b9e6: Pulling fs layer [2022-07-28T21:14:17.970Z] eaf3925da568: Pulling fs layer [2022-07-28T21:14:17.970Z] bab4dde63d76: Pulling fs layer [2022-07-28T21:14:17.970Z] bde34c3a00c8: Pulling fs layer [2022-07-28T21:14:17.970Z] b352a97aabf1: Pulling fs layer [2022-07-28T21:14:17.970Z] 4872d77fe225: Pulling fs layer [2022-07-28T21:14:17.970Z] 5851b861e8e6: Pulling fs layer [2022-07-28T21:14:17.970Z] 1469e6f7b9e6: Waiting [2022-07-28T21:14:17.970Z] eaf3925da568: Waiting [2022-07-28T21:14:17.970Z] 988bab9f4d93: Waiting [2022-07-28T21:14:17.970Z] bab4dde63d76: Waiting [2022-07-28T21:14:17.970Z] 4872d77fe225: Waiting [2022-07-28T21:14:17.970Z] 5851b861e8e6: Waiting [2022-07-28T21:14:17.970Z] b352a97aabf1: Waiting [2022-07-28T21:14:17.970Z] e2be974225ed: Verifying Checksum [2022-07-28T21:14:17.970Z] e2be974225ed: Download complete [2022-07-28T21:14:17.970Z] 988bab9f4d93: Verifying Checksum [2022-07-28T21:14:17.970Z] 988bab9f4d93: Download complete [2022-07-28T21:14:18.228Z] 1469e6f7b9e6: Verifying Checksum [2022-07-28T21:14:18.228Z] 1469e6f7b9e6: Download complete [2022-07-28T21:14:18.229Z] 339a4e72a1f5: Download complete [2022-07-28T21:14:18.229Z] eaf3925da568: Download complete [2022-07-28T21:14:18.229Z] bde34c3a00c8: Verifying Checksum [2022-07-28T21:14:18.229Z] bde34c3a00c8: Download complete [2022-07-28T21:14:18.229Z] b352a97aabf1: Verifying Checksum [2022-07-28T21:14:18.229Z] b352a97aabf1: Download complete [2022-07-28T21:14:18.229Z] 4872d77fe225: Download complete [2022-07-28T21:14:18.229Z] 5851b861e8e6: Verifying Checksum [2022-07-28T21:14:18.229Z] 5851b861e8e6: Download complete [2022-07-28T21:14:18.229Z] b85a868b505f: Verifying Checksum [2022-07-28T21:14:18.229Z] b85a868b505f: Download complete [2022-07-28T21:14:18.487Z] bab4dde63d76: Verifying Checksum [2022-07-28T21:14:18.487Z] bab4dde63d76: Download complete [2022-07-28T21:14:19.879Z] b85a868b505f: Pull complete [2022-07-28T21:14:19.879Z] e2be974225ed: Pull complete [2022-07-28T21:14:20.451Z] 339a4e72a1f5: Pull complete [2022-07-28T21:14:20.451Z] 988bab9f4d93: Pull complete [2022-07-28T21:14:20.711Z] 1469e6f7b9e6: Pull complete [2022-07-28T21:14:20.711Z] eaf3925da568: Pull complete [2022-07-28T21:14:22.619Z] bab4dde63d76: Pull complete [2022-07-28T21:14:22.880Z] bde34c3a00c8: Pull complete [2022-07-28T21:14:22.880Z] b352a97aabf1: Pull complete [2022-07-28T21:14:23.141Z] 4872d77fe225: Pull complete [2022-07-28T21:14:23.141Z] 5851b861e8e6: Pull complete [2022-07-28T21:14:23.141Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-28T21:14:23.141Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T21:14:23.141Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:14:23.383Z] prd-ubuntu20.04-docker-8c-8g-21406 does not seem to be running inside a container [2022-07-28T21:14:23.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-74 -v /w/workspace/xfoundry_device-usb-camera_PR-74:/w/workspace/xfoundry_device-usb-camera_PR-74:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-74@tmp:/w/workspace/xfoundry_device-usb-camera_PR-74@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-28T21:14:24.834Z] $ docker top cc75dfb958b00f0b85420c86246da2af90b5b4803fb987fab2b893304d7f7660 -eo pid,comm [2022-07-28T21:14:24.902Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-28T21:14:24.902Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-28T21:14:25.030Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-28T21:14:25.030Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-28T21:14:25.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-28T21:14:25.181Z] $ docker exec cc75dfb958b00f0b85420c86246da2af90b5b4803fb987fab2b893304d7f7660 ssh-agent [2022-07-28T21:14:25.304Z] SSH_AUTH_SOCK=/tmp/ssh-XIN6yeG2Ed60/agent.32 [2022-07-28T21:14:25.304Z] SSH_AGENT_PID=38 [2022-07-28T21:14:25.310Z] Running ssh-add (command line suppressed) [2022-07-28T21:14:25.455Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-74@tmp/private_key_3737371222849234491.key (/w/workspace/xfoundry_device-usb-camera_PR-74@tmp/private_key_3737371222849234491.key) [2022-07-28T21:14:25.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-28T21:14:25.810Z] + git tag --points-at HEAD [Pipeline] } [2022-07-28T21:14:25.838Z] $ docker exec --env ******** --env ******** cc75dfb958b00f0b85420c86246da2af90b5b4803fb987fab2b893304d7f7660 ssh-agent -k [2022-07-28T21:14:25.944Z] unset SSH_AUTH_SOCK; [2022-07-28T21:14:25.944Z] unset SSH_AGENT_PID; [2022-07-28T21:14:25.945Z] echo Agent pid 38 killed; [2022-07-28T21:14:25.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-28T21:14:26.042Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-28T21:14:26.042Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-28T21:14:26.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-28T21:14:26.179Z] $ docker exec cc75dfb958b00f0b85420c86246da2af90b5b4803fb987fab2b893304d7f7660 ssh-agent [2022-07-28T21:14:26.315Z] SSH_AUTH_SOCK=/tmp/ssh-rC55p59M3mLS/agent.70 [2022-07-28T21:14:26.315Z] SSH_AGENT_PID=76 [2022-07-28T21:14:26.320Z] Running ssh-add (command line suppressed) [2022-07-28T21:14:26.439Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-74@tmp/private_key_8693872252580228855.key (/w/workspace/xfoundry_device-usb-camera_PR-74@tmp/private_key_8693872252580228855.key) [2022-07-28T21:14:26.451Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-28T21:14:26.782Z] + git semver init [2022-07-28T21:14:27.042Z] 2022-07-28 21:14:26,961 [run_init] DEBUG init version:0.0.0 force:False [2022-07-28T21:14:27.042Z] 2022-07-28 21:14:26,961 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-74/.semver [2022-07-28T21:14:27.042Z] 2022-07-28 21:14:26,962 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-74/.semver [2022-07-28T21:14:27.042Z] 2022-07-28 21:14:26,962 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-74/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-74, universal_newlines=False, shell=None, istream=None) [2022-07-28T21:14:27.616Z] 2022-07-28 21:14:27,492 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-74/.git/info/exclude [2022-07-28T21:14:27.616Z] 2022-07-28 21:14:27,492 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-74/.semver/PR-74 with force:False [2022-07-28T21:14:27.616Z] 2022-07-28 21:14:27,492 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-74/.semver/PR-74 [2022-07-28T21:14:27.616Z] 2022-07-28 21:14:27,497 [execute] INFO git cat-file --batch-check [2022-07-28T21:14:27.617Z] 2022-07-28 21:14:27,497 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-74/.semver, universal_newlines=False, shell=None, istream=) [2022-07-28T21:14:27.617Z] 2022-07-28 21:14:27,504 [execute] INFO git cat-file --batch [2022-07-28T21:14:27.617Z] 2022-07-28 21:14:27,505 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-74/.semver, universal_newlines=False, shell=None, istream=) [2022-07-28T21:14:27.617Z] 2022-07-28 21:14:27,510 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-74/.semver/PR-74 [2022-07-28T21:14:27.617Z] 0.0.0 [Pipeline] } [2022-07-28T21:14:27.646Z] $ docker exec --env ******** --env ******** cc75dfb958b00f0b85420c86246da2af90b5b4803fb987fab2b893304d7f7660 ssh-agent -k [2022-07-28T21:14:27.767Z] unset SSH_AUTH_SOCK; [2022-07-28T21:14:27.768Z] unset SSH_AGENT_PID; [2022-07-28T21:14:27.768Z] echo Agent pid 76 killed; [2022-07-28T21:14:27.775Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-28T21:14:28.204Z] + git semver [Pipeline] } [2022-07-28T21:14:28.495Z] $ docker stop --time=1 cc75dfb958b00f0b85420c86246da2af90b5b4803fb987fab2b893304d7f7660 [2022-07-28T21:14:29.839Z] $ docker rm -f cc75dfb958b00f0b85420c86246da2af90b5b4803fb987fab2b893304d7f7660 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T21:14:30.257Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-28T21:14:30.568Z] Stashed 1 file(s) [Pipeline] echo [2022-07-28T21:14:30.585Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T21:14:31.119Z] provisioning config files... [2022-07-28T21:14:31.132Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-74@tmp/config5257053206054369869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:14:31.477Z] ---> docker-login.sh [2022-07-28T21:14:31.477Z] nexus3.edgexfoundry.org:10001 [2022-07-28T21:14:31.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:14:31.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:14:31.477Z] Configure a credential helper to remove this warning. See [2022-07-28T21:14:31.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:14:31.477Z] [2022-07-28T21:14:31.477Z] Login Succeeded [2022-07-28T21:14:31.477Z] nexus3.edgexfoundry.org:10002 [2022-07-28T21:14:31.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:14:31.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:14:31.740Z] Configure a credential helper to remove this warning. See [2022-07-28T21:14:31.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:14:31.740Z] [2022-07-28T21:14:31.740Z] Login Succeeded [2022-07-28T21:14:31.740Z] nexus3.edgexfoundry.org:10003 [2022-07-28T21:14:31.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:14:31.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:14:31.740Z] Configure a credential helper to remove this warning. See [2022-07-28T21:14:31.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:14:31.740Z] [2022-07-28T21:14:31.740Z] Login Succeeded [2022-07-28T21:14:31.740Z] nexus3.edgexfoundry.org:10004 [2022-07-28T21:14:32.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:14:32.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:14:32.000Z] Configure a credential helper to remove this warning. See [2022-07-28T21:14:32.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:14:32.000Z] [2022-07-28T21:14:32.000Z] Login Succeeded [2022-07-28T21:14:32.000Z] docker.io [2022-07-28T21:14:32.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:14:32.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:14:32.262Z] Configure a credential helper to remove this warning. See [2022-07-28T21:14:32.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:14:32.262Z] [2022-07-28T21:14:32.262Z] Login Succeeded [2022-07-28T21:14:32.262Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T21:14:32.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-28T21:14:32.483Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T21:14:32.520Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T21:14:32.551Z] ========================================================= [2022-07-28T21:14:32.551Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-28T21:14:32.551Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:14:33.038Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-28T21:14:33.038Z] Sending build context to Docker daemon 780.8kB [2022-07-28T21:14:33.038Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-28T21:14:33.038Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-28T21:14:33.038Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-28T21:14:33.038Z] 2408cc74d12b: Pulling fs layer [2022-07-28T21:14:33.038Z] ea60b727a1ce: Pulling fs layer [2022-07-28T21:14:33.038Z] 30c4a7721957: Pulling fs layer [2022-07-28T21:14:33.038Z] 370296b7ddb6: Pulling fs layer [2022-07-28T21:14:33.038Z] 7c6cee850709: Pulling fs layer [2022-07-28T21:14:33.038Z] 39a5fcdaea64: Pulling fs layer [2022-07-28T21:14:33.038Z] d94ebbe4e438: Pulling fs layer [2022-07-28T21:14:33.038Z] bcfd1f05c69d: Pulling fs layer [2022-07-28T21:14:33.038Z] 59ccb84bbe0f: Pulling fs layer [2022-07-28T21:14:33.038Z] 7c6cee850709: Waiting [2022-07-28T21:14:33.038Z] bcfd1f05c69d: Waiting [2022-07-28T21:14:33.038Z] 39a5fcdaea64: Waiting [2022-07-28T21:14:33.038Z] 30c4a7721957: Verifying Checksum [2022-07-28T21:14:33.038Z] 30c4a7721957: Download complete [2022-07-28T21:14:33.038Z] ea60b727a1ce: Download complete [2022-07-28T21:14:33.298Z] 39a5fcdaea64: Download complete [2022-07-28T21:14:33.298Z] 2408cc74d12b: Download complete [2022-07-28T21:14:33.298Z] d94ebbe4e438: Verifying Checksum [2022-07-28T21:14:33.298Z] 2408cc74d12b: Pull complete [2022-07-28T21:14:33.558Z] ea60b727a1ce: Pull complete [2022-07-28T21:14:33.558Z] 30c4a7721957: Pull complete [2022-07-28T21:14:33.558Z] 59ccb84bbe0f: Verifying Checksum [2022-07-28T21:14:33.558Z] 59ccb84bbe0f: Download complete [2022-07-28T21:14:33.820Z] bcfd1f05c69d: Verifying Checksum [2022-07-28T21:14:33.820Z] bcfd1f05c69d: Download complete [2022-07-28T21:14:34.079Z] 370296b7ddb6: Download complete [2022-07-28T21:14:38.275Z] 370296b7ddb6: Pull complete [2022-07-28T21:14:38.275Z] 7c6cee850709: Pull complete [2022-07-28T21:14:38.275Z] 39a5fcdaea64: Pull complete [2022-07-28T21:14:38.543Z] d94ebbe4e438: Pull complete [2022-07-28T21:14:40.453Z] bcfd1f05c69d: Pull complete [2022-07-28T21:14:41.395Z] 59ccb84bbe0f: Pull complete [2022-07-28T21:14:41.395Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-28T21:14:41.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-28T21:14:41.395Z] ---> a4fb48ad2a94 [2022-07-28T21:14:41.395Z] Step 3/13 : ARG MAKE="make build" [2022-07-28T21:14:42.777Z] ---> Running in 3b0a1ea9b3d9 [2022-07-28T21:14:43.035Z] Removing intermediate container 3b0a1ea9b3d9 [2022-07-28T21:14:43.035Z] ---> a6f5ae145d54 [2022-07-28T21:14:43.035Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-28T21:14:43.035Z] ---> Running in 12c20c3f3337 [2022-07-28T21:14:43.035Z] Removing intermediate container 12c20c3f3337 [2022-07-28T21:14:43.035Z] ---> a0bd2fd8f76e [2022-07-28T21:14:43.035Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-28T21:14:43.035Z] ---> Running in 5ed1468cdbe5 [2022-07-28T21:14:43.294Z] Removing intermediate container 5ed1468cdbe5 [2022-07-28T21:14:43.294Z] ---> 27063cba0796 [2022-07-28T21:14:43.294Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T21:14:43.294Z] ---> Running in c0c4dbdf1a31 [2022-07-28T21:14:43.864Z] Removing intermediate container c0c4dbdf1a31 [2022-07-28T21:14:43.864Z] ---> ff2e9e8be44e [2022-07-28T21:14:43.864Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-28T21:14:43.864Z] ---> Running in fa06a8526467 [2022-07-28T21:14:44.125Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T21:14:45.069Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T21:14:45.331Z] (1/80) Installing mesa (21.3.8-r1) [2022-07-28T21:14:45.331Z] (2/80) Installing libxau (1.0.9-r0) [2022-07-28T21:14:45.593Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-07-28T21:14:45.593Z] (4/80) Installing libxcb (1.15-r0) [2022-07-28T21:14:45.593Z] (5/80) Installing libx11 (1.8-r0) [2022-07-28T21:14:45.855Z] (6/80) Installing libxext (1.3.4-r0) [2022-07-28T21:14:45.855Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-07-28T21:14:45.855Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-07-28T21:14:45.949Z] Still waiting to schedule task [2022-07-28T21:14:45.949Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-28T21:14:46.115Z] (9/80) Installing libpciaccess (0.16-r0) [2022-07-28T21:14:46.115Z] (10/80) Installing libdrm (2.4.110-r0) [2022-07-28T21:14:46.378Z] (11/80) Installing mesa-glapi (21.3.8-r1) [2022-07-28T21:14:46.378Z] (12/80) Installing libxshmfence (1.3-r1) [2022-07-28T21:14:46.378Z] (13/80) Installing mesa-gl (21.3.8-r1) [2022-07-28T21:14:46.640Z] (14/80) Installing icu-data-full (71.1-r2) [2022-07-28T21:14:47.598Z] (15/80) Installing libice (1.0.10-r0) [2022-07-28T21:14:47.598Z] (16/80) Installing libuuid (2.38-r1) [2022-07-28T21:14:47.598Z] (17/80) Installing libsm (1.2.3-r0) [2022-07-28T21:14:47.598Z] (18/80) Installing libxt (1.2.1-r0) [2022-07-28T21:14:47.861Z] (19/80) Installing libxmu (1.1.3-r0) [2022-07-28T21:14:47.861Z] (20/80) Installing xset (1.2.4-r0) [2022-07-28T21:14:47.861Z] (21/80) Installing xprop (1.2.5-r0) [2022-07-28T21:14:48.124Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-07-28T21:14:48.124Z] (23/80) Installing dbus-libs (1.14.0-r1) [2022-07-28T21:14:48.124Z] (24/80) Installing libffi (3.4.2-r1) [2022-07-28T21:14:48.387Z] (25/80) Installing libintl (0.21-r2) [2022-07-28T21:14:48.387Z] (26/80) Installing libblkid (2.38-r1) [2022-07-28T21:14:48.387Z] (27/80) Installing libmount (2.38-r1) [2022-07-28T21:14:48.661Z] (28/80) Installing pcre (8.45-r2) [2022-07-28T21:14:48.661Z] (29/80) Installing glib (2.72.1-r0) [2022-07-28T21:14:50.055Z] (30/80) Installing icu-libs (71.1-r2) [2022-07-28T21:14:50.317Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-07-28T21:14:50.577Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-07-28T21:14:50.577Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) [2022-07-28T21:14:50.838Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-07-28T21:14:51.098Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-07-28T21:14:51.098Z] (36/80) Installing mesa-gbm (21.3.8-r1) [2022-07-28T21:14:51.098Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-07-28T21:14:51.360Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) [2022-07-28T21:14:51.622Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-07-28T21:14:51.622Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-07-28T21:14:51.883Z] (41/80) Installing libpng (1.6.37-r1) [2022-07-28T21:14:51.883Z] (42/80) Installing freetype (2.12.1-r0) [2022-07-28T21:14:51.883Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-07-28T21:14:52.145Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-07-28T21:14:52.145Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-07-28T21:14:52.145Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-07-28T21:14:52.407Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-07-28T21:14:52.407Z] (48/80) Installing libxml2 (2.9.14-r0) [2022-07-28T21:14:52.669Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-07-28T21:14:52.669Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-07-28T21:14:52.931Z] (51/80) Installing mesa-egl (21.3.8-r1) [2022-07-28T21:14:52.931Z] (52/80) Installing avahi-libs (0.8-r6) [2022-07-28T21:14:52.931Z] (53/80) Installing nettle (3.7.3-r0) [2022-07-28T21:14:53.196Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-07-28T21:14:53.196Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-07-28T21:14:53.196Z] (56/80) Installing libunistring (1.0-r0) [2022-07-28T21:14:53.459Z] (57/80) Installing gnutls (3.7.6-r0) [2022-07-28T21:14:53.459Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-07-28T21:14:53.720Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-07-28T21:14:53.720Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-07-28T21:14:53.720Z] (61/80) Installing libevdev (1.12.1-r0) [2022-07-28T21:14:53.981Z] (62/80) Installing mtdev (1.1.6-r0) [2022-07-28T21:14:53.981Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-07-28T21:14:53.981Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-07-28T21:14:54.248Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-07-28T21:14:54.248Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-07-28T21:14:54.248Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-07-28T21:14:54.511Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-07-28T21:14:54.511Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-07-28T21:14:54.511Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-07-28T21:14:54.787Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-07-28T21:14:54.787Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) [2022-07-28T21:14:55.362Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-07-28T21:14:55.624Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-07-28T21:14:55.624Z] (75/80) Installing udev-init-scripts (35-r0) [2022-07-28T21:14:55.888Z] Executing udev-init-scripts-35-r0.post-install [2022-07-28T21:14:55.888Z] (76/80) Installing kmod-libs (29-r2) [2022-07-28T21:14:55.888Z] (77/80) Installing eudev (3.2.11-r0) [2022-07-28T21:14:55.888Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-07-28T21:14:56.152Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-28T21:14:56.152Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-07-28T21:14:56.414Z] Executing busybox-1.35.0-r13.trigger [2022-07-28T21:14:56.414Z] Executing eudev-3.2.11-r0.trigger [2022-07-28T21:14:56.414Z] OK: 330 MiB in 131 packages [2022-07-28T21:14:58.328Z] Removing intermediate container fa06a8526467 [2022-07-28T21:14:58.328Z] ---> 4212cc0a7a8d [2022-07-28T21:14:58.328Z] Step 8/13 : WORKDIR /device-usb-camera [2022-07-28T21:14:58.328Z] ---> Running in cf04db2b1c84 [2022-07-28T21:14:58.589Z] Removing intermediate container cf04db2b1c84 [2022-07-28T21:14:58.589Z] ---> 99386a59f020 [2022-07-28T21:14:58.589Z] Step 9/13 : COPY go.mod vendor* ./ [2022-07-28T21:14:58.589Z] ---> 8a6099afec07 [2022-07-28T21:14:58.589Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T21:14:58.850Z] ---> Running in bce02f4a0a06 [2022-07-28T21:15:13.762Z] Removing intermediate container bce02f4a0a06 [2022-07-28T21:15:13.762Z] ---> 287d5c416c85 [2022-07-28T21:15:13.762Z] Step 11/13 : COPY . . [2022-07-28T21:15:13.762Z] ---> 8af7ddcc5549 [2022-07-28T21:15:13.762Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-28T21:15:13.762Z] ---> Running in 0a296df71bc5 [2022-07-28T21:15:13.762Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T21:15:13.762Z] Dload Upload Total Spent Left Speed [2022-07-28T21:15:13.762Z]  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 32526 0 --:--:-- --:--:-- --:--:-- 33187 [2022-07-28T21:15:13.762Z] Removing intermediate container 0a296df71bc5 [2022-07-28T21:15:13.762Z] ---> 9c8bfe1bfd87 [2022-07-28T21:15:13.762Z] Step 13/13 : RUN ${MAKE} [2022-07-28T21:15:13.762Z] ---> Running in 1e875357a3e2 [2022-07-28T21:15:14.023Z] noop [2022-07-28T21:15:14.285Z] Removing intermediate container 1e875357a3e2 [2022-07-28T21:15:14.285Z] ---> eb53aa819eaa [2022-07-28T21:15:14.285Z] Successfully built eb53aa819eaa [2022-07-28T21:15:14.285Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:15:14.747Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-28T21:15:14.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:15:14.929Z] prd-ubuntu20.04-docker-8c-8g-21406 does not seem to be running inside a container [2022-07-28T21:15:15.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-74 -v /w/workspace/xfoundry_device-usb-camera_PR-74:/w/workspace/xfoundry_device-usb-camera_PR-74:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-74@tmp:/w/workspace/xfoundry_device-usb-camera_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-28T21:15:15.458Z] $ docker top 745b1a8d70a45d9eaf4c59dd3aedf78dcab77a1b5377138cc151abe28b0a2494 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T21:15:15.869Z] + go version [2022-07-28T21:15:15.869Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-28T21:15:15.904Z] $ docker stop --time=1 745b1a8d70a45d9eaf4c59dd3aedf78dcab77a1b5377138cc151abe28b0a2494 [2022-07-28T21:15:17.206Z] $ docker rm -f 745b1a8d70a45d9eaf4c59dd3aedf78dcab77a1b5377138cc151abe28b0a2494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:15:17.955Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-28T21:15:17.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:15:18.126Z] prd-ubuntu20.04-docker-8c-8g-21406 does not seem to be running inside a container [2022-07-28T21:15:18.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-usb-camera_PR-74 -v /w/workspace/xfoundry_device-usb-camera_PR-74:/w/workspace/xfoundry_device-usb-camera_PR-74:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-74@tmp:/w/workspace/xfoundry_device-usb-camera_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-28T21:15:18.547Z] $ docker top 6777a33e134053cac9658cbae8e40ebe762e1fb8a2fe9ad4c9e3b2e9543de454 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T21:15:18.962Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-74 [Pipeline] fileExists [Pipeline] sh [2022-07-28T21:15:19.329Z] + make test [2022-07-28T21:15:19.329Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-28T21:15:19.589Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-28T21:15:29.578Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-28T21:15:29.578Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.014s coverage: 1.9% of statements [2022-07-28T21:15:36.157Z] CGO_ENABLED=1 go vet ./... [2022-07-28T21:15:38.694Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-28T21:15:38.694Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-28T21:15:38.694Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-28T21:15:38.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-28T21:15:39.025Z] $ docker stop --time=1 6777a33e134053cac9658cbae8e40ebe762e1fb8a2fe9ad4c9e3b2e9543de454 [2022-07-28T21:15:40.830Z] $ docker rm -f 6777a33e134053cac9658cbae8e40ebe762e1fb8a2fe9ad4c9e3b2e9543de454 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T21:15:41.333Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-28T21:15:41.391Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-28T21:15:42.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-28T21:15:42.317Z] + ls -al . [2022-07-28T21:15:42.317Z] total 196 [2022-07-28T21:15:42.317Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 28 21:15 . [2022-07-28T21:15:42.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 21:14 .. [2022-07-28T21:15:42.317Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 21:15 .git [2022-07-28T21:15:42.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 21:14 .github [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 28 21:14 .gitignore [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 21:14 .golangci.yml [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 28 21:14 .hadolint.yml [2022-07-28T21:15:42.317Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 21:14 .semver [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 9065 Jul 28 21:14 Attribution.txt [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 1206 Jul 28 21:14 CHANGELOG.md [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 2410 Jul 28 21:14 Dockerfile [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 28 21:14 GOVERNANCE.md [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 28 21:14 Jenkinsfile [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 28 21:14 LICENSE [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 28 21:14 Makefile [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 28 21:14 OWNERS.md [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 12817 Jul 28 21:14 README.md [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 21:14 VERSION [2022-07-28T21:15:42.317Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 21:14 bin [2022-07-28T21:15:42.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 21:14 cmd [2022-07-28T21:15:42.317Z] -rw-r--r-- 1 jenkins jenkins 29387 Jul 28 21:15 coverage.out [2022-07-28T21:15:42.317Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 28 21:14 docker-entrypoint.sh [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 3382 Jul 28 21:14 go.mod [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 35824 Jul 28 21:14 go.sum [2022-07-28T21:15:42.317Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 21:14 internal [2022-07-28T21:15:42.317Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 21:14 snap [2022-07-28T21:15:42.317Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 28 21:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:15:42.709Z] + 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=1b778559ac91a8212467a947f01e6afe9c490311 --label arch=amd64 --label version=0.0.0 . [2022-07-28T21:15:42.709Z] Sending build context to Docker daemon 811kB [2022-07-28T21:15:42.709Z] Step 1/35 : ARG BASE=golang:1.17-alpine3.15 [2022-07-28T21:15:42.709Z] Step 2/35 : FROM ${BASE} AS builder [2022-07-28T21:15:42.709Z] ---> eb53aa819eaa [2022-07-28T21:15:42.709Z] Step 3/35 : ARG MAKE="make build" [2022-07-28T21:15:42.709Z] ---> Running in 0c59ab055a1c [2022-07-28T21:15:42.968Z] Removing intermediate container 0c59ab055a1c [2022-07-28T21:15:42.968Z] ---> ad919ecd00a1 [2022-07-28T21:15:42.968Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-28T21:15:42.968Z] ---> Running in 6f26d3014059 [2022-07-28T21:15:42.968Z] Removing intermediate container 6f26d3014059 [2022-07-28T21:15:42.968Z] ---> fedd2b1a2ed2 [2022-07-28T21:15:42.968Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-28T21:15:42.968Z] ---> Running in b6cc697b843a [2022-07-28T21:15:43.229Z] Removing intermediate container b6cc697b843a [2022-07-28T21:15:43.230Z] ---> 1d794cc41f3f [2022-07-28T21:15:43.230Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T21:15:43.230Z] ---> Running in f2eb61c5acda [2022-07-28T21:15:43.800Z] Removing intermediate container f2eb61c5acda [2022-07-28T21:15:43.800Z] ---> e38346d857d9 [2022-07-28T21:15:43.800Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-28T21:15:43.800Z] ---> Running in 61f0f4fdaa59 [2022-07-28T21:15:44.062Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T21:15:45.006Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T21:15:45.578Z] OK: 330 MiB in 131 packages [2022-07-28T21:15:45.839Z] Removing intermediate container 61f0f4fdaa59 [2022-07-28T21:15:45.839Z] ---> 9e77548bef4a [2022-07-28T21:15:45.839Z] Step 8/35 : WORKDIR /device-usb-camera [2022-07-28T21:15:45.839Z] ---> Running in 8c6138bc2b72 [2022-07-28T21:15:45.839Z] Removing intermediate container 8c6138bc2b72 [2022-07-28T21:15:45.839Z] ---> a68cf88fa9bc [2022-07-28T21:15:45.839Z] Step 9/35 : COPY go.mod vendor* ./ [2022-07-28T21:15:46.100Z] ---> 058b9694c106 [2022-07-28T21:15:46.100Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T21:15:46.100Z] ---> Running in 5dc21dccd140 [2022-07-28T21:15:46.670Z] Removing intermediate container 5dc21dccd140 [2022-07-28T21:15:46.670Z] ---> 2a67479c798d [2022-07-28T21:15:46.670Z] Step 11/35 : COPY . . [2022-07-28T21:15:46.935Z] ---> 6b163bb0ecdb [2022-07-28T21:15:46.935Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-28T21:15:46.935Z] ---> Running in c5acf6f657f8 [2022-07-28T21:15:47.197Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T21:15:47.197Z] Dload Upload Total Spent Left Speed [2022-07-28T21:15:47.459Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10554 0 --:--:-- --:--:-- --:--:-- 10620 [2022-07-28T21:15:47.719Z] Removing intermediate container c5acf6f657f8 [2022-07-28T21:15:47.719Z] ---> cb7c8ce45b1c [2022-07-28T21:15:47.719Z] Step 13/35 : RUN ${MAKE} [2022-07-28T21:15:47.719Z] ---> Running in c9b178de1b7c [2022-07-28T21:15:47.980Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-07-28T21:16:09.935Z] Removing intermediate container c9b178de1b7c [2022-07-28T21:16:09.935Z] ---> 2b415ab5465d [2022-07-28T21:16:09.936Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-28T21:16:09.936Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-28T21:16:09.936Z] af6660deedbd: Pulling fs layer [2022-07-28T21:16:09.936Z] 97cd0a44c592: Pulling fs layer [2022-07-28T21:16:09.936Z] 97cd0a44c592: Verifying Checksum [2022-07-28T21:16:09.936Z] 97cd0a44c592: Download complete [2022-07-28T21:16:09.936Z] af6660deedbd: Verifying Checksum [2022-07-28T21:16:09.936Z] af6660deedbd: Download complete [2022-07-28T21:16:09.936Z] af6660deedbd: Pull complete [2022-07-28T21:16:09.936Z] 97cd0a44c592: Pull complete [2022-07-28T21:16:09.936Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-28T21:16:09.936Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-28T21:16:09.936Z] ---> fea57e182299 [2022-07-28T21:16:09.936Z] Step 15/35 : FROM alpine:3.15 [2022-07-28T21:16:09.936Z] 3.15: Pulling from library/alpine [2022-07-28T21:16:09.936Z] ab6db1bc80d0: Pulling fs layer [2022-07-28T21:16:09.936Z] ab6db1bc80d0: Verifying Checksum [2022-07-28T21:16:09.936Z] ab6db1bc80d0: Download complete [2022-07-28T21:16:09.936Z] ab6db1bc80d0: Pull complete [2022-07-28T21:16:09.936Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-28T21:16:09.936Z] Status: Downloaded newer image for alpine:3.15 [2022-07-28T21:16:09.936Z] ---> 2720e26172a0 [2022-07-28T21:16:09.936Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-28T21:16:09.936Z] ---> Running in f28cc2c4dbbe [2022-07-28T21:16:09.936Z] Removing intermediate container f28cc2c4dbbe [2022-07-28T21:16:09.936Z] ---> 60dac5c628ee [2022-07-28T21:16:09.936Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-28T21:16:09.936Z] ---> Running in 73fc5f4589af [2022-07-28T21:16:09.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-28T21:16:09.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-28T21:16:09.936Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-07-28T21:16:09.936Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-07-28T21:16:09.936Z] (3/74) Installing libxau (1.0.9-r0) [2022-07-28T21:16:09.936Z] (4/74) Installing libmd (1.0.3-r0) [2022-07-28T21:16:09.936Z] (5/74) Installing libbsd (0.11.3-r1) [2022-07-28T21:16:09.936Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-07-28T21:16:09.936Z] (7/74) Installing libxcb (1.14-r2) [2022-07-28T21:16:09.936Z] (8/74) Installing libx11 (1.7.2-r0) [2022-07-28T21:16:09.936Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-07-28T21:16:09.936Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-07-28T21:16:09.936Z] (11/74) Installing expat (2.4.7-r0) [2022-07-28T21:16:09.936Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-07-28T21:16:09.936Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-07-28T21:16:09.936Z] (14/74) Installing libpng (1.6.37-r1) [2022-07-28T21:16:09.936Z] (15/74) Installing freetype (2.11.1-r2) [2022-07-28T21:16:09.936Z] (16/74) Installing libuuid (2.37.4-r0) [2022-07-28T21:16:09.936Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-07-28T21:16:09.936Z] (18/74) Installing fribidi (1.0.11-r0) [2022-07-28T21:16:09.936Z] (19/74) Installing libffi (3.4.2-r1) [2022-07-28T21:16:09.936Z] (20/74) Installing libintl (0.21-r0) [2022-07-28T21:16:09.936Z] (21/74) Installing libblkid (2.37.4-r0) [2022-07-28T21:16:09.936Z] (22/74) Installing libmount (2.37.4-r0) [2022-07-28T21:16:09.936Z] (23/74) Installing pcre (8.45-r1) [2022-07-28T21:16:09.936Z] (24/74) Installing glib (2.70.1-r0) [2022-07-28T21:16:09.936Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-07-28T21:16:09.936Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-07-28T21:16:09.936Z] (27/74) Installing libass (0.15.2-r0) [2022-07-28T21:16:10.194Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-07-28T21:16:10.194Z] (29/74) Installing gmp (6.2.1-r1) [2022-07-28T21:16:10.194Z] (30/74) Installing nettle (3.7.3-r0) [2022-07-28T21:16:10.194Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-07-28T21:16:10.194Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-07-28T21:16:10.195Z] (33/74) Installing libunistring (0.9.10-r1) [2022-07-28T21:16:10.195Z] (34/74) Installing gnutls (3.7.1-r0) [2022-07-28T21:16:10.195Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-07-28T21:16:10.195Z] (36/74) Installing ncurses-libs (6.3_p20211120-r1) [2022-07-28T21:16:10.195Z] (37/74) Installing lame (3.100-r0) [2022-07-28T21:16:10.195Z] (38/74) Installing opus (1.3.1-r1) [2022-07-28T21:16:10.195Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-07-28T21:16:10.195Z] (40/74) Installing soxr (0.1.3-r2) [2022-07-28T21:16:10.195Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-07-28T21:16:10.195Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-28T21:16:10.195Z] (43/74) Installing libsrt (1.4.2-r1) [2022-07-28T21:16:10.195Z] (44/74) Installing libssh (0.9.6-r1) [2022-07-28T21:16:10.195Z] (45/74) Installing libogg (1.3.5-r0) [2022-07-28T21:16:10.195Z] (46/74) Installing libtheora (1.1.1-r16) [2022-07-28T21:16:10.195Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-07-28T21:16:10.195Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-07-28T21:16:10.195Z] (49/74) Installing libxext (1.3.4-r0) [2022-07-28T21:16:10.195Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-07-28T21:16:10.195Z] (51/74) Installing libpciaccess (0.16-r0) [2022-07-28T21:16:10.195Z] (52/74) Installing libdrm (2.4.109-r0) [2022-07-28T21:16:10.195Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-07-28T21:16:10.195Z] (54/74) Installing libva (2.13.0-r0) [2022-07-28T21:16:10.195Z] (55/74) Installing libvdpau (1.4-r0) [2022-07-28T21:16:10.195Z] (56/74) Installing vidstab (1.1.0-r1) [2022-07-28T21:16:10.195Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-07-28T21:16:10.195Z] (58/74) Installing libvpx (1.10.0-r0) [2022-07-28T21:16:10.455Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-07-28T21:16:10.455Z] (60/74) Installing libwebp (1.2.2-r0) [2022-07-28T21:16:10.455Z] (61/74) Installing x264-libs (20210613-r0) [2022-07-28T21:16:10.455Z] (62/74) Installing x265-libs (3.5-r0) [2022-07-28T21:16:10.455Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-07-28T21:16:10.455Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-07-28T21:16:10.455Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-07-28T21:16:10.455Z] (66/74) Installing udev-init-scripts (35-r0) [2022-07-28T21:16:10.455Z] Executing udev-init-scripts-35-r0.post-install [2022-07-28T21:16:10.455Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-28T21:16:10.455Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-07-28T21:16:10.455Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-07-28T21:16:10.715Z] (70/74) Installing kmod-libs (29-r2) [2022-07-28T21:16:10.715Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-07-28T21:16:10.715Z] (72/74) Installing libsodium (1.0.18-r0) [2022-07-28T21:16:10.715Z] (73/74) Installing libzmq (4.3.4-r0) [2022-07-28T21:16:10.715Z] (74/74) Installing zeromq (4.3.4-r0) [2022-07-28T21:16:10.715Z] Executing busybox-1.34.1-r7.trigger [2022-07-28T21:16:10.715Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-28T21:16:10.715Z] OK: 78 MiB in 88 packages [2022-07-28T21:16:12.096Z] Removing intermediate container 73fc5f4589af [2022-07-28T21:16:12.097Z] ---> f600f6fd4b75 [2022-07-28T21:16:12.097Z] Step 18/35 : WORKDIR / [2022-07-28T21:16:12.097Z] ---> Running in 880787954dac [2022-07-28T21:16:12.356Z] Removing intermediate container 880787954dac [2022-07-28T21:16:12.356Z] ---> e32c01a130b2 [2022-07-28T21:16:12.356Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-07-28T21:16:12.927Z] ---> df0c5f7a09d6 [2022-07-28T21:16:12.927Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-28T21:16:12.927Z] ---> ef859a16d27f [2022-07-28T21:16:12.927Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-07-28T21:16:13.187Z] ---> 38f08711de60 [2022-07-28T21:16:13.187Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-28T21:16:13.187Z] ---> afddfa84bae5 [2022-07-28T21:16:13.187Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-28T21:16:13.447Z] ---> 4477c6ff961d [2022-07-28T21:16:13.447Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-28T21:16:13.447Z] ---> 3324f5c3a817 [2022-07-28T21:16:13.447Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-07-28T21:16:14.016Z] ---> fb2aedc4f2b8 [2022-07-28T21:16:14.016Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-07-28T21:16:14.016Z] ---> Running in 810d5b367adb [2022-07-28T21:16:14.586Z] Removing intermediate container 810d5b367adb [2022-07-28T21:16:14.586Z] ---> e24bdfb80680 [2022-07-28T21:16:14.586Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-07-28T21:16:14.586Z] ---> Running in 5e0e1605c32e [2022-07-28T21:16:15.161Z] Removing intermediate container 5e0e1605c32e [2022-07-28T21:16:15.161Z] ---> 9f89f1e86076 [2022-07-28T21:16:15.161Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-07-28T21:16:15.423Z] ---> Running in 41cea89fb8be [2022-07-28T21:16:15.996Z] Removing intermediate container 41cea89fb8be [2022-07-28T21:16:15.996Z] ---> 7646130453f7 [2022-07-28T21:16:15.996Z] Step 29/35 : EXPOSE 59983 [2022-07-28T21:16:15.996Z] ---> Running in 1413851ec65f [2022-07-28T21:16:15.996Z] Removing intermediate container 1413851ec65f [2022-07-28T21:16:15.996Z] ---> b7257c3e8852 [2022-07-28T21:16:15.996Z] Step 30/35 : EXPOSE 8554 [2022-07-28T21:16:15.996Z] ---> Running in e5e83dbfcfa9 [2022-07-28T21:16:16.259Z] Removing intermediate container e5e83dbfcfa9 [2022-07-28T21:16:16.259Z] ---> 5e930d9681bc [2022-07-28T21:16:16.259Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-28T21:16:16.259Z] ---> Running in fd311462e091 [2022-07-28T21:16:16.259Z] Removing intermediate container fd311462e091 [2022-07-28T21:16:16.259Z] ---> 6bc4a9f45fcf [2022-07-28T21:16:16.259Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-28T21:16:16.259Z] ---> Running in 607ff3abc6d7 [2022-07-28T21:16:16.519Z] Removing intermediate container 607ff3abc6d7 [2022-07-28T21:16:16.519Z] ---> 2928cb5d8edb [2022-07-28T21:16:16.519Z] Step 33/35 : LABEL arch=amd64 [2022-07-28T21:16:16.519Z] ---> Running in c91afa256ec3 [2022-07-28T21:16:16.519Z] Removing intermediate container c91afa256ec3 [2022-07-28T21:16:16.519Z] ---> 305ffcc4626c [2022-07-28T21:16:16.519Z] Step 34/35 : LABEL git_sha=1b778559ac91a8212467a947f01e6afe9c490311 [2022-07-28T21:16:16.519Z] ---> Running in aceab45bd0ad [2022-07-28T21:16:16.780Z] Removing intermediate container aceab45bd0ad [2022-07-28T21:16:16.780Z] ---> d51ad355ff71 [2022-07-28T21:16:16.780Z] Step 35/35 : LABEL version=0.0.0 [2022-07-28T21:16:16.780Z] ---> Running in d110a464bbc8 [2022-07-28T21:16:16.780Z] Removing intermediate container d110a464bbc8 [2022-07-28T21:16:16.780Z] ---> 3d5a9cc1d959 [2022-07-28T21:16:16.780Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-28T21:16:16.780Z] Successfully built 3d5a9cc1d959 [2022-07-28T21:16:16.780Z] 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 [2022-07-28T21:16:17.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T21:16:17.679Z] [2022-07-28T21:16:17.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:16:18.062Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T21:16:18.062Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-28T21:16:18.062Z] 5eb5b503b376: Pulling fs layer [2022-07-28T21:16:18.062Z] 5c69ac0246d0: Pulling fs layer [2022-07-28T21:16:18.062Z] ec43610c2a17: Pulling fs layer [2022-07-28T21:16:18.062Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-28T21:16:18.062Z] 33b1e0a273af: Pulling fs layer [2022-07-28T21:16:18.062Z] 5d3b04190fa2: Pulling fs layer [2022-07-28T21:16:18.062Z] 2f39f015ded8: Pulling fs layer [2022-07-28T21:16:18.062Z] 33b1e0a273af: Waiting [2022-07-28T21:16:18.062Z] 5d3b04190fa2: Waiting [2022-07-28T21:16:18.062Z] 2f39f015ded8: Waiting [2022-07-28T21:16:18.062Z] 3a2ae6a8a46f: Waiting [2022-07-28T21:16:18.062Z] 5c69ac0246d0: Download complete [2022-07-28T21:16:18.062Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-28T21:16:18.062Z] 3a2ae6a8a46f: Download complete [2022-07-28T21:16:18.325Z] 33b1e0a273af: Verifying Checksum [2022-07-28T21:16:18.325Z] 33b1e0a273af: Download complete [2022-07-28T21:16:18.325Z] 5d3b04190fa2: Verifying Checksum [2022-07-28T21:16:18.325Z] 5d3b04190fa2: Download complete [2022-07-28T21:16:18.325Z] ec43610c2a17: Verifying Checksum [2022-07-28T21:16:18.325Z] ec43610c2a17: Download complete [2022-07-28T21:16:18.325Z] 5eb5b503b376: Verifying Checksum [2022-07-28T21:16:18.325Z] 5eb5b503b376: Download complete [2022-07-28T21:16:18.897Z] 2f39f015ded8: Verifying Checksum [2022-07-28T21:16:18.897Z] 2f39f015ded8: Download complete [2022-07-28T21:16:19.834Z] 5eb5b503b376: Pull complete [2022-07-28T21:16:19.834Z] 5c69ac0246d0: Pull complete [2022-07-28T21:16:20.093Z] ec43610c2a17: Pull complete [2022-07-28T21:16:20.354Z] 3a2ae6a8a46f: Pull complete [2022-07-28T21:16:20.613Z] 33b1e0a273af: Pull complete [2022-07-28T21:16:20.613Z] 5d3b04190fa2: Pull complete [2022-07-28T21:16:24.873Z] 2f39f015ded8: Pull complete [2022-07-28T21:16:24.873Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-28T21:16:24.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T21:16:24.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:16:25.153Z] prd-ubuntu20.04-docker-8c-8g-21406 does not seem to be running inside a container [2022-07-28T21:16:25.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-74 -v /w/workspace/xfoundry_device-usb-camera_PR-74:/w/workspace/xfoundry_device-usb-camera_PR-74:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-74@tmp:/w/workspace/xfoundry_device-usb-camera_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-28T21:16:26.851Z] $ docker top bcddb5bbf2137ddf6852ba3fc1ee15f08a0496058a71f258267e0bffe9c28c4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:16:27.318Z] ---> job-cost.sh [2022-07-28T21:16:27.318Z] lf-activate-venv: SKIPPING [2022-07-28T21:16:27.318Z] INFO: No Stack... [2022-07-28T21:16:27.890Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-28T21:16:28.151Z] INFO: Archiving Costs [Pipeline] sh [2022-07-28T21:16:28.473Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-74/archives/cost.csv [2022-07-28T21:16:28.473Z] + cut -d, -f6 [Pipeline] lock [2022-07-28T21:16:28.519Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-74-1-stack-cost] [2022-07-28T21:16:28.524Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-74-1-stack-cost] did not exist. Created. [2022-07-28T21:16:28.524Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-74-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-28T21:16:28.931Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-28T21:16:28.982Z] Stashed 1 file(s) [Pipeline] } [2022-07-28T21:16:29.015Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-74-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-28T21:16:29.104Z] $ docker stop --time=1 bcddb5bbf2137ddf6852ba3fc1ee15f08a0496058a71f258267e0bffe9c28c4f [2022-07-28T21:16:30.274Z] $ docker rm -f bcddb5bbf2137ddf6852ba3fc1ee15f08a0496058a71f258267e0bffe9c28c4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-28T21:17:34.050Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21407 in /w/workspace/xfoundry_device-usb-camera_PR-74 [Pipeline] { [Pipeline] ws [2022-07-28T21:17:34.093Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-07-28T21:17:34.198Z] Selected Git installation does not exist. Using Default [2022-07-28T21:17:34.198Z] The recommended git tool is: NONE [2022-07-28T21:17:40.775Z] using credential edgex-jenkins-ssh [2022-07-28T21:17:40.797Z] Cloning the remote Git repository [2022-07-28T21:17:40.851Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-07-28T21:17:40.934Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-07-28T21:17:41.011Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-28T21:17:41.012Z] > git --version # timeout=10 [2022-07-28T21:17:41.033Z] > git --version # 'git version 2.25.1' [2022-07-28T21:17:41.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T21:17:41.120Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-28T21:17:42.278Z] Merging remotes/origin/main commit e0ef95115b204dfbd36822ed04c66be8fcb14502 into PR head commit 1b778559ac91a8212467a947f01e6afe9c490311 [2022-07-28T21:17:41.661Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-28T21:17:41.677Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-28T21:17:41.702Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-07-28T21:17:41.739Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-07-28T21:17:41.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T21:17:41.754Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-28T21:17:42.299Z] > git config core.sparsecheckout # timeout=10 [2022-07-28T21:17:42.318Z] > git checkout -f 1b778559ac91a8212467a947f01e6afe9c490311 # timeout=10 [2022-07-28T21:17:42.404Z] > git remote # timeout=10 [2022-07-28T21:17:42.491Z] Merge succeeded, producing 1b778559ac91a8212467a947f01e6afe9c490311 [2022-07-28T21:17:42.492Z] Checking out Revision 1b778559ac91a8212467a947f01e6afe9c490311 (PR-74) [2022-07-28T21:17:42.421Z] > git config --get remote.origin.url # timeout=10 [2022-07-28T21:17:42.438Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-28T21:17:42.451Z] > git merge e0ef95115b204dfbd36822ed04c66be8fcb14502 # timeout=10 [2022-07-28T21:17:42.475Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-28T21:17:42.499Z] > git config core.sparsecheckout # timeout=10 [2022-07-28T21:17:42.518Z] > git checkout -f 1b778559ac91a8212467a947f01e6afe9c490311 # timeout=10 [2022-07-28T21:17:46.700Z] Commit message: "docs: added CameraStatus command to readme" [2022-07-28T21:17:46.757Z] > git --version # timeout=10 [2022-07-28T21:17:46.773Z] > git --version # 'git version 2.25.1' [2022-07-28T21:17:46.784Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T21:17:47.958Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-28T21:17:47.959Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T21:17:47.959Z] Dload Upload Total Spent Left Speed [2022-07-28T21:17:47.959Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 215k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2022-07-28T21:17:48.704Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-28T21:17:49.066Z] + sudo tee /etc/docker/daemon.new [2022-07-28T21:17:49.066Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-28T21:17:49.066Z] { [2022-07-28T21:17:49.066Z] "registry-mirrors": [ [2022-07-28T21:17:49.066Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-28T21:17:49.066Z] ], [2022-07-28T21:17:49.066Z] "bip": "10.250.0.254/24", [2022-07-28T21:17:49.066Z] "hosts": [ [2022-07-28T21:17:49.066Z] "tcp://0.0.0.0:5555", [2022-07-28T21:17:49.066Z] "unix:///var/run/docker.sock" [2022-07-28T21:17:49.066Z] ], [2022-07-28T21:17:49.066Z] "mtu": 1458, [2022-07-28T21:17:49.066Z] "selinux-enabled": true, [2022-07-28T21:17:49.066Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-28T21:17:49.066Z] } [Pipeline] sh [2022-07-28T21:17:49.467Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-28T21:17:49.954Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T21:18:08.377Z] provisioning config files... [2022-07-28T21:18:08.405Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config2501188434536208532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:18:08.855Z] ---> docker-login.sh [2022-07-28T21:18:08.855Z] nexus3.edgexfoundry.org:10001 [2022-07-28T21:18:09.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:18:09.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:18:09.725Z] Configure a credential helper to remove this warning. See [2022-07-28T21:18:09.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:18:09.725Z] [2022-07-28T21:18:09.725Z] Login Succeeded [2022-07-28T21:18:09.725Z] nexus3.edgexfoundry.org:10002 [2022-07-28T21:18:10.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:18:10.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:18:10.328Z] Configure a credential helper to remove this warning. See [2022-07-28T21:18:10.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:18:10.328Z] [2022-07-28T21:18:10.328Z] Login Succeeded [2022-07-28T21:18:10.328Z] nexus3.edgexfoundry.org:10003 [2022-07-28T21:18:10.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:18:10.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:18:10.606Z] Configure a credential helper to remove this warning. See [2022-07-28T21:18:10.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:18:10.606Z] [2022-07-28T21:18:10.606Z] Login Succeeded [2022-07-28T21:18:10.880Z] nexus3.edgexfoundry.org:10004 [2022-07-28T21:18:11.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:18:11.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:18:11.154Z] Configure a credential helper to remove this warning. See [2022-07-28T21:18:11.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:18:11.154Z] [2022-07-28T21:18:11.154Z] Login Succeeded [2022-07-28T21:18:11.154Z] docker.io [2022-07-28T21:18:11.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:18:12.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:18:12.029Z] Configure a credential helper to remove this warning. See [2022-07-28T21:18:12.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:18:12.029Z] [2022-07-28T21:18:12.029Z] Login Succeeded [2022-07-28T21:18:12.029Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T21:18:12.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-28T21:18:12.467Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T21:18:12.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T21:18:12.547Z] ========================================================= [2022-07-28T21:18:12.547Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-28T21:18:12.547Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:18:13.074Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-28T21:18:13.348Z] Sending build context to Docker daemon 527.4kB [2022-07-28T21:18:13.348Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-28T21:18:13.348Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-28T21:18:13.629Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-28T21:18:13.629Z] b3c136eddcbf: Pulling fs layer [2022-07-28T21:18:13.629Z] c0a3192eca97: Pulling fs layer [2022-07-28T21:18:13.629Z] a050256f5b6f: Pulling fs layer [2022-07-28T21:18:13.629Z] 656be50a0ddc: Pulling fs layer [2022-07-28T21:18:13.629Z] 2bbca73fdf42: Pulling fs layer [2022-07-28T21:18:13.629Z] 46d945488cbd: Pulling fs layer [2022-07-28T21:18:13.629Z] 8a5474983e97: Pulling fs layer [2022-07-28T21:18:13.629Z] 329c88fbcd65: Pulling fs layer [2022-07-28T21:18:13.629Z] 46d945488cbd: Waiting [2022-07-28T21:18:13.629Z] 8a5474983e97: Waiting [2022-07-28T21:18:13.629Z] 329c88fbcd65: Waiting [2022-07-28T21:18:13.629Z] 656be50a0ddc: Waiting [2022-07-28T21:18:13.629Z] 2bbca73fdf42: Waiting [2022-07-28T21:18:13.629Z] a050256f5b6f: Verifying Checksum [2022-07-28T21:18:13.629Z] a050256f5b6f: Download complete [2022-07-28T21:18:13.629Z] c0a3192eca97: Verifying Checksum [2022-07-28T21:18:13.629Z] c0a3192eca97: Download complete [2022-07-28T21:18:13.629Z] 2bbca73fdf42: Verifying Checksum [2022-07-28T21:18:13.629Z] 2bbca73fdf42: Download complete [2022-07-28T21:18:13.629Z] 46d945488cbd: Verifying Checksum [2022-07-28T21:18:13.629Z] 46d945488cbd: Download complete [2022-07-28T21:18:13.629Z] b3c136eddcbf: Verifying Checksum [2022-07-28T21:18:14.636Z] 329c88fbcd65: Verifying Checksum [2022-07-28T21:18:14.636Z] 329c88fbcd65: Download complete [2022-07-28T21:18:14.636Z] b3c136eddcbf: Pull complete [2022-07-28T21:18:15.242Z] c0a3192eca97: Pull complete [2022-07-28T21:18:15.519Z] a050256f5b6f: Pull complete [2022-07-28T21:18:15.794Z] 8a5474983e97: Download complete [2022-07-28T21:18:16.780Z] 656be50a0ddc: Verifying Checksum [2022-07-28T21:18:16.780Z] 656be50a0ddc: Download complete [2022-07-28T21:18:31.880Z] 656be50a0ddc: Pull complete [2022-07-28T21:18:31.880Z] 2bbca73fdf42: Pull complete [2022-07-28T21:18:31.880Z] 46d945488cbd: Pull complete [2022-07-28T21:18:36.202Z] 8a5474983e97: Pull complete [2022-07-28T21:18:38.837Z] 329c88fbcd65: Pull complete [2022-07-28T21:18:38.837Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-28T21:18:38.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-28T21:18:38.837Z] ---> ff4287adb874 [2022-07-28T21:18:38.837Z] Step 3/13 : ARG MAKE="make build" [2022-07-28T21:18:40.275Z] ---> Running in add425dc1b25 [2022-07-28T21:18:40.550Z] Removing intermediate container add425dc1b25 [2022-07-28T21:18:40.551Z] ---> f4116d1b7693 [2022-07-28T21:18:40.551Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-28T21:18:40.551Z] ---> Running in f20c24b2b891 [2022-07-28T21:18:41.158Z] Removing intermediate container f20c24b2b891 [2022-07-28T21:18:41.158Z] ---> 0cb96ccc463f [2022-07-28T21:18:41.158Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-28T21:18:41.158Z] ---> Running in c067272e501c [2022-07-28T21:18:42.612Z] Removing intermediate container c067272e501c [2022-07-28T21:18:42.613Z] ---> d8d040a31e09 [2022-07-28T21:18:42.613Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T21:18:42.613Z] ---> Running in 8a078e444f62 [2022-07-28T21:18:44.069Z] Removing intermediate container 8a078e444f62 [2022-07-28T21:18:44.069Z] ---> 226b1449a1e1 [2022-07-28T21:18:44.069Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-28T21:18:44.351Z] ---> Running in 30234396c01d [2022-07-28T21:18:45.333Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T21:18:46.339Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T21:18:47.322Z] (1/14) Installing libintl (0.21-r2) [2022-07-28T21:18:47.322Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-07-28T21:18:47.322Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-07-28T21:18:47.599Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-07-28T21:18:47.599Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-07-28T21:18:47.876Z] (6/14) Installing udev-init-scripts (35-r0) [2022-07-28T21:18:47.876Z] Executing udev-init-scripts-35-r0.post-install [2022-07-28T21:18:47.876Z] (7/14) Installing libblkid (2.38-r1) [2022-07-28T21:18:48.151Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-07-28T21:18:48.151Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-07-28T21:18:48.151Z] (10/14) Installing kmod-libs (29-r2) [2022-07-28T21:18:48.424Z] (11/14) Installing eudev (3.2.11-r0) [2022-07-28T21:18:48.424Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-07-28T21:18:48.424Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-28T21:18:48.702Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-07-28T21:18:48.702Z] Executing busybox-1.35.0-r13.trigger [2022-07-28T21:18:48.702Z] Executing eudev-3.2.11-r0.trigger [2022-07-28T21:18:48.702Z] OK: 228 MiB in 65 packages [2022-07-28T21:18:50.139Z] Removing intermediate container 30234396c01d [2022-07-28T21:18:50.139Z] ---> 74b99125f41d [2022-07-28T21:18:50.139Z] Step 8/13 : WORKDIR /device-usb-camera [2022-07-28T21:18:50.139Z] ---> Running in 84eb09d0856a [2022-07-28T21:18:50.422Z] Removing intermediate container 84eb09d0856a [2022-07-28T21:18:50.422Z] ---> 7c7ddf244f46 [2022-07-28T21:18:50.422Z] Step 9/13 : COPY go.mod vendor* ./ [2022-07-28T21:18:51.020Z] ---> 15e127314724 [2022-07-28T21:18:51.020Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T21:18:51.020Z] ---> Running in bcc403abd193 [2022-07-28T21:19:38.023Z] Removing intermediate container bcc403abd193 [2022-07-28T21:19:38.023Z] ---> 12ef1a885709 [2022-07-28T21:19:38.023Z] Step 11/13 : COPY . . [2022-07-28T21:19:38.023Z] ---> 42d1c89197d3 [2022-07-28T21:19:38.023Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-28T21:19:38.023Z] ---> Running in 5d0611d569da [2022-07-28T21:19:38.023Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T21:19:38.023Z] Dload Upload Total Spent Left Speed [2022-07-28T21:19:38.023Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14631 0 --:--:-- --:--:-- --:--:-- 14957 [2022-07-28T21:19:38.023Z] Removing intermediate container 5d0611d569da [2022-07-28T21:19:38.023Z] ---> 4312f3c7eb35 [2022-07-28T21:19:38.023Z] Step 13/13 : RUN ${MAKE} [2022-07-28T21:19:38.023Z] ---> Running in 5dccc52222dc [2022-07-28T21:19:38.623Z] noop [2022-07-28T21:19:39.222Z] Removing intermediate container 5dccc52222dc [2022-07-28T21:19:39.222Z] ---> d2742f31da41 [2022-07-28T21:19:39.222Z] Successfully built d2742f31da41 [2022-07-28T21:19:39.222Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:19:39.713Z] + docker inspect -f . ci-base-image-arm64 [2022-07-28T21:19:39.713Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:19:40.038Z] prd-ubuntu20.04-docker-arm64-4c-16g-21407 does not seem to be running inside a container [2022-07-28T21:19:40.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-28T21:19:41.498Z] $ docker top 7f0d38d2627ceef30d8b26c9d39b2e5c50fc1fd6834ebd909adbbaecb3f872c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T21:19:42.480Z] + go version [2022-07-28T21:19:42.480Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-28T21:19:42.514Z] $ docker stop --time=1 7f0d38d2627ceef30d8b26c9d39b2e5c50fc1fd6834ebd909adbbaecb3f872c7 [2022-07-28T21:19:44.173Z] $ docker rm -f 7f0d38d2627ceef30d8b26c9d39b2e5c50fc1fd6834ebd909adbbaecb3f872c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:19:45.086Z] + docker inspect -f . ci-base-image-arm64 [2022-07-28T21:19:45.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:19:45.396Z] prd-ubuntu20.04-docker-arm64-4c-16g-21407 does not seem to be running inside a container [2022-07-28T21:19:45.480Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-28T21:19:46.845Z] $ docker top 0df20abfa02e78905780438b878bee0eaa94c437a0eb24caa9842896a27b1dd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T21:19:47.802Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-07-28T21:19:48.535Z] + make test [2022-07-28T21:19:48.535Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-28T21:19:50.004Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-28T21:21:11.897Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-28T21:21:16.230Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.066s coverage: 1.9% of statements [2022-07-28T21:21:16.830Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-28T21:21:16.830Z] CGO_ENABLED=1 go vet ./... [2022-07-28T21:21:39.039Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-28T21:21:39.039Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-28T21:21:39.039Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-28T21:21:39.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-28T21:21:39.112Z] $ docker stop --time=1 0df20abfa02e78905780438b878bee0eaa94c437a0eb24caa9842896a27b1dd5 [2022-07-28T21:21:40.832Z] $ docker rm -f 0df20abfa02e78905780438b878bee0eaa94c437a0eb24caa9842896a27b1dd5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T21:21:41.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-28T21:21:41.877Z] Warning: overwriting stash ‘coverage-report’ [2022-07-28T21:21:42.324Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T21:21:42.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-28T21:21:43.265Z] + ls -al . [2022-07-28T21:21:43.265Z] total 192 [2022-07-28T21:21:43.265Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 21:21 . [2022-07-28T21:21:43.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 21:17 .. [2022-07-28T21:21:43.265Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 21:17 .git [2022-07-28T21:21:43.265Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 21:17 .github [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 28 21:17 .gitignore [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 21:17 .golangci.yml [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 28 21:17 .hadolint.yml [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 9065 Jul 28 21:17 Attribution.txt [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 1206 Jul 28 21:17 CHANGELOG.md [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 2410 Jul 28 21:17 Dockerfile [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 28 21:17 GOVERNANCE.md [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 28 21:17 Jenkinsfile [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 28 21:17 LICENSE [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 28 21:17 Makefile [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 28 21:17 OWNERS.md [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 12817 Jul 28 21:17 README.md [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 21:14 VERSION [2022-07-28T21:21:43.265Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 21:17 bin [2022-07-28T21:21:43.265Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 21:17 cmd [2022-07-28T21:21:43.265Z] -rw-r--r-- 1 jenkins jenkins 29387 Jul 28 21:21 coverage.out [2022-07-28T21:21:43.265Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 28 21:17 docker-entrypoint.sh [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 3382 Jul 28 21:17 go.mod [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 35824 Jul 28 21:17 go.sum [2022-07-28T21:21:43.265Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 21:17 internal [2022-07-28T21:21:43.265Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 21:17 snap [2022-07-28T21:21:43.265Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 28 21:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:21:43.696Z] + 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=1b778559ac91a8212467a947f01e6afe9c490311 --label arch=arm64 --label version=0.0.0 . [2022-07-28T21:21:43.985Z] Sending build context to Docker daemon 557.6kB [2022-07-28T21:21:43.985Z] Step 1/35 : ARG BASE=golang:1.17-alpine3.15 [2022-07-28T21:21:43.985Z] Step 2/35 : FROM ${BASE} AS builder [2022-07-28T21:21:43.985Z] ---> d2742f31da41 [2022-07-28T21:21:43.985Z] Step 3/35 : ARG MAKE="make build" [2022-07-28T21:21:43.985Z] ---> Running in 2cd84af0e9e9 [2022-07-28T21:21:44.587Z] Removing intermediate container 2cd84af0e9e9 [2022-07-28T21:21:44.587Z] ---> f2aac277c97b [2022-07-28T21:21:44.587Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-28T21:21:44.587Z] ---> Running in e6c625f98444 [2022-07-28T21:21:44.863Z] Removing intermediate container e6c625f98444 [2022-07-28T21:21:44.863Z] ---> aa855789dcef [2022-07-28T21:21:44.863Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-28T21:21:44.863Z] ---> Running in 869122d022fb [2022-07-28T21:21:45.140Z] Removing intermediate container 869122d022fb [2022-07-28T21:21:45.140Z] ---> bbc736009678 [2022-07-28T21:21:45.140Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T21:21:45.140Z] ---> Running in dc82da73a8e7 [2022-07-28T21:21:47.124Z] Removing intermediate container dc82da73a8e7 [2022-07-28T21:21:47.124Z] ---> 42ee22ec5656 [2022-07-28T21:21:47.124Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-28T21:21:47.124Z] ---> Running in 012c582539ba [2022-07-28T21:21:47.723Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-28T21:21:48.709Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-28T21:21:49.689Z] OK: 228 MiB in 65 packages [2022-07-28T21:21:50.291Z] Removing intermediate container 012c582539ba [2022-07-28T21:21:50.291Z] ---> 83d20a1d94d4 [2022-07-28T21:21:50.291Z] Step 8/35 : WORKDIR /device-usb-camera [2022-07-28T21:21:50.567Z] ---> Running in 372c1adf3904 [2022-07-28T21:21:50.844Z] Removing intermediate container 372c1adf3904 [2022-07-28T21:21:50.844Z] ---> b555ff2375d0 [2022-07-28T21:21:50.844Z] Step 9/35 : COPY go.mod vendor* ./ [2022-07-28T21:21:51.444Z] ---> bdead21c12b9 [2022-07-28T21:21:51.444Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T21:21:51.444Z] ---> Running in 83beb0743a71 [2022-07-28T21:21:53.431Z] Removing intermediate container 83beb0743a71 [2022-07-28T21:21:53.431Z] ---> 516f4b2f5ffd [2022-07-28T21:21:53.431Z] Step 11/35 : COPY . . [2022-07-28T21:21:54.053Z] ---> 4638d0ecb481 [2022-07-28T21:21:54.053Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-28T21:21:54.053Z] ---> Running in 326db59cebb8 [2022-07-28T21:21:55.502Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T21:21:55.502Z] Dload Upload Total Spent Left Speed [2022-07-28T21:21:55.502Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7165 0 --:--:-- --:--:-- --:--:-- 7224 [2022-07-28T21:21:56.101Z] Removing intermediate container 326db59cebb8 [2022-07-28T21:21:56.101Z] ---> f05083d782b2 [2022-07-28T21:21:56.101Z] Step 13/35 : RUN ${MAKE} [2022-07-28T21:21:56.101Z] ---> Running in 25f594ed1f9b [2022-07-28T21:21:57.093Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-07-28T21:24:04.006Z] Removing intermediate container 25f594ed1f9b [2022-07-28T21:24:04.006Z] ---> 6def7414a9af [2022-07-28T21:24:04.006Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-28T21:24:04.279Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-28T21:24:04.552Z] eab2503cf8f4: Pulling fs layer [2022-07-28T21:24:04.552Z] 97cd0a44c592: Pulling fs layer [2022-07-28T21:24:04.826Z] 97cd0a44c592: Download complete [2022-07-28T21:24:06.260Z] eab2503cf8f4: Verifying Checksum [2022-07-28T21:24:06.260Z] eab2503cf8f4: Download complete [2022-07-28T21:24:06.539Z] eab2503cf8f4: Pull complete [2022-07-28T21:24:06.811Z] 97cd0a44c592: Pull complete [2022-07-28T21:24:06.811Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-28T21:24:06.811Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-28T21:24:06.811Z] ---> 7f763cca56b3 [2022-07-28T21:24:06.811Z] Step 15/35 : FROM alpine:3.15 [2022-07-28T21:24:07.413Z] 3.15: Pulling from library/alpine [2022-07-28T21:24:07.686Z] e0295fd11fe2: Pulling fs layer [2022-07-28T21:24:07.959Z] e0295fd11fe2: Download complete [2022-07-28T21:24:08.555Z] e0295fd11fe2: Pull complete [2022-07-28T21:24:08.555Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-28T21:24:08.555Z] Status: Downloaded newer image for alpine:3.15 [2022-07-28T21:24:08.555Z] ---> 60f2846fe774 [2022-07-28T21:24:08.555Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-28T21:24:08.555Z] ---> Running in d55e6bc375ea [2022-07-28T21:24:08.833Z] Removing intermediate container d55e6bc375ea [2022-07-28T21:24:08.833Z] ---> 548d181a6ea7 [2022-07-28T21:24:08.833Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-28T21:24:08.833Z] ---> Running in 499a06e8ca56 [2022-07-28T21:24:09.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-28T21:24:10.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-28T21:24:11.807Z] (1/73) Installing dumb-init (1.2.5-r1) [2022-07-28T21:24:11.807Z] (2/73) Installing sdl2 (2.0.16-r4) [2022-07-28T21:24:11.807Z] (3/73) Installing libxau (1.0.9-r0) [2022-07-28T21:24:11.807Z] (4/73) Installing libmd (1.0.3-r0) [2022-07-28T21:24:11.807Z] (5/73) Installing libbsd (0.11.3-r1) [2022-07-28T21:24:11.807Z] (6/73) Installing libxdmcp (1.1.3-r0) [2022-07-28T21:24:11.807Z] (7/73) Installing libxcb (1.14-r2) [2022-07-28T21:24:11.807Z] (8/73) Installing libx11 (1.7.2-r0) [2022-07-28T21:24:12.080Z] (9/73) Installing aom-libs (3.2.0-r0) [2022-07-28T21:24:12.080Z] (10/73) Installing alsa-lib (1.2.5.1-r1) [2022-07-28T21:24:12.080Z] (11/73) Installing expat (2.4.7-r0) [2022-07-28T21:24:12.080Z] (12/73) Installing brotli-libs (1.0.9-r5) [2022-07-28T21:24:12.353Z] (13/73) Installing libbz2 (1.0.8-r1) [2022-07-28T21:24:12.354Z] (14/73) Installing libpng (1.6.37-r1) [2022-07-28T21:24:12.354Z] (15/73) Installing freetype (2.11.1-r2) [2022-07-28T21:24:12.354Z] (16/73) Installing libuuid (2.37.4-r0) [2022-07-28T21:24:12.354Z] (17/73) Installing fontconfig (2.13.1-r4) [2022-07-28T21:24:12.354Z] (18/73) Installing fribidi (1.0.11-r0) [2022-07-28T21:24:12.354Z] (19/73) Installing libffi (3.4.2-r1) [2022-07-28T21:24:12.354Z] (20/73) Installing libintl (0.21-r0) [2022-07-28T21:24:12.354Z] (21/73) Installing libblkid (2.37.4-r0) [2022-07-28T21:24:12.354Z] (22/73) Installing libmount (2.37.4-r0) [2022-07-28T21:24:12.354Z] (23/73) Installing pcre (8.45-r1) [2022-07-28T21:24:12.354Z] (24/73) Installing glib (2.70.1-r0) [2022-07-28T21:24:12.354Z] (25/73) Installing graphite2 (1.3.14-r0) [2022-07-28T21:24:12.627Z] (26/73) Installing harfbuzz (3.0.0-r2) [2022-07-28T21:24:12.627Z] (27/73) Installing libass (0.15.2-r0) [2022-07-28T21:24:12.627Z] (28/73) Installing libdav1d (0.9.2-r0) [2022-07-28T21:24:12.627Z] (29/73) Installing gmp (6.2.1-r1) [2022-07-28T21:24:12.627Z] (30/73) Installing nettle (3.7.3-r0) [2022-07-28T21:24:12.627Z] (31/73) Installing p11-kit (0.24.0-r1) [2022-07-28T21:24:12.627Z] (32/73) Installing libtasn1 (4.18.0-r0) [2022-07-28T21:24:12.627Z] (33/73) Installing libunistring (0.9.10-r1) [2022-07-28T21:24:12.627Z] (34/73) Installing gnutls (3.7.1-r0) [2022-07-28T21:24:12.627Z] (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-07-28T21:24:12.900Z] (36/73) Installing ncurses-libs (6.3_p20211120-r1) [2022-07-28T21:24:12.900Z] (37/73) Installing lame (3.100-r0) [2022-07-28T21:24:12.900Z] (38/73) Installing opus (1.3.1-r1) [2022-07-28T21:24:12.900Z] (39/73) Installing libgomp (10.3.1_git20211027-r0) [2022-07-28T21:24:12.900Z] (40/73) Installing soxr (0.1.3-r2) [2022-07-28T21:24:12.901Z] (41/73) Installing libgcc (10.3.1_git20211027-r0) [2022-07-28T21:24:12.901Z] (42/73) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-28T21:24:12.901Z] (43/73) Installing libsrt (1.4.2-r1) [2022-07-28T21:24:12.901Z] (44/73) Installing libssh (0.9.6-r1) [2022-07-28T21:24:12.901Z] (45/73) Installing libogg (1.3.5-r0) [2022-07-28T21:24:12.901Z] (46/73) Installing libtheora (1.1.1-r16) [2022-07-28T21:24:12.901Z] (47/73) Installing libjpeg-turbo (2.1.2-r0) [2022-07-28T21:24:12.901Z] (48/73) Installing v4l-utils-libs (1.22.1-r1) [2022-07-28T21:24:12.901Z] (49/73) Installing libxext (1.3.4-r0) [2022-07-28T21:24:12.901Z] (50/73) Installing libxfixes (6.0.0-r0) [2022-07-28T21:24:12.901Z] (51/73) Installing libdrm (2.4.109-r0) [2022-07-28T21:24:12.901Z] (52/73) Installing wayland-libs-client (1.19.0-r1) [2022-07-28T21:24:12.901Z] (53/73) Installing libva (2.13.0-r0) [2022-07-28T21:24:13.174Z] (54/73) Installing libvdpau (1.4-r0) [2022-07-28T21:24:13.174Z] (55/73) Installing vidstab (1.1.0-r1) [2022-07-28T21:24:13.174Z] (56/73) Installing libvorbis (1.3.7-r0) [2022-07-28T21:24:13.174Z] (57/73) Installing libvpx (1.10.0-r0) [2022-07-28T21:24:13.174Z] (58/73) Installing vulkan-loader (1.2.196-r0) [2022-07-28T21:24:13.174Z] (59/73) Installing libwebp (1.2.2-r0) [2022-07-28T21:24:13.174Z] (60/73) Installing x264-libs (20210613-r0) [2022-07-28T21:24:13.174Z] (61/73) Installing x265-libs (3.5-r0) [2022-07-28T21:24:13.174Z] (62/73) Installing xvidcore (1.3.7-r1) [2022-07-28T21:24:13.174Z] (63/73) Installing ffmpeg-libs (4.4.1-r2) [2022-07-28T21:24:13.773Z] (64/73) Installing ffmpeg (4.4.1-r2) [2022-07-28T21:24:13.773Z] (65/73) Installing udev-init-scripts (35-r0) [2022-07-28T21:24:13.773Z] Executing udev-init-scripts-35-r0.post-install [2022-07-28T21:24:13.773Z] (66/73) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-28T21:24:13.773Z] (67/73) Installing xz-libs (5.2.5-r1) [2022-07-28T21:24:13.773Z] (68/73) Installing zstd-libs (1.5.0-r0) [2022-07-28T21:24:13.773Z] (69/73) Installing kmod-libs (29-r2) [2022-07-28T21:24:13.773Z] (70/73) Installing eudev (3.2.11_pre1-r0) [2022-07-28T21:24:13.773Z] (71/73) Installing libsodium (1.0.18-r0) [2022-07-28T21:24:13.773Z] (72/73) Installing libzmq (4.3.4-r0) [2022-07-28T21:24:13.773Z] (73/73) Installing zeromq (4.3.4-r0) [2022-07-28T21:24:13.773Z] Executing busybox-1.34.1-r7.trigger [2022-07-28T21:24:13.773Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-28T21:24:14.054Z] OK: 67 MiB in 87 packages [2022-07-28T21:24:16.733Z] Removing intermediate container 499a06e8ca56 [2022-07-28T21:24:16.733Z] ---> 52dab545b72f [2022-07-28T21:24:16.733Z] Step 18/35 : WORKDIR / [2022-07-28T21:24:16.733Z] ---> Running in 381beaebc267 [2022-07-28T21:24:17.332Z] Removing intermediate container 381beaebc267 [2022-07-28T21:24:17.332Z] ---> b406df0244a1 [2022-07-28T21:24:17.332Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-07-28T21:24:18.808Z] ---> 3d3837734182 [2022-07-28T21:24:18.808Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-28T21:24:19.084Z] ---> d69e8f5d86d8 [2022-07-28T21:24:19.084Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-07-28T21:24:19.687Z] ---> d08a835ab5fe [2022-07-28T21:24:19.687Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-28T21:24:20.321Z] ---> fbda061c6498 [2022-07-28T21:24:20.321Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-28T21:24:20.923Z] ---> 8511b36a0801 [2022-07-28T21:24:20.923Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-28T21:24:21.197Z] ---> 8127facbc967 [2022-07-28T21:24:21.197Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-07-28T21:24:22.639Z] ---> 5f5c8bb966e2 [2022-07-28T21:24:22.639Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-07-28T21:24:22.639Z] ---> Running in 80a9a3bc6cdb [2022-07-28T21:24:24.085Z] Removing intermediate container 80a9a3bc6cdb [2022-07-28T21:24:24.085Z] ---> a3281000743e [2022-07-28T21:24:24.085Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-07-28T21:24:24.361Z] ---> Running in 9da997b57c3b [2022-07-28T21:24:25.806Z] Removing intermediate container 9da997b57c3b [2022-07-28T21:24:25.806Z] ---> d6b669d84e74 [2022-07-28T21:24:25.806Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-07-28T21:24:25.806Z] ---> Running in bba2826a9e15 [2022-07-28T21:24:27.824Z] Removing intermediate container bba2826a9e15 [2022-07-28T21:24:27.824Z] ---> 3747777fe070 [2022-07-28T21:24:27.824Z] Step 29/35 : EXPOSE 59983 [2022-07-28T21:24:27.824Z] ---> Running in 4b89bfbb3b49 [2022-07-28T21:24:27.824Z] Removing intermediate container 4b89bfbb3b49 [2022-07-28T21:24:27.824Z] ---> d4b849933a3b [2022-07-28T21:24:27.824Z] Step 30/35 : EXPOSE 8554 [2022-07-28T21:24:27.824Z] ---> Running in f50aa5e8ad46 [2022-07-28T21:24:28.430Z] Removing intermediate container f50aa5e8ad46 [2022-07-28T21:24:28.430Z] ---> b618e6fa5743 [2022-07-28T21:24:28.430Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-28T21:24:28.430Z] ---> Running in 06af2c4ef2e5 [2022-07-28T21:24:28.704Z] Removing intermediate container 06af2c4ef2e5 [2022-07-28T21:24:28.704Z] ---> 06fbf8977aab [2022-07-28T21:24:28.704Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-28T21:24:28.704Z] ---> Running in 52e31055091e [2022-07-28T21:24:28.976Z] Removing intermediate container 52e31055091e [2022-07-28T21:24:28.976Z] ---> a2a2367c1237 [2022-07-28T21:24:28.976Z] Step 33/35 : LABEL arch=arm64 [2022-07-28T21:24:28.976Z] ---> Running in b86ea41bf9b4 [2022-07-28T21:24:29.570Z] Removing intermediate container b86ea41bf9b4 [2022-07-28T21:24:29.570Z] ---> 2c571068a54c [2022-07-28T21:24:29.570Z] Step 34/35 : LABEL git_sha=1b778559ac91a8212467a947f01e6afe9c490311 [2022-07-28T21:24:29.570Z] ---> Running in daf5aa988a55 [2022-07-28T21:24:29.844Z] Removing intermediate container daf5aa988a55 [2022-07-28T21:24:29.844Z] ---> 190d78a3ca79 [2022-07-28T21:24:29.844Z] Step 35/35 : LABEL version=0.0.0 [2022-07-28T21:24:29.844Z] ---> Running in 1ae88d0de65e [2022-07-28T21:24:30.117Z] Removing intermediate container 1ae88d0de65e [2022-07-28T21:24:30.117Z] ---> 1a4a22ddbabf [2022-07-28T21:24:30.117Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-28T21:24:30.117Z] Successfully built 1a4a22ddbabf [2022-07-28T21:24:30.117Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:24:30.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T21:24:30.982Z] [2022-07-28T21:24:30.982Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:24:31.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T21:24:31.688Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-28T21:24:31.688Z] 8998bd30e6a1: Pulling fs layer [2022-07-28T21:24:31.688Z] 04944245beec: Pulling fs layer [2022-07-28T21:24:31.688Z] 699f458cf7ca: Pulling fs layer [2022-07-28T21:24:31.688Z] 765212b225bb: Pulling fs layer [2022-07-28T21:24:31.688Z] f23df028b6ca: Pulling fs layer [2022-07-28T21:24:31.688Z] d65c8cfc05b1: Pulling fs layer [2022-07-28T21:24:31.688Z] 2437ff75d9bd: Pulling fs layer [2022-07-28T21:24:31.688Z] d65c8cfc05b1: Waiting [2022-07-28T21:24:31.688Z] 2437ff75d9bd: Waiting [2022-07-28T21:24:31.688Z] f23df028b6ca: Waiting [2022-07-28T21:24:31.688Z] 765212b225bb: Waiting [2022-07-28T21:24:31.688Z] 04944245beec: Verifying Checksum [2022-07-28T21:24:31.688Z] 04944245beec: Download complete [2022-07-28T21:24:31.688Z] 765212b225bb: Verifying Checksum [2022-07-28T21:24:31.688Z] 765212b225bb: Download complete [2022-07-28T21:24:31.688Z] f23df028b6ca: Verifying Checksum [2022-07-28T21:24:31.688Z] f23df028b6ca: Download complete [2022-07-28T21:24:31.688Z] d65c8cfc05b1: Verifying Checksum [2022-07-28T21:24:31.688Z] d65c8cfc05b1: Download complete [2022-07-28T21:24:31.964Z] 699f458cf7ca: Verifying Checksum [2022-07-28T21:24:31.964Z] 699f458cf7ca: Download complete [2022-07-28T21:24:32.241Z] 8998bd30e6a1: Download complete [2022-07-28T21:24:34.893Z] 2437ff75d9bd: Verifying Checksum [2022-07-28T21:24:34.893Z] 2437ff75d9bd: Download complete [2022-07-28T21:24:36.899Z] 8998bd30e6a1: Pull complete [2022-07-28T21:24:37.175Z] 04944245beec: Pull complete [2022-07-28T21:24:38.624Z] 699f458cf7ca: Pull complete [2022-07-28T21:24:38.900Z] 765212b225bb: Pull complete [2022-07-28T21:24:39.510Z] f23df028b6ca: Pull complete [2022-07-28T21:24:39.783Z] d65c8cfc05b1: Pull complete [2022-07-28T21:24:54.882Z] 2437ff75d9bd: Pull complete [2022-07-28T21:24:54.882Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-28T21:24:54.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T21:24:54.882Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:24:55.259Z] prd-ubuntu20.04-docker-arm64-4c-16g-21407 does not seem to be running inside a container [2022-07-28T21:24:55.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-28T21:24:57.826Z] $ docker top 31871d2526bf0f5a3752eb97097e881fcb1f142187ea4340c22604e0948467bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:24:58.824Z] ---> job-cost.sh [2022-07-28T21:24:58.824Z] lf-activate-venv: SKIPPING [2022-07-28T21:24:58.824Z] INFO: No Stack... [2022-07-28T21:24:59.095Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-28T21:25:00.073Z] INFO: Archiving Costs [Pipeline] sh [2022-07-28T21:25:00.923Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-07-28T21:25:00.923Z] + cut -d, -f6 [Pipeline] lock [2022-07-28T21:25:01.008Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-74-1-stack-cost] [2022-07-28T21:25:01.012Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-74-1-stack-cost] did not exist. Created. [2022-07-28T21:25:01.012Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-74-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-28T21:25:01.872Z] /w/workspace/device-usb-camera/1@tmp/durable-6addfbfc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-28T21:25:02.607Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-28T21:25:02.650Z] Warning: overwriting stash ‘stack-cost’ [2022-07-28T21:25:02.703Z] Stashed 1 file(s) [Pipeline] } [2022-07-28T21:25:02.719Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-74-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-28T21:25:02.796Z] $ docker stop --time=1 31871d2526bf0f5a3752eb97097e881fcb1f142187ea4340c22604e0948467bb [2022-07-28T21:25:04.332Z] $ docker rm -f 31871d2526bf0f5a3752eb97097e881fcb1f142187ea4340c22604e0948467bb [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 [2022-07-28T21:25:05.368Z] provisioning config files... [2022-07-28T21:25:05.379Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-74@tmp/config6258511370201171497tmp [Pipeline] { [Pipeline] sh [2022-07-28T21:25:05.717Z] + set +x [2022-07-28T21:25:05.717Z] + curl -s https://codecov.io/bash [2022-07-28T21:25:05.717Z] + bash -s -- [2022-07-28T21:25:05.717Z] [2022-07-28T21:25:05.717Z] _____ _ [2022-07-28T21:25:05.717Z] / ____| | | [2022-07-28T21:25:05.717Z] | | ___ __| | ___ ___ _____ __ [2022-07-28T21:25:05.717Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-28T21:25:05.717Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-28T21:25:05.717Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-28T21:25:05.717Z] Bash-1.0.6 [2022-07-28T21:25:05.717Z] [2022-07-28T21:25:05.717Z] [2022-07-28T21:25:05.717Z] ==> git version 2.25.1 found [2022-07-28T21:25:05.717Z] ==> 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 [2022-07-28T21:25:05.717Z] Release-Date: 2020-01-08 [2022-07-28T21:25:05.717Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-28T21:25:05.717Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-28T21:25:05.717Z] ==> Jenkins CI detected. [2022-07-28T21:25:05.717Z] current dir:  /w/workspace/xfoundry_device-usb-camera_PR-74 [2022-07-28T21:25:05.717Z] project root: . [2022-07-28T21:25:05.717Z] --> token set from env [2022-07-28T21:25:05.717Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-28T21:25:05.717Z] ==> Running gcov in . (disable via -X gcov) [2022-07-28T21:25:05.717Z] ==> Python coveragepy not found [2022-07-28T21:25:05.717Z] ==> Searching for coverage reports in: [2022-07-28T21:25:05.717Z] + . [2022-07-28T21:25:05.717Z] -> Found 1 reports [2022-07-28T21:25:05.717Z] ==> Detecting git/mercurial file structure [2022-07-28T21:25:05.717Z] ==> Reading reports [2022-07-28T21:25:05.717Z] + ./coverage.out bytes=29387 [2022-07-28T21:25:05.717Z] ==> Appending adjustments [2022-07-28T21:25:05.717Z] https://docs.codecov.io/docs/fixing-reports [2022-07-28T21:25:05.977Z] + Found adjustments [2022-07-28T21:25:05.978Z] ==> Gzipping contents [2022-07-28T21:25:05.978Z] 8.0K /tmp/codecov.cSrq08.gz [2022-07-28T21:25:05.978Z] ==> Uploading reports [2022-07-28T21:25:05.978Z] url: https://codecov.io [2022-07-28T21:25:05.978Z] query: branch=PR-74&commit=1b778559ac91a8212467a947f01e6afe9c490311&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-74%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=74&job=&cmd_args= [2022-07-28T21:25:05.978Z] -> Pinging Codecov [2022-07-28T21:25:05.978Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-74&commit=1b778559ac91a8212467a947f01e6afe9c490311&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-74%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=74&job=&cmd_args= [2022-07-28T21:25:06.240Z] -> Uploading to [2022-07-28T21:25:06.240Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-28/73D8F5FF140700D3E01443B452E23636/1b778559ac91a8212467a947f01e6afe9c490311/8ca69b31-6c3d-4888-ab75-8b12a34125af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220728%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220728T212506Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c8ce682ef162c704542e49f45811963a3bc6a3ccd6bbb23c46e47e94e4eaf157 [2022-07-28T21:25:06.240Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T21:25:06.240Z] Dload Upload Total Spent Left Speed [2022-07-28T21:25:06.505Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4139 0 0 100 4139 0 19709 --:--:-- --:--:-- --:--:-- 19709 [2022-07-28T21:25:06.505Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/1b778559ac91a8212467a947f01e6afe9c490311 [Pipeline] } [2022-07-28T21:25:06.553Z] 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 [2022-07-28T21:25:08.336Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-74/archives ] [2022-07-28T21:25:08.336Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-74/archives [2022-07-28T21:25:08.336Z] total 16 [2022-07-28T21:25:08.336Z] drwxr-xr-x 3 root root 4096 Jul 28 21:16 . [2022-07-28T21:25:08.336Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 21:16 .. [2022-07-28T21:25:08.336Z] drwxr-xr-x 2 root root 4096 Jul 28 21:16 cost [2022-07-28T21:25:08.336Z] -rw-r--r-- 1 root root 88 Jul 28 21:16 cost.csv [2022-07-28T21:25:08.336Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-74/archives [2022-07-28T21:25:08.336Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-74/archives [2022-07-28T21:25:08.336Z] total 16 [2022-07-28T21:25:08.336Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 21:16 . [2022-07-28T21:25:08.336Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 21:16 .. [2022-07-28T21:25:08.336Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 21:16 cost [2022-07-28T21:25:08.336Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 28 21:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:25:08.665Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:25:09.566Z] ---> package-listing.sh [2022-07-28T21:25:09.566Z] ++ facter osfamily [2022-07-28T21:25:09.566Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-28T21:25:09.826Z] + OS_FAMILY=debian [2022-07-28T21:25:09.826Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-74 [2022-07-28T21:25:09.826Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-28T21:25:09.826Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-28T21:25:09.826Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-28T21:25:09.826Z] + PACKAGES=/tmp/packages_start.txt [2022-07-28T21:25:09.826Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-74 ']' [2022-07-28T21:25:09.826Z] + PACKAGES=/tmp/packages_end.txt [2022-07-28T21:25:09.826Z] + case "${OS_FAMILY}" in [2022-07-28T21:25:09.826Z] + dpkg -l [2022-07-28T21:25:09.826Z] + grep '^ii' [2022-07-28T21:25:09.826Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-28T21:25:09.826Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-28T21:25:09.826Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-28T21:25:09.826Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-74 ']' [2022-07-28T21:25:09.826Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-74/archives/ [2022-07-28T21:25:09.826Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-74/archives/ [Pipeline] echo [2022-07-28T21:25:09.862Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-74/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-28T21:25:10.156Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:25:10.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T21:25:10.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:25:10.949Z] prd-ubuntu20.04-docker-8c-8g-21406 does not seem to be running inside a container [2022-07-28T21:25:10.983Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-usb-camera_PR-74/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-74 -v /w/workspace/xfoundry_device-usb-camera_PR-74:/w/workspace/xfoundry_device-usb-camera_PR-74:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-74@tmp:/w/workspace/xfoundry_device-usb-camera_PR-74@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 [2022-07-28T21:25:11.231Z] $ docker top 016367546c5a51a229d620f58bdf0409fc97d165483e4743fb3b3e0d66992d16 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T21:25:11.635Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-28T21:25:11.949Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-28T21:25:12.274Z] + ls /var/log/sa-host [2022-07-28T21:25:12.274Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T21:25:12.466Z] provisioning config files... [2022-07-28T21:25:12.477Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-74@tmp/config3159372716976075103tmp [Pipeline] { [Pipeline] echo [2022-07-28T21:25:12.530Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:25:12.850Z] ---> create-netrc.sh [Pipeline] } [2022-07-28T21:25:12.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:25:13.303Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-28T21:25:13.337Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:25:13.659Z] ---> sudo-logs.sh [2022-07-28T21:25:13.659Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-28T21:25:13.740Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:25:14.057Z] ---> job-cost.sh [2022-07-28T21:25:14.057Z] lf-activate-venv: SKIPPING [2022-07-28T21:25:14.057Z] DEBUG: total: 0.2199999988079071 [2022-07-28T21:25:14.057Z] INFO: Retrieving Stack Cost... [2022-07-28T21:25:14.318Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-28T21:25:14.890Z] INFO: Archiving Costs [Pipeline] echo [2022-07-28T21:25:14.925Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:25:15.242Z] ---> logs-deploy.sh [2022-07-28T21:25:15.242Z] lf-activate-venv: SKIPPING [2022-07-28T21:25:15.242Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-74/1 [2022-07-28T21:25:15.242Z] INFO: archiving workspace using pattern(s): [2022-07-28T21:25:16.182Z] Archives upload complete. [2022-07-28T21:25:16.182Z] INFO: archiving logs to Nexus