Pull request #164 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 lenny-intel for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 69957f4afac909ec5ce47754bbe40131053e8408+8b62b64e9680a6df61e12b3c0a704648afc4bcdc (ec4072c1a206c1ac05af3ec098730c5ea9c882e8) 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-ssh12498920578099072034.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh329687391755038530.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-164/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-164/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13077794500751826161.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-164/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16926548847400769217.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9188102501636853065.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-164/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-164/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8813193807680123115.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-7760 in /w/workspace/foundry_device-usb-camera_PR-164 [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-164 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8b62b64e9680a6df61e12b3c0a704648afc4bcdc into PR head commit 69957f4afac909ec5ce47754bbe40131053e8408 Merge succeeded, producing 69957f4afac909ec5ce47754bbe40131053e8408 Checking out Revision 69957f4afac909ec5ce47754bbe40131053e8408 (PR-164) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 69957f4afac909ec5ce47754bbe40131053e8408 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8b62b64e9680a6df61e12b3c0a704648afc4bcdc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 69957f4afac909ec5ce47754bbe40131053e8408 # timeout=10 Commit message: "refactor!: Replace internal topics from config with new constants" 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 [2023-02-28T17:22:29.900Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-28T17:22:30.062Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-28T17:22:30.161Z] ========================================================= [2023-02-28T17:22:30.162Z] EdgeX Global Pipelines Version Info [2023-02-28T17:22:30.162Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:22:30.904Z] ------------------- [2023-02-28T17:22:30.904Z] stable info: [2023-02-28T17:22:30.904Z] ------------------- [2023-02-28T17:22:30.904Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-28T17:22:30.904Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T17:22:30.904Z] Message: update stable to v1.0.244 [2023-02-28T17:22:31.474Z] ------------------- [2023-02-28T17:22:31.474Z] experimental info: [2023-02-28T17:22:31.474Z] ------------------- [2023-02-28T17:22:31.474Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-28T17:22:31.474Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T17:22:31.474Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-28T17:22:31.777Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-02-28T17:22:31.822Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-02-28T17:22:31.865Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-28T17:22:31.907Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-28T17:22:31.951Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-28T17:22:31.990Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-28T17:22:32.031Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-28T17:22:32.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-28T17:22:32.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-28T17:22:32.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-28T17:22:32.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-28T17:22:32.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-02-28T17:22:32.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-28T17:22:32.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-28T17:22:32.375Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-28T17:22:32.418Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-28T17:22:32.458Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T17:22:32.501Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T17:22:32.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-28T17:22:32.587Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-28T17:22:32.627Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-28T17:22:32.667Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-28T17:22:32.708Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-28T17:22:32.747Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-28T17:22:32.786Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-28T17:22:32.825Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-28T17:22:32.867Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-28T17:22:32.908Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-164 [Pipeline] echo [2023-02-28T17:22:32.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-164 [Pipeline] echo [2023-02-28T17:22:32.994Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-164 [Pipeline] echo [2023-02-28T17:22:33.040Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 69957f4afac909ec5ce47754bbe40131053e8408 [Pipeline] echo [2023-02-28T17:22:33.081Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 69957f4 [Pipeline] echo [2023-02-28T17:22:33.129Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T17:22:33.251Z] provisioning config files... [2023-02-28T17:22:33.263Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-164@tmp/config1802701205867937189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:22:33.614Z] ---> docker-login.sh [2023-02-28T17:22:33.614Z] nexus3.edgexfoundry.org:10001 [2023-02-28T17:22:33.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:22:33.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:22:33.873Z] Configure a credential helper to remove this warning. See [2023-02-28T17:22:33.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:22:33.873Z] [2023-02-28T17:22:33.873Z] Login Succeeded [2023-02-28T17:22:33.873Z] nexus3.edgexfoundry.org:10002 [2023-02-28T17:22:34.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:22:34.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:22:34.132Z] Configure a credential helper to remove this warning. See [2023-02-28T17:22:34.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:22:34.132Z] [2023-02-28T17:22:34.132Z] Login Succeeded [2023-02-28T17:22:34.132Z] nexus3.edgexfoundry.org:10003 [2023-02-28T17:22:34.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:22:34.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:22:34.132Z] Configure a credential helper to remove this warning. See [2023-02-28T17:22:34.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:22:34.132Z] [2023-02-28T17:22:34.132Z] Login Succeeded [2023-02-28T17:22:34.132Z] nexus3.edgexfoundry.org:10004 [2023-02-28T17:22:34.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:22:34.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:22:34.391Z] Configure a credential helper to remove this warning. See [2023-02-28T17:22:34.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:22:34.391Z] [2023-02-28T17:22:34.391Z] Login Succeeded [2023-02-28T17:22:34.391Z] docker.io [2023-02-28T17:22:34.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:22:34.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:22:34.652Z] Configure a credential helper to remove this warning. See [2023-02-28T17:22:34.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:22:34.652Z] [2023-02-28T17:22:34.652Z] Login Succeeded [2023-02-28T17:22:34.652Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T17:22:34.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-28T17:22:35.280Z] + git rev-list -1 --merges 69957f4afac909ec5ce47754bbe40131053e8408~1..69957f4afac909ec5ce47754bbe40131053e8408 [Pipeline] echo [2023-02-28T17:22:35.316Z] -----------> git rev-list -1 --merges 69957f4afac909ec5ce47754bbe40131053e8408~1..69957f4afac909ec5ce47754bbe40131053e8408 69957f4afac909ec5ce47754bbe40131053e8408 [false] [Pipeline] sh [2023-02-28T17:22:35.621Z] + git log --format=format:%s -1 69957f4afac909ec5ce47754bbe40131053e8408 [Pipeline] echo [2023-02-28T17:22:35.654Z] ========================================================= [2023-02-28T17:22:35.654Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-28T17:22:35.654Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T17:22:36.070Z] + git log --format=format:%s -1 69957f4afac909ec5ce47754bbe40131053e8408 [Pipeline] echo [2023-02-28T17:22:36.104Z] [semverPrep] GIT_COMMIT: 69957f4afac909ec5ce47754bbe40131053e8408, Commit Message: refactor!: Replace internal topics from config with new constants [Pipeline] echo [2023-02-28T17:22:36.133Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-28T17:22:36.514Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T17:22:36.514Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-28T17:22:36.514Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-28T17:22:36.514Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-28T17:22:36.514Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-28T17:22:36.514Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-28T17:22:36.514Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:22:36.997Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T17:22:36.997Z] [2023-02-28T17:22:36.997Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:22:37.379Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T17:22:37.379Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-28T17:22:37.379Z] b85a868b505f: Pulling fs layer [2023-02-28T17:22:37.379Z] e2be974225ed: Pulling fs layer [2023-02-28T17:22:37.379Z] 339a4e72a1f5: Pulling fs layer [2023-02-28T17:22:37.379Z] 988bab9f4d93: Pulling fs layer [2023-02-28T17:22:37.379Z] 1469e6f7b9e6: Pulling fs layer [2023-02-28T17:22:37.379Z] eaf3925da568: Pulling fs layer [2023-02-28T17:22:37.379Z] bab4dde63d76: Pulling fs layer [2023-02-28T17:22:37.379Z] eaf3925da568: Waiting [2023-02-28T17:22:37.379Z] bde34c3a00c8: Pulling fs layer [2023-02-28T17:22:37.379Z] b352a97aabf1: Pulling fs layer [2023-02-28T17:22:37.379Z] bab4dde63d76: Waiting [2023-02-28T17:22:37.379Z] bde34c3a00c8: Waiting [2023-02-28T17:22:37.379Z] 4872d77fe225: Pulling fs layer [2023-02-28T17:22:37.379Z] b352a97aabf1: Waiting [2023-02-28T17:22:37.379Z] 5851b861e8e6: Pulling fs layer [2023-02-28T17:22:37.379Z] 5851b861e8e6: Waiting [2023-02-28T17:22:37.379Z] e2be974225ed: Verifying Checksum [2023-02-28T17:22:37.379Z] e2be974225ed: Download complete [2023-02-28T17:22:37.379Z] 988bab9f4d93: Verifying Checksum [2023-02-28T17:22:37.379Z] 988bab9f4d93: Download complete [2023-02-28T17:22:37.638Z] 1469e6f7b9e6: Verifying Checksum [2023-02-28T17:22:37.638Z] 1469e6f7b9e6: Download complete [2023-02-28T17:22:37.638Z] 339a4e72a1f5: Verifying Checksum [2023-02-28T17:22:37.638Z] 339a4e72a1f5: Download complete [2023-02-28T17:22:37.638Z] eaf3925da568: Verifying Checksum [2023-02-28T17:22:37.638Z] eaf3925da568: Download complete [2023-02-28T17:22:37.638Z] bde34c3a00c8: Download complete [2023-02-28T17:22:37.638Z] b352a97aabf1: Verifying Checksum [2023-02-28T17:22:37.638Z] b352a97aabf1: Download complete [2023-02-28T17:22:37.638Z] b85a868b505f: Verifying Checksum [2023-02-28T17:22:37.638Z] b85a868b505f: Download complete [2023-02-28T17:22:37.638Z] 4872d77fe225: Verifying Checksum [2023-02-28T17:22:37.638Z] 4872d77fe225: Download complete [2023-02-28T17:22:37.897Z] 5851b861e8e6: Download complete [2023-02-28T17:22:38.156Z] bab4dde63d76: Verifying Checksum [2023-02-28T17:22:38.156Z] bab4dde63d76: Download complete [2023-02-28T17:22:38.723Z] b85a868b505f: Pull complete [2023-02-28T17:22:38.981Z] e2be974225ed: Pull complete [2023-02-28T17:22:39.239Z] 339a4e72a1f5: Pull complete [2023-02-28T17:22:39.239Z] 988bab9f4d93: Pull complete [2023-02-28T17:22:39.498Z] 1469e6f7b9e6: Pull complete [2023-02-28T17:22:39.756Z] eaf3925da568: Pull complete [2023-02-28T17:22:41.127Z] bab4dde63d76: Pull complete [2023-02-28T17:22:41.385Z] bde34c3a00c8: Pull complete [2023-02-28T17:22:41.385Z] b352a97aabf1: Pull complete [2023-02-28T17:22:41.385Z] 4872d77fe225: Pull complete [2023-02-28T17:22:41.644Z] 5851b861e8e6: Pull complete [2023-02-28T17:22:41.644Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-28T17:22:41.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T17:22:41.644Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T17:22:41.859Z] prd-ubuntu20.04-docker-8c-8g-7760 does not seem to be running inside a container [2023-02-28T17:22:41.883Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-164 -v /w/workspace/foundry_device-usb-camera_PR-164:/w/workspace/foundry_device-usb-camera_PR-164:rw,z -v /w/workspace/foundry_device-usb-camera_PR-164@tmp:/w/workspace/foundry_device-usb-camera_PR-164@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-devops/py-git-semver:0.1.4 cat [2023-02-28T17:22:43.004Z] $ docker top d4acf398e2445b23b499d822fd230e7229f123c0d5761cc7355ac463920d937a -eo pid,comm [2023-02-28T17:22:43.058Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-28T17:22:43.058Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-28T17:22:43.191Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T17:22:43.191Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T17:22:43.293Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T17:22:43.293Z] $ docker exec d4acf398e2445b23b499d822fd230e7229f123c0d5761cc7355ac463920d937a ssh-agent [2023-02-28T17:22:43.393Z] SSH_AUTH_SOCK=/tmp/ssh-9WeV6ZWFyh8G/agent.33 [2023-02-28T17:22:43.393Z] SSH_AGENT_PID=39 [2023-02-28T17:22:43.399Z] Running ssh-add (command line suppressed) [2023-02-28T17:22:43.492Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-164@tmp/private_key_16012147186358473200.key (/w/workspace/foundry_device-usb-camera_PR-164@tmp/private_key_16012147186358473200.key) [2023-02-28T17:22:43.507Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T17:22:43.835Z] + git tag --points-at HEAD [Pipeline] } [2023-02-28T17:22:43.860Z] $ docker exec --env ******** --env ******** d4acf398e2445b23b499d822fd230e7229f123c0d5761cc7355ac463920d937a ssh-agent -k [2023-02-28T17:22:43.961Z] unset SSH_AUTH_SOCK; [2023-02-28T17:22:43.961Z] unset SSH_AGENT_PID; [2023-02-28T17:22:43.961Z] echo Agent pid 39 killed; [2023-02-28T17:22:43.971Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-28T17:22:44.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T17:22:44.064Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T17:22:44.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T17:22:44.175Z] $ docker exec d4acf398e2445b23b499d822fd230e7229f123c0d5761cc7355ac463920d937a ssh-agent [2023-02-28T17:22:44.269Z] SSH_AUTH_SOCK=/tmp/ssh-Gm2ldHftG7ht/agent.71 [2023-02-28T17:22:44.269Z] SSH_AGENT_PID=77 [2023-02-28T17:22:44.273Z] Running ssh-add (command line suppressed) [2023-02-28T17:22:44.374Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-164@tmp/private_key_2172896333602861996.key (/w/workspace/foundry_device-usb-camera_PR-164@tmp/private_key_2172896333602861996.key) [2023-02-28T17:22:44.390Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T17:22:44.719Z] + git semver init [2023-02-28T17:22:44.978Z] 2023-02-28 17:22:44,871 [run_init] DEBUG init version:0.0.0 force:False [2023-02-28T17:22:44.978Z] 2023-02-28 17:22:44,873 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-164/.semver [2023-02-28T17:22:44.978Z] 2023-02-28 17:22:44,873 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-164/.semver [2023-02-28T17:22:44.978Z] 2023-02-28 17:22:44,873 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-164/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-164, universal_newlines=False, shell=None, istream=None) [2023-02-28T17:22:45.914Z] 2023-02-28 17:22:45,703 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-164/.git/info/exclude [2023-02-28T17:22:45.914Z] 2023-02-28 17:22:45,703 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-164/.semver/PR-164 with force:False [2023-02-28T17:22:45.914Z] 2023-02-28 17:22:45,704 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-164/.semver/PR-164 [2023-02-28T17:22:45.914Z] 2023-02-28 17:22:45,707 [execute] INFO git cat-file --batch-check [2023-02-28T17:22:45.914Z] 2023-02-28 17:22:45,708 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-164/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T17:22:45.914Z] 2023-02-28 17:22:45,714 [execute] INFO git cat-file --batch [2023-02-28T17:22:45.914Z] 2023-02-28 17:22:45,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-164/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T17:22:45.914Z] 2023-02-28 17:22:45,718 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-164/.semver/PR-164 [2023-02-28T17:22:45.914Z] 0.0.0 [Pipeline] } [2023-02-28T17:22:45.938Z] $ docker exec --env ******** --env ******** d4acf398e2445b23b499d822fd230e7229f123c0d5761cc7355ac463920d937a ssh-agent -k [2023-02-28T17:22:46.032Z] unset SSH_AUTH_SOCK; [2023-02-28T17:22:46.032Z] unset SSH_AGENT_PID; [2023-02-28T17:22:46.032Z] echo Agent pid 77 killed; [2023-02-28T17:22:46.044Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T17:22:46.455Z] + git semver [Pipeline] } [2023-02-28T17:22:46.735Z] $ docker stop --time=1 d4acf398e2445b23b499d822fd230e7229f123c0d5761cc7355ac463920d937a [2023-02-28T17:22:48.012Z] $ docker rm -f --volumes d4acf398e2445b23b499d822fd230e7229f123c0d5761cc7355ac463920d937a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T17:22:48.402Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-28T17:22:48.661Z] Stashed 1 file(s) [Pipeline] echo [2023-02-28T17:22:48.678Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T17:22:49.278Z] provisioning config files... [2023-02-28T17:22:49.287Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-164@tmp/config4405079107514555176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:22:49.393Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7768 in /w/workspace/foundry_device-usb-camera_PR-164 [Pipeline] { [Pipeline] ws [2023-02-28T17:22:49.464Z] Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-28T17:22:49.544Z] Selected Git installation does not exist. Using Default [2023-02-28T17:22:49.544Z] The recommended git tool is: NONE [2023-02-28T17:22:49.631Z] ---> docker-login.sh [2023-02-28T17:22:49.631Z] nexus3.edgexfoundry.org:10001 [2023-02-28T17:22:49.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:22:49.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:22:49.631Z] Configure a credential helper to remove this warning. See [2023-02-28T17:22:49.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:22:49.631Z] [2023-02-28T17:22:49.631Z] Login Succeeded [2023-02-28T17:22:49.631Z] nexus3.edgexfoundry.org:10002 [2023-02-28T17:22:49.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:22:49.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:22:49.631Z] Configure a credential helper to remove this warning. See [2023-02-28T17:22:49.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:22:49.631Z] [2023-02-28T17:22:49.631Z] Login Succeeded [2023-02-28T17:22:49.631Z] nexus3.edgexfoundry.org:10003 [2023-02-28T17:22:49.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:22:49.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:22:49.891Z] Configure a credential helper to remove this warning. See [2023-02-28T17:22:49.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:22:49.891Z] [2023-02-28T17:22:49.891Z] Login Succeeded [2023-02-28T17:22:49.891Z] nexus3.edgexfoundry.org:10004 [2023-02-28T17:22:49.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:22:49.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:22:49.891Z] Configure a credential helper to remove this warning. See [2023-02-28T17:22:49.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:22:49.891Z] [2023-02-28T17:22:49.891Z] Login Succeeded [2023-02-28T17:22:49.891Z] docker.io [2023-02-28T17:22:49.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:22:50.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:22:50.150Z] Configure a credential helper to remove this warning. See [2023-02-28T17:22:50.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:22:50.150Z] [2023-02-28T17:22:50.150Z] Login Succeeded [2023-02-28T17:22:50.150Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T17:22:50.179Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T17:22:50.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T17:22:50.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T17:22:50.465Z] ========================================================= [2023-02-28T17:22:50.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-28T17:22:50.465Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:22:50.952Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-28T17:22:50.952Z] Sending build context to Docker daemon 1.776MB [2023-02-28T17:22:50.952Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T17:22:50.952Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-28T17:22:50.952Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-28T17:22:50.952Z] 213ec9aee27d: Pulling fs layer [2023-02-28T17:22:50.952Z] 4583459ba037: Pulling fs layer [2023-02-28T17:22:50.952Z] 93c1e223e6f2: Pulling fs layer [2023-02-28T17:22:50.952Z] 53926ce57604: Pulling fs layer [2023-02-28T17:22:50.952Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-28T17:22:50.952Z] 22ff95d597cd: Pulling fs layer [2023-02-28T17:22:50.952Z] 12d6caf4c0d1: Pulling fs layer [2023-02-28T17:22:50.952Z] 96b7cbca73a9: Pulling fs layer [2023-02-28T17:22:50.952Z] a7acece74701: Pulling fs layer [2023-02-28T17:22:50.952Z] 96b7cbca73a9: Waiting [2023-02-28T17:22:50.952Z] 53926ce57604: Waiting [2023-02-28T17:22:50.952Z] a7acece74701: Waiting [2023-02-28T17:22:50.952Z] 21b2b0c7a3f4: Waiting [2023-02-28T17:22:50.952Z] 22ff95d597cd: Waiting [2023-02-28T17:22:50.952Z] 12d6caf4c0d1: Waiting [2023-02-28T17:22:50.952Z] 93c1e223e6f2: Verifying Checksum [2023-02-28T17:22:50.952Z] 93c1e223e6f2: Download complete [2023-02-28T17:22:50.952Z] 4583459ba037: Download complete [2023-02-28T17:22:50.952Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-28T17:22:50.952Z] 21b2b0c7a3f4: Download complete [2023-02-28T17:22:50.952Z] 22ff95d597cd: Verifying Checksum [2023-02-28T17:22:50.952Z] 22ff95d597cd: Download complete [2023-02-28T17:22:51.214Z] 213ec9aee27d: Verifying Checksum [2023-02-28T17:22:51.214Z] 213ec9aee27d: Download complete [2023-02-28T17:22:51.214Z] 12d6caf4c0d1: Verifying Checksum [2023-02-28T17:22:51.214Z] 12d6caf4c0d1: Download complete [2023-02-28T17:22:51.214Z] 213ec9aee27d: Pull complete [2023-02-28T17:22:51.481Z] 4583459ba037: Pull complete [2023-02-28T17:22:51.481Z] 93c1e223e6f2: Pull complete [2023-02-28T17:22:51.744Z] a7acece74701: Verifying Checksum [2023-02-28T17:22:51.744Z] a7acece74701: Download complete [2023-02-28T17:22:52.001Z] 53926ce57604: Verifying Checksum [2023-02-28T17:22:52.001Z] 53926ce57604: Download complete [2023-02-28T17:22:52.001Z] 96b7cbca73a9: Download complete [2023-02-28T17:22:54.481Z] using credential edgex-jenkins-ssh [2023-02-28T17:22:54.497Z] Cloning the remote Git repository [2023-02-28T17:22:55.273Z] 53926ce57604: Pull complete [2023-02-28T17:22:55.273Z] 21b2b0c7a3f4: Pull complete [2023-02-28T17:22:55.273Z] 22ff95d597cd: Pull complete [2023-02-28T17:22:55.273Z] 12d6caf4c0d1: Pull complete [2023-02-28T17:22:54.536Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-02-28T17:22:54.612Z] > git init /w/workspace/device-usb-camera/1 # timeout=10 [2023-02-28T17:22:54.768Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-28T17:22:54.769Z] > git --version # timeout=10 [2023-02-28T17:22:54.790Z] > git --version # 'git version 2.25.1' [2023-02-28T17:22:54.791Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T17:22:54.861Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T17:22:55.666Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-28T17:22:55.686Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T17:22:56.479Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-28T17:22:56.520Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-28T17:22:56.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T17:22:56.538Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-28T17:22:57.162Z] Merging remotes/origin/main commit 8b62b64e9680a6df61e12b3c0a704648afc4bcdc into PR head commit 69957f4afac909ec5ce47754bbe40131053e8408 [2023-02-28T17:22:57.169Z] 96b7cbca73a9: Pull complete [2023-02-28T17:22:57.392Z] Merge succeeded, producing 69957f4afac909ec5ce47754bbe40131053e8408 [2023-02-28T17:22:57.393Z] Checking out Revision 69957f4afac909ec5ce47754bbe40131053e8408 (PR-164) [2023-02-28T17:22:57.733Z] a7acece74701: Pull complete [2023-02-28T17:22:57.734Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-28T17:22:57.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-28T17:22:57.734Z] ---> db6d94c90886 [2023-02-28T17:22:57.734Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-28T17:22:57.177Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T17:22:57.210Z] > git checkout -f 69957f4afac909ec5ce47754bbe40131053e8408 # timeout=10 [2023-02-28T17:22:57.292Z] > git remote # timeout=10 [2023-02-28T17:22:57.309Z] > git config --get remote.origin.url # timeout=10 [2023-02-28T17:22:57.326Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T17:22:57.340Z] > git merge 8b62b64e9680a6df61e12b3c0a704648afc4bcdc # timeout=10 [2023-02-28T17:22:57.366Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-28T17:22:57.394Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T17:22:57.412Z] > git checkout -f 69957f4afac909ec5ce47754bbe40131053e8408 # timeout=10 [2023-02-28T17:22:59.638Z] ---> Running in 3f3a03257c97 [2023-02-28T17:22:59.638Z] Removing intermediate container 3f3a03257c97 [2023-02-28T17:22:59.638Z] ---> ea5bddf8e1d3 [2023-02-28T17:22:59.638Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T17:22:59.638Z] ---> Running in c6fb062e03f8 [2023-02-28T17:22:59.638Z] Removing intermediate container c6fb062e03f8 [2023-02-28T17:22:59.638Z] ---> cdfd36e3520c [2023-02-28T17:22:59.638Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-28T17:22:59.638Z] ---> Running in 85d474993293 [2023-02-28T17:22:59.638Z] Removing intermediate container 85d474993293 [2023-02-28T17:22:59.638Z] ---> a6bc941767b6 [2023-02-28T17:22:59.638Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-28T17:22:59.638Z] ---> Running in 7f6ce337ae78 [2023-02-28T17:22:59.638Z] Removing intermediate container 7f6ce337ae78 [2023-02-28T17:22:59.638Z] ---> d6de1acc5ee4 [2023-02-28T17:22:59.638Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T17:22:59.638Z] ---> Running in 141d05a84f43 [2023-02-28T17:22:59.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T17:23:00.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T17:23:00.419Z] (1/80) Installing mesa (21.3.9-r0) [2023-02-28T17:23:00.419Z] (2/80) Installing libxau (1.0.9-r0) [2023-02-28T17:23:00.419Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-02-28T17:23:00.419Z] (4/80) Installing libxcb (1.15-r0) [2023-02-28T17:23:00.419Z] (5/80) Installing libx11 (1.8-r0) [2023-02-28T17:23:00.419Z] (6/80) Installing libxext (1.3.4-r0) [2023-02-28T17:23:00.419Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-02-28T17:23:00.419Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-02-28T17:23:00.419Z] (9/80) Installing libpciaccess (0.16-r0) [2023-02-28T17:23:00.419Z] (10/80) Installing libdrm (2.4.110-r0) [2023-02-28T17:23:00.419Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-02-28T17:23:00.419Z] (12/80) Installing libxshmfence (1.3-r1) [2023-02-28T17:23:00.419Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-02-28T17:23:00.419Z] (14/80) Installing icu-data-full (71.1-r2) [2023-02-28T17:23:00.678Z] (15/80) Installing libice (1.0.10-r0) [2023-02-28T17:23:00.678Z] (16/80) Installing libuuid (2.38-r1) [2023-02-28T17:23:00.678Z] (17/80) Installing libsm (1.2.3-r0) [2023-02-28T17:23:00.678Z] (18/80) Installing libxt (1.2.1-r0) [2023-02-28T17:23:00.678Z] (19/80) Installing libxmu (1.1.3-r0) [2023-02-28T17:23:00.678Z] (20/80) Installing xset (1.2.4-r0) [2023-02-28T17:23:00.678Z] (21/80) Installing xprop (1.2.5-r0) [2023-02-28T17:23:00.678Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-02-28T17:23:00.678Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-02-28T17:23:00.678Z] (24/80) Installing libffi (3.4.2-r1) [2023-02-28T17:23:00.678Z] (25/80) Installing libintl (0.21-r2) [2023-02-28T17:23:00.678Z] (26/80) Installing libblkid (2.38-r1) [2023-02-28T17:23:00.678Z] (27/80) Installing libmount (2.38-r1) [2023-02-28T17:23:00.678Z] (28/80) Installing pcre (8.45-r2) [2023-02-28T17:23:00.678Z] (29/80) Installing glib (2.72.1-r0) [2023-02-28T17:23:00.678Z] (30/80) Installing icu-libs (71.1-r2) [2023-02-28T17:23:00.678Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-02-28T17:23:00.678Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-02-28T17:23:00.678Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-02-28T17:23:00.678Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-02-28T17:23:00.915Z] Commit message: "refactor!: Replace internal topics from config with new constants" [2023-02-28T17:23:00.936Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-02-28T17:23:00.936Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-02-28T17:23:00.936Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-02-28T17:23:00.936Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-02-28T17:23:00.936Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-02-28T17:23:00.936Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-02-28T17:23:00.936Z] (41/80) Installing libpng (1.6.37-r1) [2023-02-28T17:23:00.936Z] (42/80) Installing freetype (2.12.1-r0) [2023-02-28T17:23:00.936Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-02-28T17:23:00.936Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-02-28T17:23:00.936Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-02-28T17:23:00.936Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-02-28T17:23:00.936Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-02-28T17:23:00.936Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-02-28T17:23:00.936Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-02-28T17:23:00.936Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-02-28T17:23:00.936Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-02-28T17:23:00.936Z] (52/80) Installing avahi-libs (0.8-r6) [2023-02-28T17:23:00.936Z] (53/80) Installing nettle (3.7.3-r0) [2023-02-28T17:23:00.964Z] > git --version # timeout=10 [2023-02-28T17:23:00.977Z] > git --version # 'git version 2.25.1' [2023-02-28T17:23:00.992Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T17:23:01.252Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-02-28T17:23:01.252Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-02-28T17:23:01.252Z] (56/80) Installing libunistring (1.0-r0) [2023-02-28T17:23:01.252Z] (57/80) Installing gnutls (3.7.7-r1) [2023-02-28T17:23:01.252Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-02-28T17:23:01.252Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-02-28T17:23:01.252Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-02-28T17:23:01.252Z] (61/80) Installing libevdev (1.12.1-r0) [2023-02-28T17:23:01.252Z] (62/80) Installing mtdev (1.1.6-r0) [2023-02-28T17:23:01.252Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-02-28T17:23:01.252Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-02-28T17:23:01.252Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-02-28T17:23:01.252Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-02-28T17:23:01.252Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-02-28T17:23:01.252Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-02-28T17:23:01.252Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-02-28T17:23:01.252Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-02-28T17:23:01.252Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-02-28T17:23:01.252Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-02-28T17:23:01.517Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-02-28T17:23:01.517Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-02-28T17:23:01.517Z] (75/80) Installing udev-init-scripts (35-r0) [2023-02-28T17:23:01.517Z] Executing udev-init-scripts-35-r0.post-install [2023-02-28T17:23:01.517Z] (76/80) Installing kmod-libs (29-r2) [2023-02-28T17:23:01.517Z] (77/80) Installing eudev (3.2.11-r0) [2023-02-28T17:23:01.517Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-02-28T17:23:01.517Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-28T17:23:01.517Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-02-28T17:23:01.517Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T17:23:01.517Z] Executing eudev-3.2.11-r0.trigger [2023-02-28T17:23:01.517Z] OK: 331 MiB in 131 packages [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T17:23:02.096Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-28T17:23:02.096Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T17:23:02.096Z] Dload Upload Total Spent Left Speed [2023-02-28T17:23:02.096Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87335 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh [2023-02-28T17:23:02.943Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-28T17:23:03.288Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-28T17:23:03.288Z] + sudo tee /etc/docker/daemon.new [2023-02-28T17:23:03.288Z] { [2023-02-28T17:23:03.288Z] "registry-mirrors": [ [2023-02-28T17:23:03.288Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-28T17:23:03.288Z] ], [2023-02-28T17:23:03.288Z] "bip": "10.250.0.254/24", [2023-02-28T17:23:03.288Z] "hosts": [ [2023-02-28T17:23:03.288Z] "tcp://0.0.0.0:5555", [2023-02-28T17:23:03.288Z] "unix:///var/run/docker.sock" [2023-02-28T17:23:03.288Z] ], [2023-02-28T17:23:03.288Z] "mtu": 1458, [2023-02-28T17:23:03.288Z] "selinux-enabled": true, [2023-02-28T17:23:03.288Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-28T17:23:03.288Z] } [Pipeline] sh [2023-02-28T17:23:03.425Z] Removing intermediate container 141d05a84f43 [2023-02-28T17:23:03.425Z] ---> 742009c0dcb1 [2023-02-28T17:23:03.425Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-28T17:23:03.425Z] ---> Running in 8d6149388b3c [2023-02-28T17:23:03.425Z] Removing intermediate container 8d6149388b3c [2023-02-28T17:23:03.425Z] ---> 7b9defa75635 [2023-02-28T17:23:03.425Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-28T17:23:03.426Z] ---> ce2822864a6e [2023-02-28T17:23:03.426Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T17:23:03.426Z] ---> Running in 56634c9b27f5 [2023-02-28T17:23:03.636Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-28T17:23:03.983Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T17:23:22.314Z] provisioning config files... [2023-02-28T17:23:22.340Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config6087320430328225589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:23:22.742Z] ---> docker-login.sh [2023-02-28T17:23:22.742Z] nexus3.edgexfoundry.org:10001 [2023-02-28T17:23:23.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:23:23.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:23:23.332Z] Configure a credential helper to remove this warning. See [2023-02-28T17:23:23.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:23:23.332Z] [2023-02-28T17:23:23.332Z] Login Succeeded [2023-02-28T17:23:23.332Z] nexus3.edgexfoundry.org:10002 [2023-02-28T17:23:23.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:23:23.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:23:23.601Z] Configure a credential helper to remove this warning. See [2023-02-28T17:23:23.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:23:23.601Z] [2023-02-28T17:23:23.601Z] Login Succeeded [2023-02-28T17:23:23.870Z] nexus3.edgexfoundry.org:10003 [2023-02-28T17:23:23.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:23:24.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:23:24.141Z] Configure a credential helper to remove this warning. See [2023-02-28T17:23:24.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:23:24.141Z] [2023-02-28T17:23:24.141Z] Login Succeeded [2023-02-28T17:23:24.141Z] nexus3.edgexfoundry.org:10004 [2023-02-28T17:23:24.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:23:24.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:23:24.412Z] Configure a credential helper to remove this warning. See [2023-02-28T17:23:24.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:23:24.412Z] [2023-02-28T17:23:24.412Z] Login Succeeded [2023-02-28T17:23:24.412Z] docker.io [2023-02-28T17:23:24.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:23:24.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:23:24.950Z] Configure a credential helper to remove this warning. See [2023-02-28T17:23:24.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:23:24.950Z] [2023-02-28T17:23:24.950Z] Login Succeeded [2023-02-28T17:23:24.950Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T17:23:24.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T17:23:25.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T17:23:25.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T17:23:25.433Z] ========================================================= [2023-02-28T17:23:25.433Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-28T17:23:25.433Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:23:25.955Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-28T17:23:26.232Z] Sending build context to Docker daemon 1.161MB [2023-02-28T17:23:26.232Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T17:23:26.232Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-28T17:23:26.501Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-28T17:23:26.501Z] 9b18e9b68314: Pulling fs layer [2023-02-28T17:23:26.501Z] 35d82f9e3411: Pulling fs layer [2023-02-28T17:23:26.501Z] e16973657156: Pulling fs layer [2023-02-28T17:23:26.501Z] fc693d55d65f: Pulling fs layer [2023-02-28T17:23:26.501Z] 7e9fc2657dce: Pulling fs layer [2023-02-28T17:23:26.501Z] dda99020689f: Pulling fs layer [2023-02-28T17:23:26.501Z] db1c61fa0a46: Pulling fs layer [2023-02-28T17:23:26.501Z] 891c053d2c06: Pulling fs layer [2023-02-28T17:23:26.501Z] fc693d55d65f: Waiting [2023-02-28T17:23:26.501Z] 7e9fc2657dce: Waiting [2023-02-28T17:23:26.501Z] dda99020689f: Waiting [2023-02-28T17:23:26.501Z] db1c61fa0a46: Waiting [2023-02-28T17:23:26.501Z] 891c053d2c06: Waiting [2023-02-28T17:23:26.501Z] e16973657156: Verifying Checksum [2023-02-28T17:23:26.501Z] e16973657156: Download complete [2023-02-28T17:23:26.501Z] 35d82f9e3411: Verifying Checksum [2023-02-28T17:23:26.501Z] 35d82f9e3411: Download complete [2023-02-28T17:23:26.501Z] 7e9fc2657dce: Verifying Checksum [2023-02-28T17:23:26.501Z] 7e9fc2657dce: Download complete [2023-02-28T17:23:26.501Z] dda99020689f: Verifying Checksum [2023-02-28T17:23:26.501Z] dda99020689f: Download complete [2023-02-28T17:23:26.501Z] 9b18e9b68314: Verifying Checksum [2023-02-28T17:23:26.501Z] 9b18e9b68314: Download complete [2023-02-28T17:23:27.485Z] 9b18e9b68314: Pull complete [2023-02-28T17:23:27.485Z] 891c053d2c06: Verifying Checksum [2023-02-28T17:23:27.485Z] 891c053d2c06: Download complete [2023-02-28T17:23:28.901Z] db1c61fa0a46: Verifying Checksum [2023-02-28T17:23:28.901Z] db1c61fa0a46: Download complete [2023-02-28T17:23:29.173Z] fc693d55d65f: Verifying Checksum [2023-02-28T17:23:29.173Z] fc693d55d65f: Download complete [2023-02-28T17:23:29.442Z] 35d82f9e3411: Pull complete [2023-02-28T17:23:29.714Z] e16973657156: Pull complete [2023-02-28T17:23:35.502Z] Removing intermediate container 56634c9b27f5 [2023-02-28T17:23:35.503Z] ---> 9293346506e9 [2023-02-28T17:23:35.503Z] Step 11/13 : COPY . . [2023-02-28T17:23:35.503Z] ---> 3ed27f2dc927 [2023-02-28T17:23:35.503Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-28T17:23:35.503Z] ---> Running in c4c5f6c89830 [2023-02-28T17:23:35.503Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T17:23:35.503Z] Dload Upload Total Spent Left Speed [2023-02-28T17:23:35.503Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062    0     0  10546      0 --:--:-- --:--:-- --:--:-- 10620 [2023-02-28T17:23:35.503Z] Removing intermediate container c4c5f6c89830 [2023-02-28T17:23:35.503Z] ---> 56ecc514508f [2023-02-28T17:23:35.503Z] Step 13/13 : RUN ${MAKE} [2023-02-28T17:23:35.503Z] ---> Running in 179d621abd22 [2023-02-28T17:23:35.503Z] noop [2023-02-28T17:23:35.503Z] Removing intermediate container 179d621abd22 [2023-02-28T17:23:35.503Z] ---> 7f936facce4a [2023-02-28T17:23:35.503Z] Successfully built 7f936facce4a [2023-02-28T17:23:35.503Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:23:35.935Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T17:23:35.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T17:23:36.090Z] prd-ubuntu20.04-docker-8c-8g-7760 does not seem to be running inside a container [2023-02-28T17:23:36.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-164 -v /w/workspace/foundry_device-usb-camera_PR-164:/w/workspace/foundry_device-usb-camera_PR-164:rw,z -v /w/workspace/foundry_device-usb-camera_PR-164@tmp:/w/workspace/foundry_device-usb-camera_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-28T17:23:36.456Z] $ docker top bd36c5603063f567a3a1235cfcd5373b1da1cc2d7d0a3449b6f9956f23ef6e29 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T17:23:36.857Z] + go version [2023-02-28T17:23:36.857Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-28T17:23:36.889Z] $ docker stop --time=1 bd36c5603063f567a3a1235cfcd5373b1da1cc2d7d0a3449b6f9956f23ef6e29 [2023-02-28T17:23:38.142Z] $ docker rm -f --volumes bd36c5603063f567a3a1235cfcd5373b1da1cc2d7d0a3449b6f9956f23ef6e29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:23:38.889Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T17:23:38.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T17:23:39.048Z] prd-ubuntu20.04-docker-8c-8g-7760 does not seem to be running inside a container [2023-02-28T17:23:39.077Z] $ 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-164 -v /w/workspace/foundry_device-usb-camera_PR-164:/w/workspace/foundry_device-usb-camera_PR-164:rw,z -v /w/workspace/foundry_device-usb-camera_PR-164@tmp:/w/workspace/foundry_device-usb-camera_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-28T17:23:39.404Z] $ docker top 7bb7fedcb3d7f54d751d3a3813fd646605530a6cb208681b404e96466f6653f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T17:23:39.800Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-164 [Pipeline] fileExists [Pipeline] sh [2023-02-28T17:23:40.164Z] + make test [2023-02-28T17:23:40.164Z] go test ./... -coverprofile=coverage.out ./... [2023-02-28T17:23:40.421Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-28T17:23:44.744Z] fc693d55d65f: Pull complete [2023-02-28T17:23:44.744Z] 7e9fc2657dce: Pull complete [2023-02-28T17:23:44.744Z] dda99020689f: Pull complete [2023-02-28T17:23:48.519Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-02-28T17:23:49.454Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.9% of statements [2023-02-28T17:23:50.112Z] db1c61fa0a46: Pull complete [2023-02-28T17:23:51.526Z] 891c053d2c06: Pull complete [2023-02-28T17:23:51.526Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-28T17:23:51.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-28T17:23:51.526Z] ---> f96f9c87975a [2023-02-28T17:23:51.526Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-28T17:23:53.469Z] ---> Running in 9cf0d8fb0421 [2023-02-28T17:23:53.740Z] Removing intermediate container 9cf0d8fb0421 [2023-02-28T17:23:53.740Z] ---> 4a0673f447f0 [2023-02-28T17:23:53.740Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T17:23:53.740Z] ---> Running in 0d8a2839de63 [2023-02-28T17:23:54.007Z] Removing intermediate container 0d8a2839de63 [2023-02-28T17:23:54.007Z] ---> 9a96d9796eda [2023-02-28T17:23:54.007Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-28T17:23:54.274Z] ---> Running in 5ebde675c4c6 [2023-02-28T17:23:54.540Z] Removing intermediate container 5ebde675c4c6 [2023-02-28T17:23:54.540Z] ---> 74ad0a2fd29e [2023-02-28T17:23:54.540Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-28T17:23:54.540Z] ---> Running in 21727ed9096a [2023-02-28T17:23:54.817Z] Removing intermediate container 21727ed9096a [2023-02-28T17:23:54.817Z] ---> 18860a51848d [2023-02-28T17:23:54.817Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T17:23:54.817Z] ---> Running in fd70ae3b6d1e [2023-02-28T17:23:56.006Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-28T17:23:56.007Z] go vet ./... [2023-02-28T17:23:56.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T17:23:56.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T17:23:57.190Z] (1/14) Installing libintl (0.21-r2) [2023-02-28T17:23:57.190Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-02-28T17:23:57.190Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-02-28T17:23:57.190Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-02-28T17:23:57.190Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-02-28T17:23:57.190Z] (6/14) Installing udev-init-scripts (35-r0) [2023-02-28T17:23:57.190Z] Executing udev-init-scripts-35-r0.post-install [2023-02-28T17:23:57.190Z] (7/14) Installing libblkid (2.38-r1) [2023-02-28T17:23:57.461Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-02-28T17:23:57.461Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-02-28T17:23:57.461Z] (10/14) Installing kmod-libs (29-r2) [2023-02-28T17:23:57.461Z] (11/14) Installing eudev (3.2.11-r0) [2023-02-28T17:23:57.461Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-02-28T17:23:57.461Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-28T17:23:57.461Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-02-28T17:23:57.461Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T17:23:57.461Z] Executing eudev-3.2.11-r0.trigger [2023-02-28T17:23:57.461Z] OK: 228 MiB in 65 packages [2023-02-28T17:23:58.533Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T17:23:58.533Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T17:23:58.533Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T17:23:58.579Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T17:23:58.604Z] $ docker stop --time=1 7bb7fedcb3d7f54d751d3a3813fd646605530a6cb208681b404e96466f6653f6 [2023-02-28T17:23:58.879Z] Removing intermediate container fd70ae3b6d1e [2023-02-28T17:23:58.879Z] ---> a8f3e0b9eeda [2023-02-28T17:23:58.879Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-28T17:23:58.879Z] ---> Running in a7c0ffb9fc65 [2023-02-28T17:23:58.879Z] Removing intermediate container a7c0ffb9fc65 [2023-02-28T17:23:58.879Z] ---> 3e5c5b425e9e [2023-02-28T17:23:58.879Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-28T17:23:59.466Z] ---> f38c2facb923 [2023-02-28T17:23:59.466Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T17:23:59.466Z] ---> Running in c023f9462b95 [2023-02-28T17:24:00.207Z] $ docker rm -f --volumes 7bb7fedcb3d7f54d751d3a3813fd646605530a6cb208681b404e96466f6653f6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T17:24:00.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T17:24:00.788Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-28T17:24:01.446Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T17:24:01.755Z] + ls -al . [2023-02-28T17:24:01.755Z] total 196 [2023-02-28T17:24:01.755Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 28 17:23 . [2023-02-28T17:24:01.755Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 17:22 .. [2023-02-28T17:24:01.755Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 17:23 .git [2023-02-28T17:24:01.755Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 17:22 .github [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 414 Feb 28 17:22 .gitignore [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 17:22 .golangci.yml [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 77 Feb 28 17:22 .hadolint.yml [2023-02-28T17:24:01.755Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 17:22 .semver [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 9660 Feb 28 17:22 Attribution.txt [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 6219 Feb 28 17:22 CHANGELOG.md [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 2328 Feb 28 17:22 Dockerfile [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 28 17:22 GOVERNANCE.md [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 659 Feb 28 17:22 Jenkinsfile [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 28 17:22 LICENSE [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 2329 Feb 28 17:22 Makefile [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 28 17:22 OWNERS.md [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 5934 Feb 28 17:22 README.md [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 17:22 VERSION [2023-02-28T17:24:01.755Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 17:22 bin [2023-02-28T17:24:01.755Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 17:22 cmd [2023-02-28T17:24:01.755Z] -rw-r--r-- 1 jenkins jenkins 30666 Feb 28 17:23 coverage.out [2023-02-28T17:24:01.755Z] -rwxrwxr-x 1 jenkins jenkins 140 Feb 28 17:22 docker-entrypoint.sh [2023-02-28T17:24:01.755Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 17:22 docs [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 3486 Feb 28 17:22 go.mod [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 33526 Feb 28 17:22 go.sum [2023-02-28T17:24:01.755Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 17:22 internal [2023-02-28T17:24:01.755Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 17:22 snap [2023-02-28T17:24:01.755Z] -rw-rw-r-- 1 jenkins jenkins 231 Feb 28 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:24:02.144Z] + 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=69957f4afac909ec5ce47754bbe40131053e8408 --label arch=amd64 --label version=0.0.0 . [2023-02-28T17:24:02.144Z] Sending build context to Docker daemon 1.807MB [2023-02-28T17:24:02.144Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T17:24:02.144Z] Step 2/35 : FROM ${BASE} AS builder [2023-02-28T17:24:02.144Z] ---> 7f936facce4a [2023-02-28T17:24:02.144Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-02-28T17:24:02.144Z] ---> Running in 56bc4d9ed66e [2023-02-28T17:24:02.144Z] Removing intermediate container 56bc4d9ed66e [2023-02-28T17:24:02.144Z] ---> f3dc6a696a70 [2023-02-28T17:24:02.144Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T17:24:02.144Z] ---> Running in a3d1d39c9bc8 [2023-02-28T17:24:02.403Z] Removing intermediate container a3d1d39c9bc8 [2023-02-28T17:24:02.403Z] ---> bd2124dbd6cb [2023-02-28T17:24:02.403Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-28T17:24:02.403Z] ---> Running in fcc3398f30f9 [2023-02-28T17:24:02.403Z] Removing intermediate container fcc3398f30f9 [2023-02-28T17:24:02.403Z] ---> 8449f65c6490 [2023-02-28T17:24:02.403Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-28T17:24:02.403Z] ---> Running in 86c790f4556c [2023-02-28T17:24:02.403Z] Removing intermediate container 86c790f4556c [2023-02-28T17:24:02.403Z] ---> be710bc59567 [2023-02-28T17:24:02.403Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T17:24:02.403Z] ---> Running in 4c6b1a02972a [2023-02-28T17:24:02.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T17:24:02.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T17:24:03.181Z] OK: 331 MiB in 131 packages [2023-02-28T17:24:03.441Z] Removing intermediate container 4c6b1a02972a [2023-02-28T17:24:03.441Z] ---> a9696a889a3b [2023-02-28T17:24:03.441Z] Step 8/35 : WORKDIR /device-usb-camera [2023-02-28T17:24:03.441Z] ---> Running in eb219dd97a82 [2023-02-28T17:24:03.701Z] Removing intermediate container eb219dd97a82 [2023-02-28T17:24:03.701Z] ---> 8c777d4caacc [2023-02-28T17:24:03.701Z] Step 9/35 : COPY go.mod vendor* ./ [2023-02-28T17:24:03.701Z] ---> dbf3d963ad43 [2023-02-28T17:24:03.701Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T17:24:03.701Z] ---> Running in d772527523c6 [2023-02-28T17:24:04.639Z] Removing intermediate container d772527523c6 [2023-02-28T17:24:04.639Z] ---> 010c1d95f357 [2023-02-28T17:24:04.639Z] Step 11/35 : COPY . . [2023-02-28T17:24:04.639Z] ---> 75a21ed2dc68 [2023-02-28T17:24:04.639Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-28T17:24:04.639Z] ---> Running in 872649445cf2 [2023-02-28T17:24:04.898Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T17:24:04.898Z] Dload Upload Total Spent Left Speed [2023-02-28T17:24:05.157Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 47109 0 --:--:-- --:--:-- --:--:-- 48272 [2023-02-28T17:24:05.415Z] Removing intermediate container 872649445cf2 [2023-02-28T17:24:05.415Z] ---> 12c15662a544 [2023-02-28T17:24:05.415Z] Step 13/35 : RUN ${MAKE} [2023-02-28T17:24:05.415Z] ---> Running in badec7a2f675 [2023-02-28T17:24:05.673Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-02-28T17:24:23.752Z] Removing intermediate container badec7a2f675 [2023-02-28T17:24:23.752Z] ---> 81c0459c9949 [2023-02-28T17:24:23.752Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-02-28T17:24:23.752Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-02-28T17:24:23.752Z] af6660deedbd: Pulling fs layer [2023-02-28T17:24:23.752Z] 97cd0a44c592: Pulling fs layer [2023-02-28T17:24:24.012Z] af6660deedbd: Verifying Checksum [2023-02-28T17:24:24.012Z] af6660deedbd: Download complete [2023-02-28T17:24:24.012Z] af6660deedbd: Pull complete [2023-02-28T17:24:24.950Z] 97cd0a44c592: Verifying Checksum [2023-02-28T17:24:24.950Z] 97cd0a44c592: Download complete [2023-02-28T17:24:24.950Z] 97cd0a44c592: Pull complete [2023-02-28T17:24:24.950Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-02-28T17:24:24.950Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-02-28T17:24:24.950Z] ---> fea57e182299 [2023-02-28T17:24:24.950Z] Step 15/35 : FROM alpine:3.16 [2023-02-28T17:24:25.209Z] 3.16: Pulling from library/alpine [2023-02-28T17:24:25.467Z] ef5531b6e74e: Pulling fs layer [2023-02-28T17:24:25.467Z] ef5531b6e74e: Download complete [2023-02-28T17:24:25.727Z] ef5531b6e74e: Pull complete [2023-02-28T17:24:25.727Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T17:24:25.727Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T17:24:25.727Z] ---> dfd21b5a31f5 [2023-02-28T17:24:25.727Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-28T17:24:25.727Z] ---> Running in 5bea7a051327 [2023-02-28T17:24:25.727Z] Removing intermediate container 5bea7a051327 [2023-02-28T17:24:25.727Z] ---> bd41774e5339 [2023-02-28T17:24:25.727Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-02-28T17:24:25.727Z] ---> Running in 2e5e28c86f48 [2023-02-28T17:24:26.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T17:24:26.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T17:24:26.556Z] (1/80) Installing dumb-init (1.2.5-r1) [2023-02-28T17:24:26.556Z] (2/80) Installing sdl2 (2.0.22-r0) [2023-02-28T17:24:26.556Z] (3/80) Installing libxau (1.0.9-r0) [2023-02-28T17:24:26.556Z] (4/80) Installing libxdmcp (1.1.3-r0) [2023-02-28T17:24:26.556Z] (5/80) Installing libxcb (1.15-r0) [2023-02-28T17:24:26.556Z] (6/80) Installing libx11 (1.8-r0) [2023-02-28T17:24:26.556Z] (7/80) Installing aom-libs (3.3.0-r0) [2023-02-28T17:24:26.556Z] (8/80) Installing alsa-lib (1.2.7.2-r0) [2023-02-28T17:24:26.556Z] (9/80) Installing expat (2.5.0-r0) [2023-02-28T17:24:26.556Z] (10/80) Installing brotli-libs (1.0.9-r6) [2023-02-28T17:24:26.814Z] (11/80) Installing libbz2 (1.0.8-r1) [2023-02-28T17:24:26.814Z] (12/80) Installing libpng (1.6.37-r1) [2023-02-28T17:24:26.814Z] (13/80) Installing freetype (2.12.1-r0) [2023-02-28T17:24:26.814Z] (14/80) Installing fontconfig (2.14.0-r0) [2023-02-28T17:24:26.814Z] (15/80) Installing fribidi (1.0.12-r0) [2023-02-28T17:24:26.814Z] (16/80) Installing libffi (3.4.2-r1) [2023-02-28T17:24:26.814Z] (17/80) Installing libintl (0.21-r2) [2023-02-28T17:24:26.814Z] (18/80) Installing libblkid (2.38-r1) [2023-02-28T17:24:26.814Z] (19/80) Installing libmount (2.38-r1) [2023-02-28T17:24:26.814Z] (20/80) Installing pcre (8.45-r2) [2023-02-28T17:24:26.814Z] (21/80) Installing glib (2.72.1-r0) [2023-02-28T17:24:26.814Z] (22/80) Installing graphite2 (1.3.14-r1) [2023-02-28T17:24:26.814Z] (23/80) Installing harfbuzz (4.3.0-r0) [2023-02-28T17:24:26.814Z] (24/80) Installing libass (0.16.0-r0) [2023-02-28T17:24:26.814Z] (25/80) Installing libdav1d (1.0.0-r0) [2023-02-28T17:24:26.814Z] (26/80) Installing libpciaccess (0.16-r0) [2023-02-28T17:24:26.814Z] (27/80) Installing libdrm (2.4.110-r0) [2023-02-28T17:24:26.814Z] (28/80) Installing gmp (6.2.1-r2) [2023-02-28T17:24:26.814Z] (29/80) Installing nettle (3.7.3-r0) [2023-02-28T17:24:26.814Z] (30/80) Installing p11-kit (0.24.1-r0) [2023-02-28T17:24:26.814Z] (31/80) Installing libtasn1 (4.18.0-r1) [2023-02-28T17:24:26.814Z] (32/80) Installing libunistring (1.0-r0) [2023-02-28T17:24:26.815Z] (33/80) Installing gnutls (3.7.7-r1) [2023-02-28T17:24:26.815Z] (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-02-28T17:24:26.815Z] (35/80) Installing ncurses-libs (6.3_p20220521-r0) [2023-02-28T17:24:26.815Z] (36/80) Installing lame (3.100-r0) [2023-02-28T17:24:26.815Z] (37/80) Installing opus (1.3.1-r1) [2023-02-28T17:24:26.815Z] (38/80) Installing libasyncns (0.8-r1) [2023-02-28T17:24:27.073Z] (39/80) Installing dbus-libs (1.14.4-r0) [2023-02-28T17:24:27.073Z] (40/80) Installing libltdl (2.4.7-r0) [2023-02-28T17:24:27.073Z] (41/80) Installing orc (0.4.32-r0) [2023-02-28T17:24:27.073Z] (42/80) Installing libgcc (11.2.1_git20220219-r2) [2023-02-28T17:24:27.073Z] (43/80) Installing libogg (1.3.5-r1) [2023-02-28T17:24:27.073Z] (44/80) Installing libstdc++ (11.2.1_git20220219-r2) [2023-02-28T17:24:27.073Z] (45/80) Installing flac (1.3.4-r0) [2023-02-28T17:24:27.073Z] (46/80) Installing libvorbis (1.3.7-r0) [2023-02-28T17:24:27.073Z] (47/80) Installing libsndfile (1.1.0-r0) [2023-02-28T17:24:27.073Z] (48/80) Installing libgomp (11.2.1_git20220219-r2) [2023-02-28T17:24:27.073Z] (49/80) Installing soxr (0.1.3-r2) [2023-02-28T17:24:27.073Z] (50/80) Installing speexdsp (1.2.0-r0) [2023-02-28T17:24:27.073Z] (51/80) Installing tdb-libs (1.4.6-r0) [2023-02-28T17:24:27.073Z] (52/80) Installing libpulse (15.0-r2) [2023-02-28T17:24:27.073Z] (53/80) Installing cjson (1.7.15-r3) [2023-02-28T17:24:27.073Z] (54/80) Installing mbedtls (2.28.2-r0) [2023-02-28T17:24:27.073Z] (55/80) Installing librist (0.2.6-r1) [2023-02-28T17:24:27.073Z] (56/80) Installing libsrt (1.4.4-r0) [2023-02-28T17:24:27.073Z] (57/80) Installing libssh (0.9.6-r1) [2023-02-28T17:24:27.073Z] (58/80) Installing libtheora (1.1.1-r16) [2023-02-28T17:24:27.073Z] (59/80) Installing libjpeg-turbo (2.1.3-r1) [2023-02-28T17:24:27.073Z] (60/80) Installing v4l-utils-libs (1.22.1-r1) [2023-02-28T17:24:27.073Z] (61/80) Installing libxext (1.3.4-r0) [2023-02-28T17:24:27.073Z] (62/80) Installing libxfixes (6.0.0-r0) [2023-02-28T17:24:27.073Z] (63/80) Installing wayland-libs-client (1.20.0-r0) [2023-02-28T17:24:27.073Z] (64/80) Installing libva (2.14.0-r0) [2023-02-28T17:24:27.073Z] (65/80) Installing libvdpau (1.5-r0) [2023-02-28T17:24:27.073Z] (66/80) Installing vidstab (1.1.0-r1) [2023-02-28T17:24:27.073Z] (67/80) Installing libvpx (1.11.0-r1) [2023-02-28T17:24:27.331Z] (68/80) Installing libwebp (1.2.3-r0) [2023-02-28T17:24:27.331Z] (69/80) Installing x264-libs (0.163_git20210613-r0) [2023-02-28T17:24:27.331Z] (70/80) Installing numactl (2.0.14-r0) [2023-02-28T17:24:27.331Z] (71/80) Installing x265-libs (3.5-r3) [2023-02-28T17:24:27.331Z] (72/80) Installing xvidcore (1.3.7-r1) [2023-02-28T17:24:27.331Z] (73/80) Installing ffmpeg-libs (5.0.1-r1) [2023-02-28T17:24:27.590Z] (74/80) Installing ffmpeg (5.0.1-r1) [2023-02-28T17:24:27.590Z] (75/80) Installing udev-init-scripts (35-r0) [2023-02-28T17:24:27.590Z] Executing udev-init-scripts-35-r0.post-install [2023-02-28T17:24:27.590Z] (76/80) Installing eudev-libs (3.2.11-r0) [2023-02-28T17:24:27.590Z] (77/80) Installing xz-libs (5.2.5-r1) [2023-02-28T17:24:27.590Z] (78/80) Installing zstd-libs (1.5.2-r1) [2023-02-28T17:24:27.590Z] (79/80) Installing kmod-libs (29-r2) [2023-02-28T17:24:27.590Z] (80/80) Installing eudev (3.2.11-r0) [2023-02-28T17:24:27.590Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T17:24:27.590Z] Executing eudev-3.2.11-r0.trigger [2023-02-28T17:24:27.590Z] OK: 100 MiB in 94 packages [2023-02-28T17:24:29.494Z] Removing intermediate container 2e5e28c86f48 [2023-02-28T17:24:29.494Z] ---> 65613d03f636 [2023-02-28T17:24:29.494Z] Step 18/35 : WORKDIR / [2023-02-28T17:24:29.494Z] ---> Running in bf7d1c9b5982 [2023-02-28T17:24:29.494Z] Removing intermediate container bf7d1c9b5982 [2023-02-28T17:24:29.494Z] ---> 852ada2bf44b [2023-02-28T17:24:29.494Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-02-28T17:24:30.062Z] ---> c351c818b094 [2023-02-28T17:24:30.062Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-02-28T17:24:30.062Z] ---> 69335d2f8176 [2023-02-28T17:24:30.062Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-02-28T17:24:30.321Z] ---> 5cfc0fdd0baf [2023-02-28T17:24:30.321Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-02-28T17:24:30.321Z] ---> 21f40c9c4c85 [2023-02-28T17:24:30.321Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-02-28T17:24:30.581Z] ---> 9dda75123d99 [2023-02-28T17:24:30.581Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-02-28T17:24:30.581Z] ---> aec034d86128 [2023-02-28T17:24:30.581Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-02-28T17:24:31.162Z] ---> a5535fc16af9 [2023-02-28T17:24:31.162Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-02-28T17:24:31.162Z] ---> Running in a42ef10c4386 [2023-02-28T17:24:31.731Z] Removing intermediate container a42ef10c4386 [2023-02-28T17:24:31.731Z] ---> 5cc698bc10be [2023-02-28T17:24:31.731Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-02-28T17:24:31.731Z] ---> Running in 8e732a61c891 [2023-02-28T17:24:32.299Z] Removing intermediate container 8e732a61c891 [2023-02-28T17:24:32.299Z] ---> cdbf7d8b8cb2 [2023-02-28T17:24:32.299Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-02-28T17:24:32.299Z] ---> Running in 4f01d588ed70 [2023-02-28T17:24:32.868Z] Removing intermediate container 4f01d588ed70 [2023-02-28T17:24:32.868Z] ---> d7cdcf569954 [2023-02-28T17:24:32.868Z] Step 29/35 : EXPOSE 59983 [2023-02-28T17:24:32.868Z] ---> Running in 28a8225f33fb [2023-02-28T17:24:32.868Z] Removing intermediate container 28a8225f33fb [2023-02-28T17:24:32.868Z] ---> bc1ac70f7be4 [2023-02-28T17:24:32.868Z] Step 30/35 : EXPOSE 8554 [2023-02-28T17:24:32.868Z] ---> Running in 7c088e716a54 [2023-02-28T17:24:33.128Z] Removing intermediate container 7c088e716a54 [2023-02-28T17:24:33.128Z] ---> fcd9eacd76d6 [2023-02-28T17:24:33.128Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-02-28T17:24:33.128Z] ---> Running in 8fdf3797a0af [2023-02-28T17:24:33.128Z] Removing intermediate container 8fdf3797a0af [2023-02-28T17:24:33.128Z] ---> c40073eebe81 [2023-02-28T17:24:33.128Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-02-28T17:24:33.128Z] ---> Running in 654495fdaab7 [2023-02-28T17:24:33.128Z] Removing intermediate container 654495fdaab7 [2023-02-28T17:24:33.128Z] ---> 5e5c83146b8b [2023-02-28T17:24:33.128Z] Step 33/35 : LABEL arch=amd64 [2023-02-28T17:24:33.388Z] ---> Running in f7f92a5f6047 [2023-02-28T17:24:33.388Z] Removing intermediate container f7f92a5f6047 [2023-02-28T17:24:33.388Z] ---> e4dd2b3c605e [2023-02-28T17:24:33.388Z] Step 34/35 : LABEL git_sha=69957f4afac909ec5ce47754bbe40131053e8408 [2023-02-28T17:24:33.388Z] ---> Running in 4b22ec705b81 [2023-02-28T17:24:33.388Z] Removing intermediate container 4b22ec705b81 [2023-02-28T17:24:33.388Z] ---> ba013da66c8b [2023-02-28T17:24:33.388Z] Step 35/35 : LABEL version=0.0.0 [2023-02-28T17:24:33.648Z] ---> Running in 508747ef9c69 [2023-02-28T17:24:33.649Z] Removing intermediate container 508747ef9c69 [2023-02-28T17:24:33.649Z] ---> 70191d04f055 [2023-02-28T17:24:33.649Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T17:24:33.649Z] Successfully built 70191d04f055 [2023-02-28T17:24:33.649Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:24:34.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T17:24:34.553Z] [2023-02-28T17:24:34.553Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:24:34.947Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T17:24:34.947Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-28T17:24:34.947Z] 5eb5b503b376: Pulling fs layer [2023-02-28T17:24:34.947Z] 5c69ac0246d0: Pulling fs layer [2023-02-28T17:24:34.947Z] ec43610c2a17: Pulling fs layer [2023-02-28T17:24:34.947Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-28T17:24:34.947Z] 33b1e0a273af: Pulling fs layer [2023-02-28T17:24:34.947Z] 5d3b04190fa2: Pulling fs layer [2023-02-28T17:24:34.947Z] 2f39f015ded8: Pulling fs layer [2023-02-28T17:24:34.947Z] 5d3b04190fa2: Waiting [2023-02-28T17:24:34.947Z] 3a2ae6a8a46f: Waiting [2023-02-28T17:24:34.947Z] 2f39f015ded8: Waiting [2023-02-28T17:24:34.947Z] 33b1e0a273af: Waiting [2023-02-28T17:24:34.947Z] 5c69ac0246d0: Download complete [2023-02-28T17:24:34.947Z] 3a2ae6a8a46f: Download complete [2023-02-28T17:24:35.206Z] 33b1e0a273af: Verifying Checksum [2023-02-28T17:24:35.206Z] 33b1e0a273af: Download complete [2023-02-28T17:24:35.206Z] 5d3b04190fa2: Verifying Checksum [2023-02-28T17:24:35.206Z] 5d3b04190fa2: Download complete [2023-02-28T17:24:35.206Z] ec43610c2a17: Verifying Checksum [2023-02-28T17:24:35.206Z] ec43610c2a17: Download complete [2023-02-28T17:24:35.206Z] 5eb5b503b376: Verifying Checksum [2023-02-28T17:24:35.206Z] 5eb5b503b376: Download complete [2023-02-28T17:24:35.774Z] 2f39f015ded8: Verifying Checksum [2023-02-28T17:24:35.774Z] 2f39f015ded8: Download complete [2023-02-28T17:24:36.340Z] 5eb5b503b376: Pull complete [2023-02-28T17:24:36.599Z] 5c69ac0246d0: Pull complete [2023-02-28T17:24:36.859Z] ec43610c2a17: Pull complete [2023-02-28T17:24:37.119Z] 3a2ae6a8a46f: Pull complete [2023-02-28T17:24:37.119Z] 33b1e0a273af: Pull complete [2023-02-28T17:24:37.378Z] 5d3b04190fa2: Pull complete [2023-02-28T17:24:41.564Z] 2f39f015ded8: Pull complete [2023-02-28T17:24:41.564Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-28T17:24:41.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T17:24:41.564Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T17:24:41.797Z] prd-ubuntu20.04-docker-8c-8g-7760 does not seem to be running inside a container [2023-02-28T17:24:41.827Z] $ 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-164 -v /w/workspace/foundry_device-usb-camera_PR-164:/w/workspace/foundry_device-usb-camera_PR-164:rw,z -v /w/workspace/foundry_device-usb-camera_PR-164@tmp:/w/workspace/foundry_device-usb-camera_PR-164@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-28T17:24:43.639Z] $ docker top 94640bc6bcfbc3d4d798c67c313368a731b8a3a2471b93f292cfd0a2afad4aa8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:24:44.100Z] ---> job-cost.sh [2023-02-28T17:24:44.100Z] lf-activate-venv: SKIPPING [2023-02-28T17:24:44.100Z] INFO: No Stack... [2023-02-28T17:24:44.667Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T17:24:44.926Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T17:24:45.242Z] + cat /w/workspace/foundry_device-usb-camera_PR-164/archives/cost.csv [2023-02-28T17:24:45.242Z] + cut -d, -f6 [Pipeline] lock [2023-02-28T17:24:45.283Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-164-1-stack-cost] [2023-02-28T17:24:45.288Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-164-1-stack-cost] did not exist. Created. [2023-02-28T17:24:45.288Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T17:24:45.679Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-28T17:24:45.730Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T17:24:45.756Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-164-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T17:24:45.830Z] $ docker stop --time=1 94640bc6bcfbc3d4d798c67c313368a731b8a3a2471b93f292cfd0a2afad4aa8 [2023-02-28T17:24:47.017Z] $ docker rm -f --volumes 94640bc6bcfbc3d4d798c67c313368a731b8a3a2471b93f292cfd0a2afad4aa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-28T17:25:07.372Z] Removing intermediate container c023f9462b95 [2023-02-28T17:25:07.372Z] ---> 46e99bdc7284 [2023-02-28T17:25:07.372Z] Step 11/13 : COPY . . [2023-02-28T17:25:07.372Z] ---> 0f29c65b7806 [2023-02-28T17:25:07.372Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-28T17:25:07.372Z] ---> Running in 61e70b117bdb [2023-02-28T17:25:07.372Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T17:25:07.372Z] Dload Upload Total Spent Left Speed [2023-02-28T17:25:07.372Z] 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062  0 0 13609 0 --:--:-- --:--:-- --:--:-- 13792 [2023-02-28T17:25:07.372Z] Removing intermediate container 61e70b117bdb [2023-02-28T17:25:07.372Z] ---> a8df9c970616 [2023-02-28T17:25:07.372Z] Step 13/13 : RUN ${MAKE} [2023-02-28T17:25:07.372Z] ---> Running in 1d177806a6ba [2023-02-28T17:25:08.335Z] noop [2023-02-28T17:25:08.920Z] Removing intermediate container 1d177806a6ba [2023-02-28T17:25:08.920Z] ---> 237f1d6ba7b2 [2023-02-28T17:25:08.920Z] Successfully built 237f1d6ba7b2 [2023-02-28T17:25:08.920Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:25:09.413Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T17:25:09.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T17:25:09.695Z] prd-ubuntu20.04-docker-arm64-4c-16g-7768 does not seem to be running inside a container [2023-02-28T17:25:09.758Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-28T17:25:10.978Z] $ docker top c21850a16020b531c014d5baaaaaf5bd11a50a834ce23d2e43701b39ab2d0d32 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T17:25:11.889Z] + go version [2023-02-28T17:25:11.889Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-28T17:25:11.922Z] $ docker stop --time=1 c21850a16020b531c014d5baaaaaf5bd11a50a834ce23d2e43701b39ab2d0d32 [2023-02-28T17:25:13.536Z] $ docker rm -f --volumes c21850a16020b531c014d5baaaaaf5bd11a50a834ce23d2e43701b39ab2d0d32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:25:14.423Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T17:25:14.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T17:25:14.678Z] prd-ubuntu20.04-docker-arm64-4c-16g-7768 does not seem to be running inside a container [2023-02-28T17:25:14.737Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-02-28T17:25:15.819Z] $ docker top cbb6c307fcad2e59e99dae823cd1d7ef6e34c41f8c1b871b7bd3cf5ed0f7de5d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T17:25:16.698Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-28T17:25:17.086Z] + make test [2023-02-28T17:25:17.086Z] go test ./... -coverprofile=coverage.out ./... [2023-02-28T17:25:19.032Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-28T17:26:40.694Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-02-28T17:26:44.977Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.065s coverage: 1.9% of statements [2023-02-28T17:26:44.977Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-28T17:26:44.977Z] go vet ./... [2023-02-28T17:27:07.038Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T17:27:07.038Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T17:27:07.038Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T17:27:07.078Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T17:27:07.105Z] $ docker stop --time=1 cbb6c307fcad2e59e99dae823cd1d7ef6e34c41f8c1b871b7bd3cf5ed0f7de5d [2023-02-28T17:27:08.834Z] $ docker rm -f --volumes cbb6c307fcad2e59e99dae823cd1d7ef6e34c41f8c1b871b7bd3cf5ed0f7de5d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T17:27:09.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T17:27:09.837Z] Warning: overwriting stash ‘coverage-report’ [2023-02-28T17:27:10.336Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T17:27:10.930Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T17:27:11.272Z] + ls -al . [2023-02-28T17:27:11.272Z] total 192 [2023-02-28T17:27:11.272Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 28 17:25 . [2023-02-28T17:27:11.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 17:22 .. [2023-02-28T17:27:11.272Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 17:22 .git [2023-02-28T17:27:11.272Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 17:22 .github [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 414 Feb 28 17:22 .gitignore [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 17:22 .golangci.yml [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 77 Feb 28 17:22 .hadolint.yml [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 9660 Feb 28 17:22 Attribution.txt [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 6219 Feb 28 17:22 CHANGELOG.md [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 2328 Feb 28 17:22 Dockerfile [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 28 17:22 GOVERNANCE.md [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 659 Feb 28 17:22 Jenkinsfile [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 28 17:22 LICENSE [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 2329 Feb 28 17:22 Makefile [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 28 17:22 OWNERS.md [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 5934 Feb 28 17:22 README.md [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 17:22 VERSION [2023-02-28T17:27:11.272Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 17:22 bin [2023-02-28T17:27:11.272Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 17:22 cmd [2023-02-28T17:27:11.272Z] -rw-r--r-- 1 jenkins jenkins 30666 Feb 28 17:26 coverage.out [2023-02-28T17:27:11.272Z] -rwxrwxr-x 1 jenkins jenkins 140 Feb 28 17:22 docker-entrypoint.sh [2023-02-28T17:27:11.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 17:22 docs [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 3486 Feb 28 17:22 go.mod [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 33526 Feb 28 17:22 go.sum [2023-02-28T17:27:11.272Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 17:22 internal [2023-02-28T17:27:11.272Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 17:22 snap [2023-02-28T17:27:11.272Z] -rw-rw-r-- 1 jenkins jenkins 231 Feb 28 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:27:11.699Z] + 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=69957f4afac909ec5ce47754bbe40131053e8408 --label arch=arm64 --label version=0.0.0 . [2023-02-28T17:27:11.969Z] Sending build context to Docker daemon 1.192MB [2023-02-28T17:27:11.969Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T17:27:11.969Z] Step 2/35 : FROM ${BASE} AS builder [2023-02-28T17:27:11.969Z] ---> 237f1d6ba7b2 [2023-02-28T17:27:11.969Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-02-28T17:27:12.240Z] ---> Running in aa93b8d568fb [2023-02-28T17:27:12.508Z] Removing intermediate container aa93b8d568fb [2023-02-28T17:27:12.508Z] ---> ae2d81ea3a8e [2023-02-28T17:27:12.508Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T17:27:12.508Z] ---> Running in 7067ff318b62 [2023-02-28T17:27:12.842Z] Removing intermediate container 7067ff318b62 [2023-02-28T17:27:12.842Z] ---> 69c2e077eb86 [2023-02-28T17:27:12.842Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-28T17:27:12.842Z] ---> Running in d58db1959192 [2023-02-28T17:27:13.126Z] Removing intermediate container d58db1959192 [2023-02-28T17:27:13.126Z] ---> 88f2ffd99707 [2023-02-28T17:27:13.126Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-28T17:27:13.396Z] ---> Running in a3697b69d8c3 [2023-02-28T17:27:13.667Z] Removing intermediate container a3697b69d8c3 [2023-02-28T17:27:13.667Z] ---> b6af53b1efb8 [2023-02-28T17:27:13.667Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T17:27:13.667Z] ---> Running in 515bb5182c98 [2023-02-28T17:27:14.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T17:27:14.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T17:27:15.875Z] OK: 228 MiB in 65 packages [2023-02-28T17:27:16.456Z] Removing intermediate container 515bb5182c98 [2023-02-28T17:27:16.456Z] ---> b27da4a7ef60 [2023-02-28T17:27:16.456Z] Step 8/35 : WORKDIR /device-usb-camera [2023-02-28T17:27:16.722Z] ---> Running in 0470235c6c28 [2023-02-28T17:27:16.988Z] Removing intermediate container 0470235c6c28 [2023-02-28T17:27:16.988Z] ---> ff43c6f24692 [2023-02-28T17:27:16.988Z] Step 9/35 : COPY go.mod vendor* ./ [2023-02-28T17:27:17.569Z] ---> ff5c15ce0d91 [2023-02-28T17:27:17.569Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T17:27:17.569Z] ---> Running in 6cb3f39bc6d9 [2023-02-28T17:27:21.819Z] Removing intermediate container 6cb3f39bc6d9 [2023-02-28T17:27:21.819Z] ---> 6044643f4f3d [2023-02-28T17:27:21.819Z] Step 11/35 : COPY . . [2023-02-28T17:27:22.399Z] ---> 518827e83734 [2023-02-28T17:27:22.399Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-28T17:27:22.399Z] ---> Running in cc0949de1fa5 [2023-02-28T17:27:23.358Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T17:27:23.358Z] Dload Upload Total Spent Left Speed [2023-02-28T17:27:23.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 14469  0 --:--:-- --:--:-- --:--:-- 14547 [2023-02-28T17:27:23.950Z] Removing intermediate container cc0949de1fa5 [2023-02-28T17:27:23.951Z] ---> fa94037c9acf [2023-02-28T17:27:23.951Z] Step 13/35 : RUN ${MAKE} [2023-02-28T17:27:24.218Z] ---> Running in 64c4cbefe3cb [2023-02-28T17:27:25.178Z] go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd [2023-02-28T17:29:46.868Z] Removing intermediate container 64c4cbefe3cb [2023-02-28T17:29:46.869Z] ---> 0f772f4524ec [2023-02-28T17:29:46.869Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-02-28T17:29:46.869Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-02-28T17:29:46.869Z] eab2503cf8f4: Pulling fs layer [2023-02-28T17:29:46.869Z] 97cd0a44c592: Pulling fs layer [2023-02-28T17:29:46.869Z] 97cd0a44c592: Verifying Checksum [2023-02-28T17:29:46.869Z] 97cd0a44c592: Download complete [2023-02-28T17:29:46.869Z] eab2503cf8f4: Verifying Checksum [2023-02-28T17:29:46.869Z] eab2503cf8f4: Download complete [2023-02-28T17:29:46.869Z] eab2503cf8f4: Pull complete [2023-02-28T17:29:46.869Z] 97cd0a44c592: Pull complete [2023-02-28T17:29:46.869Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-02-28T17:29:46.869Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-02-28T17:29:46.869Z] ---> 7f763cca56b3 [2023-02-28T17:29:46.869Z] Step 15/35 : FROM alpine:3.16 [2023-02-28T17:29:46.869Z] 3.16: Pulling from library/alpine [2023-02-28T17:29:46.869Z] 3760b48202b3: Pulling fs layer [2023-02-28T17:29:46.869Z] 3760b48202b3: Verifying Checksum [2023-02-28T17:29:46.869Z] 3760b48202b3: Download complete [2023-02-28T17:29:46.869Z] 3760b48202b3: Pull complete [2023-02-28T17:29:46.869Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T17:29:46.869Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T17:29:46.869Z] ---> 4c81e5bf8899 [2023-02-28T17:29:46.869Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-28T17:29:46.869Z] ---> Running in 897ff0ca6e3e [2023-02-28T17:29:46.869Z] Removing intermediate container 897ff0ca6e3e [2023-02-28T17:29:46.869Z] ---> c91cb6adf6a0 [2023-02-28T17:29:46.869Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-02-28T17:29:46.869Z] ---> Running in a94913ddb632 [2023-02-28T17:29:46.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T17:29:46.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T17:29:46.869Z] (1/79) Installing dumb-init (1.2.5-r1) [2023-02-28T17:29:46.869Z] (2/79) Installing sdl2 (2.0.22-r0) [2023-02-28T17:29:46.869Z] (3/79) Installing libxau (1.0.9-r0) [2023-02-28T17:29:46.869Z] (4/79) Installing libxdmcp (1.1.3-r0) [2023-02-28T17:29:46.869Z] (5/79) Installing libxcb (1.15-r0) [2023-02-28T17:29:46.869Z] (6/79) Installing libx11 (1.8-r0) [2023-02-28T17:29:46.869Z] (7/79) Installing aom-libs (3.3.0-r0) [2023-02-28T17:29:46.869Z] (8/79) Installing alsa-lib (1.2.7.2-r0) [2023-02-28T17:29:46.869Z] (9/79) Installing expat (2.5.0-r0) [2023-02-28T17:29:46.869Z] (10/79) Installing brotli-libs (1.0.9-r6) [2023-02-28T17:29:46.869Z] (11/79) Installing libbz2 (1.0.8-r1) [2023-02-28T17:29:46.869Z] (12/79) Installing libpng (1.6.37-r1) [2023-02-28T17:29:46.869Z] (13/79) Installing freetype (2.12.1-r0) [2023-02-28T17:29:46.869Z] (14/79) Installing fontconfig (2.14.0-r0) [2023-02-28T17:29:46.869Z] (15/79) Installing fribidi (1.0.12-r0) [2023-02-28T17:29:46.869Z] (16/79) Installing libffi (3.4.2-r1) [2023-02-28T17:29:46.869Z] (17/79) Installing libintl (0.21-r2) [2023-02-28T17:29:46.869Z] (18/79) Installing libblkid (2.38-r1) [2023-02-28T17:29:46.869Z] (19/79) Installing libmount (2.38-r1) [2023-02-28T17:29:46.869Z] (20/79) Installing pcre (8.45-r2) [2023-02-28T17:29:46.869Z] (21/79) Installing glib (2.72.1-r0) [2023-02-28T17:29:46.869Z] (22/79) Installing graphite2 (1.3.14-r1) [2023-02-28T17:29:46.869Z] (23/79) Installing harfbuzz (4.3.0-r0) [2023-02-28T17:29:46.869Z] (24/79) Installing libass (0.16.0-r0) [2023-02-28T17:29:46.869Z] (25/79) Installing libdav1d (1.0.0-r0) [2023-02-28T17:29:46.869Z] (26/79) Installing libdrm (2.4.110-r0) [2023-02-28T17:29:46.869Z] (27/79) Installing gmp (6.2.1-r2) [2023-02-28T17:29:46.869Z] (28/79) Installing nettle (3.7.3-r0) [2023-02-28T17:29:46.869Z] (29/79) Installing p11-kit (0.24.1-r0) [2023-02-28T17:29:46.869Z] (30/79) Installing libtasn1 (4.18.0-r1) [2023-02-28T17:29:46.869Z] (31/79) Installing libunistring (1.0-r0) [2023-02-28T17:29:46.869Z] (32/79) Installing gnutls (3.7.7-r1) [2023-02-28T17:29:46.869Z] (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-02-28T17:29:46.869Z] (34/79) Installing ncurses-libs (6.3_p20220521-r0) [2023-02-28T17:29:46.869Z] (35/79) Installing lame (3.100-r0) [2023-02-28T17:29:46.869Z] (36/79) Installing opus (1.3.1-r1) [2023-02-28T17:29:46.869Z] (37/79) Installing libasyncns (0.8-r1) [2023-02-28T17:29:46.869Z] (38/79) Installing dbus-libs (1.14.4-r0) [2023-02-28T17:29:46.869Z] (39/79) Installing libltdl (2.4.7-r0) [2023-02-28T17:29:46.869Z] (40/79) Installing orc (0.4.32-r0) [2023-02-28T17:29:46.869Z] (41/79) Installing libgcc (11.2.1_git20220219-r2) [2023-02-28T17:29:46.869Z] (42/79) Installing libogg (1.3.5-r1) [2023-02-28T17:29:46.869Z] (43/79) Installing libstdc++ (11.2.1_git20220219-r2) [2023-02-28T17:29:46.869Z] (44/79) Installing flac (1.3.4-r0) [2023-02-28T17:29:46.869Z] (45/79) Installing libvorbis (1.3.7-r0) [2023-02-28T17:29:46.869Z] (46/79) Installing libsndfile (1.1.0-r0) [2023-02-28T17:29:46.869Z] (47/79) Installing libgomp (11.2.1_git20220219-r2) [2023-02-28T17:29:46.869Z] (48/79) Installing soxr (0.1.3-r2) [2023-02-28T17:29:46.869Z] (49/79) Installing speexdsp (1.2.0-r0) [2023-02-28T17:29:46.869Z] (50/79) Installing tdb-libs (1.4.6-r0) [2023-02-28T17:29:46.869Z] (51/79) Installing libpulse (15.0-r2) [2023-02-28T17:29:46.869Z] (52/79) Installing cjson (1.7.15-r3) [2023-02-28T17:29:46.869Z] (53/79) Installing mbedtls (2.28.2-r0) [2023-02-28T17:29:46.869Z] (54/79) Installing librist (0.2.6-r1) [2023-02-28T17:29:46.869Z] (55/79) Installing libsrt (1.4.4-r0) [2023-02-28T17:29:46.869Z] (56/79) Installing libssh (0.9.6-r1) [2023-02-28T17:29:46.869Z] (57/79) Installing libtheora (1.1.1-r16) [2023-02-28T17:29:46.869Z] (58/79) Installing libjpeg-turbo (2.1.3-r1) [2023-02-28T17:29:46.869Z] (59/79) Installing v4l-utils-libs (1.22.1-r1) [2023-02-28T17:29:46.869Z] (60/79) Installing libxext (1.3.4-r0) [2023-02-28T17:29:46.869Z] (61/79) Installing libxfixes (6.0.0-r0) [2023-02-28T17:29:46.869Z] (62/79) Installing wayland-libs-client (1.20.0-r0) [2023-02-28T17:29:46.869Z] (63/79) Installing libva (2.14.0-r0) [2023-02-28T17:29:46.869Z] (64/79) Installing libvdpau (1.5-r0) [2023-02-28T17:29:46.869Z] (65/79) Installing vidstab (1.1.0-r1) [2023-02-28T17:29:46.869Z] (66/79) Installing libvpx (1.11.0-r1) [2023-02-28T17:29:46.869Z] (67/79) Installing libwebp (1.2.3-r0) [2023-02-28T17:29:46.869Z] (68/79) Installing x264-libs (0.163_git20210613-r0) [2023-02-28T17:29:46.869Z] (69/79) Installing numactl (2.0.14-r0) [2023-02-28T17:29:46.869Z] (70/79) Installing x265-libs (3.5-r3) [2023-02-28T17:29:46.869Z] (71/79) Installing xvidcore (1.3.7-r1) [2023-02-28T17:29:46.869Z] (72/79) Installing ffmpeg-libs (5.0.1-r1) [2023-02-28T17:29:46.869Z] (73/79) Installing ffmpeg (5.0.1-r1) [2023-02-28T17:29:46.869Z] (74/79) Installing udev-init-scripts (35-r0) [2023-02-28T17:29:46.869Z] Executing udev-init-scripts-35-r0.post-install [2023-02-28T17:29:46.869Z] (75/79) Installing eudev-libs (3.2.11-r0) [2023-02-28T17:29:46.869Z] (76/79) Installing xz-libs (5.2.5-r1) [2023-02-28T17:29:46.869Z] (77/79) Installing zstd-libs (1.5.2-r1) [2023-02-28T17:29:46.869Z] (78/79) Installing kmod-libs (29-r2) [2023-02-28T17:29:46.869Z] (79/79) Installing eudev (3.2.11-r0) [2023-02-28T17:29:46.869Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T17:29:46.869Z] Executing eudev-3.2.11-r0.trigger [2023-02-28T17:29:46.869Z] OK: 77 MiB in 93 packages [2023-02-28T17:29:46.869Z] Removing intermediate container a94913ddb632 [2023-02-28T17:29:46.869Z] ---> 889d482b5a39 [2023-02-28T17:29:46.869Z] Step 18/35 : WORKDIR / [2023-02-28T17:29:46.869Z] ---> Running in a22a3d71e4bc [2023-02-28T17:29:46.869Z] Removing intermediate container a22a3d71e4bc [2023-02-28T17:29:46.869Z] ---> 7e6be2a2b64c [2023-02-28T17:29:46.869Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-02-28T17:29:46.869Z] ---> f8d71574da7c [2023-02-28T17:29:46.869Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-02-28T17:29:46.869Z] ---> 64a77b9ab6dc [2023-02-28T17:29:46.869Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-02-28T17:29:47.451Z] ---> 69b34a5fa1fb [2023-02-28T17:29:47.451Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-02-28T17:29:48.038Z] ---> 5e28561a1117 [2023-02-28T17:29:48.038Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-02-28T17:29:48.307Z] ---> 01931939b371 [2023-02-28T17:29:48.307Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-02-28T17:29:48.887Z] ---> fb266afbe121 [2023-02-28T17:29:48.887Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-02-28T17:29:49.846Z] ---> 8cbc382cda14 [2023-02-28T17:29:49.846Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-02-28T17:29:49.846Z] ---> Running in d80677dac747 [2023-02-28T17:29:51.253Z] Removing intermediate container d80677dac747 [2023-02-28T17:29:51.253Z] ---> e1b9186242fe [2023-02-28T17:29:51.253Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-02-28T17:29:51.520Z] ---> Running in dab8a842f080 [2023-02-28T17:29:54.858Z] Removing intermediate container dab8a842f080 [2023-02-28T17:29:54.858Z] ---> ca069c2a1693 [2023-02-28T17:29:54.858Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-02-28T17:29:54.858Z] ---> Running in 8d771ddc40ef [2023-02-28T17:29:56.268Z] Removing intermediate container 8d771ddc40ef [2023-02-28T17:29:56.268Z] ---> 9c535a480e6b [2023-02-28T17:29:56.268Z] Step 29/35 : EXPOSE 59983 [2023-02-28T17:29:56.268Z] ---> Running in 59b73aa65ec5 [2023-02-28T17:29:56.540Z] Removing intermediate container 59b73aa65ec5 [2023-02-28T17:29:56.540Z] ---> 998817b29e01 [2023-02-28T17:29:56.540Z] Step 30/35 : EXPOSE 8554 [2023-02-28T17:29:56.806Z] ---> Running in 9c5eb98f4aaf [2023-02-28T17:29:56.806Z] Removing intermediate container 9c5eb98f4aaf [2023-02-28T17:29:56.806Z] ---> 0f510cf7f28c [2023-02-28T17:29:57.072Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-02-28T17:29:57.072Z] ---> Running in 6967d3f83238 [2023-02-28T17:29:57.339Z] Removing intermediate container 6967d3f83238 [2023-02-28T17:29:57.339Z] ---> 1e6bd823cd13 [2023-02-28T17:29:57.339Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-02-28T17:29:57.339Z] ---> Running in 2f0dbdd5b7c6 [2023-02-28T17:29:57.607Z] Removing intermediate container 2f0dbdd5b7c6 [2023-02-28T17:29:57.607Z] ---> b736a48d6a0b [2023-02-28T17:29:57.607Z] Step 33/35 : LABEL arch=arm64 [2023-02-28T17:29:57.607Z] ---> Running in aa35fae602c9 [2023-02-28T17:29:57.877Z] Removing intermediate container aa35fae602c9 [2023-02-28T17:29:57.877Z] ---> a849803a86c5 [2023-02-28T17:29:57.877Z] Step 34/35 : LABEL git_sha=69957f4afac909ec5ce47754bbe40131053e8408 [2023-02-28T17:29:58.152Z] ---> Running in 25304615f218 [2023-02-28T17:29:58.421Z] Removing intermediate container 25304615f218 [2023-02-28T17:29:58.421Z] ---> 2db613540b5e [2023-02-28T17:29:58.421Z] Step 35/35 : LABEL version=0.0.0 [2023-02-28T17:29:58.421Z] ---> Running in 5952f4a8ba78 [2023-02-28T17:29:58.688Z] Removing intermediate container 5952f4a8ba78 [2023-02-28T17:29:58.688Z] ---> a5f3f2a0aa6f [2023-02-28T17:29:58.688Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T17:29:58.688Z] Successfully built a5f3f2a0aa6f [2023-02-28T17:29:58.688Z] Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:29:59.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T17:29:59.535Z] [2023-02-28T17:29:59.535Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:29:59.949Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T17:29:59.949Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-28T17:29:59.949Z] 8998bd30e6a1: Pulling fs layer [2023-02-28T17:29:59.949Z] 04944245beec: Pulling fs layer [2023-02-28T17:29:59.949Z] 699f458cf7ca: Pulling fs layer [2023-02-28T17:29:59.949Z] 765212b225bb: Pulling fs layer [2023-02-28T17:29:59.949Z] f23df028b6ca: Pulling fs layer [2023-02-28T17:29:59.949Z] d65c8cfc05b1: Pulling fs layer [2023-02-28T17:29:59.949Z] 2437ff75d9bd: Pulling fs layer [2023-02-28T17:29:59.949Z] 2437ff75d9bd: Waiting [2023-02-28T17:29:59.949Z] d65c8cfc05b1: Waiting [2023-02-28T17:29:59.949Z] f23df028b6ca: Waiting [2023-02-28T17:29:59.949Z] 765212b225bb: Waiting [2023-02-28T17:30:00.226Z] 04944245beec: Verifying Checksum [2023-02-28T17:30:00.226Z] 04944245beec: Download complete [2023-02-28T17:30:00.226Z] 765212b225bb: Verifying Checksum [2023-02-28T17:30:00.226Z] 765212b225bb: Download complete [2023-02-28T17:30:00.226Z] f23df028b6ca: Verifying Checksum [2023-02-28T17:30:00.226Z] f23df028b6ca: Download complete [2023-02-28T17:30:00.226Z] d65c8cfc05b1: Download complete [2023-02-28T17:30:00.496Z] 699f458cf7ca: Verifying Checksum [2023-02-28T17:30:00.496Z] 699f458cf7ca: Download complete [2023-02-28T17:30:00.766Z] 8998bd30e6a1: Verifying Checksum [2023-02-28T17:30:00.766Z] 8998bd30e6a1: Download complete [2023-02-28T17:30:03.354Z] 2437ff75d9bd: Verifying Checksum [2023-02-28T17:30:03.354Z] 2437ff75d9bd: Download complete [2023-02-28T17:30:04.772Z] 8998bd30e6a1: Pull complete [2023-02-28T17:30:05.042Z] 04944245beec: Pull complete [2023-02-28T17:30:08.393Z] 699f458cf7ca: Pull complete [2023-02-28T17:30:08.393Z] 765212b225bb: Pull complete [2023-02-28T17:30:08.978Z] f23df028b6ca: Pull complete [2023-02-28T17:30:09.245Z] d65c8cfc05b1: Pull complete [2023-02-28T17:30:24.239Z] 2437ff75d9bd: Pull complete [2023-02-28T17:30:24.239Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-28T17:30:24.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T17:30:24.239Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T17:30:24.562Z] prd-ubuntu20.04-docker-arm64-4c-16g-7768 does not seem to be running inside a container [2023-02-28T17:30:24.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-28T17:30:26.966Z] $ docker top ae2e3480a966e6238a1069018cb536265bb7a9906dfc9dcdfa1ccfea8746a46d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:30:27.553Z] ---> job-cost.sh [2023-02-28T17:30:27.819Z] lf-activate-venv: SKIPPING [2023-02-28T17:30:27.820Z] INFO: No Stack... [2023-02-28T17:30:28.398Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-28T17:30:28.978Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T17:30:29.314Z] + cut -d, -f6 [2023-02-28T17:30:29.314Z] + cat /w/workspace/device-usb-camera/1/archives/cost.csv [Pipeline] lock [2023-02-28T17:30:29.399Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-164-1-stack-cost] [2023-02-28T17:30:29.404Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-164-1-stack-cost] did not exist. Created. [2023-02-28T17:30:29.404Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T17:30:29.806Z] /w/workspace/device-usb-camera/1@tmp/durable-bcb596f4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-28T17:30:30.170Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-28T17:30:30.208Z] Warning: overwriting stash ‘stack-cost’ [2023-02-28T17:30:30.253Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T17:30:30.270Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-164-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T17:30:30.349Z] $ docker stop --time=1 ae2e3480a966e6238a1069018cb536265bb7a9906dfc9dcdfa1ccfea8746a46d [2023-02-28T17:30:31.844Z] $ docker rm -f --volumes ae2e3480a966e6238a1069018cb536265bb7a9906dfc9dcdfa1ccfea8746a46d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-28T17:30:32.904Z] provisioning config files... [2023-02-28T17:30:32.910Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-164@tmp/config14129430458266880251tmp [Pipeline] { [Pipeline] sh [2023-02-28T17:30:33.237Z] + set +x [2023-02-28T17:30:33.237Z] + bash -s -- [2023-02-28T17:30:33.237Z] + curl -s https://codecov.io/bash [2023-02-28T17:30:33.237Z] [2023-02-28T17:30:33.237Z] _____ _ [2023-02-28T17:30:33.237Z] / ____| | | [2023-02-28T17:30:33.237Z] | | ___ __| | ___ ___ _____ __ [2023-02-28T17:30:33.237Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-28T17:30:33.237Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-28T17:30:33.237Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-28T17:30:33.237Z] Bash-1.0.6 [2023-02-28T17:30:33.237Z] [2023-02-28T17:30:33.237Z] [2023-02-28T17:30:33.237Z] ==> git version 2.25.1 found [2023-02-28T17:30:33.237Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-28T17:30:33.237Z] Release-Date: 2020-01-08 [2023-02-28T17:30:33.237Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-28T17:30:33.237Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-28T17:30:33.237Z] ==> Jenkins CI detected. [2023-02-28T17:30:33.237Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-164 [2023-02-28T17:30:33.237Z] project root: . [2023-02-28T17:30:33.237Z] --> token set from env [2023-02-28T17:30:33.237Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-28T17:30:33.237Z] ==> Running gcov in . (disable via -X gcov) [2023-02-28T17:30:33.237Z] ==> Python coveragepy not found [2023-02-28T17:30:33.237Z] ==> Searching for coverage reports in: [2023-02-28T17:30:33.237Z] + . [2023-02-28T17:30:33.237Z] -> Found 1 reports [2023-02-28T17:30:33.237Z] ==> Detecting git/mercurial file structure [2023-02-28T17:30:33.237Z] ==> Reading reports [2023-02-28T17:30:33.237Z] + ./coverage.out bytes=30666 [2023-02-28T17:30:33.237Z] ==> Appending adjustments [2023-02-28T17:30:33.237Z] https://docs.codecov.io/docs/fixing-reports [2023-02-28T17:30:33.496Z] + Found adjustments [2023-02-28T17:30:33.496Z] ==> Gzipping contents [2023-02-28T17:30:33.496Z] 8.0K /tmp/codecov.PFVHd7.gz [2023-02-28T17:30:33.496Z] ==> Uploading reports [2023-02-28T17:30:33.496Z] url: https://codecov.io [2023-02-28T17:30:33.496Z] query: branch=PR-164&commit=69957f4afac909ec5ce47754bbe40131053e8408&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-164%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=164&job=&cmd_args= [2023-02-28T17:30:33.496Z] -> Pinging Codecov [2023-02-28T17:30:33.496Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-164&commit=69957f4afac909ec5ce47754bbe40131053e8408&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-164%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=164&job=&cmd_args= [2023-02-28T17:30:33.756Z] -> Uploading to [2023-02-28T17:30:33.756Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-28/73D8F5FF140700D3E01443B452E23636/69957f4afac909ec5ce47754bbe40131053e8408/0df872be-a3f3-40fe-a4dd-775b2ed264bb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230228T173033Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1ea2cd66336157d56ac0151d00a18efa97d0d949a91f4f5795f73e191ffa7830 [2023-02-28T17:30:33.756Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T17:30:33.756Z] Dload Upload Total Spent Left Speed [2023-02-28T17:30:34.017Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4288 0 0 100 4288 0 20917 --:--:-- --:--:-- --:--:-- 20815 100 4288 0 0 100 4288 0 15259 --:--:-- --:--:-- --:--:-- 15205 [2023-02-28T17:30:34.017Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/69957f4afac909ec5ce47754bbe40131053e8408 [Pipeline] } [2023-02-28T17:30:34.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-28T17:30:35.805Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-164/archives ] [2023-02-28T17:30:35.805Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-164/archives [2023-02-28T17:30:35.805Z] total 16 [2023-02-28T17:30:35.805Z] drwxr-xr-x 3 root root 4096 Feb 28 17:24 . [2023-02-28T17:30:35.805Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 17:24 .. [2023-02-28T17:30:35.805Z] drwxr-xr-x 2 root root 4096 Feb 28 17:24 cost [2023-02-28T17:30:35.805Z] -rw-r--r-- 1 root root 90 Feb 28 17:24 cost.csv [2023-02-28T17:30:35.805Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-164/archives [2023-02-28T17:30:35.805Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-164/archives [2023-02-28T17:30:35.805Z] total 16 [2023-02-28T17:30:35.805Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 17:24 . [2023-02-28T17:30:35.805Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 17:24 .. [2023-02-28T17:30:35.805Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 17:24 cost [2023-02-28T17:30:35.805Z] -rw-r--r-- 1 jenkins jenkins 90 Feb 28 17:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:30:36.131Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:30:37.018Z] ---> package-listing.sh [2023-02-28T17:30:37.019Z] ++ facter osfamily [2023-02-28T17:30:37.019Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-28T17:30:37.277Z] + OS_FAMILY=debian [2023-02-28T17:30:37.277Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-164 [2023-02-28T17:30:37.277Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-28T17:30:37.277Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-28T17:30:37.277Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-28T17:30:37.277Z] + PACKAGES=/tmp/packages_start.txt [2023-02-28T17:30:37.277Z] + '[' /w/workspace/foundry_device-usb-camera_PR-164 ']' [2023-02-28T17:30:37.277Z] + PACKAGES=/tmp/packages_end.txt [2023-02-28T17:30:37.277Z] + case "${OS_FAMILY}" in [2023-02-28T17:30:37.277Z] + dpkg -l [2023-02-28T17:30:37.277Z] + grep '^ii' [2023-02-28T17:30:37.277Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-28T17:30:37.277Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-28T17:30:37.277Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-28T17:30:37.277Z] + '[' /w/workspace/foundry_device-usb-camera_PR-164 ']' [2023-02-28T17:30:37.277Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-164/archives/ [2023-02-28T17:30:37.277Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-164/archives/ [Pipeline] echo [2023-02-28T17:30:37.315Z] 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-164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-28T17:30:37.605Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:30:38.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T17:30:38.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T17:30:38.389Z] prd-ubuntu20.04-docker-8c-8g-7760 does not seem to be running inside a container [2023-02-28T17:30:38.415Z] $ 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-164/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-164 -v /w/workspace/foundry_device-usb-camera_PR-164:/w/workspace/foundry_device-usb-camera_PR-164:rw,z -v /w/workspace/foundry_device-usb-camera_PR-164@tmp:/w/workspace/foundry_device-usb-camera_PR-164@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:latest cat [2023-02-28T17:30:38.641Z] $ docker top 64d6b8dbcb67270149211e38d404d0968e2948dfcd24b95fbe23230741f19568 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T17:30:39.043Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-28T17:30:39.357Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-28T17:30:39.666Z] + ls /var/log/sa-host [2023-02-28T17:30:39.666Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T17:30:39.891Z] provisioning config files... [2023-02-28T17:30:39.900Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-164@tmp/config38655835668802104tmp [Pipeline] { [Pipeline] echo [2023-02-28T17:30:39.949Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:30:40.259Z] ---> create-netrc.sh [Pipeline] } [2023-02-28T17:30:40.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:30:40.697Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-28T17:30:40.734Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:30:41.042Z] ---> sudo-logs.sh [2023-02-28T17:30:41.042Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-28T17:30:41.138Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:30:41.448Z] ---> job-cost.sh [2023-02-28T17:30:41.448Z] lf-activate-venv: SKIPPING [2023-02-28T17:30:41.448Z] DEBUG: total: 0.2199999988079071 [2023-02-28T17:30:41.448Z] INFO: Retrieving Stack Cost... [2023-02-28T17:30:41.707Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T17:30:41.967Z] INFO: Archiving Costs [Pipeline] echo [2023-02-28T17:30:42.001Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:30:42.310Z] ---> logs-deploy.sh [2023-02-28T17:30:42.310Z] lf-activate-venv: SKIPPING [2023-02-28T17:30:42.310Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-164/1 [2023-02-28T17:30:42.310Z] INFO: archiving workspace using pattern(s): [2023-02-28T17:30:43.245Z] Archives upload complete. [2023-02-28T17:30:43.245Z] INFO: archiving logs to Nexus