Pull request #165 updated 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 EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 rather than 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 Obtained Jenkinsfile from b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 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-ssh4842062613549812906.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6609468684925801790.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-165/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10375959144077038096.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh1511288708577196566.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-165/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-165/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2946970633964455517.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7975 in /w/workspace/foundry_device-usb-camera_PR-165 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-165 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 into PR head commit 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 > 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/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 # 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 b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 # timeout=10 Merge succeeded, producing 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 Checking out Revision 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 (PR-165) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 # timeout=10 Commit message: "Merge branch 'main' into remove-pw" > git rev-list --no-walk 9b69a025bc1087687c6e0830e416b4625143cc5a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-01T16:40:18.050Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-01T16:40:18.091Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-01T16:40:18.103Z] ========================================================= [2023-03-01T16:40:18.103Z] EdgeX Global Pipelines Version Info [2023-03-01T16:40:18.103Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-01T16:40:19.208Z] ------------------- [2023-03-01T16:40:19.208Z] stable info: [2023-03-01T16:40:19.208Z] ------------------- [2023-03-01T16:40:19.208Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-01T16:40:19.208Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T16:40:19.208Z] Message: update stable to v1.0.244 [2023-03-01T16:40:19.468Z] ------------------- [2023-03-01T16:40:19.468Z] experimental info: [2023-03-01T16:40:19.468Z] ------------------- [2023-03-01T16:40:19.468Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-01T16:40:19.468Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T16:40:19.468Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-01T16:40:19.626Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-03-01T16:40:19.638Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-03-01T16:40:19.648Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-01T16:40:19.664Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-01T16:40:19.682Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-01T16:40:19.698Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-01T16:40:19.715Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-01T16:40:19.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-01T16:40:19.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-01T16:40:19.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-01T16:40:19.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-01T16:40:19.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-03-01T16:40:19.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-01T16:40:19.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-01T16:40:19.834Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T16:40:19.848Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T16:40:19.865Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T16:40:19.877Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T16:40:19.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-01T16:40:19.902Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-01T16:40:19.913Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-01T16:40:19.926Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-01T16:40:19.943Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-01T16:40:19.964Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-01T16:40:19.982Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-01T16:40:19.997Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-01T16:40:20.008Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-01T16:40:20.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo [2023-03-01T16:40:20.038Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo [2023-03-01T16:40:20.052Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo [2023-03-01T16:40:20.062Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 [Pipeline] echo [2023-03-01T16:40:20.077Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 330a61f [Pipeline] echo [2023-03-01T16:40:20.091Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T16:40:20.136Z] provisioning config files... [2023-03-01T16:40:20.150Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-165@tmp/config16599572140296174136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T16:40:20.449Z] ---> docker-login.sh [2023-03-01T16:40:20.449Z] nexus3.edgexfoundry.org:10001 [2023-03-01T16:40:20.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:40:20.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:40:20.972Z] Configure a credential helper to remove this warning. See [2023-03-01T16:40:20.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:40:20.972Z] [2023-03-01T16:40:20.972Z] Login Succeeded [2023-03-01T16:40:20.972Z] nexus3.edgexfoundry.org:10002 [2023-03-01T16:40:20.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:40:20.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:40:20.972Z] Configure a credential helper to remove this warning. See [2023-03-01T16:40:20.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:40:20.972Z] [2023-03-01T16:40:20.972Z] Login Succeeded [2023-03-01T16:40:20.972Z] nexus3.edgexfoundry.org:10003 [2023-03-01T16:40:20.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:40:21.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:40:21.232Z] Configure a credential helper to remove this warning. See [2023-03-01T16:40:21.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:40:21.232Z] [2023-03-01T16:40:21.232Z] Login Succeeded [2023-03-01T16:40:21.232Z] nexus3.edgexfoundry.org:10004 [2023-03-01T16:40:21.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:40:21.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:40:21.232Z] Configure a credential helper to remove this warning. See [2023-03-01T16:40:21.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:40:21.232Z] [2023-03-01T16:40:21.232Z] Login Succeeded [2023-03-01T16:40:21.232Z] docker.io [2023-03-01T16:40:21.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:40:21.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:40:21.491Z] Configure a credential helper to remove this warning. See [2023-03-01T16:40:21.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:40:21.491Z] [2023-03-01T16:40:21.491Z] Login Succeeded [2023-03-01T16:40:21.491Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T16:40:21.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-01T16:40:21.862Z] + git rev-list -1 --merges 330a61f6aa2c50855dc76eaaceca83b3e79b77f4~1..330a61f6aa2c50855dc76eaaceca83b3e79b77f4 [Pipeline] echo [2023-03-01T16:40:21.910Z] -----------> git rev-list -1 --merges 330a61f6aa2c50855dc76eaaceca83b3e79b77f4~1..330a61f6aa2c50855dc76eaaceca83b3e79b77f4 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 [2023-03-01T16:40:21.910Z] 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 [false] [Pipeline] sh [2023-03-01T16:40:22.206Z] + git log --format=format:%s -1 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 [Pipeline] echo [2023-03-01T16:40:22.221Z] ========================================================= [2023-03-01T16:40:22.221Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-01T16:40:22.221Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T16:40:22.559Z] + git log --format=format:%s -1 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 [Pipeline] echo [2023-03-01T16:40:22.571Z] [semverPrep] GIT_COMMIT: 330a61f6aa2c50855dc76eaaceca83b3e79b77f4, Commit Message: Merge branch 'main' into remove-pw [Pipeline] echo [2023-03-01T16:40:22.580Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-01T16:40:22.935Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-01T16:40:22.935Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-01T16:40:22.935Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-01T16:40:22.935Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-01T16:40:22.935Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-01T16:40:22.935Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-01T16:40:22.935Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:40:23.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T16:40:23.330Z] [2023-03-01T16:40:23.330Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:40:23.631Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T16:40:23.631Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-01T16:40:23.631Z] b85a868b505f: Pulling fs layer [2023-03-01T16:40:23.631Z] e2be974225ed: Pulling fs layer [2023-03-01T16:40:23.631Z] 339a4e72a1f5: Pulling fs layer [2023-03-01T16:40:23.631Z] 988bab9f4d93: Pulling fs layer [2023-03-01T16:40:23.631Z] 1469e6f7b9e6: Pulling fs layer [2023-03-01T16:40:23.631Z] eaf3925da568: Pulling fs layer [2023-03-01T16:40:23.631Z] bab4dde63d76: Pulling fs layer [2023-03-01T16:40:23.631Z] bde34c3a00c8: Pulling fs layer [2023-03-01T16:40:23.631Z] b352a97aabf1: Pulling fs layer [2023-03-01T16:40:23.631Z] 4872d77fe225: Pulling fs layer [2023-03-01T16:40:23.631Z] 5851b861e8e6: Pulling fs layer [2023-03-01T16:40:23.631Z] 988bab9f4d93: Waiting [2023-03-01T16:40:23.631Z] 1469e6f7b9e6: Waiting [2023-03-01T16:40:23.631Z] eaf3925da568: Waiting [2023-03-01T16:40:23.631Z] b352a97aabf1: Waiting [2023-03-01T16:40:23.631Z] bab4dde63d76: Waiting [2023-03-01T16:40:23.631Z] 5851b861e8e6: Waiting [2023-03-01T16:40:23.631Z] 4872d77fe225: Waiting [2023-03-01T16:40:23.631Z] e2be974225ed: Download complete [2023-03-01T16:40:23.631Z] 988bab9f4d93: Verifying Checksum [2023-03-01T16:40:23.631Z] 988bab9f4d93: Download complete [2023-03-01T16:40:23.892Z] 1469e6f7b9e6: Verifying Checksum [2023-03-01T16:40:23.892Z] 1469e6f7b9e6: Download complete [2023-03-01T16:40:23.892Z] eaf3925da568: Verifying Checksum [2023-03-01T16:40:23.892Z] eaf3925da568: Download complete [2023-03-01T16:40:23.892Z] 339a4e72a1f5: Verifying Checksum [2023-03-01T16:40:23.892Z] 339a4e72a1f5: Download complete [2023-03-01T16:40:23.892Z] bde34c3a00c8: Verifying Checksum [2023-03-01T16:40:23.892Z] bde34c3a00c8: Download complete [2023-03-01T16:40:23.892Z] b352a97aabf1: Verifying Checksum [2023-03-01T16:40:23.892Z] 4872d77fe225: Download complete [2023-03-01T16:40:23.892Z] 5851b861e8e6: Verifying Checksum [2023-03-01T16:40:23.892Z] 5851b861e8e6: Download complete [2023-03-01T16:40:23.892Z] b85a868b505f: Verifying Checksum [2023-03-01T16:40:23.892Z] b85a868b505f: Download complete [2023-03-01T16:40:24.151Z] bab4dde63d76: Verifying Checksum [2023-03-01T16:40:24.151Z] bab4dde63d76: Download complete [2023-03-01T16:40:25.094Z] b85a868b505f: Pull complete [2023-03-01T16:40:25.354Z] e2be974225ed: Pull complete [2023-03-01T16:40:25.921Z] 339a4e72a1f5: Pull complete [2023-03-01T16:40:25.921Z] 988bab9f4d93: Pull complete [2023-03-01T16:40:26.181Z] 1469e6f7b9e6: Pull complete [2023-03-01T16:40:26.181Z] eaf3925da568: Pull complete [2023-03-01T16:40:28.090Z] bab4dde63d76: Pull complete [2023-03-01T16:40:28.090Z] bde34c3a00c8: Pull complete [2023-03-01T16:40:28.350Z] b352a97aabf1: Pull complete [2023-03-01T16:40:28.350Z] 4872d77fe225: Pull complete [2023-03-01T16:40:28.350Z] 5851b861e8e6: Pull complete [2023-03-01T16:40:28.350Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-01T16:40:28.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T16:40:28.350Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T16:40:28.433Z] prd-ubuntu20.04-docker-8c-8g-7975 does not seem to be running inside a container [2023-03-01T16:40:28.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-165 -v /w/workspace/foundry_device-usb-camera_PR-165:/w/workspace/foundry_device-usb-camera_PR-165:rw,z -v /w/workspace/foundry_device-usb-camera_PR-165@tmp:/w/workspace/foundry_device-usb-camera_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-01T16:40:30.592Z] $ docker top e76cf4f816aefb6a8ec0cf7e18c9a0776fd61fe460df78fce9ae92a21487feaa -eo pid,comm [2023-03-01T16:40:30.651Z] 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). [2023-03-01T16:40:30.651Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-01T16:40:30.684Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T16:40:30.684Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T16:40:30.802Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T16:40:30.807Z] $ docker exec e76cf4f816aefb6a8ec0cf7e18c9a0776fd61fe460df78fce9ae92a21487feaa ssh-agent [2023-03-01T16:40:30.908Z] SSH_AUTH_SOCK=/tmp/ssh-Q01oWCnj02ow/agent.32 [2023-03-01T16:40:30.908Z] SSH_AGENT_PID=38 [2023-03-01T16:40:30.916Z] Running ssh-add (command line suppressed) [2023-03-01T16:40:31.010Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-165@tmp/private_key_10165475016459726063.key (/w/workspace/foundry_device-usb-camera_PR-165@tmp/private_key_10165475016459726063.key) [2023-03-01T16:40:31.021Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T16:40:31.309Z] + git tag --points-at HEAD [Pipeline] } [2023-03-01T16:40:31.327Z] $ docker exec --env ******** --env ******** e76cf4f816aefb6a8ec0cf7e18c9a0776fd61fe460df78fce9ae92a21487feaa ssh-agent -k [2023-03-01T16:40:31.422Z] unset SSH_AUTH_SOCK; [2023-03-01T16:40:31.422Z] unset SSH_AGENT_PID; [2023-03-01T16:40:31.423Z] echo Agent pid 38 killed; [2023-03-01T16:40:31.430Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-01T16:40:31.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T16:40:31.457Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T16:40:31.564Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T16:40:31.568Z] $ docker exec e76cf4f816aefb6a8ec0cf7e18c9a0776fd61fe460df78fce9ae92a21487feaa ssh-agent [2023-03-01T16:40:31.680Z] SSH_AUTH_SOCK=/tmp/ssh-PswKXWovup5a/agent.70 [2023-03-01T16:40:31.680Z] SSH_AGENT_PID=76 [2023-03-01T16:40:31.685Z] Running ssh-add (command line suppressed) [2023-03-01T16:40:31.795Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-165@tmp/private_key_7891662910220997731.key (/w/workspace/foundry_device-usb-camera_PR-165@tmp/private_key_7891662910220997731.key) [2023-03-01T16:40:31.807Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T16:40:32.098Z] + git semver init [2023-03-01T16:40:32.359Z] 2023-03-01 16:40:32,294 [run_init] DEBUG init version:0.0.0 force:False [2023-03-01T16:40:32.359Z] 2023-03-01 16:40:32,295 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-165/.semver [2023-03-01T16:40:32.359Z] 2023-03-01 16:40:32,295 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-165/.semver [2023-03-01T16:40:32.359Z] 2023-03-01 16:40:32,296 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-165/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-165, universal_newlines=False, shell=None, istream=None) [2023-03-01T16:40:33.295Z] 2023-03-01 16:40:33,139 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-165/.git/info/exclude [2023-03-01T16:40:33.295Z] 2023-03-01 16:40:33,140 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-165/.semver/PR-165 with force:False [2023-03-01T16:40:33.295Z] 2023-03-01 16:40:33,140 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-165/.semver/PR-165 [2023-03-01T16:40:33.295Z] 2023-03-01 16:40:33,144 [execute] INFO git cat-file --batch-check [2023-03-01T16:40:33.295Z] 2023-03-01 16:40:33,144 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-165/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T16:40:33.295Z] 2023-03-01 16:40:33,151 [execute] INFO git cat-file --batch [2023-03-01T16:40:33.295Z] 2023-03-01 16:40:33,151 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-165/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T16:40:33.296Z] 2023-03-01 16:40:33,156 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-165/.semver/PR-165 [2023-03-01T16:40:33.296Z] 0.0.0 [Pipeline] } [2023-03-01T16:40:33.306Z] $ docker exec --env ******** --env ******** e76cf4f816aefb6a8ec0cf7e18c9a0776fd61fe460df78fce9ae92a21487feaa ssh-agent -k [2023-03-01T16:40:33.410Z] unset SSH_AUTH_SOCK; [2023-03-01T16:40:33.410Z] unset SSH_AGENT_PID; [2023-03-01T16:40:33.410Z] echo Agent pid 76 killed; [2023-03-01T16:40:33.419Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-01T16:40:33.721Z] + git semver [Pipeline] } [2023-03-01T16:40:33.998Z] $ docker stop --time=1 e76cf4f816aefb6a8ec0cf7e18c9a0776fd61fe460df78fce9ae92a21487feaa [2023-03-01T16:40:35.281Z] $ docker rm -f --volumes e76cf4f816aefb6a8ec0cf7e18c9a0776fd61fe460df78fce9ae92a21487feaa [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T16:40:35.617Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-01T16:40:35.823Z] Stashed 1 file(s) [Pipeline] echo [2023-03-01T16:40:35.826Z] [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 [2023-03-01T16:40:35.936Z] provisioning config files... [2023-03-01T16:40:35.945Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-165@tmp/config4925194609207660787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T16:40:36.240Z] ---> docker-login.sh [2023-03-01T16:40:36.240Z] nexus3.edgexfoundry.org:10001 [2023-03-01T16:40:36.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:40:36.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:40:36.240Z] Configure a credential helper to remove this warning. See [2023-03-01T16:40:36.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:40:36.240Z] [2023-03-01T16:40:36.240Z] Login Succeeded [2023-03-01T16:40:36.240Z] nexus3.edgexfoundry.org:10002 [2023-03-01T16:40:36.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:40:36.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:40:36.240Z] Configure a credential helper to remove this warning. See [2023-03-01T16:40:36.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:40:36.240Z] [2023-03-01T16:40:36.240Z] Login Succeeded [2023-03-01T16:40:36.240Z] nexus3.edgexfoundry.org:10003 [2023-03-01T16:40:36.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:40:36.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:40:36.499Z] Configure a credential helper to remove this warning. See [2023-03-01T16:40:36.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:40:36.499Z] [2023-03-01T16:40:36.499Z] Login Succeeded [2023-03-01T16:40:36.499Z] nexus3.edgexfoundry.org:10004 [2023-03-01T16:40:36.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:40:36.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:40:36.499Z] Configure a credential helper to remove this warning. See [2023-03-01T16:40:36.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:40:36.499Z] [2023-03-01T16:40:36.499Z] Login Succeeded [2023-03-01T16:40:36.499Z] docker.io [2023-03-01T16:40:36.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:40:36.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:40:36.759Z] Configure a credential helper to remove this warning. See [2023-03-01T16:40:36.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:40:36.759Z] [2023-03-01T16:40:36.759Z] Login Succeeded [2023-03-01T16:40:36.759Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T16:40:36.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T16:40:36.820Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T16:40:36.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T16:40:36.840Z] ========================================================= [2023-03-01T16:40:36.840Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-01T16:40:36.840Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:40:37.154Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-01T16:40:37.154Z] Sending build context to Docker daemon 1.854MB [2023-03-01T16:40:37.154Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T16:40:37.154Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-01T16:40:37.154Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-01T16:40:37.154Z] 213ec9aee27d: Pulling fs layer [2023-03-01T16:40:37.154Z] 4583459ba037: Pulling fs layer [2023-03-01T16:40:37.154Z] 93c1e223e6f2: Pulling fs layer [2023-03-01T16:40:37.154Z] 53926ce57604: Pulling fs layer [2023-03-01T16:40:37.154Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-01T16:40:37.154Z] 22ff95d597cd: Pulling fs layer [2023-03-01T16:40:37.154Z] 12d6caf4c0d1: Pulling fs layer [2023-03-01T16:40:37.154Z] 96b7cbca73a9: Pulling fs layer [2023-03-01T16:40:37.154Z] a7acece74701: Pulling fs layer [2023-03-01T16:40:37.154Z] 53926ce57604: Waiting [2023-03-01T16:40:37.154Z] 21b2b0c7a3f4: Waiting [2023-03-01T16:40:37.154Z] 22ff95d597cd: Waiting [2023-03-01T16:40:37.154Z] 12d6caf4c0d1: Waiting [2023-03-01T16:40:37.154Z] 96b7cbca73a9: Waiting [2023-03-01T16:40:37.154Z] a7acece74701: Waiting [2023-03-01T16:40:37.154Z] 93c1e223e6f2: Verifying Checksum [2023-03-01T16:40:37.154Z] 93c1e223e6f2: Download complete [2023-03-01T16:40:37.154Z] 4583459ba037: Verifying Checksum [2023-03-01T16:40:37.154Z] 4583459ba037: Download complete [2023-03-01T16:40:37.154Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-01T16:40:37.154Z] 21b2b0c7a3f4: Download complete [2023-03-01T16:40:37.154Z] 22ff95d597cd: Download complete [2023-03-01T16:40:37.416Z] 213ec9aee27d: Verifying Checksum [2023-03-01T16:40:37.416Z] 213ec9aee27d: Download complete [2023-03-01T16:40:37.416Z] 12d6caf4c0d1: Download complete [2023-03-01T16:40:37.416Z] 213ec9aee27d: Pull complete [2023-03-01T16:40:37.681Z] 4583459ba037: Pull complete [2023-03-01T16:40:37.681Z] 93c1e223e6f2: Pull complete [2023-03-01T16:40:37.948Z] a7acece74701: Verifying Checksum [2023-03-01T16:40:37.948Z] a7acece74701: Download complete [2023-03-01T16:40:38.206Z] 53926ce57604: Verifying Checksum [2023-03-01T16:40:38.206Z] 53926ce57604: Download complete [2023-03-01T16:40:38.206Z] 96b7cbca73a9: Verifying Checksum [2023-03-01T16:40:38.206Z] 96b7cbca73a9: Download complete [2023-03-01T16:40:42.394Z] 53926ce57604: Pull complete [2023-03-01T16:40:42.394Z] 21b2b0c7a3f4: Pull complete [2023-03-01T16:40:42.394Z] 22ff95d597cd: Pull complete [2023-03-01T16:40:42.394Z] 12d6caf4c0d1: Pull complete [2023-03-01T16:40:43.767Z] 96b7cbca73a9: Pull complete [2023-03-01T16:40:44.333Z] a7acece74701: Pull complete [2023-03-01T16:40:44.333Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-01T16:40:44.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-01T16:40:44.333Z] ---> db6d94c90886 [2023-03-01T16:40:44.333Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-01T16:40:49.621Z] ---> Running in c18dea5f1be6 [2023-03-01T16:40:49.622Z] Removing intermediate container c18dea5f1be6 [2023-03-01T16:40:49.622Z] ---> 17a93c7db29e [2023-03-01T16:40:49.622Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T16:40:49.622Z] ---> Running in a00b5366561e [2023-03-01T16:40:49.622Z] Removing intermediate container a00b5366561e [2023-03-01T16:40:49.622Z] ---> da590d7fa924 [2023-03-01T16:40:49.622Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-01T16:40:49.622Z] ---> Running in 7f99e73b21c8 [2023-03-01T16:40:49.622Z] Removing intermediate container 7f99e73b21c8 [2023-03-01T16:40:49.622Z] ---> d718f04ac7e9 [2023-03-01T16:40:49.622Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-01T16:40:49.622Z] ---> Running in 47349089bcaa [2023-03-01T16:40:49.622Z] Removing intermediate container 47349089bcaa [2023-03-01T16:40:49.622Z] ---> e507d7b12a1a [2023-03-01T16:40:49.622Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T16:40:49.622Z] ---> Running in 70f3c48588ea [2023-03-01T16:40:49.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T16:40:49.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T16:40:49.881Z] (1/80) Installing mesa (21.3.9-r0) [2023-03-01T16:40:49.881Z] (2/80) Installing libxau (1.0.9-r0) [2023-03-01T16:40:49.881Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-03-01T16:40:49.881Z] (4/80) Installing libxcb (1.15-r0) [2023-03-01T16:40:49.881Z] (5/80) Installing libx11 (1.8-r0) [2023-03-01T16:40:49.881Z] (6/80) Installing libxext (1.3.4-r0) [2023-03-01T16:40:49.881Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-03-01T16:40:49.881Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-03-01T16:40:49.881Z] (9/80) Installing libpciaccess (0.16-r0) [2023-03-01T16:40:49.881Z] (10/80) Installing libdrm (2.4.110-r0) [2023-03-01T16:40:49.881Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-03-01T16:40:49.881Z] (12/80) Installing libxshmfence (1.3-r1) [2023-03-01T16:40:49.881Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-03-01T16:40:49.881Z] (14/80) Installing icu-data-full (71.1-r2) [2023-03-01T16:40:50.141Z] (15/80) Installing libice (1.0.10-r0) [2023-03-01T16:40:50.141Z] (16/80) Installing libuuid (2.38-r1) [2023-03-01T16:40:50.141Z] (17/80) Installing libsm (1.2.3-r0) [2023-03-01T16:40:50.141Z] (18/80) Installing libxt (1.2.1-r0) [2023-03-01T16:40:50.141Z] (19/80) Installing libxmu (1.1.3-r0) [2023-03-01T16:40:50.141Z] (20/80) Installing xset (1.2.4-r0) [2023-03-01T16:40:50.141Z] (21/80) Installing xprop (1.2.5-r0) [2023-03-01T16:40:50.141Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-03-01T16:40:50.141Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-03-01T16:40:50.141Z] (24/80) Installing libffi (3.4.2-r1) [2023-03-01T16:40:50.141Z] (25/80) Installing libintl (0.21-r2) [2023-03-01T16:40:50.141Z] (26/80) Installing libblkid (2.38-r1) [2023-03-01T16:40:50.141Z] (27/80) Installing libmount (2.38-r1) [2023-03-01T16:40:50.141Z] (28/80) Installing pcre (8.45-r2) [2023-03-01T16:40:50.141Z] (29/80) Installing glib (2.72.1-r0) [2023-03-01T16:40:50.141Z] (30/80) Installing icu-libs (71.1-r2) [2023-03-01T16:40:50.141Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-03-01T16:40:50.141Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-03-01T16:40:50.141Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-03-01T16:40:50.141Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-03-01T16:40:50.399Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-03-01T16:40:50.399Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-03-01T16:40:50.399Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-03-01T16:40:50.399Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-03-01T16:40:50.399Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-03-01T16:40:50.399Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-03-01T16:40:50.399Z] (41/80) Installing libpng (1.6.37-r1) [2023-03-01T16:40:50.399Z] (42/80) Installing freetype (2.12.1-r0) [2023-03-01T16:40:50.399Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-03-01T16:40:50.399Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-03-01T16:40:50.399Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-03-01T16:40:50.399Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-03-01T16:40:50.399Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-03-01T16:40:50.399Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-03-01T16:40:50.399Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-03-01T16:40:50.399Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-03-01T16:40:50.399Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-03-01T16:40:50.658Z] (52/80) Installing avahi-libs (0.8-r6) [2023-03-01T16:40:50.658Z] (53/80) Installing nettle (3.7.3-r0) [2023-03-01T16:40:50.658Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-03-01T16:40:50.658Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-03-01T16:40:50.658Z] (56/80) Installing libunistring (1.0-r0) [2023-03-01T16:40:50.658Z] (57/80) Installing gnutls (3.7.7-r1) [2023-03-01T16:40:50.658Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-03-01T16:40:50.658Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-03-01T16:40:50.658Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-03-01T16:40:50.658Z] (61/80) Installing libevdev (1.12.1-r0) [2023-03-01T16:40:50.658Z] (62/80) Installing mtdev (1.1.6-r0) [2023-03-01T16:40:50.658Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-03-01T16:40:50.658Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-03-01T16:40:50.658Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-03-01T16:40:50.658Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-03-01T16:40:50.658Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-03-01T16:40:50.658Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-03-01T16:40:50.658Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-03-01T16:40:50.658Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-03-01T16:40:50.658Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-03-01T16:40:50.658Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-03-01T16:40:50.897Z] Still waiting to schedule task [2023-03-01T16:40:50.898Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-01T16:40:50.917Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-03-01T16:40:50.917Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-03-01T16:40:50.917Z] (75/80) Installing udev-init-scripts (35-r0) [2023-03-01T16:40:50.917Z] Executing udev-init-scripts-35-r0.post-install [2023-03-01T16:40:50.917Z] (76/80) Installing kmod-libs (29-r2) [2023-03-01T16:40:50.917Z] (77/80) Installing eudev (3.2.11-r0) [2023-03-01T16:40:50.917Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-03-01T16:40:50.917Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-01T16:40:50.917Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-03-01T16:40:50.917Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T16:40:50.917Z] Executing eudev-3.2.11-r0.trigger [2023-03-01T16:40:50.917Z] OK: 331 MiB in 131 packages [2023-03-01T16:40:53.461Z] Removing intermediate container 70f3c48588ea [2023-03-01T16:40:53.461Z] ---> 42f35f8f15e9 [2023-03-01T16:40:53.461Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-01T16:40:53.461Z] ---> Running in 343a22724681 [2023-03-01T16:40:53.461Z] Removing intermediate container 343a22724681 [2023-03-01T16:40:53.461Z] ---> cb13dde8c998 [2023-03-01T16:40:53.461Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-01T16:40:53.721Z] ---> d052dbc5d12e [2023-03-01T16:40:53.721Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T16:40:53.721Z] ---> Running in 0358b5e44263 [2023-03-01T16:41:32.465Z] Removing intermediate container 0358b5e44263 [2023-03-01T16:41:32.466Z] ---> b53ad4db2d0d [2023-03-01T16:41:32.466Z] Step 11/13 : COPY . . [2023-03-01T16:41:32.466Z] ---> adac48957cc8 [2023-03-01T16:41:32.466Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-01T16:41:32.466Z] ---> Running in a95d84113c9b [2023-03-01T16:41:32.466Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T16:41:32.466Z] Dload Upload Total Spent Left Speed [2023-03-01T16:41:32.466Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062 100  1062    0    0   2021      0 --:--:-- --:--:-- --:--:--  2022 [2023-03-01T16:41:32.466Z] Removing intermediate container a95d84113c9b [2023-03-01T16:41:32.466Z] ---> e4f4ff997135 [2023-03-01T16:41:32.466Z] Step 13/13 : RUN ${MAKE} [2023-03-01T16:41:32.466Z] ---> Running in d0035c467815 [2023-03-01T16:41:32.466Z] noop [2023-03-01T16:41:32.466Z] Removing intermediate container d0035c467815 [2023-03-01T16:41:32.466Z] ---> 41fd54b0df2f [2023-03-01T16:41:32.466Z] Successfully built 41fd54b0df2f [2023-03-01T16:41:32.466Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:41:32.769Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T16:41:32.769Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T16:41:32.840Z] prd-ubuntu20.04-docker-8c-8g-7975 does not seem to be running inside a container [2023-03-01T16:41:32.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-165 -v /w/workspace/foundry_device-usb-camera_PR-165:/w/workspace/foundry_device-usb-camera_PR-165:rw,z -v /w/workspace/foundry_device-usb-camera_PR-165@tmp:/w/workspace/foundry_device-usb-camera_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-01T16:41:33.194Z] $ docker top 1767b06aaeccb2799418e0bf25154c186d3646080a9dee83c8fe3d52128e73fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T16:41:33.540Z] + go version [2023-03-01T16:41:33.540Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-01T16:41:33.553Z] $ docker stop --time=1 1767b06aaeccb2799418e0bf25154c186d3646080a9dee83c8fe3d52128e73fd [2023-03-01T16:41:34.808Z] $ docker rm -f --volumes 1767b06aaeccb2799418e0bf25154c186d3646080a9dee83c8fe3d52128e73fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:41:35.220Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T16:41:35.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T16:41:35.291Z] prd-ubuntu20.04-docker-8c-8g-7975 does not seem to be running inside a container [2023-03-01T16:41:35.324Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-165 -v /w/workspace/foundry_device-usb-camera_PR-165:/w/workspace/foundry_device-usb-camera_PR-165:rw,z -v /w/workspace/foundry_device-usb-camera_PR-165@tmp:/w/workspace/foundry_device-usb-camera_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-01T16:41:35.643Z] $ docker top d74155e9add794201b0584eb76f4c8d79f9f1211006a9565229c736b46717518 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T16:41:35.982Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-165 [Pipeline] fileExists [Pipeline] sh [2023-03-01T16:41:36.278Z] + make test [2023-03-01T16:41:36.278Z] go test ./... -coverprofile=coverage.out ./... [2023-03-01T16:41:36.536Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-01T16:41:44.641Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-01T16:41:45.576Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.009s coverage: 2.0% of statements [2023-03-01T16:41:53.694Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-01T16:41:53.694Z] go vet ./... [2023-03-01T16:41:55.592Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-01T16:41:55.592Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-01T16:41:55.592Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-01T16:41:55.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-01T16:41:55.622Z] $ docker stop --time=1 d74155e9add794201b0584eb76f4c8d79f9f1211006a9565229c736b46717518 [2023-03-01T16:41:57.748Z] $ docker rm -f --volumes d74155e9add794201b0584eb76f4c8d79f9f1211006a9565229c736b46717518 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T16:41:58.171Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-01T16:41:58.221Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-01T16:41:58.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-01T16:41:59.011Z] + ls -al . [2023-03-01T16:41:59.011Z] total 188 [2023-03-01T16:41:59.011Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 16:41 . [2023-03-01T16:41:59.011Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 16:40 .. [2023-03-01T16:41:59.011Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 16:41 .git [2023-03-01T16:41:59.011Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 16:40 .github [2023-03-01T16:41:59.011Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 1 16:40 .gitignore [2023-03-01T16:41:59.011Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 16:40 .golangci.yml [2023-03-01T16:41:59.011Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 1 16:40 .hadolint.yml [2023-03-01T16:41:59.011Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 16:40 .semver [2023-03-01T16:41:59.011Z] -rw-rw-r-- 1 jenkins jenkins 9660 Mar 1 16:40 Attribution.txt [2023-03-01T16:41:59.011Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 1 16:40 CHANGELOG.md [2023-03-01T16:41:59.011Z] -rw-rw-r-- 1 jenkins jenkins 2328 Mar 1 16:40 Dockerfile [2023-03-01T16:41:59.012Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 1 16:40 GOVERNANCE.md [2023-03-01T16:41:59.012Z] -rw-rw-r-- 1 jenkins jenkins 659 Mar 1 16:40 Jenkinsfile [2023-03-01T16:41:59.012Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 1 16:40 LICENSE [2023-03-01T16:41:59.012Z] -rw-rw-r-- 1 jenkins jenkins 2329 Mar 1 16:40 Makefile [2023-03-01T16:41:59.012Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 1 16:40 OWNERS.md [2023-03-01T16:41:59.012Z] -rw-rw-r-- 1 jenkins jenkins 5934 Mar 1 16:40 README.md [2023-03-01T16:41:59.012Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 16:40 VERSION [2023-03-01T16:41:59.012Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 16:40 bin [2023-03-01T16:41:59.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 16:40 cmd [2023-03-01T16:41:59.012Z] -rw-r--r-- 1 jenkins jenkins 28352 Mar 1 16:41 coverage.out [2023-03-01T16:41:59.012Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 1 16:40 docker-entrypoint.sh [2023-03-01T16:41:59.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 16:40 docs [2023-03-01T16:41:59.012Z] -rw-rw-r-- 1 jenkins jenkins 3487 Mar 1 16:40 go.mod [2023-03-01T16:41:59.012Z] -rw-rw-r-- 1 jenkins jenkins 31547 Mar 1 16:40 go.sum [2023-03-01T16:41:59.012Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 16:40 internal [2023-03-01T16:41:59.012Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 16:40 snap [2023-03-01T16:41:59.012Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 1 16:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:41:59.318Z] + 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=330a61f6aa2c50855dc76eaaceca83b3e79b77f4 --label arch=amd64 --label version=0.0.0 . [2023-03-01T16:41:59.318Z] Sending build context to Docker daemon 1.884MB [2023-03-01T16:41:59.318Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T16:41:59.318Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-01T16:41:59.318Z] ---> 41fd54b0df2f [2023-03-01T16:41:59.318Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-01T16:41:59.318Z] ---> Running in e981d957b9c7 [2023-03-01T16:41:59.318Z] Removing intermediate container e981d957b9c7 [2023-03-01T16:41:59.318Z] ---> 1e358f411dac [2023-03-01T16:41:59.318Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T16:41:59.577Z] ---> Running in 5944ea657810 [2023-03-01T16:41:59.577Z] Removing intermediate container 5944ea657810 [2023-03-01T16:41:59.577Z] ---> 0d54d37e2d52 [2023-03-01T16:41:59.577Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-01T16:41:59.577Z] ---> Running in 03c3cb5cf0b1 [2023-03-01T16:41:59.577Z] Removing intermediate container 03c3cb5cf0b1 [2023-03-01T16:41:59.577Z] ---> dbb7e0db38ad [2023-03-01T16:41:59.577Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-01T16:41:59.577Z] ---> Running in d0c79b7db141 [2023-03-01T16:41:59.577Z] Removing intermediate container d0c79b7db141 [2023-03-01T16:41:59.577Z] ---> 19d65055d147 [2023-03-01T16:41:59.577Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T16:41:59.836Z] ---> Running in 9071dee1db49 [2023-03-01T16:41:59.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T16:42:00.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T16:42:00.095Z] OK: 331 MiB in 131 packages [2023-03-01T16:42:00.663Z] Removing intermediate container 9071dee1db49 [2023-03-01T16:42:00.663Z] ---> 8d02b9c07292 [2023-03-01T16:42:00.663Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-01T16:42:00.663Z] ---> Running in 8832aed10109 [2023-03-01T16:42:00.663Z] Removing intermediate container 8832aed10109 [2023-03-01T16:42:00.663Z] ---> 6e8203d724b2 [2023-03-01T16:42:00.663Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-01T16:42:00.663Z] ---> 078c3b86e4fe [2023-03-01T16:42:00.663Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T16:42:00.663Z] ---> Running in 885cb0e3d51b [2023-03-01T16:42:01.596Z] Removing intermediate container 885cb0e3d51b [2023-03-01T16:42:01.596Z] ---> a5d5d4782876 [2023-03-01T16:42:01.596Z] Step 11/35 : COPY . . [2023-03-01T16:42:01.853Z] ---> 181c6d46bf6a [2023-03-01T16:42:01.853Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-01T16:42:01.853Z] ---> Running in ab3a942cf6fc [2023-03-01T16:42:02.111Z]  % Total % Received % Xferd Average Speed Time  Time Time  Current [2023-03-01T16:42:02.111Z]   Dload Upload Total Spent Left Speed [2023-03-01T16:42:02.111Z]  0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 45314 0 --:--:-- --:--:-- --:--:-- 46173 [2023-03-01T16:42:02.370Z] Removing intermediate container ab3a942cf6fc [2023-03-01T16:42:02.370Z] ---> bd33c9844b9a [2023-03-01T16:42:02.370Z] Step 13/35 : RUN ${MAKE} [2023-03-01T16:42:02.370Z] ---> Running in 944d6b643e79 [2023-03-01T16:42:02.629Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-03-01T16:42:24.546Z] Removing intermediate container 944d6b643e79 [2023-03-01T16:42:24.546Z] ---> ce1e1a78e93c [2023-03-01T16:42:24.546Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-03-01T16:42:24.546Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-03-01T16:42:24.546Z] af6660deedbd: Pulling fs layer [2023-03-01T16:42:24.546Z] 97cd0a44c592: Pulling fs layer [2023-03-01T16:42:24.546Z] 97cd0a44c592: Verifying Checksum [2023-03-01T16:42:24.546Z] 97cd0a44c592: Download complete [2023-03-01T16:42:24.546Z] af6660deedbd: Verifying Checksum [2023-03-01T16:42:24.546Z] af6660deedbd: Download complete [2023-03-01T16:42:24.546Z] af6660deedbd: Pull complete [2023-03-01T16:42:24.546Z] 97cd0a44c592: Pull complete [2023-03-01T16:42:24.546Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-03-01T16:42:24.546Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-03-01T16:42:24.546Z] ---> fea57e182299 [2023-03-01T16:42:24.546Z] Step 15/35 : FROM alpine:3.16 [2023-03-01T16:42:24.546Z] 3.16: Pulling from library/alpine [2023-03-01T16:42:24.546Z] ef5531b6e74e: Pulling fs layer [2023-03-01T16:42:24.546Z] ef5531b6e74e: Verifying Checksum [2023-03-01T16:42:24.546Z] ef5531b6e74e: Download complete [2023-03-01T16:42:24.546Z] ef5531b6e74e: Pull complete [2023-03-01T16:42:24.546Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-01T16:42:24.546Z] Status: Downloaded newer image for alpine:3.16 [2023-03-01T16:42:24.546Z] ---> dfd21b5a31f5 [2023-03-01T16:42:24.546Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-01T16:42:24.546Z] ---> Running in bc734baea358 [2023-03-01T16:42:24.546Z] Removing intermediate container bc734baea358 [2023-03-01T16:42:24.546Z] ---> 39ed40c6bd10 [2023-03-01T16:42:24.546Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-03-01T16:42:24.546Z] ---> Running in 154cb4c92f33 [2023-03-01T16:42:24.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T16:42:24.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T16:42:24.546Z] (1/80) Installing dumb-init (1.2.5-r1) [2023-03-01T16:42:24.546Z] (2/80) Installing sdl2 (2.0.22-r0) [2023-03-01T16:42:24.546Z] (3/80) Installing libxau (1.0.9-r0) [2023-03-01T16:42:24.546Z] (4/80) Installing libxdmcp (1.1.3-r0) [2023-03-01T16:42:24.546Z] (5/80) Installing libxcb (1.15-r0) [2023-03-01T16:42:24.546Z] (6/80) Installing libx11 (1.8-r0) [2023-03-01T16:42:24.546Z] (7/80) Installing aom-libs (3.3.0-r0) [2023-03-01T16:42:24.804Z] (8/80) Installing alsa-lib (1.2.7.2-r0) [2023-03-01T16:42:24.804Z] (9/80) Installing expat (2.5.0-r0) [2023-03-01T16:42:24.804Z] (10/80) Installing brotli-libs (1.0.9-r6) [2023-03-01T16:42:24.804Z] (11/80) Installing libbz2 (1.0.8-r1) [2023-03-01T16:42:24.804Z] (12/80) Installing libpng (1.6.37-r1) [2023-03-01T16:42:24.804Z] (13/80) Installing freetype (2.12.1-r0) [2023-03-01T16:42:24.804Z] (14/80) Installing fontconfig (2.14.0-r0) [2023-03-01T16:42:24.804Z] (15/80) Installing fribidi (1.0.12-r0) [2023-03-01T16:42:24.804Z] (16/80) Installing libffi (3.4.2-r1) [2023-03-01T16:42:24.804Z] (17/80) Installing libintl (0.21-r2) [2023-03-01T16:42:24.804Z] (18/80) Installing libblkid (2.38-r1) [2023-03-01T16:42:24.804Z] (19/80) Installing libmount (2.38-r1) [2023-03-01T16:42:24.804Z] (20/80) Installing pcre (8.45-r2) [2023-03-01T16:42:24.804Z] (21/80) Installing glib (2.72.1-r0) [2023-03-01T16:42:24.804Z] (22/80) Installing graphite2 (1.3.14-r1) [2023-03-01T16:42:24.804Z] (23/80) Installing harfbuzz (4.3.0-r0) [2023-03-01T16:42:24.804Z] (24/80) Installing libass (0.16.0-r0) [2023-03-01T16:42:24.804Z] (25/80) Installing libdav1d (1.0.0-r0) [2023-03-01T16:42:24.804Z] (26/80) Installing libpciaccess (0.16-r0) [2023-03-01T16:42:24.804Z] (27/80) Installing libdrm (2.4.110-r0) [2023-03-01T16:42:24.804Z] (28/80) Installing gmp (6.2.1-r2) [2023-03-01T16:42:24.804Z] (29/80) Installing nettle (3.7.3-r0) [2023-03-01T16:42:24.804Z] (30/80) Installing p11-kit (0.24.1-r0) [2023-03-01T16:42:24.804Z] (31/80) Installing libtasn1 (4.18.0-r1) [2023-03-01T16:42:24.804Z] (32/80) Installing libunistring (1.0-r0) [2023-03-01T16:42:24.804Z] (33/80) Installing gnutls (3.7.7-r1) [2023-03-01T16:42:25.062Z] (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-03-01T16:42:25.062Z] (35/80) Installing ncurses-libs (6.3_p20220521-r0) [2023-03-01T16:42:25.062Z] (36/80) Installing lame (3.100-r0) [2023-03-01T16:42:25.062Z] (37/80) Installing opus (1.3.1-r1) [2023-03-01T16:42:25.062Z] (38/80) Installing libasyncns (0.8-r1) [2023-03-01T16:42:25.062Z] (39/80) Installing dbus-libs (1.14.4-r0) [2023-03-01T16:42:25.062Z] (40/80) Installing libltdl (2.4.7-r0) [2023-03-01T16:42:25.062Z] (41/80) Installing orc (0.4.32-r0) [2023-03-01T16:42:25.062Z] (42/80) Installing libgcc (11.2.1_git20220219-r2) [2023-03-01T16:42:25.062Z] (43/80) Installing libogg (1.3.5-r1) [2023-03-01T16:42:25.062Z] (44/80) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-01T16:42:25.062Z] (45/80) Installing flac (1.3.4-r0) [2023-03-01T16:42:25.062Z] (46/80) Installing libvorbis (1.3.7-r0) [2023-03-01T16:42:25.062Z] (47/80) Installing libsndfile (1.1.0-r0) [2023-03-01T16:42:25.062Z] (48/80) Installing libgomp (11.2.1_git20220219-r2) [2023-03-01T16:42:25.062Z] (49/80) Installing soxr (0.1.3-r2) [2023-03-01T16:42:25.062Z] (50/80) Installing speexdsp (1.2.0-r0) [2023-03-01T16:42:25.062Z] (51/80) Installing tdb-libs (1.4.6-r0) [2023-03-01T16:42:25.062Z] (52/80) Installing libpulse (15.0-r2) [2023-03-01T16:42:25.062Z] (53/80) Installing cjson (1.7.15-r3) [2023-03-01T16:42:25.062Z] (54/80) Installing mbedtls (2.28.2-r0) [2023-03-01T16:42:25.062Z] (55/80) Installing librist (0.2.6-r1) [2023-03-01T16:42:25.062Z] (56/80) Installing libsrt (1.4.4-r0) [2023-03-01T16:42:25.062Z] (57/80) Installing libssh (0.9.6-r1) [2023-03-01T16:42:25.062Z] (58/80) Installing libtheora (1.1.1-r16) [2023-03-01T16:42:25.062Z] (59/80) Installing libjpeg-turbo (2.1.3-r1) [2023-03-01T16:42:25.062Z] (60/80) Installing v4l-utils-libs (1.22.1-r1) [2023-03-01T16:42:25.062Z] (61/80) Installing libxext (1.3.4-r0) [2023-03-01T16:42:25.062Z] (62/80) Installing libxfixes (6.0.0-r0) [2023-03-01T16:42:25.062Z] (63/80) Installing wayland-libs-client (1.20.0-r0) [2023-03-01T16:42:25.062Z] (64/80) Installing libva (2.14.0-r0) [2023-03-01T16:42:25.062Z] (65/80) Installing libvdpau (1.5-r0) [2023-03-01T16:42:25.062Z] (66/80) Installing vidstab (1.1.0-r1) [2023-03-01T16:42:25.320Z] (67/80) Installing libvpx (1.11.0-r1) [2023-03-01T16:42:25.320Z] (68/80) Installing libwebp (1.2.3-r0) [2023-03-01T16:42:25.320Z] (69/80) Installing x264-libs (0.163_git20210613-r0) [2023-03-01T16:42:25.320Z] (70/80) Installing numactl (2.0.14-r0) [2023-03-01T16:42:25.320Z] (71/80) Installing x265-libs (3.5-r3) [2023-03-01T16:42:25.320Z] (72/80) Installing xvidcore (1.3.7-r1) [2023-03-01T16:42:25.320Z] (73/80) Installing ffmpeg-libs (5.0.1-r1) [2023-03-01T16:42:25.578Z] (74/80) Installing ffmpeg (5.0.1-r1) [2023-03-01T16:42:25.578Z] (75/80) Installing udev-init-scripts (35-r0) [2023-03-01T16:42:25.578Z] Executing udev-init-scripts-35-r0.post-install [2023-03-01T16:42:25.578Z] (76/80) Installing eudev-libs (3.2.11-r0) [2023-03-01T16:42:25.578Z] (77/80) Installing xz-libs (5.2.5-r1) [2023-03-01T16:42:25.578Z] (78/80) Installing zstd-libs (1.5.2-r1) [2023-03-01T16:42:25.578Z] (79/80) Installing kmod-libs (29-r2) [2023-03-01T16:42:25.578Z] (80/80) Installing eudev (3.2.11-r0) [2023-03-01T16:42:25.578Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T16:42:25.578Z] Executing eudev-3.2.11-r0.trigger [2023-03-01T16:42:25.578Z] OK: 100 MiB in 94 packages [2023-03-01T16:42:26.230Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7976 in /w/workspace/foundry_device-usb-camera_PR-165 [Pipeline] { [Pipeline] ws [2023-03-01T16:42:26.242Z] Running in /w/workspace/device-usb-camera/4 [Pipeline] { [Pipeline] checkout [2023-03-01T16:42:26.272Z] Selected Git installation does not exist. Using Default [2023-03-01T16:42:26.272Z] The recommended git tool is: NONE [2023-03-01T16:42:27.476Z] Removing intermediate container 154cb4c92f33 [2023-03-01T16:42:27.477Z] ---> 46ded1e85fd7 [2023-03-01T16:42:27.477Z] Step 18/35 : WORKDIR / [2023-03-01T16:42:27.477Z] ---> Running in 186f32e30239 [2023-03-01T16:42:27.734Z] Removing intermediate container 186f32e30239 [2023-03-01T16:42:27.734Z] ---> 0f4872a44a84 [2023-03-01T16:42:27.734Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-01T16:42:28.298Z] ---> c12670d05681 [2023-03-01T16:42:28.298Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-01T16:42:28.298Z] ---> 471ab6ecc6fb [2023-03-01T16:42:28.298Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-01T16:42:28.555Z] ---> bb50d24878f3 [2023-03-01T16:42:28.555Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-01T16:42:28.555Z] ---> 453a0996f479 [2023-03-01T16:42:28.555Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-01T16:42:28.812Z] ---> 21ebcbc5b82b [2023-03-01T16:42:28.812Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-01T16:42:28.812Z] ---> 27f9ddb11d03 [2023-03-01T16:42:28.812Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-01T16:42:29.390Z] ---> ffb8f3d6362f [2023-03-01T16:42:29.390Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-01T16:42:29.390Z] ---> Running in 880e72150980 [2023-03-01T16:42:29.957Z] Removing intermediate container 880e72150980 [2023-03-01T16:42:29.957Z] ---> c8ce17131644 [2023-03-01T16:42:29.957Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-01T16:42:29.957Z] ---> Running in bf3c9a56ff9b [2023-03-01T16:42:30.522Z] Removing intermediate container bf3c9a56ff9b [2023-03-01T16:42:30.522Z] ---> 30baf18712ba [2023-03-01T16:42:30.522Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-01T16:42:30.522Z] ---> Running in f0c496fbf5b5 [2023-03-01T16:42:31.091Z] Removing intermediate container f0c496fbf5b5 [2023-03-01T16:42:31.091Z] ---> d2511b653618 [2023-03-01T16:42:31.091Z] Step 29/35 : EXPOSE 59983 [2023-03-01T16:42:31.091Z] ---> Running in d1262725539d [2023-03-01T16:42:31.091Z] Removing intermediate container d1262725539d [2023-03-01T16:42:31.091Z] ---> 01d49b8afe83 [2023-03-01T16:42:31.091Z] Step 30/35 : EXPOSE 8554 [2023-03-01T16:42:31.091Z] ---> Running in a389151233d9 [2023-03-01T16:42:31.091Z] Removing intermediate container a389151233d9 [2023-03-01T16:42:31.091Z] ---> 994e90801eaa [2023-03-01T16:42:31.091Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-01T16:42:31.091Z] ---> Running in 0ab7cad80ba1 [2023-03-01T16:42:31.091Z] Removing intermediate container 0ab7cad80ba1 [2023-03-01T16:42:31.091Z] ---> 50fa1ae99c3f [2023-03-01T16:42:31.091Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-03-01T16:42:31.091Z] ---> Running in e50c8ca1699e [2023-03-01T16:42:31.349Z] Removing intermediate container e50c8ca1699e [2023-03-01T16:42:31.349Z] ---> 39f31870c59e [2023-03-01T16:42:31.349Z] Step 33/35 : LABEL arch=amd64 [2023-03-01T16:42:31.349Z] ---> Running in 4cb981245463 [2023-03-01T16:42:31.349Z] Removing intermediate container 4cb981245463 [2023-03-01T16:42:31.349Z] ---> 179994528812 [2023-03-01T16:42:31.349Z] Step 34/35 : LABEL git_sha=330a61f6aa2c50855dc76eaaceca83b3e79b77f4 [2023-03-01T16:42:31.349Z] ---> Running in 81b9852eb7e6 [2023-03-01T16:42:31.349Z] Removing intermediate container 81b9852eb7e6 [2023-03-01T16:42:31.349Z] ---> c79ad4ee2994 [2023-03-01T16:42:31.349Z] Step 35/35 : LABEL version=0.0.0 [2023-03-01T16:42:31.349Z] ---> Running in c8c0bbf60eca [2023-03-01T16:42:31.607Z] Removing intermediate container c8c0bbf60eca [2023-03-01T16:42:31.607Z] ---> 0e1f74cdca3b [2023-03-01T16:42:31.607Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-01T16:42:31.607Z] Successfully built 0e1f74cdca3b [2023-03-01T16:42:31.607Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:42:32.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T16:42:32.065Z] [2023-03-01T16:42:32.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T16:42:32.077Z] using credential edgex-jenkins-ssh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-03-01T16:42:32.092Z] Cloning the remote Git repository [Pipeline] sh [2023-03-01T16:42:32.375Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T16:42:32.375Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-01T16:42:32.375Z] 5eb5b503b376: Pulling fs layer [2023-03-01T16:42:32.375Z] 5c69ac0246d0: Pulling fs layer [2023-03-01T16:42:32.375Z] ec43610c2a17: Pulling fs layer [2023-03-01T16:42:32.375Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-01T16:42:32.375Z] 33b1e0a273af: Pulling fs layer [2023-03-01T16:42:32.375Z] 5d3b04190fa2: Pulling fs layer [2023-03-01T16:42:32.375Z] 2f39f015ded8: Pulling fs layer [2023-03-01T16:42:32.375Z] 3a2ae6a8a46f: Waiting [2023-03-01T16:42:32.375Z] 33b1e0a273af: Waiting [2023-03-01T16:42:32.375Z] 5d3b04190fa2: Waiting [2023-03-01T16:42:32.375Z] 2f39f015ded8: Waiting [2023-03-01T16:42:32.375Z] 5c69ac0246d0: Verifying Checksum [2023-03-01T16:42:32.375Z] 5c69ac0246d0: Download complete [2023-03-01T16:42:32.375Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-01T16:42:32.375Z] 3a2ae6a8a46f: Download complete [2023-03-01T16:42:32.135Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-03-01T16:42:32.217Z] > git init /w/workspace/device-usb-camera/4 # timeout=10 [2023-03-01T16:42:32.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-01T16:42:32.366Z] > git --version # timeout=10 [2023-03-01T16:42:32.387Z] > git --version # 'git version 2.25.1' [2023-03-01T16:42:32.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T16:42:32.634Z] 33b1e0a273af: Verifying Checksum [2023-03-01T16:42:32.634Z] 33b1e0a273af: Download complete [2023-03-01T16:42:32.634Z] ec43610c2a17: Verifying Checksum [2023-03-01T16:42:32.634Z] ec43610c2a17: Download complete [2023-03-01T16:42:32.634Z] 5d3b04190fa2: Download complete [2023-03-01T16:42:32.634Z] 5eb5b503b376: Verifying Checksum [2023-03-01T16:42:32.634Z] 5eb5b503b376: Download complete [2023-03-01T16:42:33.198Z] 2f39f015ded8: Download complete [2023-03-01T16:42:32.450Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T16:42:33.230Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-01T16:42:33.254Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T16:42:33.763Z] 5eb5b503b376: Pull complete [2023-03-01T16:42:33.763Z] 5c69ac0246d0: Pull complete [2023-03-01T16:42:34.337Z] ec43610c2a17: Pull complete [2023-03-01T16:42:34.337Z] 3a2ae6a8a46f: Pull complete [2023-03-01T16:42:34.595Z] 33b1e0a273af: Pull complete [2023-03-01T16:42:34.595Z] 5d3b04190fa2: Pull complete [2023-03-01T16:42:34.912Z] Merging remotes/origin/main commit b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 into PR head commit 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 [2023-03-01T16:42:34.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-03-01T16:42:34.207Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-03-01T16:42:34.209Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T16:42:34.226Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-01T16:42:34.931Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T16:42:34.954Z] > git checkout -f 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 # timeout=10 [2023-03-01T16:42:35.173Z] Merge succeeded, producing 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 [2023-03-01T16:42:35.174Z] Checking out Revision 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 (PR-165) [2023-03-01T16:42:35.056Z] > git remote # timeout=10 [2023-03-01T16:42:35.078Z] > git config --get remote.origin.url # timeout=10 [2023-03-01T16:42:35.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T16:42:35.116Z] > git merge b0b6087e7918d076044f7f15f1dd2c4eaa3e5193 # timeout=10 [2023-03-01T16:42:35.143Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-01T16:42:35.180Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T16:42:35.198Z] > git checkout -f 330a61f6aa2c50855dc76eaaceca83b3e79b77f4 # timeout=10 [2023-03-01T16:42:38.709Z] Commit message: "Merge branch 'main' into remove-pw" [2023-03-01T16:42:38.780Z] 2f39f015ded8: Pull complete [2023-03-01T16:42:38.780Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-01T16:42:38.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T16:42:38.780Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T16:42:38.855Z] prd-ubuntu20.04-docker-8c-8g-7975 does not seem to be running inside a container [2023-03-01T16:42:38.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-165 -v /w/workspace/foundry_device-usb-camera_PR-165:/w/workspace/foundry_device-usb-camera_PR-165:rw,z -v /w/workspace/foundry_device-usb-camera_PR-165@tmp:/w/workspace/foundry_device-usb-camera_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T16:42:39.059Z] [2023-03-01T16:42:39.059Z] GitHub has been notified of this commit’s build result [2023-03-01T16:42:39.059Z] [2023-03-01T16:42:41.643Z] $ docker top d7efaf95f24710fc815c6d7e59ea84ced597b456f2b187d172b78867fbf7f6fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T16:42:42.038Z] ---> job-cost.sh [2023-03-01T16:42:42.038Z] lf-activate-venv: SKIPPING [2023-03-01T16:42:42.038Z] INFO: No Stack... [2023-03-01T16:42:42.297Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T16:42:42.556Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T16:42:45.406Z] + cat /w/workspace/foundry_device-usb-camera_PR-165/archives/cost.csv [2023-03-01T16:42:45.406Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T16:42:45.423Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-165-4-stack-cost] [2023-03-01T16:42:45.429Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-165-4-stack-cost] did not exist. Created. [2023-03-01T16:42:45.429Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-165-4-stack-cost] [Pipeline] { [Pipeline] unstash [2023-03-01T16:42:45.451Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-01T16:42:45.451Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T16:42:45.451Z] Dload Upload Total Spent Left Speed [2023-03-01T16:42:45.451Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77750 0 --:--:-- --:--:-- --:--:-- 77750 [Pipeline] sh [2023-03-01T16:42:45.734Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-01T16:42:45.755Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T16:42:45.761Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-165-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T16:42:45.781Z] $ docker stop --time=1 d7efaf95f24710fc815c6d7e59ea84ced597b456f2b187d172b78867fbf7f6fb [2023-03-01T16:42:46.932Z] $ docker rm -f --volumes d7efaf95f24710fc815c6d7e59ea84ced597b456f2b187d172b78867fbf7f6fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-01T16:42:47.289Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-01T16:42:47.620Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-01T16:42:47.620Z] + sudo tee /etc/docker/daemon.new [2023-03-01T16:42:47.620Z] { [2023-03-01T16:42:47.620Z] "registry-mirrors": [ [2023-03-01T16:42:47.620Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-01T16:42:47.620Z] ], [2023-03-01T16:42:47.620Z] "bip": "10.250.0.254/24", [2023-03-01T16:42:47.620Z] "hosts": [ [2023-03-01T16:42:47.620Z] "tcp://0.0.0.0:5555", [2023-03-01T16:42:47.620Z] "unix:///var/run/docker.sock" [2023-03-01T16:42:47.620Z] ], [2023-03-01T16:42:47.620Z] "mtu": 1458, [2023-03-01T16:42:47.620Z] "selinux-enabled": true, [2023-03-01T16:42:47.620Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-01T16:42:47.620Z] } [Pipeline] sh [2023-03-01T16:42:47.942Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-01T16:42:48.265Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T16:43:06.532Z] provisioning config files... [2023-03-01T16:43:06.561Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/4@tmp/config1824288436089727314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T16:43:06.919Z] ---> docker-login.sh [2023-03-01T16:43:06.920Z] nexus3.edgexfoundry.org:10001 [2023-03-01T16:43:07.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:43:07.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:43:07.510Z] Configure a credential helper to remove this warning. See [2023-03-01T16:43:07.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:43:07.510Z] [2023-03-01T16:43:07.510Z] Login Succeeded [2023-03-01T16:43:07.510Z] nexus3.edgexfoundry.org:10002 [2023-03-01T16:43:07.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:43:08.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:43:08.055Z] Configure a credential helper to remove this warning. See [2023-03-01T16:43:08.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:43:08.055Z] [2023-03-01T16:43:08.055Z] Login Succeeded [2023-03-01T16:43:08.055Z] nexus3.edgexfoundry.org:10003 [2023-03-01T16:43:08.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:43:08.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:43:08.324Z] Configure a credential helper to remove this warning. See [2023-03-01T16:43:08.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:43:08.324Z] [2023-03-01T16:43:08.324Z] Login Succeeded [2023-03-01T16:43:08.324Z] nexus3.edgexfoundry.org:10004 [2023-03-01T16:43:08.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:43:08.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:43:08.596Z] Configure a credential helper to remove this warning. See [2023-03-01T16:43:08.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:43:08.596Z] [2023-03-01T16:43:08.596Z] Login Succeeded [2023-03-01T16:43:08.596Z] docker.io [2023-03-01T16:43:08.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T16:43:09.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T16:43:09.146Z] Configure a credential helper to remove this warning. See [2023-03-01T16:43:09.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T16:43:09.146Z] [2023-03-01T16:43:09.146Z] Login Succeeded [2023-03-01T16:43:09.146Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T16:43:09.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T16:43:09.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T16:43:09.559Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T16:43:09.570Z] ========================================================= [2023-03-01T16:43:09.570Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-01T16:43:09.570Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:43:09.927Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-01T16:43:10.198Z] Sending build context to Docker daemon 1.228MB [2023-03-01T16:43:10.198Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T16:43:10.198Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-01T16:43:10.473Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-01T16:43:10.473Z] 9b18e9b68314: Pulling fs layer [2023-03-01T16:43:10.473Z] 35d82f9e3411: Pulling fs layer [2023-03-01T16:43:10.473Z] e16973657156: Pulling fs layer [2023-03-01T16:43:10.473Z] fc693d55d65f: Pulling fs layer [2023-03-01T16:43:10.473Z] 7e9fc2657dce: Pulling fs layer [2023-03-01T16:43:10.473Z] dda99020689f: Pulling fs layer [2023-03-01T16:43:10.473Z] db1c61fa0a46: Pulling fs layer [2023-03-01T16:43:10.473Z] 891c053d2c06: Pulling fs layer [2023-03-01T16:43:10.473Z] fc693d55d65f: Waiting [2023-03-01T16:43:10.473Z] dda99020689f: Waiting [2023-03-01T16:43:10.473Z] 7e9fc2657dce: Waiting [2023-03-01T16:43:10.473Z] db1c61fa0a46: Waiting [2023-03-01T16:43:10.473Z] 891c053d2c06: Waiting [2023-03-01T16:43:10.473Z] e16973657156: Verifying Checksum [2023-03-01T16:43:10.473Z] e16973657156: Download complete [2023-03-01T16:43:10.473Z] 35d82f9e3411: Verifying Checksum [2023-03-01T16:43:10.473Z] 35d82f9e3411: Download complete [2023-03-01T16:43:10.473Z] 7e9fc2657dce: Verifying Checksum [2023-03-01T16:43:10.473Z] 7e9fc2657dce: Download complete [2023-03-01T16:43:10.473Z] dda99020689f: Verifying Checksum [2023-03-01T16:43:10.473Z] dda99020689f: Download complete [2023-03-01T16:43:10.473Z] 9b18e9b68314: Verifying Checksum [2023-03-01T16:43:10.473Z] 9b18e9b68314: Download complete [2023-03-01T16:43:11.469Z] 9b18e9b68314: Pull complete [2023-03-01T16:43:11.742Z] 891c053d2c06: Verifying Checksum [2023-03-01T16:43:11.742Z] 891c053d2c06: Download complete [2023-03-01T16:43:12.016Z] 35d82f9e3411: Pull complete [2023-03-01T16:43:12.291Z] e16973657156: Pull complete [2023-03-01T16:43:12.893Z] db1c61fa0a46: Verifying Checksum [2023-03-01T16:43:12.893Z] db1c61fa0a46: Download complete [2023-03-01T16:43:13.489Z] fc693d55d65f: Download complete [2023-03-01T16:43:25.849Z] fc693d55d65f: Pull complete [2023-03-01T16:43:26.117Z] 7e9fc2657dce: Pull complete [2023-03-01T16:43:26.387Z] dda99020689f: Pull complete [2023-03-01T16:43:33.061Z] db1c61fa0a46: Pull complete [2023-03-01T16:43:35.016Z] 891c053d2c06: Pull complete [2023-03-01T16:43:35.016Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-01T16:43:35.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-01T16:43:35.016Z] ---> f96f9c87975a [2023-03-01T16:43:35.016Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-01T16:43:36.443Z] ---> Running in 471fa198ebd1 [2023-03-01T16:43:37.032Z] Removing intermediate container 471fa198ebd1 [2023-03-01T16:43:37.032Z] ---> 8f154fa5bb2c [2023-03-01T16:43:37.032Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T16:43:37.032Z] ---> Running in 82cf669ff295 [2023-03-01T16:43:37.301Z] Removing intermediate container 82cf669ff295 [2023-03-01T16:43:37.301Z] ---> 779afafd2c18 [2023-03-01T16:43:37.301Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-01T16:43:37.301Z] ---> Running in 1a5ceed4f48c [2023-03-01T16:43:37.570Z] Removing intermediate container 1a5ceed4f48c [2023-03-01T16:43:37.570Z] ---> f4daa2e2c162 [2023-03-01T16:43:37.570Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-01T16:43:37.838Z] ---> Running in bc443710e996 [2023-03-01T16:43:38.108Z] Removing intermediate container bc443710e996 [2023-03-01T16:43:38.108Z] ---> 0edf90b790ad [2023-03-01T16:43:38.108Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T16:43:38.108Z] ---> Running in 4d3d7dd01d2c [2023-03-01T16:43:39.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T16:43:39.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T16:43:40.639Z] (1/14) Installing libintl (0.21-r2) [2023-03-01T16:43:40.639Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-03-01T16:43:40.639Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-03-01T16:43:40.639Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-03-01T16:43:40.639Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-03-01T16:43:40.911Z] (6/14) Installing udev-init-scripts (35-r0) [2023-03-01T16:43:40.911Z] Executing udev-init-scripts-35-r0.post-install [2023-03-01T16:43:40.911Z] (7/14) Installing libblkid (2.38-r1) [2023-03-01T16:43:40.911Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-03-01T16:43:40.911Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-03-01T16:43:40.911Z] (10/14) Installing kmod-libs (29-r2) [2023-03-01T16:43:40.911Z] (11/14) Installing eudev (3.2.11-r0) [2023-03-01T16:43:40.911Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-03-01T16:43:40.911Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-03-01T16:43:40.911Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-03-01T16:43:40.911Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T16:43:41.187Z] Executing eudev-3.2.11-r0.trigger [2023-03-01T16:43:41.187Z] OK: 228 MiB in 65 packages [2023-03-01T16:43:42.161Z] Removing intermediate container 4d3d7dd01d2c [2023-03-01T16:43:42.161Z] ---> 688b3905460a [2023-03-01T16:43:42.161Z] Step 8/13 : WORKDIR /device-usb-camera [2023-03-01T16:43:42.430Z] ---> Running in eac54a43ed32 [2023-03-01T16:43:42.700Z] Removing intermediate container eac54a43ed32 [2023-03-01T16:43:42.700Z] ---> 1a19ef92792f [2023-03-01T16:43:42.700Z] Step 9/13 : COPY go.mod vendor* ./ [2023-03-01T16:43:43.287Z] ---> d65bc383ed6b [2023-03-01T16:43:43.287Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T16:43:43.287Z] ---> Running in eed6d8a485c8 [2023-03-01T16:44:51.180Z] Removing intermediate container eed6d8a485c8 [2023-03-01T16:44:51.180Z] ---> 586da80c5c29 [2023-03-01T16:44:51.180Z] Step 11/13 : COPY . . [2023-03-01T16:44:51.180Z] ---> 36b52ac0428b [2023-03-01T16:44:51.180Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-01T16:44:51.180Z] ---> Running in 2f02cde5a4a0 [2023-03-01T16:44:51.180Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T16:44:51.180Z] Dload Upload Total Spent Left Speed [2023-03-01T16:44:51.180Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 12946 0 --:--:-- --:--:-- --:--:-- 13111 [2023-03-01T16:44:51.765Z] Removing intermediate container 2f02cde5a4a0 [2023-03-01T16:44:51.765Z] ---> 3281e690835f [2023-03-01T16:44:51.765Z] Step 13/13 : RUN ${MAKE} [2023-03-01T16:44:51.765Z] ---> Running in a43a299ac3f6 [2023-03-01T16:44:52.724Z] noop [2023-03-01T16:44:53.307Z] Removing intermediate container a43a299ac3f6 [2023-03-01T16:44:53.307Z] ---> 4a1f5f552151 [2023-03-01T16:44:53.573Z] Successfully built 4a1f5f552151 [2023-03-01T16:44:53.573Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:44:53.929Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T16:44:53.929Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T16:44:54.125Z] prd-ubuntu20.04-docker-arm64-4c-16g-7976 does not seem to be running inside a container [2023-03-01T16:44:54.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T16:44:55.340Z] $ docker top 8846c81720bc9f3f6dc524ed00e5c3e9cdc0f6137504315b915345012032633c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T16:44:56.163Z] + go version [2023-03-01T16:44:56.163Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-01T16:44:56.182Z] $ docker stop --time=1 8846c81720bc9f3f6dc524ed00e5c3e9cdc0f6137504315b915345012032633c [2023-03-01T16:44:57.816Z] $ docker rm -f --volumes 8846c81720bc9f3f6dc524ed00e5c3e9cdc0f6137504315b915345012032633c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:44:58.366Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T16:44:58.366Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T16:44:58.543Z] prd-ubuntu20.04-docker-arm64-4c-16g-7976 does not seem to be running inside a container [2023-03-01T16:44:58.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T16:44:59.758Z] $ docker top e682fe8b84660a522006c51ccf881952ee132a38d5f1893a05a66d47d7e05312 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T16:45:00.587Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/4 [Pipeline] fileExists [Pipeline] sh [2023-03-01T16:45:01.239Z] + make test [2023-03-01T16:45:01.240Z] go test ./... -coverprofile=coverage.out ./... [2023-03-01T16:45:02.649Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-03-01T16:46:39.308Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-03-01T16:46:39.308Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.063s coverage: 2.0% of statements [2023-03-01T16:46:39.308Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-01T16:46:39.308Z] go vet ./... [2023-03-01T16:46:51.615Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-01T16:46:51.615Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-01T16:46:51.615Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-01T16:46:51.898Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-01T16:46:51.913Z] $ docker stop --time=1 e682fe8b84660a522006c51ccf881952ee132a38d5f1893a05a66d47d7e05312 [2023-03-01T16:46:53.682Z] $ docker rm -f --volumes e682fe8b84660a522006c51ccf881952ee132a38d5f1893a05a66d47d7e05312 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T16:46:54.562Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-01T16:46:54.587Z] Warning: overwriting stash ‘coverage-report’ [2023-03-01T16:46:55.033Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T16:46:55.428Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-01T16:46:55.745Z] + ls -al . [2023-03-01T16:46:55.745Z] total 184 [2023-03-01T16:46:55.745Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 1 16:45 . [2023-03-01T16:46:55.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 16:42 .. [2023-03-01T16:46:55.745Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 16:42 .git [2023-03-01T16:46:55.745Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 16:42 .github [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 414 Mar 1 16:42 .gitignore [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 16:42 .golangci.yml [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 77 Mar 1 16:42 .hadolint.yml [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 9660 Mar 1 16:42 Attribution.txt [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 6219 Mar 1 16:42 CHANGELOG.md [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 2328 Mar 1 16:42 Dockerfile [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 678 Mar 1 16:42 GOVERNANCE.md [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 659 Mar 1 16:42 Jenkinsfile [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 1 16:42 LICENSE [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 2329 Mar 1 16:42 Makefile [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 622 Mar 1 16:42 OWNERS.md [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 5934 Mar 1 16:42 README.md [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 16:40 VERSION [2023-03-01T16:46:55.745Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 16:42 bin [2023-03-01T16:46:55.745Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 16:42 cmd [2023-03-01T16:46:55.745Z] -rw-r--r-- 1 jenkins jenkins 28352 Mar 1 16:46 coverage.out [2023-03-01T16:46:55.745Z] -rwxrwxr-x 1 jenkins jenkins 140 Mar 1 16:42 docker-entrypoint.sh [2023-03-01T16:46:55.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 16:42 docs [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 3487 Mar 1 16:42 go.mod [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 31547 Mar 1 16:42 go.sum [2023-03-01T16:46:55.745Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 16:42 internal [2023-03-01T16:46:55.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 16:42 snap [2023-03-01T16:46:55.745Z] -rw-rw-r-- 1 jenkins jenkins 231 Mar 1 16:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:46:56.091Z] + 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=330a61f6aa2c50855dc76eaaceca83b3e79b77f4 --label arch=arm64 --label version=0.0.0 . [2023-03-01T16:46:56.359Z] Sending build context to Docker daemon 1.257MB [2023-03-01T16:46:56.359Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T16:46:56.359Z] Step 2/35 : FROM ${BASE} AS builder [2023-03-01T16:46:56.359Z] ---> 4a1f5f552151 [2023-03-01T16:46:56.359Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-03-01T16:46:56.631Z] ---> Running in d63b0bd23493 [2023-03-01T16:46:56.900Z] Removing intermediate container d63b0bd23493 [2023-03-01T16:46:56.900Z] ---> dac8c10f9569 [2023-03-01T16:46:56.900Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-01T16:46:57.170Z] ---> Running in ee6b8d876208 [2023-03-01T16:46:57.437Z] Removing intermediate container ee6b8d876208 [2023-03-01T16:46:57.437Z] ---> 49ffcf28538e [2023-03-01T16:46:57.437Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-03-01T16:46:57.437Z] ---> Running in 1288873eed50 [2023-03-01T16:46:57.704Z] Removing intermediate container 1288873eed50 [2023-03-01T16:46:57.704Z] ---> b5ce67a082af [2023-03-01T16:46:57.704Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-03-01T16:46:57.971Z] ---> Running in 46a90440b89f [2023-03-01T16:46:58.256Z] Removing intermediate container 46a90440b89f [2023-03-01T16:46:58.256Z] ---> 72df546b963a [2023-03-01T16:46:58.256Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-01T16:46:58.256Z] ---> Running in 9fe37f25345d [2023-03-01T16:46:59.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T16:46:59.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T16:47:01.099Z] OK: 228 MiB in 65 packages [2023-03-01T16:47:02.070Z] Removing intermediate container 9fe37f25345d [2023-03-01T16:47:02.070Z] ---> e6acdc0329b7 [2023-03-01T16:47:02.070Z] Step 8/35 : WORKDIR /device-usb-camera [2023-03-01T16:47:02.070Z] ---> Running in a9b0788f6621 [2023-03-01T16:47:02.654Z] Removing intermediate container a9b0788f6621 [2023-03-01T16:47:02.654Z] ---> c147e5a46c0d [2023-03-01T16:47:02.654Z] Step 9/35 : COPY go.mod vendor* ./ [2023-03-01T16:47:03.615Z] ---> 824c038c48c0 [2023-03-01T16:47:03.615Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T16:47:03.615Z] ---> Running in 0027d406ec41 [2023-03-01T16:47:06.963Z] Removing intermediate container 0027d406ec41 [2023-03-01T16:47:06.963Z] ---> 60f21899b4d7 [2023-03-01T16:47:06.963Z] Step 11/35 : COPY . . [2023-03-01T16:47:07.559Z] ---> 0bd05eb643c9 [2023-03-01T16:47:07.559Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-03-01T16:47:07.559Z] ---> Running in f8e8b7902fd0 [2023-03-01T16:47:08.514Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T16:47:08.514Z] Dload Upload Total Spent Left Speed [2023-03-01T16:47:08.779Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6685 0 --:--:-- --:--:-- --:--:-- 6721 [2023-03-01T16:47:09.913Z] Removing intermediate container f8e8b7902fd0 [2023-03-01T16:47:09.913Z] ---> 969b33aa49c2 [2023-03-01T16:47:09.913Z] Step 13/35 : RUN ${MAKE} [2023-03-01T16:47:09.913Z] ---> Running in 443a54fe7a8c [2023-03-01T16:47:10.522Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-03-01T16:50:02.428Z] Removing intermediate container 443a54fe7a8c [2023-03-01T16:50:02.428Z] ---> f11dd65dc57b [2023-03-01T16:50:02.428Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-03-01T16:50:02.428Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-03-01T16:50:02.428Z] eab2503cf8f4: Pulling fs layer [2023-03-01T16:50:02.428Z] 97cd0a44c592: Pulling fs layer [2023-03-01T16:50:02.428Z] eab2503cf8f4: Verifying Checksum [2023-03-01T16:50:02.428Z] eab2503cf8f4: Download complete [2023-03-01T16:50:02.428Z] 97cd0a44c592: Verifying Checksum [2023-03-01T16:50:02.428Z] 97cd0a44c592: Download complete [2023-03-01T16:50:02.428Z] eab2503cf8f4: Pull complete [2023-03-01T16:50:02.428Z] 97cd0a44c592: Pull complete [2023-03-01T16:50:02.428Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-03-01T16:50:02.428Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-03-01T16:50:02.428Z] ---> 7f763cca56b3 [2023-03-01T16:50:02.428Z] Step 15/35 : FROM alpine:3.16 [2023-03-01T16:50:02.428Z] 3.16: Pulling from library/alpine [2023-03-01T16:50:02.428Z] 3760b48202b3: Pulling fs layer [2023-03-01T16:50:02.428Z] 3760b48202b3: Verifying Checksum [2023-03-01T16:50:02.428Z] 3760b48202b3: Download complete [2023-03-01T16:50:02.428Z] 3760b48202b3: Pull complete [2023-03-01T16:50:02.428Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-01T16:50:02.428Z] Status: Downloaded newer image for alpine:3.16 [2023-03-01T16:50:02.428Z] ---> 4c81e5bf8899 [2023-03-01T16:50:02.428Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-01T16:50:02.428Z] ---> Running in 56f62eee70ef [2023-03-01T16:50:02.428Z] Removing intermediate container 56f62eee70ef [2023-03-01T16:50:02.428Z] ---> 803bbf2489db [2023-03-01T16:50:02.428Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-03-01T16:50:02.428Z] ---> Running in 81f2241e05fe [2023-03-01T16:50:02.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T16:50:02.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T16:50:02.428Z] (1/79) Installing dumb-init (1.2.5-r1) [2023-03-01T16:50:02.428Z] (2/79) Installing sdl2 (2.0.22-r0) [2023-03-01T16:50:02.428Z] (3/79) Installing libxau (1.0.9-r0) [2023-03-01T16:50:02.428Z] (4/79) Installing libxdmcp (1.1.3-r0) [2023-03-01T16:50:02.428Z] (5/79) Installing libxcb (1.15-r0) [2023-03-01T16:50:02.428Z] (6/79) Installing libx11 (1.8-r0) [2023-03-01T16:50:02.428Z] (7/79) Installing aom-libs (3.3.0-r0) [2023-03-01T16:50:02.428Z] (8/79) Installing alsa-lib (1.2.7.2-r0) [2023-03-01T16:50:02.428Z] (9/79) Installing expat (2.5.0-r0) [2023-03-01T16:50:02.428Z] (10/79) Installing brotli-libs (1.0.9-r6) [2023-03-01T16:50:02.428Z] (11/79) Installing libbz2 (1.0.8-r1) [2023-03-01T16:50:02.428Z] (12/79) Installing libpng (1.6.37-r1) [2023-03-01T16:50:02.428Z] (13/79) Installing freetype (2.12.1-r0) [2023-03-01T16:50:02.428Z] (14/79) Installing fontconfig (2.14.0-r0) [2023-03-01T16:50:02.428Z] (15/79) Installing fribidi (1.0.12-r0) [2023-03-01T16:50:02.428Z] (16/79) Installing libffi (3.4.2-r1) [2023-03-01T16:50:02.428Z] (17/79) Installing libintl (0.21-r2) [2023-03-01T16:50:02.428Z] (18/79) Installing libblkid (2.38-r1) [2023-03-01T16:50:02.428Z] (19/79) Installing libmount (2.38-r1) [2023-03-01T16:50:02.428Z] (20/79) Installing pcre (8.45-r2) [2023-03-01T16:50:02.428Z] (21/79) Installing glib (2.72.1-r0) [2023-03-01T16:50:02.428Z] (22/79) Installing graphite2 (1.3.14-r1) [2023-03-01T16:50:02.428Z] (23/79) Installing harfbuzz (4.3.0-r0) [2023-03-01T16:50:02.428Z] (24/79) Installing libass (0.16.0-r0) [2023-03-01T16:50:02.428Z] (25/79) Installing libdav1d (1.0.0-r0) [2023-03-01T16:50:02.428Z] (26/79) Installing libdrm (2.4.110-r0) [2023-03-01T16:50:02.428Z] (27/79) Installing gmp (6.2.1-r2) [2023-03-01T16:50:02.428Z] (28/79) Installing nettle (3.7.3-r0) [2023-03-01T16:50:02.428Z] (29/79) Installing p11-kit (0.24.1-r0) [2023-03-01T16:50:02.428Z] (30/79) Installing libtasn1 (4.18.0-r1) [2023-03-01T16:50:02.428Z] (31/79) Installing libunistring (1.0-r0) [2023-03-01T16:50:02.428Z] (32/79) Installing gnutls (3.7.7-r1) [2023-03-01T16:50:02.428Z] (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-03-01T16:50:02.428Z] (34/79) Installing ncurses-libs (6.3_p20220521-r0) [2023-03-01T16:50:02.428Z] (35/79) Installing lame (3.100-r0) [2023-03-01T16:50:02.428Z] (36/79) Installing opus (1.3.1-r1) [2023-03-01T16:50:02.428Z] (37/79) Installing libasyncns (0.8-r1) [2023-03-01T16:50:02.428Z] (38/79) Installing dbus-libs (1.14.4-r0) [2023-03-01T16:50:02.428Z] (39/79) Installing libltdl (2.4.7-r0) [2023-03-01T16:50:02.428Z] (40/79) Installing orc (0.4.32-r0) [2023-03-01T16:50:02.428Z] (41/79) Installing libgcc (11.2.1_git20220219-r2) [2023-03-01T16:50:02.428Z] (42/79) Installing libogg (1.3.5-r1) [2023-03-01T16:50:02.428Z] (43/79) Installing libstdc++ (11.2.1_git20220219-r2) [2023-03-01T16:50:02.428Z] (44/79) Installing flac (1.3.4-r0) [2023-03-01T16:50:02.428Z] (45/79) Installing libvorbis (1.3.7-r0) [2023-03-01T16:50:02.428Z] (46/79) Installing libsndfile (1.1.0-r0) [2023-03-01T16:50:02.428Z] (47/79) Installing libgomp (11.2.1_git20220219-r2) [2023-03-01T16:50:02.428Z] (48/79) Installing soxr (0.1.3-r2) [2023-03-01T16:50:02.428Z] (49/79) Installing speexdsp (1.2.0-r0) [2023-03-01T16:50:02.428Z] (50/79) Installing tdb-libs (1.4.6-r0) [2023-03-01T16:50:02.428Z] (51/79) Installing libpulse (15.0-r2) [2023-03-01T16:50:02.428Z] (52/79) Installing cjson (1.7.15-r3) [2023-03-01T16:50:02.428Z] (53/79) Installing mbedtls (2.28.2-r0) [2023-03-01T16:50:02.428Z] (54/79) Installing librist (0.2.6-r1) [2023-03-01T16:50:02.428Z] (55/79) Installing libsrt (1.4.4-r0) [2023-03-01T16:50:02.428Z] (56/79) Installing libssh (0.9.6-r1) [2023-03-01T16:50:02.428Z] (57/79) Installing libtheora (1.1.1-r16) [2023-03-01T16:50:02.428Z] (58/79) Installing libjpeg-turbo (2.1.3-r1) [2023-03-01T16:50:02.428Z] (59/79) Installing v4l-utils-libs (1.22.1-r1) [2023-03-01T16:50:02.428Z] (60/79) Installing libxext (1.3.4-r0) [2023-03-01T16:50:02.428Z] (61/79) Installing libxfixes (6.0.0-r0) [2023-03-01T16:50:02.428Z] (62/79) Installing wayland-libs-client (1.20.0-r0) [2023-03-01T16:50:02.428Z] (63/79) Installing libva (2.14.0-r0) [2023-03-01T16:50:02.429Z] (64/79) Installing libvdpau (1.5-r0) [2023-03-01T16:50:02.429Z] (65/79) Installing vidstab (1.1.0-r1) [2023-03-01T16:50:02.429Z] (66/79) Installing libvpx (1.11.0-r1) [2023-03-01T16:50:02.429Z] (67/79) Installing libwebp (1.2.3-r0) [2023-03-01T16:50:02.429Z] (68/79) Installing x264-libs (0.163_git20210613-r0) [2023-03-01T16:50:02.429Z] (69/79) Installing numactl (2.0.14-r0) [2023-03-01T16:50:02.429Z] (70/79) Installing x265-libs (3.5-r3) [2023-03-01T16:50:02.429Z] (71/79) Installing xvidcore (1.3.7-r1) [2023-03-01T16:50:02.429Z] (72/79) Installing ffmpeg-libs (5.0.1-r1) [2023-03-01T16:50:03.009Z] (73/79) Installing ffmpeg (5.0.1-r1) [2023-03-01T16:50:03.009Z] (74/79) Installing udev-init-scripts (35-r0) [2023-03-01T16:50:03.009Z] Executing udev-init-scripts-35-r0.post-install [2023-03-01T16:50:03.009Z] (75/79) Installing eudev-libs (3.2.11-r0) [2023-03-01T16:50:03.009Z] (76/79) Installing xz-libs (5.2.5-r1) [2023-03-01T16:50:03.009Z] (77/79) Installing zstd-libs (1.5.2-r1) [2023-03-01T16:50:03.009Z] (78/79) Installing kmod-libs (29-r2) [2023-03-01T16:50:03.009Z] (79/79) Installing eudev (3.2.11-r0) [2023-03-01T16:50:03.009Z] Executing busybox-1.35.0-r17.trigger [2023-03-01T16:50:03.009Z] Executing eudev-3.2.11-r0.trigger [2023-03-01T16:50:03.009Z] OK: 77 MiB in 93 packages [2023-03-01T16:50:06.349Z] Removing intermediate container 81f2241e05fe [2023-03-01T16:50:06.349Z] ---> 64ea7f0ee522 [2023-03-01T16:50:06.349Z] Step 18/35 : WORKDIR / [2023-03-01T16:50:06.349Z] ---> Running in 6fa064832f8a [2023-03-01T16:50:06.349Z] Removing intermediate container 6fa064832f8a [2023-03-01T16:50:06.349Z] ---> 6ec3534c85e8 [2023-03-01T16:50:06.349Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-03-01T16:50:08.926Z] ---> 3377aa417013 [2023-03-01T16:50:08.926Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-03-01T16:50:09.191Z] ---> f3ef4588226e [2023-03-01T16:50:09.191Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-03-01T16:50:09.773Z] ---> 3c9c5b88a6da [2023-03-01T16:50:09.773Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-03-01T16:50:10.355Z] ---> 132584508711 [2023-03-01T16:50:10.355Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-03-01T16:50:10.937Z] ---> d3dbfc5c7e4a [2023-03-01T16:50:10.937Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-03-01T16:50:11.204Z] ---> 040b903c530e [2023-03-01T16:50:11.204Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-03-01T16:50:15.451Z] ---> 5d5a84ff8fe9 [2023-03-01T16:50:15.451Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-03-01T16:50:15.451Z] ---> Running in c53dde8f5698 [2023-03-01T16:50:16.408Z] Removing intermediate container c53dde8f5698 [2023-03-01T16:50:16.408Z] ---> 21c90f3fa5d0 [2023-03-01T16:50:16.408Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-03-01T16:50:16.408Z] ---> Running in bb7f6c905d94 [2023-03-01T16:50:18.348Z] Removing intermediate container bb7f6c905d94 [2023-03-01T16:50:18.348Z] ---> f7baeca1cc92 [2023-03-01T16:50:18.348Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-03-01T16:50:18.348Z] ---> Running in d4c8dd491d55 [2023-03-01T16:50:19.766Z] Removing intermediate container d4c8dd491d55 [2023-03-01T16:50:19.766Z] ---> 8a7419c82ac0 [2023-03-01T16:50:19.766Z] Step 29/35 : EXPOSE 59983 [2023-03-01T16:50:19.766Z] ---> Running in 5d0fa45c42a0 [2023-03-01T16:50:20.032Z] Removing intermediate container 5d0fa45c42a0 [2023-03-01T16:50:20.032Z] ---> 91b59e06fa47 [2023-03-01T16:50:20.032Z] Step 30/35 : EXPOSE 8554 [2023-03-01T16:50:20.032Z] ---> Running in 608cc4dbbd6b [2023-03-01T16:50:20.302Z] Removing intermediate container 608cc4dbbd6b [2023-03-01T16:50:20.302Z] ---> 8b8da1d77225 [2023-03-01T16:50:20.302Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-03-01T16:50:20.567Z] ---> Running in e727300c477b [2023-03-01T16:50:20.567Z] Removing intermediate container e727300c477b [2023-03-01T16:50:20.567Z] ---> 1a91eda1ca66 [2023-03-01T16:50:20.567Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-03-01T16:50:20.834Z] ---> Running in ef949d613d8d [2023-03-01T16:50:21.100Z] Removing intermediate container ef949d613d8d [2023-03-01T16:50:21.100Z] ---> 4c086af1d316 [2023-03-01T16:50:21.100Z] Step 33/35 : LABEL arch=arm64 [2023-03-01T16:50:21.100Z] ---> Running in 22a28b92f858 [2023-03-01T16:50:21.365Z] Removing intermediate container 22a28b92f858 [2023-03-01T16:50:21.365Z] ---> b3a3a622d276 [2023-03-01T16:50:21.365Z] Step 34/35 : LABEL git_sha=330a61f6aa2c50855dc76eaaceca83b3e79b77f4 [2023-03-01T16:50:21.365Z] ---> Running in 272ebd411f11 [2023-03-01T16:50:21.637Z] Removing intermediate container 272ebd411f11 [2023-03-01T16:50:21.637Z] ---> 87a6161a9cb6 [2023-03-01T16:50:21.637Z] Step 35/35 : LABEL version=0.0.0 [2023-03-01T16:50:21.908Z] ---> Running in df55b331fa35 [2023-03-01T16:50:22.175Z] Removing intermediate container df55b331fa35 [2023-03-01T16:50:22.175Z] ---> 7dbdb745841a [2023-03-01T16:50:22.175Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-01T16:50:22.175Z] Successfully built 7dbdb745841a [2023-03-01T16:50:22.175Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:50:22.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T16:50:22.608Z] [2023-03-01T16:50:22.608Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:50:22.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T16:50:22.943Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-01T16:50:22.943Z] 8998bd30e6a1: Pulling fs layer [2023-03-01T16:50:22.943Z] 04944245beec: Pulling fs layer [2023-03-01T16:50:22.943Z] 699f458cf7ca: Pulling fs layer [2023-03-01T16:50:22.943Z] 765212b225bb: Pulling fs layer [2023-03-01T16:50:22.943Z] f23df028b6ca: Pulling fs layer [2023-03-01T16:50:22.943Z] d65c8cfc05b1: Pulling fs layer [2023-03-01T16:50:22.943Z] 2437ff75d9bd: Pulling fs layer [2023-03-01T16:50:22.943Z] 765212b225bb: Waiting [2023-03-01T16:50:22.943Z] d65c8cfc05b1: Waiting [2023-03-01T16:50:22.943Z] 2437ff75d9bd: Waiting [2023-03-01T16:50:22.943Z] f23df028b6ca: Waiting [2023-03-01T16:50:23.213Z] 04944245beec: Verifying Checksum [2023-03-01T16:50:23.213Z] 04944245beec: Download complete [2023-03-01T16:50:23.213Z] 765212b225bb: Verifying Checksum [2023-03-01T16:50:23.213Z] 765212b225bb: Download complete [2023-03-01T16:50:23.213Z] f23df028b6ca: Verifying Checksum [2023-03-01T16:50:23.213Z] f23df028b6ca: Download complete [2023-03-01T16:50:23.213Z] d65c8cfc05b1: Download complete [2023-03-01T16:50:23.482Z] 699f458cf7ca: Verifying Checksum [2023-03-01T16:50:23.482Z] 699f458cf7ca: Download complete [2023-03-01T16:50:23.749Z] 8998bd30e6a1: Download complete [2023-03-01T16:50:26.320Z] 2437ff75d9bd: Verifying Checksum [2023-03-01T16:50:26.320Z] 2437ff75d9bd: Download complete [2023-03-01T16:50:28.261Z] 8998bd30e6a1: Pull complete [2023-03-01T16:50:28.843Z] 04944245beec: Pull complete [2023-03-01T16:50:30.250Z] 699f458cf7ca: Pull complete [2023-03-01T16:50:30.250Z] 765212b225bb: Pull complete [2023-03-01T16:50:30.829Z] f23df028b6ca: Pull complete [2023-03-01T16:50:31.095Z] d65c8cfc05b1: Pull complete [2023-03-01T16:50:43.401Z] 2437ff75d9bd: Pull complete [2023-03-01T16:50:43.401Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-01T16:50:43.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T16:50:43.401Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T16:50:43.591Z] prd-ubuntu20.04-docker-arm64-4c-16g-7976 does not seem to be running inside a container [2023-03-01T16:50:43.655Z] $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-01T16:50:46.415Z] $ docker top b211751f5a5998889bb631fec9cdeb04ecfcaa416cbc4a1682d29806a0ca5306 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T16:50:47.284Z] ---> job-cost.sh [2023-03-01T16:50:47.284Z] lf-activate-venv: SKIPPING [2023-03-01T16:50:47.284Z] INFO: No Stack... [2023-03-01T16:50:47.553Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-01T16:50:48.528Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T16:50:49.167Z] + cat /w/workspace/device-usb-camera/4/archives/cost.csv [2023-03-01T16:50:49.167Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T16:50:49.241Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-165-4-stack-cost] [2023-03-01T16:50:49.247Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-165-4-stack-cost] did not exist. Created. [2023-03-01T16:50:49.247Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-165-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T16:50:49.915Z] /w/workspace/device-usb-camera/4@tmp/durable-e2c9cd17/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-01T16:50:50.566Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-01T16:50:50.589Z] Warning: overwriting stash ‘stack-cost’ [2023-03-01T16:50:50.649Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T16:50:50.658Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-165-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T16:50:50.678Z] $ docker stop --time=1 b211751f5a5998889bb631fec9cdeb04ecfcaa416cbc4a1682d29806a0ca5306 [2023-03-01T16:50:52.231Z] $ docker rm -f --volumes b211751f5a5998889bb631fec9cdeb04ecfcaa416cbc4a1682d29806a0ca5306 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-01T16:50:52.647Z] provisioning config files... [2023-03-01T16:50:52.655Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-165@tmp/config4911871536702673747tmp [Pipeline] { [Pipeline] sh [2023-03-01T16:50:52.945Z] + set +x [2023-03-01T16:50:52.945Z] + curl -s https://codecov.io/bash [2023-03-01T16:50:52.945Z] + bash -s -- [2023-03-01T16:50:52.945Z] [2023-03-01T16:50:52.945Z] _____ _ [2023-03-01T16:50:52.945Z] / ____| | | [2023-03-01T16:50:52.945Z] | | ___ __| | ___ ___ _____ __ [2023-03-01T16:50:52.945Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-01T16:50:52.945Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-01T16:50:52.945Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-01T16:50:52.945Z] Bash-1.0.6 [2023-03-01T16:50:52.945Z] [2023-03-01T16:50:52.945Z] [2023-03-01T16:50:52.945Z] ==> git version 2.25.1 found [2023-03-01T16:50:52.945Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-01T16:50:52.945Z] Release-Date: 2020-01-08 [2023-03-01T16:50:52.945Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-01T16:50:52.945Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-01T16:50:52.945Z] ==> Jenkins CI detected. [2023-03-01T16:50:52.945Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-165 [2023-03-01T16:50:52.945Z] project root: . [2023-03-01T16:50:52.945Z] --> token set from env [2023-03-01T16:50:52.945Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-01T16:50:52.945Z] ==> Running gcov in . (disable via -X gcov) [2023-03-01T16:50:52.945Z] ==> Python coveragepy not found [2023-03-01T16:50:52.945Z] ==> Searching for coverage reports in: [2023-03-01T16:50:52.945Z] + . [2023-03-01T16:50:52.945Z] -> Found 1 reports [2023-03-01T16:50:52.945Z] ==> Detecting git/mercurial file structure [2023-03-01T16:50:52.945Z] ==> Reading reports [2023-03-01T16:50:52.945Z] + ./coverage.out bytes=28352 [2023-03-01T16:50:53.204Z] ==> Appending adjustments [2023-03-01T16:50:53.204Z] https://docs.codecov.io/docs/fixing-reports [2023-03-01T16:50:53.204Z] + Found adjustments [2023-03-01T16:50:53.204Z] ==> Gzipping contents [2023-03-01T16:50:53.204Z] 4.0K /tmp/codecov.hSH7lr.gz [2023-03-01T16:50:53.204Z] ==> Uploading reports [2023-03-01T16:50:53.204Z] url: https://codecov.io [2023-03-01T16:50:53.204Z] query: branch=PR-165&commit=330a61f6aa2c50855dc76eaaceca83b3e79b77f4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-165%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=165&job=&cmd_args= [2023-03-01T16:50:53.204Z] -> Pinging Codecov [2023-03-01T16:50:53.204Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-165&commit=330a61f6aa2c50855dc76eaaceca83b3e79b77f4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-165%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=165&job=&cmd_args= [2023-03-01T16:50:53.464Z] -> Uploading to [2023-03-01T16:50:53.464Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-01/73D8F5FF140700D3E01443B452E23636/330a61f6aa2c50855dc76eaaceca83b3e79b77f4/c08702e9-3fae-454a-aa56-e6bf8407d5d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T165053Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a811255bbcef952c3fa08284cd7eefa6f36f23f4ebb5c62e68378578390b889 [2023-03-01T16:50:53.464Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T16:50:53.464Z] Dload Upload Total Spent Left Speed [2023-03-01T16:50:53.723Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4001 0 0 100 4001 0 13796 --:--:-- --:--:-- --:--:-- 13796 [2023-03-01T16:50:53.723Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/330a61f6aa2c50855dc76eaaceca83b3e79b77f4 [Pipeline] } [2023-03-01T16:50:53.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-01T16:50:54.425Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-165/archives ] [2023-03-01T16:50:54.426Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-165/archives [2023-03-01T16:50:54.426Z] total 16 [2023-03-01T16:50:54.426Z] drwxr-xr-x 3 root root 4096 Mar 1 16:42 . [2023-03-01T16:50:54.426Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 16:42 .. [2023-03-01T16:50:54.426Z] drwxr-xr-x 2 root root 4096 Mar 1 16:42 cost [2023-03-01T16:50:54.426Z] -rw-r--r-- 1 root root 89 Mar 1 16:42 cost.csv [2023-03-01T16:50:54.426Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-165/archives [2023-03-01T16:50:54.426Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-165/archives [2023-03-01T16:50:54.426Z] total 16 [2023-03-01T16:50:54.426Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 16:42 . [2023-03-01T16:50:54.426Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 16:42 .. [2023-03-01T16:50:54.426Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 16:42 cost [2023-03-01T16:50:54.426Z] -rw-r--r-- 1 jenkins jenkins 89 Mar 1 16:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-01T16:50:54.717Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T16:50:55.576Z] ---> package-listing.sh [2023-03-01T16:50:55.576Z] ++ facter osfamily [2023-03-01T16:50:55.576Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-01T16:50:55.835Z] + OS_FAMILY=debian [2023-03-01T16:50:55.835Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-165 [2023-03-01T16:50:55.835Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-01T16:50:55.835Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-01T16:50:55.835Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-01T16:50:55.835Z] + PACKAGES=/tmp/packages_start.txt [2023-03-01T16:50:55.835Z] + '[' /w/workspace/foundry_device-usb-camera_PR-165 ']' [2023-03-01T16:50:55.835Z] + PACKAGES=/tmp/packages_end.txt [2023-03-01T16:50:55.835Z] + case "${OS_FAMILY}" in [2023-03-01T16:50:55.835Z] + grep '^ii' [2023-03-01T16:50:55.835Z] + dpkg -l [2023-03-01T16:50:55.835Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-01T16:50:55.835Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-01T16:50:55.835Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-01T16:50:55.835Z] + '[' /w/workspace/foundry_device-usb-camera_PR-165 ']' [2023-03-01T16:50:55.835Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-165/archives/ [2023-03-01T16:50:55.835Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-165/archives/ [Pipeline] echo [2023-03-01T16:50:55.847Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-01T16:50:56.122Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T16:50:56.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T16:50:56.679Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T16:50:56.742Z] prd-ubuntu20.04-docker-8c-8g-7975 does not seem to be running inside a container [2023-03-01T16:50:56.779Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_PR-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-165 -v /w/workspace/foundry_device-usb-camera_PR-165:/w/workspace/foundry_device-usb-camera_PR-165:rw,z -v /w/workspace/foundry_device-usb-camera_PR-165@tmp:/w/workspace/foundry_device-usb-camera_PR-165@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T16:50:56.979Z] $ docker top 604adba0cd837779932390ee89c7c38178784d749b09661271e38d526e17df9b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T16:50:57.314Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-01T16:50:57.600Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-01T16:50:57.884Z] + ls /var/log/sa-host [2023-03-01T16:50:57.884Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T16:50:58.044Z] provisioning config files... [2023-03-01T16:50:58.051Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-165@tmp/config9705068066511618941tmp [Pipeline] { [Pipeline] echo [2023-03-01T16:50:58.063Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T16:50:58.346Z] ---> create-netrc.sh [Pipeline] } [2023-03-01T16:50:58.354Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-01T16:50:58.684Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-01T16:50:58.692Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T16:50:58.976Z] ---> sudo-logs.sh [2023-03-01T16:50:58.977Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-01T16:50:59.016Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T16:50:59.301Z] ---> job-cost.sh [2023-03-01T16:50:59.301Z] lf-activate-venv: SKIPPING [2023-03-01T16:50:59.301Z] DEBUG: total: 0.2199999988079071 [2023-03-01T16:50:59.301Z] INFO: Retrieving Stack Cost... [2023-03-01T16:50:59.560Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T16:51:00.130Z] INFO: Archiving Costs [Pipeline] echo [2023-03-01T16:51:00.143Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T16:51:00.425Z] ---> logs-deploy.sh [2023-03-01T16:51:00.425Z] lf-activate-venv: SKIPPING [2023-03-01T16:51:00.425Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-165/4 [2023-03-01T16:51:00.425Z] INFO: archiving workspace using pattern(s): [2023-03-01T16:51:01.360Z] Archives upload complete. [2023-03-01T16:51:01.360Z] INFO: archiving logs to Nexus