Pull request #113 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 059aeb0713fc4e07acd8c370d817b94cb81fd04d rather than 679fd9a71496febac0599f8f22f0bd9d8c4fe285 Obtained Jenkinsfile from 059aeb0713fc4e07acd8c370d817b94cb81fd04d 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-ssh14772164109909971375.key Verifying host key using known hosts file > 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-ssh652514236411106118.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-113/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-113/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18164438957700629308.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-113/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2641549291922457749.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13935235186374238576.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-113/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-113/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8017106709950322095.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118769 in /w/workspace/foundry_device-usb-camera_PR-113 [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-113 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 059aeb0713fc4e07acd8c370d817b94cb81fd04d into PR head commit 679fd9a71496febac0599f8f22f0bd9d8c4fe285 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 679fd9a71496febac0599f8f22f0bd9d8c4fe285 # timeout=10 Merge succeeded, producing 36edd5e9330ff26844f1d5d0d178c702f7898d73 Checking out Revision 36edd5e9330ff26844f1d5d0d178c702f7898d73 (PR-113) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 059aeb0713fc4e07acd8c370d817b94cb81fd04d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 36edd5e9330ff26844f1d5d0d178c702f7898d73 # timeout=10 Commit message: "Merge commit '059aeb0713fc4e07acd8c370d817b94cb81fd04d' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-09T16:51:48.482Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-09T16:51:48.746Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-09T16:51:48.849Z] ========================================================= [2022-11-09T16:51:48.849Z] EdgeX Global Pipelines Version Info [2022-11-09T16:51:48.849Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-09T16:51:49.608Z] ------------------- [2022-11-09T16:51:49.608Z] stable info: [2022-11-09T16:51:49.608Z] ------------------- [2022-11-09T16:51:49.608Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-09T16:51:49.608Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-09T16:51:49.608Z] Message: update stable to v1.0.244 [2022-11-09T16:51:50.181Z] ------------------- [2022-11-09T16:51:50.181Z] experimental info: [2022-11-09T16:51:50.181Z] ------------------- [2022-11-09T16:51:50.181Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-09T16:51:50.181Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-09T16:51:50.181Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-09T16:51:50.475Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-11-09T16:51:50.512Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-11-09T16:51:50.554Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-09T16:51:50.591Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-09T16:51:50.644Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-09T16:51:50.685Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-09T16:51:50.723Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-09T16:51:50.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-09T16:51:50.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-09T16:51:50.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-09T16:51:50.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-09T16:51:50.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-11-09T16:51:50.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-09T16:51:50.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-09T16:51:51.030Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-09T16:51:51.070Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-09T16:51:51.105Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-09T16:51:51.139Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-09T16:51:51.174Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-09T16:51:51.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-09T16:51:51.242Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-09T16:51:51.275Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-09T16:51:51.311Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-09T16:51:51.347Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-09T16:51:51.387Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-09T16:51:51.426Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-09T16:51:51.541Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-09T16:51:51.580Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-113 [Pipeline] echo [2022-11-09T16:51:51.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-113 [Pipeline] echo [2022-11-09T16:51:51.660Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-113 [Pipeline] echo [2022-11-09T16:51:51.698Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 36edd5e9330ff26844f1d5d0d178c702f7898d73 [Pipeline] echo [2022-11-09T16:51:51.737Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 36edd5e [Pipeline] echo [2022-11-09T16:51:51.775Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T16:51:51.884Z] provisioning config files... [2022-11-09T16:51:51.901Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-113@tmp/config16492390708126419573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T16:51:52.248Z] ---> docker-login.sh [2022-11-09T16:51:52.248Z] nexus3.edgexfoundry.org:10001 [2022-11-09T16:51:52.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:51:52.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:51:52.507Z] Configure a credential helper to remove this warning. See [2022-11-09T16:51:52.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:51:52.508Z] [2022-11-09T16:51:52.508Z] Login Succeeded [2022-11-09T16:51:52.508Z] nexus3.edgexfoundry.org:10002 [2022-11-09T16:51:52.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:51:52.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:51:52.770Z] Configure a credential helper to remove this warning. See [2022-11-09T16:51:52.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:51:52.770Z] [2022-11-09T16:51:52.770Z] Login Succeeded [2022-11-09T16:51:52.770Z] nexus3.edgexfoundry.org:10003 [2022-11-09T16:51:52.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:51:52.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:51:52.770Z] Configure a credential helper to remove this warning. See [2022-11-09T16:51:52.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:51:52.770Z] [2022-11-09T16:51:52.770Z] Login Succeeded [2022-11-09T16:51:52.770Z] nexus3.edgexfoundry.org:10004 [2022-11-09T16:51:52.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:51:52.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:51:52.770Z] Configure a credential helper to remove this warning. See [2022-11-09T16:51:52.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:51:52.770Z] [2022-11-09T16:51:52.770Z] Login Succeeded [2022-11-09T16:51:52.770Z] docker.io [2022-11-09T16:51:53.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:51:53.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:51:53.291Z] Configure a credential helper to remove this warning. See [2022-11-09T16:51:53.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:51:53.291Z] [2022-11-09T16:51:53.291Z] Login Succeeded [2022-11-09T16:51:53.291Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T16:51:53.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-09T16:51:53.937Z] + git rev-list -1 --merges 36edd5e9330ff26844f1d5d0d178c702f7898d73~1..36edd5e9330ff26844f1d5d0d178c702f7898d73 [Pipeline] echo [2022-11-09T16:51:54.012Z] -----------> git rev-list -1 --merges 36edd5e9330ff26844f1d5d0d178c702f7898d73~1..36edd5e9330ff26844f1d5d0d178c702f7898d73 36edd5e9330ff26844f1d5d0d178c702f7898d73 [2022-11-09T16:51:54.012Z] 36edd5e9330ff26844f1d5d0d178c702f7898d73 [false] [Pipeline] sh [2022-11-09T16:51:54.332Z] + git log --format=format:%s -1 36edd5e9330ff26844f1d5d0d178c702f7898d73 [Pipeline] echo [2022-11-09T16:51:54.365Z] ========================================================= [2022-11-09T16:51:54.365Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-09T16:51:54.365Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T16:51:54.776Z] + git log --format=format:%s -1 36edd5e9330ff26844f1d5d0d178c702f7898d73 [Pipeline] echo [2022-11-09T16:51:54.806Z] [semverPrep] GIT_COMMIT: 36edd5e9330ff26844f1d5d0d178c702f7898d73, Commit Message: Merge commit '059aeb0713fc4e07acd8c370d817b94cb81fd04d' into HEAD [Pipeline] echo [2022-11-09T16:51:54.838Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-09T16:51:55.224Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-09T16:51:55.224Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-09T16:51:55.224Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-09T16:51:55.224Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-09T16:51:55.224Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-09T16:51:55.224Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-09T16:51:55.224Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T16:51:55.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T16:51:55.703Z] [2022-11-09T16:51:55.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T16:51:56.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T16:51:56.069Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-09T16:51:56.069Z] b85a868b505f: Pulling fs layer [2022-11-09T16:51:56.069Z] e2be974225ed: Pulling fs layer [2022-11-09T16:51:56.069Z] 339a4e72a1f5: Pulling fs layer [2022-11-09T16:51:56.069Z] 988bab9f4d93: Pulling fs layer [2022-11-09T16:51:56.069Z] 1469e6f7b9e6: Pulling fs layer [2022-11-09T16:51:56.069Z] eaf3925da568: Pulling fs layer [2022-11-09T16:51:56.069Z] bab4dde63d76: Pulling fs layer [2022-11-09T16:51:56.069Z] bde34c3a00c8: Pulling fs layer [2022-11-09T16:51:56.069Z] b352a97aabf1: Pulling fs layer [2022-11-09T16:51:56.069Z] 4872d77fe225: Pulling fs layer [2022-11-09T16:51:56.069Z] 5851b861e8e6: Pulling fs layer [2022-11-09T16:51:56.069Z] 1469e6f7b9e6: Waiting [2022-11-09T16:51:56.069Z] eaf3925da568: Waiting [2022-11-09T16:51:56.069Z] bab4dde63d76: Waiting [2022-11-09T16:51:56.069Z] bde34c3a00c8: Waiting [2022-11-09T16:51:56.069Z] b352a97aabf1: Waiting [2022-11-09T16:51:56.069Z] 4872d77fe225: Waiting [2022-11-09T16:51:56.069Z] 5851b861e8e6: Waiting [2022-11-09T16:51:56.069Z] 988bab9f4d93: Waiting [2022-11-09T16:51:56.069Z] e2be974225ed: Download complete [2022-11-09T16:51:56.069Z] 988bab9f4d93: Download complete [2022-11-09T16:51:56.328Z] 1469e6f7b9e6: Verifying Checksum [2022-11-09T16:51:56.328Z] 1469e6f7b9e6: Download complete [2022-11-09T16:51:56.328Z] eaf3925da568: Download complete [2022-11-09T16:51:56.328Z] 339a4e72a1f5: Verifying Checksum [2022-11-09T16:51:56.328Z] 339a4e72a1f5: Download complete [2022-11-09T16:51:56.328Z] bde34c3a00c8: Verifying Checksum [2022-11-09T16:51:56.328Z] bde34c3a00c8: Download complete [2022-11-09T16:51:56.328Z] b352a97aabf1: Download complete [2022-11-09T16:51:56.328Z] 4872d77fe225: Verifying Checksum [2022-11-09T16:51:56.328Z] 4872d77fe225: Download complete [2022-11-09T16:51:56.328Z] 5851b861e8e6: Verifying Checksum [2022-11-09T16:51:56.328Z] 5851b861e8e6: Download complete [2022-11-09T16:51:56.587Z] b85a868b505f: Verifying Checksum [2022-11-09T16:51:56.587Z] b85a868b505f: Download complete [2022-11-09T16:51:56.850Z] bab4dde63d76: Verifying Checksum [2022-11-09T16:51:56.850Z] bab4dde63d76: Download complete [2022-11-09T16:51:57.788Z] b85a868b505f: Pull complete [2022-11-09T16:51:58.048Z] e2be974225ed: Pull complete [2022-11-09T16:51:58.617Z] 339a4e72a1f5: Pull complete [2022-11-09T16:51:58.617Z] 988bab9f4d93: Pull complete [2022-11-09T16:51:58.876Z] 1469e6f7b9e6: Pull complete [2022-11-09T16:51:58.876Z] eaf3925da568: Pull complete [2022-11-09T16:52:00.781Z] bab4dde63d76: Pull complete [2022-11-09T16:52:00.781Z] bde34c3a00c8: Pull complete [2022-11-09T16:52:00.781Z] b352a97aabf1: Pull complete [2022-11-09T16:52:01.041Z] 4872d77fe225: Pull complete [2022-11-09T16:52:01.041Z] 5851b861e8e6: Pull complete [2022-11-09T16:52:01.041Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-09T16:52:01.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-09T16:52:01.041Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T16:52:01.258Z] prd-ubuntu20.04-docker-8c-8g-118769 does not seem to be running inside a container [2022-11-09T16:52:01.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-113 -v /w/workspace/foundry_device-usb-camera_PR-113:/w/workspace/foundry_device-usb-camera_PR-113:rw,z -v /w/workspace/foundry_device-usb-camera_PR-113@tmp:/w/workspace/foundry_device-usb-camera_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-09T16:52:03.692Z] $ docker top d856c64be88c9d99a2af7f9b95bd295cefdde269af95769d7c55d111bdf6f8ce -eo pid,comm [2022-11-09T16:52:03.750Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-09T16:52:03.750Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-09T16:52:03.865Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-09T16:52:03.865Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-09T16:52:03.972Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-09T16:52:03.976Z] $ docker exec d856c64be88c9d99a2af7f9b95bd295cefdde269af95769d7c55d111bdf6f8ce ssh-agent [2022-11-09T16:52:04.083Z] SSH_AUTH_SOCK=/tmp/ssh-dinhNwxdU5r6/agent.31 [2022-11-09T16:52:04.083Z] SSH_AGENT_PID=37 [2022-11-09T16:52:04.089Z] Running ssh-add (command line suppressed) [2022-11-09T16:52:04.187Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-113@tmp/private_key_15352309454972036832.key (/w/workspace/foundry_device-usb-camera_PR-113@tmp/private_key_15352309454972036832.key) [2022-11-09T16:52:04.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-09T16:52:04.529Z] + git tag --points-at HEAD [Pipeline] } [2022-11-09T16:52:04.557Z] $ docker exec --env ******** --env ******** d856c64be88c9d99a2af7f9b95bd295cefdde269af95769d7c55d111bdf6f8ce ssh-agent -k [2022-11-09T16:52:04.670Z] unset SSH_AUTH_SOCK; [2022-11-09T16:52:04.671Z] unset SSH_AGENT_PID; [2022-11-09T16:52:04.671Z] echo Agent pid 37 killed; [2022-11-09T16:52:04.678Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-09T16:52:04.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-09T16:52:04.771Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-09T16:52:04.886Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-09T16:52:04.890Z] $ docker exec d856c64be88c9d99a2af7f9b95bd295cefdde269af95769d7c55d111bdf6f8ce ssh-agent [2022-11-09T16:52:04.997Z] SSH_AUTH_SOCK=/tmp/ssh-6PH9mxWu2WBR/agent.71 [2022-11-09T16:52:04.997Z] SSH_AGENT_PID=77 [2022-11-09T16:52:05.001Z] Running ssh-add (command line suppressed) [2022-11-09T16:52:05.102Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-113@tmp/private_key_12155045482788319988.key (/w/workspace/foundry_device-usb-camera_PR-113@tmp/private_key_12155045482788319988.key) [2022-11-09T16:52:05.118Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-09T16:52:05.441Z] + git semver init [2022-11-09T16:52:05.700Z] 2022-11-09 16:52:05,628 [run_init] DEBUG init version:0.0.0 force:False [2022-11-09T16:52:05.700Z] 2022-11-09 16:52:05,629 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-113/.semver [2022-11-09T16:52:05.700Z] 2022-11-09 16:52:05,630 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-113/.semver [2022-11-09T16:52:05.700Z] 2022-11-09 16:52:05,630 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-113/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-113, universal_newlines=False, shell=None, istream=None) [2022-11-09T16:52:06.637Z] 2022-11-09 16:52:06,450 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-113/.git/info/exclude [2022-11-09T16:52:06.637Z] 2022-11-09 16:52:06,450 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-113/.semver/PR-113 with force:False [2022-11-09T16:52:06.637Z] 2022-11-09 16:52:06,451 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-113/.semver/PR-113 [2022-11-09T16:52:06.637Z] 2022-11-09 16:52:06,454 [execute] INFO git cat-file --batch-check [2022-11-09T16:52:06.637Z] 2022-11-09 16:52:06,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-113/.semver, universal_newlines=False, shell=None, istream=) [2022-11-09T16:52:06.637Z] 2022-11-09 16:52:06,461 [execute] INFO git cat-file --batch [2022-11-09T16:52:06.637Z] 2022-11-09 16:52:06,462 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-113/.semver, universal_newlines=False, shell=None, istream=) [2022-11-09T16:52:06.637Z] 2022-11-09 16:52:06,467 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-113/.semver/PR-113 [2022-11-09T16:52:06.637Z] 0.0.0 [Pipeline] } [2022-11-09T16:52:06.665Z] $ docker exec --env ******** --env ******** d856c64be88c9d99a2af7f9b95bd295cefdde269af95769d7c55d111bdf6f8ce ssh-agent -k [2022-11-09T16:52:06.770Z] unset SSH_AUTH_SOCK; [2022-11-09T16:52:06.770Z] unset SSH_AGENT_PID; [2022-11-09T16:52:06.770Z] echo Agent pid 77 killed; [2022-11-09T16:52:06.777Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-09T16:52:07.196Z] + git semver [Pipeline] } [2022-11-09T16:52:07.478Z] $ docker stop --time=1 d856c64be88c9d99a2af7f9b95bd295cefdde269af95769d7c55d111bdf6f8ce [2022-11-09T16:52:08.768Z] $ docker rm -f d856c64be88c9d99a2af7f9b95bd295cefdde269af95769d7c55d111bdf6f8ce [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T16:52:09.157Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-09T16:52:09.388Z] Stashed 1 file(s) [Pipeline] echo [2022-11-09T16:52:09.413Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T16:52:09.940Z] provisioning config files... [2022-11-09T16:52:09.948Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-113@tmp/config8401679801796791684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T16:52:10.289Z] ---> docker-login.sh [2022-11-09T16:52:10.289Z] nexus3.edgexfoundry.org:10001 [2022-11-09T16:52:10.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:52:10.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:52:10.289Z] Configure a credential helper to remove this warning. See [2022-11-09T16:52:10.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:52:10.289Z] [2022-11-09T16:52:10.289Z] Login Succeeded [2022-11-09T16:52:10.289Z] nexus3.edgexfoundry.org:10002 [2022-11-09T16:52:10.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:52:10.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:52:10.289Z] Configure a credential helper to remove this warning. See [2022-11-09T16:52:10.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:52:10.289Z] [2022-11-09T16:52:10.289Z] Login Succeeded [2022-11-09T16:52:10.289Z] nexus3.edgexfoundry.org:10003 [2022-11-09T16:52:10.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:52:10.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:52:10.549Z] Configure a credential helper to remove this warning. See [2022-11-09T16:52:10.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:52:10.549Z] [2022-11-09T16:52:10.549Z] Login Succeeded [2022-11-09T16:52:10.549Z] nexus3.edgexfoundry.org:10004 [2022-11-09T16:52:10.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:52:10.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:52:10.549Z] Configure a credential helper to remove this warning. See [2022-11-09T16:52:10.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:52:10.549Z] [2022-11-09T16:52:10.549Z] Login Succeeded [2022-11-09T16:52:10.549Z] docker.io [2022-11-09T16:52:10.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:52:11.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:52:11.069Z] Configure a credential helper to remove this warning. See [2022-11-09T16:52:11.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:52:11.069Z] [2022-11-09T16:52:11.069Z] Login Succeeded [2022-11-09T16:52:11.069Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T16:52:11.097Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-09T16:52:11.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T16:52:11.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T16:52:11.357Z] ========================================================= [2022-11-09T16:52:11.357Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-09T16:52:11.357Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T16:52:11.812Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-09T16:52:11.812Z] Sending build context to Docker daemon 1.62MB [2022-11-09T16:52:11.812Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T16:52:11.812Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-09T16:52:11.812Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-09T16:52:11.812Z] 213ec9aee27d: Pulling fs layer [2022-11-09T16:52:11.812Z] 4583459ba037: Pulling fs layer [2022-11-09T16:52:11.812Z] 93c1e223e6f2: Pulling fs layer [2022-11-09T16:52:11.812Z] 53926ce57604: Pulling fs layer [2022-11-09T16:52:11.812Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-09T16:52:11.812Z] 22ff95d597cd: Pulling fs layer [2022-11-09T16:52:11.812Z] 12d6caf4c0d1: Pulling fs layer [2022-11-09T16:52:11.812Z] 96b7cbca73a9: Pulling fs layer [2022-11-09T16:52:11.812Z] a7acece74701: Pulling fs layer [2022-11-09T16:52:11.812Z] 22ff95d597cd: Waiting [2022-11-09T16:52:11.812Z] 12d6caf4c0d1: Waiting [2022-11-09T16:52:11.812Z] 96b7cbca73a9: Waiting [2022-11-09T16:52:11.812Z] a7acece74701: Waiting [2022-11-09T16:52:11.812Z] 53926ce57604: Waiting [2022-11-09T16:52:11.812Z] 21b2b0c7a3f4: Waiting [2022-11-09T16:52:11.812Z] 93c1e223e6f2: Verifying Checksum [2022-11-09T16:52:11.812Z] 93c1e223e6f2: Download complete [2022-11-09T16:52:12.074Z] 4583459ba037: Download complete [2022-11-09T16:52:12.074Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-09T16:52:12.074Z] 21b2b0c7a3f4: Download complete [2022-11-09T16:52:12.074Z] 22ff95d597cd: Verifying Checksum [2022-11-09T16:52:12.074Z] 22ff95d597cd: Download complete [2022-11-09T16:52:12.074Z] 213ec9aee27d: Verifying Checksum [2022-11-09T16:52:12.074Z] 213ec9aee27d: Download complete [2022-11-09T16:52:12.074Z] 12d6caf4c0d1: Download complete [2022-11-09T16:52:12.074Z] 213ec9aee27d: Pull complete [2022-11-09T16:52:12.349Z] 4583459ba037: Pull complete [2022-11-09T16:52:12.349Z] 93c1e223e6f2: Pull complete [2022-11-09T16:52:12.613Z] a7acece74701: Verifying Checksum [2022-11-09T16:52:12.613Z] a7acece74701: Download complete [2022-11-09T16:52:12.613Z] 96b7cbca73a9: Verifying Checksum [2022-11-09T16:52:12.613Z] 96b7cbca73a9: Download complete [2022-11-09T16:52:12.871Z] 53926ce57604: Verifying Checksum [2022-11-09T16:52:12.871Z] 53926ce57604: Download complete [2022-11-09T16:52:17.059Z] 53926ce57604: Pull complete [2022-11-09T16:52:17.059Z] 21b2b0c7a3f4: Pull complete [2022-11-09T16:52:17.059Z] 22ff95d597cd: Pull complete [2022-11-09T16:52:17.059Z] 12d6caf4c0d1: Pull complete [2022-11-09T16:52:18.959Z] 96b7cbca73a9: Pull complete [2022-11-09T16:52:19.894Z] a7acece74701: Pull complete [2022-11-09T16:52:19.894Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-09T16:52:19.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-09T16:52:19.894Z] ---> db6d94c90886 [2022-11-09T16:52:19.894Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-09T16:52:24.244Z] ---> Running in ee71ee464042 [2022-11-09T16:52:24.244Z] Removing intermediate container ee71ee464042 [2022-11-09T16:52:24.244Z] ---> 935290336213 [2022-11-09T16:52:24.244Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T16:52:24.244Z] ---> Running in f224f5d51f5f [2022-11-09T16:52:24.244Z] Removing intermediate container f224f5d51f5f [2022-11-09T16:52:24.244Z] ---> 09a525c32d20 [2022-11-09T16:52:24.244Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-11-09T16:52:24.244Z] ---> Running in 36a3e5625307 [2022-11-09T16:52:24.244Z] Removing intermediate container 36a3e5625307 [2022-11-09T16:52:24.244Z] ---> b201430a0529 [2022-11-09T16:52:24.244Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-11-09T16:52:24.244Z] ---> Running in 8ac8a2de5e0c [2022-11-09T16:52:24.244Z] Removing intermediate container 8ac8a2de5e0c [2022-11-09T16:52:24.244Z] ---> 808201d948b1 [2022-11-09T16:52:24.244Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T16:52:24.245Z] ---> Running in 8756996c2c4a [2022-11-09T16:52:24.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T16:52:24.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T16:52:24.765Z] (1/80) Installing mesa (21.3.8-r2) [2022-11-09T16:52:24.765Z] (2/80) Installing libxau (1.0.9-r0) [2022-11-09T16:52:24.765Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-11-09T16:52:24.765Z] (4/80) Installing libxcb (1.15-r0) [2022-11-09T16:52:24.765Z] (5/80) Installing libx11 (1.8-r0) [2022-11-09T16:52:24.787Z] Still waiting to schedule task [2022-11-09T16:52:24.788Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-09T16:52:25.026Z] (6/80) Installing libxext (1.3.4-r0) [2022-11-09T16:52:25.026Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-11-09T16:52:25.026Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-11-09T16:52:25.026Z] (9/80) Installing libpciaccess (0.16-r0) [2022-11-09T16:52:25.026Z] (10/80) Installing libdrm (2.4.110-r0) [2022-11-09T16:52:25.026Z] (11/80) Installing mesa-glapi (21.3.8-r2) [2022-11-09T16:52:25.026Z] (12/80) Installing libxshmfence (1.3-r1) [2022-11-09T16:52:25.026Z] (13/80) Installing mesa-gl (21.3.8-r2) [2022-11-09T16:52:25.026Z] (14/80) Installing icu-data-full (71.1-r2) [2022-11-09T16:52:25.026Z] (15/80) Installing libice (1.0.10-r0) [2022-11-09T16:52:25.026Z] (16/80) Installing libuuid (2.38-r1) [2022-11-09T16:52:25.026Z] (17/80) Installing libsm (1.2.3-r0) [2022-11-09T16:52:25.026Z] (18/80) Installing libxt (1.2.1-r0) [2022-11-09T16:52:25.026Z] (19/80) Installing libxmu (1.1.3-r0) [2022-11-09T16:52:25.026Z] (20/80) Installing xset (1.2.4-r0) [2022-11-09T16:52:25.026Z] (21/80) Installing xprop (1.2.5-r0) [2022-11-09T16:52:25.285Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-11-09T16:52:25.285Z] (23/80) Installing dbus-libs (1.14.4-r0) [2022-11-09T16:52:25.285Z] (24/80) Installing libffi (3.4.2-r1) [2022-11-09T16:52:25.285Z] (25/80) Installing libintl (0.21-r2) [2022-11-09T16:52:25.285Z] (26/80) Installing libblkid (2.38-r1) [2022-11-09T16:52:25.285Z] (27/80) Installing libmount (2.38-r1) [2022-11-09T16:52:25.285Z] (28/80) Installing pcre (8.45-r2) [2022-11-09T16:52:25.285Z] (29/80) Installing glib (2.72.1-r0) [2022-11-09T16:52:25.285Z] (30/80) Installing icu-libs (71.1-r2) [2022-11-09T16:52:25.285Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-11-09T16:52:25.285Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-11-09T16:52:25.285Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2022-11-09T16:52:25.285Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-11-09T16:52:25.285Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-11-09T16:52:25.285Z] (36/80) Installing mesa-gbm (21.3.8-r2) [2022-11-09T16:52:25.285Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-11-09T16:52:25.285Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2022-11-09T16:52:25.545Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-11-09T16:52:25.545Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-11-09T16:52:25.545Z] (41/80) Installing libpng (1.6.37-r1) [2022-11-09T16:52:25.545Z] (42/80) Installing freetype (2.12.1-r0) [2022-11-09T16:52:25.545Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-11-09T16:52:25.545Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-11-09T16:52:25.545Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-11-09T16:52:25.545Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-11-09T16:52:25.545Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-11-09T16:52:25.545Z] (48/80) Installing libxml2 (2.9.14-r2) [2022-11-09T16:52:25.545Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-11-09T16:52:25.545Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-11-09T16:52:25.545Z] (51/80) Installing mesa-egl (21.3.8-r2) [2022-11-09T16:52:25.804Z] (52/80) Installing avahi-libs (0.8-r6) [2022-11-09T16:52:25.804Z] (53/80) Installing nettle (3.7.3-r0) [2022-11-09T16:52:25.804Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-11-09T16:52:25.804Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-11-09T16:52:25.804Z] (56/80) Installing libunistring (1.0-r0) [2022-11-09T16:52:25.804Z] (57/80) Installing gnutls (3.7.7-r0) [2022-11-09T16:52:25.804Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-11-09T16:52:25.804Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-11-09T16:52:25.804Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-11-09T16:52:25.804Z] (61/80) Installing libevdev (1.12.1-r0) [2022-11-09T16:52:25.804Z] (62/80) Installing mtdev (1.1.6-r0) [2022-11-09T16:52:25.804Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-11-09T16:52:25.804Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-11-09T16:52:25.804Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-11-09T16:52:25.804Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-11-09T16:52:25.804Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-11-09T16:52:25.804Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-11-09T16:52:25.804Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-11-09T16:52:25.804Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-11-09T16:52:25.804Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-11-09T16:52:25.804Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2022-11-09T16:52:26.063Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-11-09T16:52:26.063Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-11-09T16:52:26.063Z] (75/80) Installing udev-init-scripts (35-r0) [2022-11-09T16:52:26.063Z] Executing udev-init-scripts-35-r0.post-install [2022-11-09T16:52:26.063Z] (76/80) Installing kmod-libs (29-r2) [2022-11-09T16:52:26.063Z] (77/80) Installing eudev (3.2.11-r0) [2022-11-09T16:52:26.063Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-11-09T16:52:26.063Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-11-09T16:52:26.063Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-11-09T16:52:26.063Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T16:52:26.063Z] Executing eudev-3.2.11-r0.trigger [2022-11-09T16:52:26.348Z] OK: 330 MiB in 131 packages [2022-11-09T16:52:29.639Z] Removing intermediate container 8756996c2c4a [2022-11-09T16:52:29.639Z] ---> 3fe30ee48ff6 [2022-11-09T16:52:29.639Z] Step 8/13 : WORKDIR /device-usb-camera [2022-11-09T16:52:29.639Z] ---> Running in 925ee9523a5f [2022-11-09T16:52:29.639Z] Removing intermediate container 925ee9523a5f [2022-11-09T16:52:29.639Z] ---> ce0c76539cc8 [2022-11-09T16:52:29.639Z] Step 9/13 : COPY go.mod vendor* ./ [2022-11-09T16:52:29.639Z] ---> f081faaed9c1 [2022-11-09T16:52:29.639Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T16:52:29.639Z] ---> Running in cedb68bc6830 [2022-11-09T16:52:51.579Z] Removing intermediate container cedb68bc6830 [2022-11-09T16:52:51.579Z] ---> 4f298564fee0 [2022-11-09T16:52:51.579Z] Step 11/13 : COPY . . [2022-11-09T16:52:51.579Z] ---> 2f5f84c6929e [2022-11-09T16:52:51.579Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-11-09T16:52:51.579Z] ---> Running in b4856817bab5 [2022-11-09T16:52:51.579Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T16:52:51.579Z] Dload Upload Total Spent Left Speed [2022-11-09T16:52:51.579Z] 0 0 0 0 0  0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8182 0 --:--:-- --:--:-- --:--:-- 8232 [2022-11-09T16:52:51.579Z] Removing intermediate container b4856817bab5 [2022-11-09T16:52:51.579Z] ---> ba507196a459 [2022-11-09T16:52:51.579Z] Step 13/13 : RUN ${MAKE} [2022-11-09T16:52:51.579Z] ---> Running in 600a03c45fca [2022-11-09T16:52:51.579Z] noop [2022-11-09T16:52:51.838Z] Removing intermediate container 600a03c45fca [2022-11-09T16:52:51.838Z] ---> 50760c0543f2 [2022-11-09T16:52:51.838Z] Successfully built 50760c0543f2 [2022-11-09T16:52:51.838Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T16:52:52.261Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-09T16:52:52.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T16:52:52.398Z] prd-ubuntu20.04-docker-8c-8g-118769 does not seem to be running inside a container [2022-11-09T16:52:52.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-113 -v /w/workspace/foundry_device-usb-camera_PR-113:/w/workspace/foundry_device-usb-camera_PR-113:rw,z -v /w/workspace/foundry_device-usb-camera_PR-113@tmp:/w/workspace/foundry_device-usb-camera_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-09T16:52:52.753Z] $ docker top 137be00cd17ceb90f38c782236171f5102148536964f7832ea913cba21a096d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T16:52:53.132Z] + go version [2022-11-09T16:52:53.132Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-09T16:52:53.166Z] $ docker stop --time=1 137be00cd17ceb90f38c782236171f5102148536964f7832ea913cba21a096d5 [2022-11-09T16:52:54.430Z] $ docker rm -f 137be00cd17ceb90f38c782236171f5102148536964f7832ea913cba21a096d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T16:52:55.130Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-09T16:52:55.130Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T16:52:55.277Z] prd-ubuntu20.04-docker-8c-8g-118769 does not seem to be running inside a container [2022-11-09T16:52:55.315Z] $ 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-113 -v /w/workspace/foundry_device-usb-camera_PR-113:/w/workspace/foundry_device-usb-camera_PR-113:rw,z -v /w/workspace/foundry_device-usb-camera_PR-113@tmp:/w/workspace/foundry_device-usb-camera_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-09T16:52:55.647Z] $ docker top 2a3d328be6e4ae888275befcdd1b83e9128f252faf484f5a97638561cc9b6e3d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T16:52:56.041Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-113 [Pipeline] fileExists [Pipeline] sh [2022-11-09T16:52:56.393Z] + make test [2022-11-09T16:52:56.393Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-11-09T16:52:56.652Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-11-09T16:53:06.621Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-11-09T16:53:06.882Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.9% of statements [2022-11-09T16:53:14.988Z] 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." [2022-11-09T16:53:14.988Z] CGO_ENABLED=1 go vet ./... [2022-11-09T16:53:17.513Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-09T16:53:17.771Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-09T16:53:17.771Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-09T16:53:17.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-09T16:53:17.835Z] $ docker stop --time=1 2a3d328be6e4ae888275befcdd1b83e9128f252faf484f5a97638561cc9b6e3d [2022-11-09T16:53:20.333Z] $ docker rm -f 2a3d328be6e4ae888275befcdd1b83e9128f252faf484f5a97638561cc9b6e3d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T16:53:20.831Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-09T16:53:20.900Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-09T16:53:21.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-09T16:53:21.864Z] + ls -al . [2022-11-09T16:53:21.864Z] total 200 [2022-11-09T16:53:21.864Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 16:52 . [2022-11-09T16:53:21.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 16:51 .. [2022-11-09T16:53:21.864Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 16:53 .git [2022-11-09T16:53:21.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 16:51 .github [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 414 Nov 9 16:51 .gitignore [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 9 16:51 .golangci.yml [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 77 Nov 9 16:51 .hadolint.yml [2022-11-09T16:53:21.864Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 16:52 .semver [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 9702 Nov 9 16:51 Attribution.txt [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 1206 Nov 9 16:51 CHANGELOG.md [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 2378 Nov 9 16:51 Dockerfile [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 9 16:51 GOVERNANCE.md [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 659 Nov 9 16:51 Jenkinsfile [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 9 16:51 LICENSE [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 2554 Nov 9 16:51 Makefile [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 9 16:51 OWNERS.md [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 5773 Nov 9 16:51 README.md [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 16:52 VERSION [2022-11-09T16:53:21.864Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 16:51 bin [2022-11-09T16:53:21.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 16:51 cmd [2022-11-09T16:53:21.864Z] -rw-r--r-- 1 jenkins jenkins 29559 Nov 9 16:53 coverage.out [2022-11-09T16:53:21.864Z] -rwxrwxr-x 1 jenkins jenkins 140 Nov 9 16:51 docker-entrypoint.sh [2022-11-09T16:53:21.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 16:51 docs [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 3573 Nov 9 16:51 go.mod [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 45026 Nov 9 16:51 go.sum [2022-11-09T16:53:21.864Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 16:51 internal [2022-11-09T16:53:21.864Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 16:51 snap [2022-11-09T16:53:21.864Z] -rw-rw-r-- 1 jenkins jenkins 231 Nov 9 16:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T16:53:22.244Z] + 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=36edd5e9330ff26844f1d5d0d178c702f7898d73 --label arch=amd64 --label version=0.0.0 . [2022-11-09T16:53:22.244Z] Sending build context to Docker daemon 1.651MB [2022-11-09T16:53:22.244Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T16:53:22.244Z] Step 2/35 : FROM ${BASE} AS builder [2022-11-09T16:53:22.244Z] ---> 50760c0543f2 [2022-11-09T16:53:22.244Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-11-09T16:53:22.502Z] ---> Running in 42911f274b15 [2022-11-09T16:53:22.502Z] Removing intermediate container 42911f274b15 [2022-11-09T16:53:22.502Z] ---> 4395c4b40311 [2022-11-09T16:53:22.502Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T16:53:22.502Z] ---> Running in 1363e99d18d4 [2022-11-09T16:53:22.502Z] Removing intermediate container 1363e99d18d4 [2022-11-09T16:53:22.502Z] ---> 096164e10a9c [2022-11-09T16:53:22.502Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-11-09T16:53:22.502Z] ---> Running in e195951c056b [2022-11-09T16:53:22.760Z] Removing intermediate container e195951c056b [2022-11-09T16:53:22.760Z] ---> d3c196dad1bd [2022-11-09T16:53:22.760Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-11-09T16:53:22.760Z] ---> Running in ed0081b2e59e [2022-11-09T16:53:22.760Z] Removing intermediate container ed0081b2e59e [2022-11-09T16:53:22.760Z] ---> d09b7b24ebb4 [2022-11-09T16:53:22.760Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T16:53:22.760Z] ---> Running in 77a4e123d501 [2022-11-09T16:53:23.020Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T16:53:23.281Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T16:53:23.539Z] OK: 330 MiB in 131 packages [2022-11-09T16:53:23.798Z] Removing intermediate container 77a4e123d501 [2022-11-09T16:53:23.798Z] ---> 4e16877cb0ab [2022-11-09T16:53:23.798Z] Step 8/35 : WORKDIR /device-usb-camera [2022-11-09T16:53:23.798Z] ---> Running in b244e5f3d2f4 [2022-11-09T16:53:23.798Z] Removing intermediate container b244e5f3d2f4 [2022-11-09T16:53:23.798Z] ---> 5b43be8e2e5c [2022-11-09T16:53:23.798Z] Step 9/35 : COPY go.mod vendor* ./ [2022-11-09T16:53:24.056Z] ---> b9a2fc10e9bc [2022-11-09T16:53:24.056Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T16:53:24.056Z] ---> Running in d21a59256381 [2022-11-09T16:53:24.623Z] Removing intermediate container d21a59256381 [2022-11-09T16:53:24.623Z] ---> ffa713241b27 [2022-11-09T16:53:24.623Z] Step 11/35 : COPY . . [2022-11-09T16:53:25.191Z] ---> da75564e7af9 [2022-11-09T16:53:25.191Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-11-09T16:53:25.191Z] ---> Running in afd35670ee7f [2022-11-09T16:53:25.450Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T16:53:25.450Z] Dload Upload Total Spent Left Speed [2022-11-09T16:53:25.450Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 45131 0 --:--:-- --:--:-- --:--:-- 46173 [2022-11-09T16:53:25.708Z] Removing intermediate container afd35670ee7f [2022-11-09T16:53:25.708Z] ---> 25883e3bc8f8 [2022-11-09T16:53:25.708Z] Step 13/35 : RUN ${MAKE} [2022-11-09T16:53:25.708Z] ---> Running in 200fb27e8493 [2022-11-09T16:53:25.967Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-11-09T16:53:52.509Z] Removing intermediate container 200fb27e8493 [2022-11-09T16:53:52.509Z] ---> 13c126a1ed6a [2022-11-09T16:53:52.509Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-11-09T16:53:52.509Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-11-09T16:53:52.509Z] af6660deedbd: Pulling fs layer [2022-11-09T16:53:52.509Z] 97cd0a44c592: Pulling fs layer [2022-11-09T16:53:52.509Z] af6660deedbd: Verifying Checksum [2022-11-09T16:53:52.509Z] af6660deedbd: Download complete [2022-11-09T16:53:52.509Z] 97cd0a44c592: Verifying Checksum [2022-11-09T16:53:52.509Z] 97cd0a44c592: Download complete [2022-11-09T16:53:52.509Z] af6660deedbd: Pull complete [2022-11-09T16:53:52.509Z] 97cd0a44c592: Pull complete [2022-11-09T16:53:52.509Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-11-09T16:53:52.509Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-11-09T16:53:52.509Z] ---> fea57e182299 [2022-11-09T16:53:52.509Z] Step 15/35 : FROM alpine:3.16 [2022-11-09T16:53:52.509Z] 3.16: Pulling from library/alpine [2022-11-09T16:53:52.509Z] 213ec9aee27d: Already exists [2022-11-09T16:53:52.509Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-09T16:53:52.509Z] Status: Downloaded newer image for alpine:3.16 [2022-11-09T16:53:52.509Z] ---> 9c6f07244728 [2022-11-09T16:53:52.509Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-09T16:53:52.509Z] ---> Running in e4efe379dd53 [2022-11-09T16:53:52.509Z] Removing intermediate container e4efe379dd53 [2022-11-09T16:53:52.509Z] ---> ef74c856c4bd [2022-11-09T16:53:52.509Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-11-09T16:53:52.509Z] ---> Running in 9dceed2bba34 [2022-11-09T16:53:52.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-09T16:53:52.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-09T16:53:52.509Z] (1/83) Installing dumb-init (1.2.5-r1) [2022-11-09T16:53:52.509Z] (2/83) Installing sdl2 (2.0.22-r0) [2022-11-09T16:53:52.509Z] (3/83) Installing libxau (1.0.9-r0) [2022-11-09T16:53:52.509Z] (4/83) Installing libxdmcp (1.1.3-r0) [2022-11-09T16:53:52.509Z] (5/83) Installing libxcb (1.15-r0) [2022-11-09T16:53:52.509Z] (6/83) Installing libx11 (1.8-r0) [2022-11-09T16:53:52.509Z] (7/83) Installing aom-libs (3.3.0-r0) [2022-11-09T16:53:52.509Z] (8/83) Installing alsa-lib (1.2.7.2-r0) [2022-11-09T16:53:52.509Z] (9/83) Installing expat (2.5.0-r0) [2022-11-09T16:53:52.509Z] (10/83) Installing brotli-libs (1.0.9-r6) [2022-11-09T16:53:52.509Z] (11/83) Installing libbz2 (1.0.8-r1) [2022-11-09T16:53:52.509Z] (12/83) Installing libpng (1.6.37-r1) [2022-11-09T16:53:52.509Z] (13/83) Installing freetype (2.12.1-r0) [2022-11-09T16:53:52.509Z] (14/83) Installing fontconfig (2.14.0-r0) [2022-11-09T16:53:52.509Z] (15/83) Installing fribidi (1.0.12-r0) [2022-11-09T16:53:52.509Z] (16/83) Installing libffi (3.4.2-r1) [2022-11-09T16:53:52.509Z] (17/83) Installing libintl (0.21-r2) [2022-11-09T16:53:52.509Z] (18/83) Installing libblkid (2.38-r1) [2022-11-09T16:53:52.509Z] (19/83) Installing libmount (2.38-r1) [2022-11-09T16:53:52.509Z] (20/83) Installing pcre (8.45-r2) [2022-11-09T16:53:52.509Z] (21/83) Installing glib (2.72.1-r0) [2022-11-09T16:53:52.509Z] (22/83) Installing graphite2 (1.3.14-r1) [2022-11-09T16:53:52.509Z] (23/83) Installing harfbuzz (4.3.0-r0) [2022-11-09T16:53:52.509Z] (24/83) Installing libass (0.16.0-r0) [2022-11-09T16:53:52.509Z] (25/83) Installing libdav1d (1.0.0-r0) [2022-11-09T16:53:52.509Z] (26/83) Installing libpciaccess (0.16-r0) [2022-11-09T16:53:52.509Z] (27/83) Installing libdrm (2.4.110-r0) [2022-11-09T16:53:52.509Z] (28/83) Installing gmp (6.2.1-r2) [2022-11-09T16:53:52.509Z] (29/83) Installing nettle (3.7.3-r0) [2022-11-09T16:53:52.509Z] (30/83) Installing p11-kit (0.24.1-r0) [2022-11-09T16:53:52.509Z] (31/83) Installing libtasn1 (4.18.0-r0) [2022-11-09T16:53:52.509Z] (32/83) Installing libunistring (1.0-r0) [2022-11-09T16:53:52.509Z] (33/83) Installing gnutls (3.7.7-r0) [2022-11-09T16:53:52.509Z] (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-11-09T16:53:52.509Z] (35/83) Installing ncurses-libs (6.3_p20220521-r0) [2022-11-09T16:53:52.509Z] (36/83) Installing lame (3.100-r0) [2022-11-09T16:53:52.509Z] (37/83) Installing opus (1.3.1-r1) [2022-11-09T16:53:52.509Z] (38/83) Installing libasyncns (0.8-r1) [2022-11-09T16:53:52.509Z] (39/83) Installing dbus-libs (1.14.4-r0) [2022-11-09T16:53:52.509Z] (40/83) Installing libltdl (2.4.7-r0) [2022-11-09T16:53:52.509Z] (41/83) Installing orc (0.4.32-r0) [2022-11-09T16:53:52.509Z] (42/83) Installing libgcc (11.2.1_git20220219-r2) [2022-11-09T16:53:52.509Z] (43/83) Installing libogg (1.3.5-r1) [2022-11-09T16:53:52.509Z] (44/83) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-09T16:53:52.509Z] (45/83) Installing flac (1.3.4-r0) [2022-11-09T16:53:52.509Z] (46/83) Installing libvorbis (1.3.7-r0) [2022-11-09T16:53:52.509Z] (47/83) Installing libsndfile (1.1.0-r0) [2022-11-09T16:53:52.509Z] (48/83) Installing libgomp (11.2.1_git20220219-r2) [2022-11-09T16:53:52.509Z] (49/83) Installing soxr (0.1.3-r2) [2022-11-09T16:53:52.509Z] (50/83) Installing speexdsp (1.2.0-r0) [2022-11-09T16:53:52.509Z] (51/83) Installing tdb-libs (1.4.6-r0) [2022-11-09T16:53:52.509Z] (52/83) Installing libpulse (15.0-r2) [2022-11-09T16:53:52.509Z] (53/83) Installing cjson (1.7.15-r3) [2022-11-09T16:53:52.509Z] (54/83) Installing mbedtls (2.28.1-r0) [2022-11-09T16:53:52.509Z] (55/83) Installing librist (0.2.6-r1) [2022-11-09T16:53:52.509Z] (56/83) Installing libsrt (1.4.4-r0) [2022-11-09T16:53:52.509Z] (57/83) Installing libssh (0.9.6-r1) [2022-11-09T16:53:52.509Z] (58/83) Installing libtheora (1.1.1-r16) [2022-11-09T16:53:52.509Z] (59/83) Installing libjpeg-turbo (2.1.3-r1) [2022-11-09T16:53:52.509Z] (60/83) Installing v4l-utils-libs (1.22.1-r1) [2022-11-09T16:53:52.509Z] (61/83) Installing libxext (1.3.4-r0) [2022-11-09T16:53:52.509Z] (62/83) Installing libxfixes (6.0.0-r0) [2022-11-09T16:53:52.509Z] (63/83) Installing wayland-libs-client (1.20.0-r0) [2022-11-09T16:53:52.509Z] (64/83) Installing libva (2.14.0-r0) [2022-11-09T16:53:52.509Z] (65/83) Installing libvdpau (1.5-r0) [2022-11-09T16:53:52.509Z] (66/83) Installing vidstab (1.1.0-r1) [2022-11-09T16:53:52.510Z] (67/83) Installing libvpx (1.11.0-r1) [2022-11-09T16:53:52.510Z] (68/83) Installing libwebp (1.2.3-r0) [2022-11-09T16:53:52.510Z] (69/83) Installing x264-libs (0.163_git20210613-r0) [2022-11-09T16:53:52.510Z] (70/83) Installing numactl (2.0.14-r0) [2022-11-09T16:53:52.510Z] (71/83) Installing x265-libs (3.5-r3) [2022-11-09T16:53:52.510Z] (72/83) Installing xvidcore (1.3.7-r1) [2022-11-09T16:53:52.510Z] (73/83) Installing ffmpeg-libs (5.0.1-r1) [2022-11-09T16:53:52.769Z] (74/83) Installing ffmpeg (5.0.1-r1) [2022-11-09T16:53:52.769Z] (75/83) Installing udev-init-scripts (35-r0) [2022-11-09T16:53:52.769Z] Executing udev-init-scripts-35-r0.post-install [2022-11-09T16:53:52.769Z] (76/83) Installing eudev-libs (3.2.11-r0) [2022-11-09T16:53:52.769Z] (77/83) Installing xz-libs (5.2.5-r1) [2022-11-09T16:53:52.769Z] (78/83) Installing zstd-libs (1.5.2-r1) [2022-11-09T16:53:52.769Z] (79/83) Installing kmod-libs (29-r2) [2022-11-09T16:53:52.769Z] (80/83) Installing eudev (3.2.11-r0) [2022-11-09T16:53:52.769Z] (81/83) Installing libsodium (1.0.18-r0) [2022-11-09T16:53:52.769Z] (82/83) Installing libzmq (4.3.4-r0) [2022-11-09T16:53:52.769Z] (83/83) Installing zeromq (4.3.4-r0) [2022-11-09T16:53:52.769Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T16:53:52.769Z] Executing eudev-3.2.11-r0.trigger [2022-11-09T16:53:52.769Z] OK: 101 MiB in 97 packages [2022-11-09T16:53:55.304Z] Removing intermediate container 9dceed2bba34 [2022-11-09T16:53:55.304Z] ---> a7b8fab79a78 [2022-11-09T16:53:55.304Z] Step 18/35 : WORKDIR / [2022-11-09T16:53:55.304Z] ---> Running in e1afe703107d [2022-11-09T16:53:55.304Z] Removing intermediate container e1afe703107d [2022-11-09T16:53:55.304Z] ---> b8639a57ae44 [2022-11-09T16:53:55.304Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-11-09T16:53:55.869Z] ---> 96f6e9f5247f [2022-11-09T16:53:55.870Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-11-09T16:53:56.127Z] ---> 1c79fb105d3d [2022-11-09T16:53:56.127Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-11-09T16:53:56.127Z] ---> d558ad1c6d14 [2022-11-09T16:53:56.127Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-11-09T16:53:56.385Z] ---> 79a51dacc534 [2022-11-09T16:53:56.385Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-11-09T16:53:56.385Z] ---> d846ba7b93c0 [2022-11-09T16:53:56.385Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-11-09T16:53:56.643Z] ---> 68807b82d091 [2022-11-09T16:53:56.643Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-11-09T16:53:57.211Z] ---> f9f6ea9a29e6 [2022-11-09T16:53:57.211Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-11-09T16:53:57.211Z] ---> Running in 5eb76a444182 [2022-11-09T16:53:57.779Z] Removing intermediate container 5eb76a444182 [2022-11-09T16:53:57.779Z] ---> 641ff64bbd3d [2022-11-09T16:53:57.779Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-11-09T16:53:57.779Z] ---> Running in 1333c7eda040 [2022-11-09T16:53:58.349Z] Removing intermediate container 1333c7eda040 [2022-11-09T16:53:58.349Z] ---> e8b0e417fe91 [2022-11-09T16:53:58.349Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-11-09T16:53:58.349Z] ---> Running in 28124e48c095 [2022-11-09T16:53:58.915Z] Removing intermediate container 28124e48c095 [2022-11-09T16:53:58.915Z] ---> be4e229f2de7 [2022-11-09T16:53:58.915Z] Step 29/35 : EXPOSE 59983 [2022-11-09T16:53:58.915Z] ---> Running in 91722d8be03c [2022-11-09T16:53:58.915Z] Removing intermediate container 91722d8be03c [2022-11-09T16:53:58.915Z] ---> f811af286308 [2022-11-09T16:53:58.915Z] Step 30/35 : EXPOSE 8554 [2022-11-09T16:53:58.915Z] ---> Running in cbb6df2cc658 [2022-11-09T16:53:59.173Z] Removing intermediate container cbb6df2cc658 [2022-11-09T16:53:59.173Z] ---> 20d86a52b798 [2022-11-09T16:53:59.173Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-11-09T16:53:59.173Z] ---> Running in 5fdf3c0e0798 [2022-11-09T16:53:59.173Z] Removing intermediate container 5fdf3c0e0798 [2022-11-09T16:53:59.173Z] ---> db7dc3f68def [2022-11-09T16:53:59.173Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-11-09T16:53:59.173Z] ---> Running in b4bcfb378f4b [2022-11-09T16:53:59.173Z] Removing intermediate container b4bcfb378f4b [2022-11-09T16:53:59.173Z] ---> 87481b4af682 [2022-11-09T16:53:59.173Z] Step 33/35 : LABEL arch=amd64 [2022-11-09T16:53:59.173Z] ---> Running in 945bed229199 [2022-11-09T16:53:59.431Z] Removing intermediate container 945bed229199 [2022-11-09T16:53:59.431Z] ---> 904b35573c3f [2022-11-09T16:53:59.431Z] Step 34/35 : LABEL git_sha=36edd5e9330ff26844f1d5d0d178c702f7898d73 [2022-11-09T16:53:59.431Z] ---> Running in 61d62661de09 [2022-11-09T16:53:59.431Z] Removing intermediate container 61d62661de09 [2022-11-09T16:53:59.431Z] ---> 03d8f918956c [2022-11-09T16:53:59.431Z] Step 35/35 : LABEL version=0.0.0 [2022-11-09T16:53:59.431Z] ---> Running in 55131210437a [2022-11-09T16:53:59.431Z] Removing intermediate container 55131210437a [2022-11-09T16:53:59.431Z] ---> 259e8ac98591 [2022-11-09T16:53:59.431Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-09T16:53:59.431Z] Successfully built 259e8ac98591 [2022-11-09T16:53:59.431Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T16:54:00.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T16:54:00.262Z] [2022-11-09T16:54:00.262Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T16:54:00.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T16:54:00.636Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-09T16:54:00.636Z] 5eb5b503b376: Pulling fs layer [2022-11-09T16:54:00.636Z] 5c69ac0246d0: Pulling fs layer [2022-11-09T16:54:00.636Z] ec43610c2a17: Pulling fs layer [2022-11-09T16:54:00.636Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-09T16:54:00.636Z] 33b1e0a273af: Pulling fs layer [2022-11-09T16:54:00.636Z] 5d3b04190fa2: Pulling fs layer [2022-11-09T16:54:00.636Z] 2f39f015ded8: Pulling fs layer [2022-11-09T16:54:00.636Z] 33b1e0a273af: Waiting [2022-11-09T16:54:00.636Z] 5d3b04190fa2: Waiting [2022-11-09T16:54:00.636Z] 2f39f015ded8: Waiting [2022-11-09T16:54:00.636Z] 3a2ae6a8a46f: Waiting [2022-11-09T16:54:00.636Z] 5c69ac0246d0: Verifying Checksum [2022-11-09T16:54:00.636Z] 5c69ac0246d0: Download complete [2022-11-09T16:54:00.636Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-09T16:54:00.636Z] 3a2ae6a8a46f: Download complete [2022-11-09T16:54:00.636Z] 33b1e0a273af: Verifying Checksum [2022-11-09T16:54:00.636Z] 33b1e0a273af: Download complete [2022-11-09T16:54:00.894Z] 5d3b04190fa2: Download complete [2022-11-09T16:54:00.894Z] ec43610c2a17: Verifying Checksum [2022-11-09T16:54:00.894Z] ec43610c2a17: Download complete [2022-11-09T16:54:00.894Z] 5eb5b503b376: Download complete [2022-11-09T16:54:01.463Z] 2f39f015ded8: Download complete [2022-11-09T16:54:02.029Z] 5eb5b503b376: Pull complete [2022-11-09T16:54:02.286Z] 5c69ac0246d0: Pull complete [2022-11-09T16:54:02.852Z] ec43610c2a17: Pull complete [2022-11-09T16:54:02.852Z] 3a2ae6a8a46f: Pull complete [2022-11-09T16:54:03.109Z] 33b1e0a273af: Pull complete [2022-11-09T16:54:03.109Z] 5d3b04190fa2: Pull complete [2022-11-09T16:54:08.368Z] 2f39f015ded8: Pull complete [2022-11-09T16:54:08.368Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-09T16:54:08.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T16:54:08.368Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T16:54:08.589Z] prd-ubuntu20.04-docker-8c-8g-118769 does not seem to be running inside a container [2022-11-09T16:54:08.623Z] $ 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-113 -v /w/workspace/foundry_device-usb-camera_PR-113:/w/workspace/foundry_device-usb-camera_PR-113:rw,z -v /w/workspace/foundry_device-usb-camera_PR-113@tmp:/w/workspace/foundry_device-usb-camera_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-09T16:54:12.050Z] $ docker top 29af7686e4e633a5ac33a5a6dc6059ee4ab0bf77fd59573ecf7331cd483fb069 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T16:54:12.499Z] ---> job-cost.sh [2022-11-09T16:54:12.499Z] lf-activate-venv: SKIPPING [2022-11-09T16:54:12.499Z] INFO: No Stack... [2022-11-09T16:54:13.067Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-09T16:54:13.326Z] INFO: Archiving Costs [Pipeline] sh [2022-11-09T16:54:13.642Z] + cat /w/workspace/foundry_device-usb-camera_PR-113/archives/cost.csv [2022-11-09T16:54:13.642Z] + cut -d, -f6 [Pipeline] lock [2022-11-09T16:54:13.682Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-113-1-stack-cost] [2022-11-09T16:54:13.687Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-113-1-stack-cost] did not exist. Created. [2022-11-09T16:54:13.687Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-113-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-09T16:54:14.084Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-09T16:54:14.134Z] Stashed 1 file(s) [Pipeline] } [2022-11-09T16:54:14.155Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-113-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-09T16:54:14.234Z] $ docker stop --time=1 29af7686e4e633a5ac33a5a6dc6059ee4ab0bf77fd59573ecf7331cd483fb069 [2022-11-09T16:54:15.404Z] $ docker rm -f 29af7686e4e633a5ac33a5a6dc6059ee4ab0bf77fd59573ecf7331cd483fb069 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-09T16:57:12.715Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118770 in /w/workspace/foundry_device-usb-camera_PR-113 [Pipeline] { [Pipeline] ws [2022-11-09T16:57:12.757Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2022-11-09T16:57:12.840Z] Selected Git installation does not exist. Using Default [2022-11-09T16:57:12.840Z] The recommended git tool is: NONE [2022-11-09T16:57:19.286Z] using credential edgex-jenkins-ssh [2022-11-09T16:57:19.306Z] Cloning the remote Git repository [2022-11-09T16:57:19.371Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2022-11-09T16:57:19.469Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2022-11-09T16:57:19.648Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-11-09T16:57:19.649Z] > git --version # timeout=10 [2022-11-09T16:57:19.679Z] > git --version # 'git version 2.25.1' [2022-11-09T16:57:19.682Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T16:57:19.742Z] Verifying host key using known hosts file [2022-11-09T16:57:19.993Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-09T16:57:20.008Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-09T16:57:20.789Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-11-09T16:57:20.818Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-09T16:57:22.640Z] Merging remotes/origin/main commit 059aeb0713fc4e07acd8c370d817b94cb81fd04d into PR head commit 679fd9a71496febac0599f8f22f0bd9d8c4fe285 [2022-11-09T16:57:22.974Z] Merge succeeded, producing f8a172bf28d083c03c6c34ce69991657cf0d36ac [2022-11-09T16:57:22.975Z] Checking out Revision f8a172bf28d083c03c6c34ce69991657cf0d36ac (PR-113) [2022-11-09T16:57:21.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2022-11-09T16:57:21.955Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2022-11-09T16:57:21.956Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T16:57:21.962Z] Verifying host key using known hosts file [2022-11-09T16:57:21.970Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-09T16:57:21.981Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/113/head:refs/remotes/origin/PR-113 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-09T16:57:22.663Z] > git config core.sparsecheckout # timeout=10 [2022-11-09T16:57:22.686Z] > git checkout -f 679fd9a71496febac0599f8f22f0bd9d8c4fe285 # timeout=10 [2022-11-09T16:57:22.800Z] > git remote # timeout=10 [2022-11-09T16:57:22.823Z] > git config --get remote.origin.url # timeout=10 [2022-11-09T16:57:22.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-09T16:57:22.857Z] Verifying host key using known hosts file [2022-11-09T16:57:22.861Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-09T16:57:22.871Z] > git merge 059aeb0713fc4e07acd8c370d817b94cb81fd04d # timeout=10 [2022-11-09T16:57:22.955Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-09T16:57:22.981Z] > git config core.sparsecheckout # timeout=10 [2022-11-09T16:57:22.999Z] > git checkout -f f8a172bf28d083c03c6c34ce69991657cf0d36ac # timeout=10 [2022-11-09T16:57:26.580Z] Commit message: "Merge commit '059aeb0713fc4e07acd8c370d817b94cb81fd04d' into HEAD" [2022-11-09T16:57:26.581Z] First time build. Skipping changelog. [2022-11-09T16:57:26.642Z] > git --version # timeout=10 [2022-11-09T16:57:26.658Z] > git --version # 'git version 2.25.1' [2022-11-09T16:57:26.677Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T16:57:27.786Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-09T16:57:27.786Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T16:57:27.786Z] Dload Upload Total Spent Left Speed [2022-11-09T16:57:27.786Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86910 0 --:--:-- --:--:-- --:--:-- 86910 [Pipeline] sh [2022-11-09T16:57:28.588Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-09T16:57:28.950Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-11-09T16:57:28.950Z] [2022-11-09T16:57:28.950Z] { [2022-11-09T16:57:28.950Z] "registry-mirrors": [ [2022-11-09T16:57:28.950Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-09T16:57:28.950Z] ], [2022-11-09T16:57:28.950Z] "bip": "10.250.0.254/24", [2022-11-09T16:57:28.950Z] "hosts": [ [2022-11-09T16:57:28.950Z] "tcp://0.0.0.0:5555", [2022-11-09T16:57:28.950Z] "unix:///var/run/docker.sock" [2022-11-09T16:57:28.950Z] ], [2022-11-09T16:57:28.950Z] "mtu": 1458, [2022-11-09T16:57:28.950Z] "selinux-enabled": true, [2022-11-09T16:57:28.950Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-09T16:57:28.950Z] } [Pipeline] sh [2022-11-09T16:57:29.314Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-09T16:57:29.686Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T16:57:48.078Z] provisioning config files... [2022-11-09T16:57:48.111Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config4611125336360702658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T16:57:48.520Z] ---> docker-login.sh [2022-11-09T16:57:48.520Z] nexus3.edgexfoundry.org:10001 [2022-11-09T16:57:49.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:57:49.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:57:49.386Z] Configure a credential helper to remove this warning. See [2022-11-09T16:57:49.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:57:49.386Z] [2022-11-09T16:57:49.386Z] Login Succeeded [2022-11-09T16:57:49.386Z] nexus3.edgexfoundry.org:10002 [2022-11-09T16:57:49.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:57:49.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:57:49.656Z] Configure a credential helper to remove this warning. See [2022-11-09T16:57:49.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:57:49.656Z] [2022-11-09T16:57:49.656Z] Login Succeeded [2022-11-09T16:57:49.656Z] nexus3.edgexfoundry.org:10003 [2022-11-09T16:57:49.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:57:50.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:57:50.203Z] Configure a credential helper to remove this warning. See [2022-11-09T16:57:50.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:57:50.203Z] [2022-11-09T16:57:50.203Z] Login Succeeded [2022-11-09T16:57:50.203Z] nexus3.edgexfoundry.org:10004 [2022-11-09T16:57:50.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:57:50.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:57:50.480Z] Configure a credential helper to remove this warning. See [2022-11-09T16:57:50.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:57:50.480Z] [2022-11-09T16:57:50.480Z] Login Succeeded [2022-11-09T16:57:50.480Z] docker.io [2022-11-09T16:57:50.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-09T16:57:51.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-09T16:57:51.021Z] Configure a credential helper to remove this warning. See [2022-11-09T16:57:51.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-09T16:57:51.021Z] [2022-11-09T16:57:51.021Z] Login Succeeded [2022-11-09T16:57:51.021Z] ---> docker-login.sh ends [Pipeline] } [2022-11-09T16:57:51.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-09T16:57:51.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T16:57:51.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-09T16:57:51.437Z] ========================================================= [2022-11-09T16:57:51.437Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-09T16:57:51.437Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T16:57:51.944Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-09T16:57:52.216Z] Sending build context to Docker daemon 1.071MB [2022-11-09T16:57:52.216Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T16:57:52.216Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-09T16:57:52.491Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-09T16:57:52.491Z] 9b18e9b68314: Pulling fs layer [2022-11-09T16:57:52.491Z] 35d82f9e3411: Pulling fs layer [2022-11-09T16:57:52.491Z] e16973657156: Pulling fs layer [2022-11-09T16:57:52.491Z] fc693d55d65f: Pulling fs layer [2022-11-09T16:57:52.491Z] 7e9fc2657dce: Pulling fs layer [2022-11-09T16:57:52.491Z] dda99020689f: Pulling fs layer [2022-11-09T16:57:52.491Z] db1c61fa0a46: Pulling fs layer [2022-11-09T16:57:52.491Z] 891c053d2c06: Pulling fs layer [2022-11-09T16:57:52.491Z] 7e9fc2657dce: Waiting [2022-11-09T16:57:52.491Z] dda99020689f: Waiting [2022-11-09T16:57:52.491Z] db1c61fa0a46: Waiting [2022-11-09T16:57:52.491Z] fc693d55d65f: Waiting [2022-11-09T16:57:52.491Z] 891c053d2c06: Waiting [2022-11-09T16:57:52.491Z] e16973657156: Verifying Checksum [2022-11-09T16:57:52.491Z] e16973657156: Download complete [2022-11-09T16:57:52.491Z] 35d82f9e3411: Download complete [2022-11-09T16:57:52.491Z] 7e9fc2657dce: Verifying Checksum [2022-11-09T16:57:52.491Z] 7e9fc2657dce: Download complete [2022-11-09T16:57:52.491Z] dda99020689f: Verifying Checksum [2022-11-09T16:57:52.491Z] dda99020689f: Download complete [2022-11-09T16:57:52.491Z] 9b18e9b68314: Verifying Checksum [2022-11-09T16:57:52.491Z] 9b18e9b68314: Download complete [2022-11-09T16:57:53.499Z] 9b18e9b68314: Pull complete [2022-11-09T16:57:53.772Z] 891c053d2c06: Verifying Checksum [2022-11-09T16:57:53.772Z] 891c053d2c06: Download complete [2022-11-09T16:57:54.044Z] 35d82f9e3411: Pull complete [2022-11-09T16:57:54.335Z] e16973657156: Pull complete [2022-11-09T16:57:55.335Z] db1c61fa0a46: Verifying Checksum [2022-11-09T16:57:55.335Z] db1c61fa0a46: Download complete [2022-11-09T16:57:55.925Z] fc693d55d65f: Verifying Checksum [2022-11-09T16:57:55.925Z] fc693d55d65f: Download complete [2022-11-09T16:58:11.009Z] fc693d55d65f: Pull complete [2022-11-09T16:58:11.009Z] 7e9fc2657dce: Pull complete [2022-11-09T16:58:11.009Z] dda99020689f: Pull complete [2022-11-09T16:58:16.384Z] db1c61fa0a46: Pull complete [2022-11-09T16:58:17.822Z] 891c053d2c06: Pull complete [2022-11-09T16:58:17.822Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-09T16:58:17.822Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-09T16:58:17.822Z] ---> f96f9c87975a [2022-11-09T16:58:17.822Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-09T16:58:19.241Z] ---> Running in 30862ce48065 [2022-11-09T16:58:19.513Z] Removing intermediate container 30862ce48065 [2022-11-09T16:58:19.513Z] ---> 70ae5d11c55e [2022-11-09T16:58:19.513Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T16:58:19.784Z] ---> Running in b89018b64dac [2022-11-09T16:58:20.061Z] Removing intermediate container b89018b64dac [2022-11-09T16:58:20.061Z] ---> 092235f2772b [2022-11-09T16:58:20.061Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-11-09T16:58:20.061Z] ---> Running in bf591a3a7b99 [2022-11-09T16:58:20.651Z] Removing intermediate container bf591a3a7b99 [2022-11-09T16:58:20.651Z] ---> 1c7429e15d9a [2022-11-09T16:58:20.652Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-11-09T16:58:20.652Z] ---> Running in db94eb287fae [2022-11-09T16:58:20.922Z] Removing intermediate container db94eb287fae [2022-11-09T16:58:20.922Z] ---> 722516b8ddfc [2022-11-09T16:58:20.922Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T16:58:20.922Z] ---> Running in e793dc473688 [2022-11-09T16:58:22.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T16:58:22.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T16:58:24.037Z] (1/14) Installing libintl (0.21-r2) [2022-11-09T16:58:24.037Z] (2/14) Installing eudev-libs (3.2.11-r0) [2022-11-09T16:58:24.037Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2022-11-09T16:58:24.037Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2022-11-09T16:58:24.037Z] (5/14) Installing v4l-utils (1.22.1-r1) [2022-11-09T16:58:24.037Z] (6/14) Installing udev-init-scripts (35-r0) [2022-11-09T16:58:24.037Z] Executing udev-init-scripts-35-r0.post-install [2022-11-09T16:58:24.037Z] (7/14) Installing libblkid (2.38-r1) [2022-11-09T16:58:24.037Z] (8/14) Installing xz-libs (5.2.5-r1) [2022-11-09T16:58:24.037Z] (9/14) Installing zstd-libs (1.5.2-r1) [2022-11-09T16:58:24.037Z] (10/14) Installing kmod-libs (29-r2) [2022-11-09T16:58:24.037Z] (11/14) Installing eudev (3.2.11-r0) [2022-11-09T16:58:24.037Z] (12/14) Installing eudev-dev (3.2.11-r0) [2022-11-09T16:58:24.037Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-11-09T16:58:24.308Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2022-11-09T16:58:24.308Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T16:58:24.308Z] Executing eudev-3.2.11-r0.trigger [2022-11-09T16:58:24.308Z] OK: 228 MiB in 65 packages [2022-11-09T16:58:25.729Z] Removing intermediate container e793dc473688 [2022-11-09T16:58:25.729Z] ---> ff158ca5fd6a [2022-11-09T16:58:25.729Z] Step 8/13 : WORKDIR /device-usb-camera [2022-11-09T16:58:25.729Z] ---> Running in dc4030c02221 [2022-11-09T16:58:26.008Z] Removing intermediate container dc4030c02221 [2022-11-09T16:58:26.008Z] ---> 3d5d418b4a6f [2022-11-09T16:58:26.008Z] Step 9/13 : COPY go.mod vendor* ./ [2022-11-09T16:58:26.597Z] ---> 9ffb5870df46 [2022-11-09T16:58:26.597Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T16:58:26.883Z] ---> Running in 32a7005b38ee [2022-11-09T16:59:34.824Z] Removing intermediate container 32a7005b38ee [2022-11-09T16:59:34.824Z] ---> 2eb51bb9b182 [2022-11-09T16:59:34.824Z] Step 11/13 : COPY . . [2022-11-09T16:59:34.824Z] ---> ef0aa2ce0730 [2022-11-09T16:59:34.824Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-11-09T16:59:34.824Z] ---> Running in 6bc42009ab7b [2022-11-09T16:59:34.824Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T16:59:34.824Z] Dload Upload Total Spent Left Speed [2022-11-09T16:59:34.824Z] 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062  0 0 6910 0 --:--:-- --:--:-- --:--:-- 6941 [2022-11-09T16:59:34.824Z] Removing intermediate container 6bc42009ab7b [2022-11-09T16:59:34.824Z] ---> ef26aa1215e9 [2022-11-09T16:59:34.824Z] Step 13/13 : RUN ${MAKE} [2022-11-09T16:59:34.824Z] ---> Running in ac1b9933e1bb [2022-11-09T16:59:34.824Z] noop [2022-11-09T16:59:34.824Z] Removing intermediate container ac1b9933e1bb [2022-11-09T16:59:34.824Z] ---> 0bda9f9a51c3 [2022-11-09T16:59:34.824Z] Successfully built 0bda9f9a51c3 [2022-11-09T16:59:34.824Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T16:59:35.298Z] + docker inspect -f . ci-base-image-arm64 [2022-11-09T16:59:35.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T16:59:35.567Z] prd-ubuntu20.04-docker-arm64-4c-16g-118770 does not seem to be running inside a container [2022-11-09T16:59:35.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-09T16:59:37.012Z] $ docker top 83e43ffcd0eb5ed1246ffd004f5f80438845ad0b001c679388be554eaf5ed0d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T16:59:37.940Z] + go version [2022-11-09T16:59:37.940Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-09T16:59:37.982Z] $ docker stop --time=1 83e43ffcd0eb5ed1246ffd004f5f80438845ad0b001c679388be554eaf5ed0d2 [2022-11-09T16:59:39.659Z] $ docker rm -f 83e43ffcd0eb5ed1246ffd004f5f80438845ad0b001c679388be554eaf5ed0d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T16:59:40.547Z] + docker inspect -f . ci-base-image-arm64 [2022-11-09T16:59:40.547Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T16:59:40.815Z] prd-ubuntu20.04-docker-arm64-4c-16g-118770 does not seem to be running inside a container [2022-11-09T16:59:40.898Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-09T16:59:42.234Z] $ docker top acafe70b8c5c90e4c34d2a01dbebd49d7d2703e764d32923be3c2c97d5dccffb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T16:59:43.132Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-11-09T16:59:43.850Z] + make test [2022-11-09T16:59:43.850Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-11-09T16:59:45.819Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-11-09T17:01:37.518Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-11-09T17:01:37.518Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.080s coverage: 1.9% of statements [2022-11-09T17:01:37.518Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-09T17:01:37.518Z] CGO_ENABLED=1 go vet ./... [2022-11-09T17:02:04.243Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-09T17:02:04.243Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-09T17:02:04.243Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-09T17:02:04.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-09T17:02:04.326Z] $ docker stop --time=1 acafe70b8c5c90e4c34d2a01dbebd49d7d2703e764d32923be3c2c97d5dccffb [2022-11-09T17:02:06.212Z] $ docker rm -f acafe70b8c5c90e4c34d2a01dbebd49d7d2703e764d32923be3c2c97d5dccffb [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-09T17:02:07.291Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-09T17:02:07.325Z] Warning: overwriting stash ‘coverage-report’ [2022-11-09T17:02:07.846Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-09T17:02:08.448Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-09T17:02:08.794Z] + ls -al . [2022-11-09T17:02:08.794Z] total 196 [2022-11-09T17:02:08.795Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 16:59 . [2022-11-09T17:02:08.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 16:57 .. [2022-11-09T17:02:08.795Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 16:57 .git [2022-11-09T17:02:08.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 16:57 .github [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 414 Nov 9 16:57 .gitignore [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 9 16:57 .golangci.yml [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 77 Nov 9 16:57 .hadolint.yml [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 9702 Nov 9 16:57 Attribution.txt [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 1206 Nov 9 16:57 CHANGELOG.md [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 2378 Nov 9 16:57 Dockerfile [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 9 16:57 GOVERNANCE.md [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 659 Nov 9 16:57 Jenkinsfile [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 9 16:57 LICENSE [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 2554 Nov 9 16:57 Makefile [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 622 Nov 9 16:57 OWNERS.md [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 5773 Nov 9 16:57 README.md [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 16:52 VERSION [2022-11-09T17:02:08.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 16:57 bin [2022-11-09T17:02:08.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 16:57 cmd [2022-11-09T17:02:08.795Z] -rw-r--r-- 1 jenkins jenkins 29559 Nov 9 17:01 coverage.out [2022-11-09T17:02:08.795Z] -rwxrwxr-x 1 jenkins jenkins 140 Nov 9 16:57 docker-entrypoint.sh [2022-11-09T17:02:08.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 16:57 docs [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 3573 Nov 9 16:57 go.mod [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 45026 Nov 9 16:57 go.sum [2022-11-09T17:02:08.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 16:57 internal [2022-11-09T17:02:08.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 16:57 snap [2022-11-09T17:02:08.795Z] -rw-rw-r-- 1 jenkins jenkins 231 Nov 9 16:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T17:02:09.213Z] + 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=f8a172bf28d083c03c6c34ce69991657cf0d36ac --label arch=arm64 --label version=0.0.0 . [2022-11-09T17:02:09.483Z] Sending build context to Docker daemon 1.101MB [2022-11-09T17:02:09.483Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2022-11-09T17:02:09.483Z] Step 2/35 : FROM ${BASE} AS builder [2022-11-09T17:02:09.483Z] ---> 0bda9f9a51c3 [2022-11-09T17:02:09.483Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2022-11-09T17:02:09.752Z] ---> Running in 025fed6c20bd [2022-11-09T17:02:10.022Z] Removing intermediate container 025fed6c20bd [2022-11-09T17:02:10.022Z] ---> c54d473d5509 [2022-11-09T17:02:10.022Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-09T17:02:10.022Z] ---> Running in 3d3725782a70 [2022-11-09T17:02:10.610Z] Removing intermediate container 3d3725782a70 [2022-11-09T17:02:10.610Z] ---> c5e0be5df945 [2022-11-09T17:02:10.610Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-11-09T17:02:10.610Z] ---> Running in 18c7519483a5 [2022-11-09T17:02:10.880Z] Removing intermediate container 18c7519483a5 [2022-11-09T17:02:10.880Z] ---> cf4947790618 [2022-11-09T17:02:10.880Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-11-09T17:02:10.880Z] ---> Running in d4fa003e5060 [2022-11-09T17:02:11.469Z] Removing intermediate container d4fa003e5060 [2022-11-09T17:02:11.469Z] ---> a4e5af1b0c11 [2022-11-09T17:02:11.469Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-09T17:02:11.469Z] ---> Running in 1e8ed0ec784b [2022-11-09T17:02:14.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T17:02:14.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T17:02:15.314Z] OK: 228 MiB in 65 packages [2022-11-09T17:02:16.302Z] Removing intermediate container 1e8ed0ec784b [2022-11-09T17:02:16.302Z] ---> 539d7a50afc3 [2022-11-09T17:02:16.302Z] Step 8/35 : WORKDIR /device-usb-camera [2022-11-09T17:02:16.572Z] ---> Running in ef83afbf0ee1 [2022-11-09T17:02:16.844Z] Removing intermediate container ef83afbf0ee1 [2022-11-09T17:02:16.844Z] ---> 2c7cf5f5a631 [2022-11-09T17:02:16.844Z] Step 9/35 : COPY go.mod vendor* ./ [2022-11-09T17:02:17.435Z] ---> 3c511b32c728 [2022-11-09T17:02:17.435Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-09T17:02:17.713Z] ---> Running in 814b2bc4cb6f [2022-11-09T17:02:20.306Z] Removing intermediate container 814b2bc4cb6f [2022-11-09T17:02:20.306Z] ---> 53f5ba83ea4c [2022-11-09T17:02:20.306Z] Step 11/35 : COPY . . [2022-11-09T17:02:20.891Z] ---> c88bc4556317 [2022-11-09T17:02:20.891Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-11-09T17:02:21.161Z] ---> Running in c65d5adee9d9 [2022-11-09T17:02:22.130Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T17:02:22.130Z] Dload Upload Total Spent Left Speed [2022-11-09T17:02:22.399Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11357 0 --:--:-- --:--:-- --:--:-- 11419 [2022-11-09T17:02:22.988Z] Removing intermediate container c65d5adee9d9 [2022-11-09T17:02:22.988Z] ---> ec70db4c3973 [2022-11-09T17:02:22.988Z] Step 13/35 : RUN ${MAKE} [2022-11-09T17:02:23.259Z] ---> Running in d9bad8a2ebf7 [2022-11-09T17:02:24.227Z] CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-11-09T17:05:31.488Z] Removing intermediate container d9bad8a2ebf7 [2022-11-09T17:05:31.488Z] ---> f8b1f70f9456 [2022-11-09T17:05:31.488Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-11-09T17:05:31.488Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-11-09T17:05:31.488Z] eab2503cf8f4: Pulling fs layer [2022-11-09T17:05:31.488Z] 97cd0a44c592: Pulling fs layer [2022-11-09T17:05:31.488Z] 97cd0a44c592: Download complete [2022-11-09T17:05:31.488Z] eab2503cf8f4: Download complete [2022-11-09T17:05:31.488Z] eab2503cf8f4: Pull complete [2022-11-09T17:05:31.488Z] 97cd0a44c592: Pull complete [2022-11-09T17:05:31.488Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-11-09T17:05:31.488Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-11-09T17:05:31.488Z] ---> 7f763cca56b3 [2022-11-09T17:05:31.488Z] Step 15/35 : FROM alpine:3.16 [2022-11-09T17:05:31.488Z] 3.16: Pulling from library/alpine [2022-11-09T17:05:31.488Z] 9b18e9b68314: Already exists [2022-11-09T17:05:31.488Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-09T17:05:31.488Z] Status: Downloaded newer image for alpine:3.16 [2022-11-09T17:05:31.488Z] ---> a6215f271958 [2022-11-09T17:05:31.488Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-09T17:05:31.488Z] ---> Running in a9c25ed54128 [2022-11-09T17:05:31.488Z] Removing intermediate container a9c25ed54128 [2022-11-09T17:05:31.488Z] ---> 3b2c180b2f14 [2022-11-09T17:05:31.488Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-11-09T17:05:31.488Z] ---> Running in 809341dcbe87 [2022-11-09T17:05:31.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-09T17:05:31.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-09T17:05:31.488Z] (1/82) Installing dumb-init (1.2.5-r1) [2022-11-09T17:05:31.488Z] (2/82) Installing sdl2 (2.0.22-r0) [2022-11-09T17:05:31.488Z] (3/82) Installing libxau (1.0.9-r0) [2022-11-09T17:05:31.488Z] (4/82) Installing libxdmcp (1.1.3-r0) [2022-11-09T17:05:31.488Z] (5/82) Installing libxcb (1.15-r0) [2022-11-09T17:05:31.488Z] (6/82) Installing libx11 (1.8-r0) [2022-11-09T17:05:31.488Z] (7/82) Installing aom-libs (3.3.0-r0) [2022-11-09T17:05:31.488Z] (8/82) Installing alsa-lib (1.2.7.2-r0) [2022-11-09T17:05:31.488Z] (9/82) Installing expat (2.5.0-r0) [2022-11-09T17:05:31.488Z] (10/82) Installing brotli-libs (1.0.9-r6) [2022-11-09T17:05:31.488Z] (11/82) Installing libbz2 (1.0.8-r1) [2022-11-09T17:05:31.488Z] (12/82) Installing libpng (1.6.37-r1) [2022-11-09T17:05:31.488Z] (13/82) Installing freetype (2.12.1-r0) [2022-11-09T17:05:31.488Z] (14/82) Installing fontconfig (2.14.0-r0) [2022-11-09T17:05:31.488Z] (15/82) Installing fribidi (1.0.12-r0) [2022-11-09T17:05:31.488Z] (16/82) Installing libffi (3.4.2-r1) [2022-11-09T17:05:31.488Z] (17/82) Installing libintl (0.21-r2) [2022-11-09T17:05:31.488Z] (18/82) Installing libblkid (2.38-r1) [2022-11-09T17:05:31.488Z] (19/82) Installing libmount (2.38-r1) [2022-11-09T17:05:31.488Z] (20/82) Installing pcre (8.45-r2) [2022-11-09T17:05:31.488Z] (21/82) Installing glib (2.72.1-r0) [2022-11-09T17:05:31.488Z] (22/82) Installing graphite2 (1.3.14-r1) [2022-11-09T17:05:31.488Z] (23/82) Installing harfbuzz (4.3.0-r0) [2022-11-09T17:05:31.488Z] (24/82) Installing libass (0.16.0-r0) [2022-11-09T17:05:31.488Z] (25/82) Installing libdav1d (1.0.0-r0) [2022-11-09T17:05:31.488Z] (26/82) Installing libdrm (2.4.110-r0) [2022-11-09T17:05:31.488Z] (27/82) Installing gmp (6.2.1-r2) [2022-11-09T17:05:31.488Z] (28/82) Installing nettle (3.7.3-r0) [2022-11-09T17:05:31.488Z] (29/82) Installing p11-kit (0.24.1-r0) [2022-11-09T17:05:31.488Z] (30/82) Installing libtasn1 (4.18.0-r0) [2022-11-09T17:05:31.488Z] (31/82) Installing libunistring (1.0-r0) [2022-11-09T17:05:31.488Z] (32/82) Installing gnutls (3.7.7-r0) [2022-11-09T17:05:31.488Z] (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-11-09T17:05:31.488Z] (34/82) Installing ncurses-libs (6.3_p20220521-r0) [2022-11-09T17:05:31.488Z] (35/82) Installing lame (3.100-r0) [2022-11-09T17:05:31.488Z] (36/82) Installing opus (1.3.1-r1) [2022-11-09T17:05:31.488Z] (37/82) Installing libasyncns (0.8-r1) [2022-11-09T17:05:31.488Z] (38/82) Installing dbus-libs (1.14.4-r0) [2022-11-09T17:05:31.488Z] (39/82) Installing libltdl (2.4.7-r0) [2022-11-09T17:05:31.488Z] (40/82) Installing orc (0.4.32-r0) [2022-11-09T17:05:31.488Z] (41/82) Installing libgcc (11.2.1_git20220219-r2) [2022-11-09T17:05:31.488Z] (42/82) Installing libogg (1.3.5-r1) [2022-11-09T17:05:31.488Z] (43/82) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-09T17:05:31.488Z] (44/82) Installing flac (1.3.4-r0) [2022-11-09T17:05:31.488Z] (45/82) Installing libvorbis (1.3.7-r0) [2022-11-09T17:05:31.488Z] (46/82) Installing libsndfile (1.1.0-r0) [2022-11-09T17:05:31.488Z] (47/82) Installing libgomp (11.2.1_git20220219-r2) [2022-11-09T17:05:31.488Z] (48/82) Installing soxr (0.1.3-r2) [2022-11-09T17:05:31.488Z] (49/82) Installing speexdsp (1.2.0-r0) [2022-11-09T17:05:31.488Z] (50/82) Installing tdb-libs (1.4.6-r0) [2022-11-09T17:05:31.488Z] (51/82) Installing libpulse (15.0-r2) [2022-11-09T17:05:31.488Z] (52/82) Installing cjson (1.7.15-r3) [2022-11-09T17:05:31.488Z] (53/82) Installing mbedtls (2.28.1-r0) [2022-11-09T17:05:31.488Z] (54/82) Installing librist (0.2.6-r1) [2022-11-09T17:05:31.488Z] (55/82) Installing libsrt (1.4.4-r0) [2022-11-09T17:05:31.488Z] (56/82) Installing libssh (0.9.6-r1) [2022-11-09T17:05:31.488Z] (57/82) Installing libtheora (1.1.1-r16) [2022-11-09T17:05:31.488Z] (58/82) Installing libjpeg-turbo (2.1.3-r1) [2022-11-09T17:05:31.488Z] (59/82) Installing v4l-utils-libs (1.22.1-r1) [2022-11-09T17:05:31.488Z] (60/82) Installing libxext (1.3.4-r0) [2022-11-09T17:05:31.488Z] (61/82) Installing libxfixes (6.0.0-r0) [2022-11-09T17:05:31.488Z] (62/82) Installing wayland-libs-client (1.20.0-r0) [2022-11-09T17:05:31.488Z] (63/82) Installing libva (2.14.0-r0) [2022-11-09T17:05:31.488Z] (64/82) Installing libvdpau (1.5-r0) [2022-11-09T17:05:31.488Z] (65/82) Installing vidstab (1.1.0-r1) [2022-11-09T17:05:31.488Z] (66/82) Installing libvpx (1.11.0-r1) [2022-11-09T17:05:31.488Z] (67/82) Installing libwebp (1.2.3-r0) [2022-11-09T17:05:31.488Z] (68/82) Installing x264-libs (0.163_git20210613-r0) [2022-11-09T17:05:31.488Z] (69/82) Installing numactl (2.0.14-r0) [2022-11-09T17:05:31.488Z] (70/82) Installing x265-libs (3.5-r3) [2022-11-09T17:05:31.488Z] (71/82) Installing xvidcore (1.3.7-r1) [2022-11-09T17:05:31.488Z] (72/82) Installing ffmpeg-libs (5.0.1-r1) [2022-11-09T17:05:31.488Z] (73/82) Installing ffmpeg (5.0.1-r1) [2022-11-09T17:05:31.488Z] (74/82) Installing udev-init-scripts (35-r0) [2022-11-09T17:05:31.488Z] Executing udev-init-scripts-35-r0.post-install [2022-11-09T17:05:31.488Z] (75/82) Installing eudev-libs (3.2.11-r0) [2022-11-09T17:05:31.488Z] (76/82) Installing xz-libs (5.2.5-r1) [2022-11-09T17:05:31.488Z] (77/82) Installing zstd-libs (1.5.2-r1) [2022-11-09T17:05:31.488Z] (78/82) Installing kmod-libs (29-r2) [2022-11-09T17:05:31.488Z] (79/82) Installing eudev (3.2.11-r0) [2022-11-09T17:05:31.488Z] (80/82) Installing libsodium (1.0.18-r0) [2022-11-09T17:05:31.488Z] (81/82) Installing libzmq (4.3.4-r0) [2022-11-09T17:05:31.488Z] (82/82) Installing zeromq (4.3.4-r0) [2022-11-09T17:05:31.488Z] Executing busybox-1.35.0-r17.trigger [2022-11-09T17:05:31.488Z] Executing eudev-3.2.11-r0.trigger [2022-11-09T17:05:31.488Z] OK: 78 MiB in 96 packages [2022-11-09T17:05:32.461Z] Removing intermediate container 809341dcbe87 [2022-11-09T17:05:32.461Z] ---> cf04edbb0c52 [2022-11-09T17:05:32.461Z] Step 18/35 : WORKDIR / [2022-11-09T17:05:32.461Z] ---> Running in 16f238cdfdda [2022-11-09T17:05:33.045Z] Removing intermediate container 16f238cdfdda [2022-11-09T17:05:33.045Z] ---> 880889a75d6e [2022-11-09T17:05:33.045Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-11-09T17:05:34.460Z] ---> 1a80d443da04 [2022-11-09T17:05:34.460Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-11-09T17:05:34.728Z] ---> 8a8bca02ce36 [2022-11-09T17:05:34.728Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-11-09T17:05:35.315Z] ---> 3f4b56dbc0c0 [2022-11-09T17:05:35.315Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-11-09T17:05:35.904Z] ---> 2b3ea94ea255 [2022-11-09T17:05:35.904Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-11-09T17:05:36.495Z] ---> 9daf5baaa7bf [2022-11-09T17:05:36.495Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-11-09T17:05:36.764Z] ---> 701bd48503a4 [2022-11-09T17:05:36.764Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-11-09T17:05:38.184Z] ---> 8ff55da76a6d [2022-11-09T17:05:38.184Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-11-09T17:05:38.184Z] ---> Running in aef9b86a277d [2022-11-09T17:05:40.772Z] Removing intermediate container aef9b86a277d [2022-11-09T17:05:40.772Z] ---> 82deace21012 [2022-11-09T17:05:40.772Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-11-09T17:05:41.043Z] ---> Running in f63f4857c2b8 [2022-11-09T17:05:42.997Z] Removing intermediate container f63f4857c2b8 [2022-11-09T17:05:42.997Z] ---> 754e1d9a0bcc [2022-11-09T17:05:42.997Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-11-09T17:05:42.997Z] ---> Running in efa24d4f4e27 [2022-11-09T17:05:44.414Z] Removing intermediate container efa24d4f4e27 [2022-11-09T17:05:44.414Z] ---> 7b3d9c2ab3ab [2022-11-09T17:05:44.414Z] Step 29/35 : EXPOSE 59983 [2022-11-09T17:05:44.414Z] ---> Running in ec9adbde1de8 [2022-11-09T17:05:45.002Z] Removing intermediate container ec9adbde1de8 [2022-11-09T17:05:45.002Z] ---> 682d302b9ae3 [2022-11-09T17:05:45.002Z] Step 30/35 : EXPOSE 8554 [2022-11-09T17:05:45.002Z] ---> Running in f342986a36aa [2022-11-09T17:05:45.271Z] Removing intermediate container f342986a36aa [2022-11-09T17:05:45.271Z] ---> 34326fd001bb [2022-11-09T17:05:45.271Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-11-09T17:05:45.271Z] ---> Running in f09c367f5198 [2022-11-09T17:05:45.542Z] Removing intermediate container f09c367f5198 [2022-11-09T17:05:45.542Z] ---> 592968c6aa47 [2022-11-09T17:05:45.542Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-11-09T17:05:45.811Z] ---> Running in 846d9a0d467f [2022-11-09T17:05:46.082Z] Removing intermediate container 846d9a0d467f [2022-11-09T17:05:46.082Z] ---> 6a0513b4e07c [2022-11-09T17:05:46.082Z] Step 33/35 : LABEL arch=arm64 [2022-11-09T17:05:46.082Z] ---> Running in 230d2e129a53 [2022-11-09T17:05:46.352Z] Removing intermediate container 230d2e129a53 [2022-11-09T17:05:46.352Z] ---> 21a0aac1ec94 [2022-11-09T17:05:46.352Z] Step 34/35 : LABEL git_sha=f8a172bf28d083c03c6c34ce69991657cf0d36ac [2022-11-09T17:05:46.352Z] ---> Running in c8138cda0a9f [2022-11-09T17:05:46.628Z] Removing intermediate container c8138cda0a9f [2022-11-09T17:05:46.628Z] ---> 4004afb867fc [2022-11-09T17:05:46.628Z] Step 35/35 : LABEL version=0.0.0 [2022-11-09T17:05:46.896Z] ---> Running in e26d87270151 [2022-11-09T17:05:47.166Z] Removing intermediate container e26d87270151 [2022-11-09T17:05:47.166Z] ---> 6ea30bc4dcea [2022-11-09T17:05:47.166Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-09T17:05:47.166Z] Successfully built 6ea30bc4dcea [2022-11-09T17:05:47.166Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T17:05:48.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T17:05:48.012Z] [2022-11-09T17:05:48.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T17:05:48.415Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T17:05:48.415Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-09T17:05:48.415Z] 8998bd30e6a1: Pulling fs layer [2022-11-09T17:05:48.415Z] 04944245beec: Pulling fs layer [2022-11-09T17:05:48.415Z] 699f458cf7ca: Pulling fs layer [2022-11-09T17:05:48.415Z] 765212b225bb: Pulling fs layer [2022-11-09T17:05:48.415Z] f23df028b6ca: Pulling fs layer [2022-11-09T17:05:48.415Z] d65c8cfc05b1: Pulling fs layer [2022-11-09T17:05:48.415Z] 2437ff75d9bd: Pulling fs layer [2022-11-09T17:05:48.415Z] f23df028b6ca: Waiting [2022-11-09T17:05:48.415Z] d65c8cfc05b1: Waiting [2022-11-09T17:05:48.415Z] 2437ff75d9bd: Waiting [2022-11-09T17:05:48.415Z] 765212b225bb: Waiting [2022-11-09T17:05:48.682Z] 04944245beec: Verifying Checksum [2022-11-09T17:05:48.682Z] 04944245beec: Download complete [2022-11-09T17:05:48.682Z] f23df028b6ca: Download complete [2022-11-09T17:05:48.682Z] d65c8cfc05b1: Verifying Checksum [2022-11-09T17:05:48.682Z] d65c8cfc05b1: Download complete [2022-11-09T17:05:48.952Z] 699f458cf7ca: Verifying Checksum [2022-11-09T17:05:48.952Z] 699f458cf7ca: Download complete [2022-11-09T17:05:49.221Z] 8998bd30e6a1: Download complete [2022-11-09T17:05:51.817Z] 2437ff75d9bd: Verifying Checksum [2022-11-09T17:05:51.817Z] 2437ff75d9bd: Download complete [2022-11-09T17:05:53.224Z] 8998bd30e6a1: Pull complete [2022-11-09T17:05:53.807Z] 04944245beec: Pull complete [2022-11-09T17:05:55.218Z] 699f458cf7ca: Pull complete [2022-11-09T17:05:55.218Z] 765212b225bb: Pull complete [2022-11-09T17:05:56.183Z] f23df028b6ca: Pull complete [2022-11-09T17:05:56.183Z] d65c8cfc05b1: Pull complete [2022-11-09T17:06:11.194Z] 2437ff75d9bd: Pull complete [2022-11-09T17:06:11.194Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-09T17:06:11.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-09T17:06:11.194Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T17:06:11.514Z] prd-ubuntu20.04-docker-arm64-4c-16g-118770 does not seem to be running inside a container [2022-11-09T17:06:11.600Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-09T17:06:14.378Z] $ docker top ab84e64524b0a89c1d44ce3d3d0803893267894d291ce419dfdde1dd49d84b31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-09T17:06:15.305Z] ---> job-cost.sh [2022-11-09T17:06:15.305Z] lf-activate-venv: SKIPPING [2022-11-09T17:06:15.305Z] INFO: No Stack... [2022-11-09T17:06:15.894Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-09T17:06:16.860Z] INFO: Archiving Costs [Pipeline] sh [2022-11-09T17:06:17.528Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [2022-11-09T17:06:17.528Z] + cut -d, -f6 [Pipeline] lock [2022-11-09T17:06:17.636Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-113-1-stack-cost] [2022-11-09T17:06:17.643Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-113-1-stack-cost] did not exist. Created. [2022-11-09T17:06:17.643Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-113-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-09T17:06:18.374Z] /w/workspace/device-usb-camera/1@tmp/durable-504748aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-09T17:06:19.061Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-09T17:06:19.095Z] Warning: overwriting stash ‘stack-cost’ [2022-11-09T17:06:19.150Z] Stashed 1 file(s) [Pipeline] } [2022-11-09T17:06:19.164Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-113-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-09T17:06:19.246Z] $ docker stop --time=1 ab84e64524b0a89c1d44ce3d3d0803893267894d291ce419dfdde1dd49d84b31 [2022-11-09T17:06:20.796Z] $ docker rm -f ab84e64524b0a89c1d44ce3d3d0803893267894d291ce419dfdde1dd49d84b31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-09T17:06:21.803Z] provisioning config files... [2022-11-09T17:06:21.809Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-113@tmp/config14303373957746958154tmp [Pipeline] { [Pipeline] sh [2022-11-09T17:06:22.142Z] + set +x [2022-11-09T17:06:22.142Z] + curl -s https://codecov.io/bash [2022-11-09T17:06:22.142Z] + bash -s -- [2022-11-09T17:06:22.142Z] [2022-11-09T17:06:22.142Z] _____ _ [2022-11-09T17:06:22.142Z] / ____| | | [2022-11-09T17:06:22.142Z] | | ___ __| | ___ ___ _____ __ [2022-11-09T17:06:22.142Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-09T17:06:22.142Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-09T17:06:22.142Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-09T17:06:22.142Z] Bash-1.0.6 [2022-11-09T17:06:22.142Z] [2022-11-09T17:06:22.142Z] [2022-11-09T17:06:22.142Z] ==> git version 2.25.1 found [2022-11-09T17:06:22.142Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-09T17:06:22.142Z] Release-Date: 2020-01-08 [2022-11-09T17:06:22.142Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-09T17:06:22.142Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-09T17:06:22.403Z] ==> Jenkins CI detected. [2022-11-09T17:06:22.403Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-113 [2022-11-09T17:06:22.403Z] project root: . [2022-11-09T17:06:22.403Z] --> token set from env [2022-11-09T17:06:22.403Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-09T17:06:22.403Z] ==> Running gcov in . (disable via -X gcov) [2022-11-09T17:06:22.403Z] ==> Python coveragepy not found [2022-11-09T17:06:22.403Z] ==> Searching for coverage reports in: [2022-11-09T17:06:22.403Z] + . [2022-11-09T17:06:22.403Z] -> Found 1 reports [2022-11-09T17:06:22.403Z] ==> Detecting git/mercurial file structure [2022-11-09T17:06:22.403Z] ==> Reading reports [2022-11-09T17:06:22.403Z] + ./coverage.out bytes=29559 [2022-11-09T17:06:22.403Z] ==> Appending adjustments [2022-11-09T17:06:22.403Z] https://docs.codecov.io/docs/fixing-reports [2022-11-09T17:06:22.403Z] + Found adjustments [2022-11-09T17:06:22.403Z] ==> Gzipping contents [2022-11-09T17:06:22.403Z] 8.0K /tmp/codecov.v4YuAZ.gz [2022-11-09T17:06:22.403Z] ==> Uploading reports [2022-11-09T17:06:22.403Z] url: https://codecov.io [2022-11-09T17:06:22.403Z] query: branch=PR-113&commit=36edd5e9330ff26844f1d5d0d178c702f7898d73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=113&job=&cmd_args= [2022-11-09T17:06:22.403Z] -> Pinging Codecov [2022-11-09T17:06:22.403Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-113&commit=36edd5e9330ff26844f1d5d0d178c702f7898d73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-113%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=113&job=&cmd_args= [2022-11-09T17:06:22.972Z] -> Uploading to [2022-11-09T17:06:22.972Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-09/73D8F5FF140700D3E01443B452E23636/36edd5e9330ff26844f1d5d0d178c702f7898d73/5e082500-e726-4726-90f5-cb8818af4856.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221109T170622Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7aa1868a9f1a23eb6340f5aced0e906a92e7e7786936942eccbfb60cd777c023 [2022-11-09T17:06:22.972Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-09T17:06:22.972Z] Dload Upload Total Spent Left Speed [2022-11-09T17:06:23.231Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4206 0 0 100 4206 0 17097 --:--:-- --:--:-- --:--:-- 17097 [2022-11-09T17:06:23.231Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/36edd5e9330ff26844f1d5d0d178c702f7898d73 [Pipeline] } [2022-11-09T17:06:23.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-09T17:06:24.980Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-113/archives ] [2022-11-09T17:06:24.980Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-113/archives [2022-11-09T17:06:24.980Z] total 16 [2022-11-09T17:06:24.980Z] drwxr-xr-x 3 root root 4096 Nov 9 16:54 . [2022-11-09T17:06:24.980Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 9 16:54 .. [2022-11-09T17:06:24.980Z] drwxr-xr-x 2 root root 4096 Nov 9 16:54 cost [2022-11-09T17:06:24.980Z] -rw-r--r-- 1 root root 89 Nov 9 16:54 cost.csv [2022-11-09T17:06:24.980Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-113/archives [2022-11-09T17:06:24.980Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-113/archives [2022-11-09T17:06:24.980Z] total 16 [2022-11-09T17:06:24.980Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 16:54 . [2022-11-09T17:06:24.980Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 9 16:54 .. [2022-11-09T17:06:24.980Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 16:54 cost [2022-11-09T17:06:24.980Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 9 16:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-09T17:06:25.308Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T17:06:26.198Z] ---> package-listing.sh [2022-11-09T17:06:26.198Z] ++ facter osfamily [2022-11-09T17:06:26.198Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-09T17:06:26.456Z] + OS_FAMILY=debian [2022-11-09T17:06:26.456Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-113 [2022-11-09T17:06:26.456Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-09T17:06:26.456Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-09T17:06:26.456Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-09T17:06:26.456Z] + PACKAGES=/tmp/packages_start.txt [2022-11-09T17:06:26.456Z] + '[' /w/workspace/foundry_device-usb-camera_PR-113 ']' [2022-11-09T17:06:26.456Z] + PACKAGES=/tmp/packages_end.txt [2022-11-09T17:06:26.456Z] + case "${OS_FAMILY}" in [2022-11-09T17:06:26.456Z] + dpkg -l [2022-11-09T17:06:26.456Z] + grep '^ii' [2022-11-09T17:06:26.456Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-09T17:06:26.456Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-09T17:06:26.456Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-09T17:06:26.456Z] + '[' /w/workspace/foundry_device-usb-camera_PR-113 ']' [2022-11-09T17:06:26.456Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-113/archives/ [2022-11-09T17:06:26.456Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-113/archives/ [Pipeline] echo [2022-11-09T17:06:26.488Z] 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-113/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-09T17:06:26.777Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-09T17:06:27.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-09T17:06:27.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-09T17:06:27.542Z] prd-ubuntu20.04-docker-8c-8g-118769 does not seem to be running inside a container [2022-11-09T17:06:27.573Z] $ 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-113/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-113 -v /w/workspace/foundry_device-usb-camera_PR-113:/w/workspace/foundry_device-usb-camera_PR-113:rw,z -v /w/workspace/foundry_device-usb-camera_PR-113@tmp:/w/workspace/foundry_device-usb-camera_PR-113@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-09T17:06:27.775Z] $ docker top 0dc8ad191d5ff5134b0142d8ca467536892f67d79d39205dae6775c7d8e8e148 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-09T17:06:28.156Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-09T17:06:28.467Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-09T17:06:28.779Z] + ls /var/log/sa-host [2022-11-09T17:06:28.779Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-09T17:06:28.983Z] provisioning config files... [2022-11-09T17:06:28.991Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-113@tmp/config7444826002643953178tmp [Pipeline] { [Pipeline] echo [2022-11-09T17:06:29.036Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T17:06:29.345Z] ---> create-netrc.sh [Pipeline] } [2022-11-09T17:06:29.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-09T17:06:29.770Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-09T17:06:29.801Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T17:06:30.111Z] ---> sudo-logs.sh [2022-11-09T17:06:30.111Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-09T17:06:30.196Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T17:06:30.503Z] ---> job-cost.sh [2022-11-09T17:06:30.503Z] lf-activate-venv: SKIPPING [2022-11-09T17:06:30.503Z] DEBUG: total: 0.2199999988079071 [2022-11-09T17:06:30.503Z] INFO: Retrieving Stack Cost... [2022-11-09T17:06:31.441Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-09T17:06:31.699Z] INFO: Archiving Costs [Pipeline] echo [2022-11-09T17:06:31.734Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-09T17:06:32.043Z] ---> logs-deploy.sh [2022-11-09T17:06:32.043Z] lf-activate-venv: SKIPPING [2022-11-09T17:06:32.043Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-113/1 [2022-11-09T17:06:32.043Z] INFO: archiving workspace using pattern(s): [2022-11-09T17:06:32.986Z] Archives upload complete. [2022-11-09T17:06:33.244Z] INFO: archiving logs to Nexus