Pull request #160 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 328ec8f0071a1fedaf20b7e0b34ee71151329e13+87705a392df95c720bda82ac1b9f5f1497326bc3 (f79932c8717feebeb06addcabb679afa381ba17b) 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-ssh11655178410556091948.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-ssh1913708838960488417.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-160/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-160/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh881944306309634548.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9538707135938478112.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-160/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-160/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18180447672908131990.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7770’ Running on prd-ubuntu20.04-docker-8c-8g-7772 in /w/workspace/foundry_device-usb-camera_PR-160 [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-160 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 87705a392df95c720bda82ac1b9f5f1497326bc3 into PR head commit 328ec8f0071a1fedaf20b7e0b34ee71151329e13 Merge succeeded, producing 328ec8f0071a1fedaf20b7e0b34ee71151329e13 Checking out Revision 328ec8f0071a1fedaf20b7e0b34ee71151329e13 (PR-160) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.1 to 1.8.2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-28T17:56:07.543Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-28T17:56:07.603Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-28T17:56:07.617Z] ========================================================= [2023-02-28T17:56:07.617Z] EdgeX Global Pipelines Version Info [2023-02-28T17:56:07.617Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 328ec8f0071a1fedaf20b7e0b34ee71151329e13 # 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 87705a392df95c720bda82ac1b9f5f1497326bc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 328ec8f0071a1fedaf20b7e0b34ee71151329e13 # timeout=10 > git rev-list --no-walk 29b62f61d6e24c415ad6041d279363dba88b3ebb # timeout=10 [2023-02-28T17:56:08.320Z] ------------------- [2023-02-28T17:56:08.320Z] stable info: [2023-02-28T17:56:08.320Z] ------------------- [2023-02-28T17:56:08.320Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-28T17:56:08.320Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T17:56:08.320Z] Message: update stable to v1.0.244 [2023-02-28T17:56:08.892Z] ------------------- [2023-02-28T17:56:08.892Z] experimental info: [2023-02-28T17:56:08.892Z] ------------------- [2023-02-28T17:56:08.892Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-28T17:56:08.892Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-28T17:56:08.892Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-28T17:56:09.052Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-02-28T17:56:09.066Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-02-28T17:56:09.075Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-28T17:56:09.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-28T17:56:09.098Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-28T17:56:09.108Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-28T17:56:09.119Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-28T17:56:09.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-28T17:56:09.145Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-28T17:56:09.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-28T17:56:09.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-28T17:56:09.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-02-28T17:56:09.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-28T17:56:09.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-28T17:56:09.230Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-28T17:56:09.246Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-28T17:56:09.260Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T17:56:09.272Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-28T17:56:09.284Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-28T17:56:09.294Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-28T17:56:09.307Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-28T17:56:09.319Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-28T17:56:09.335Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-28T17:56:09.348Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-28T17:56:09.360Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-28T17:56:09.372Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-28T17:56:09.387Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-28T17:56:09.397Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-160 [Pipeline] echo [2023-02-28T17:56:09.410Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-160 [Pipeline] echo [2023-02-28T17:56:09.425Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-160 [Pipeline] echo [2023-02-28T17:56:09.442Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 328ec8f0071a1fedaf20b7e0b34ee71151329e13 [Pipeline] echo [2023-02-28T17:56:09.452Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 328ec8f [Pipeline] echo [2023-02-28T17:56:09.466Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T17:56:09.505Z] provisioning config files... [2023-02-28T17:56:09.517Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-160@tmp/config2301536850792781163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:56:09.816Z] ---> docker-login.sh [2023-02-28T17:56:09.816Z] nexus3.edgexfoundry.org:10001 [2023-02-28T17:56:10.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:56:10.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:56:10.075Z] Configure a credential helper to remove this warning. See [2023-02-28T17:56:10.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:56:10.075Z] [2023-02-28T17:56:10.075Z] Login Succeeded [2023-02-28T17:56:10.075Z] nexus3.edgexfoundry.org:10002 [2023-02-28T17:56:10.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:56:10.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:56:10.334Z] Configure a credential helper to remove this warning. See [2023-02-28T17:56:10.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:56:10.334Z] [2023-02-28T17:56:10.334Z] Login Succeeded [2023-02-28T17:56:10.334Z] nexus3.edgexfoundry.org:10003 [2023-02-28T17:56:10.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:56:10.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:56:10.334Z] Configure a credential helper to remove this warning. See [2023-02-28T17:56:10.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:56:10.334Z] [2023-02-28T17:56:10.334Z] Login Succeeded [2023-02-28T17:56:10.334Z] nexus3.edgexfoundry.org:10004 [2023-02-28T17:56:10.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:56:10.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:56:10.334Z] Configure a credential helper to remove this warning. See [2023-02-28T17:56:10.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:56:10.334Z] [2023-02-28T17:56:10.334Z] Login Succeeded [2023-02-28T17:56:10.334Z] docker.io [2023-02-28T17:56:10.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:56:10.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:56:10.854Z] Configure a credential helper to remove this warning. See [2023-02-28T17:56:10.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:56:10.854Z] [2023-02-28T17:56:10.854Z] Login Succeeded [2023-02-28T17:56:10.854Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T17:56:10.863Z] 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:56:11.239Z] + git rev-list -1 --merges 328ec8f0071a1fedaf20b7e0b34ee71151329e13~1..328ec8f0071a1fedaf20b7e0b34ee71151329e13 [Pipeline] echo [2023-02-28T17:56:11.284Z] -----------> git rev-list -1 --merges 328ec8f0071a1fedaf20b7e0b34ee71151329e13~1..328ec8f0071a1fedaf20b7e0b34ee71151329e13 328ec8f0071a1fedaf20b7e0b34ee71151329e13 [false] [Pipeline] sh [2023-02-28T17:56:11.570Z] + git log --format=format:%s -1 328ec8f0071a1fedaf20b7e0b34ee71151329e13 [Pipeline] echo [2023-02-28T17:56:11.586Z] ========================================================= [2023-02-28T17:56:11.586Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-28T17:56:11.586Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T17:56:11.918Z] + git log --format=format:%s -1 328ec8f0071a1fedaf20b7e0b34ee71151329e13 [Pipeline] echo [2023-02-28T17:56:11.928Z] [semverPrep] GIT_COMMIT: 328ec8f0071a1fedaf20b7e0b34ee71151329e13, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 [Pipeline] echo [2023-02-28T17:56:11.937Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-28T17:56:12.266Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-28T17:56:12.266Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-28T17:56:12.266Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-28T17:56:12.266Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-28T17:56:12.266Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-28T17:56:12.266Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-28T17:56:12.266Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:56:12.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T17:56:12.624Z] [2023-02-28T17:56:12.624Z] 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:56:12.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T17:56:12.931Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-28T17:56:12.931Z] b85a868b505f: Pulling fs layer [2023-02-28T17:56:12.931Z] e2be974225ed: Pulling fs layer [2023-02-28T17:56:12.931Z] 339a4e72a1f5: Pulling fs layer [2023-02-28T17:56:12.931Z] 988bab9f4d93: Pulling fs layer [2023-02-28T17:56:12.931Z] 1469e6f7b9e6: Pulling fs layer [2023-02-28T17:56:12.931Z] eaf3925da568: Pulling fs layer [2023-02-28T17:56:12.931Z] bab4dde63d76: Pulling fs layer [2023-02-28T17:56:12.931Z] bde34c3a00c8: Pulling fs layer [2023-02-28T17:56:12.931Z] b352a97aabf1: Pulling fs layer [2023-02-28T17:56:12.931Z] 4872d77fe225: Pulling fs layer [2023-02-28T17:56:12.931Z] 5851b861e8e6: Pulling fs layer [2023-02-28T17:56:12.931Z] 988bab9f4d93: Waiting [2023-02-28T17:56:12.931Z] 1469e6f7b9e6: Waiting [2023-02-28T17:56:12.931Z] eaf3925da568: Waiting [2023-02-28T17:56:12.931Z] bab4dde63d76: Waiting [2023-02-28T17:56:12.931Z] b352a97aabf1: Waiting [2023-02-28T17:56:12.931Z] 5851b861e8e6: Waiting [2023-02-28T17:56:12.931Z] 4872d77fe225: Waiting [2023-02-28T17:56:12.931Z] e2be974225ed: Verifying Checksum [2023-02-28T17:56:12.931Z] e2be974225ed: Download complete [2023-02-28T17:56:12.931Z] 988bab9f4d93: Download complete [2023-02-28T17:56:13.191Z] 1469e6f7b9e6: Verifying Checksum [2023-02-28T17:56:13.191Z] 1469e6f7b9e6: Download complete [2023-02-28T17:56:13.191Z] 339a4e72a1f5: Verifying Checksum [2023-02-28T17:56:13.191Z] 339a4e72a1f5: Download complete [2023-02-28T17:56:13.191Z] eaf3925da568: Verifying Checksum [2023-02-28T17:56:13.191Z] eaf3925da568: Download complete [2023-02-28T17:56:13.191Z] bde34c3a00c8: Verifying Checksum [2023-02-28T17:56:13.191Z] bde34c3a00c8: Download complete [2023-02-28T17:56:13.191Z] b352a97aabf1: Download complete [2023-02-28T17:56:13.191Z] 4872d77fe225: Verifying Checksum [2023-02-28T17:56:13.191Z] 4872d77fe225: Download complete [2023-02-28T17:56:13.191Z] 5851b861e8e6: Verifying Checksum [2023-02-28T17:56:13.191Z] 5851b861e8e6: Download complete [2023-02-28T17:56:13.191Z] b85a868b505f: Verifying Checksum [2023-02-28T17:56:13.191Z] b85a868b505f: Download complete [2023-02-28T17:56:13.450Z] bab4dde63d76: Verifying Checksum [2023-02-28T17:56:13.450Z] bab4dde63d76: Download complete [2023-02-28T17:56:14.386Z] b85a868b505f: Pull complete [2023-02-28T17:56:14.645Z] e2be974225ed: Pull complete [2023-02-28T17:56:14.905Z] 339a4e72a1f5: Pull complete [2023-02-28T17:56:15.165Z] 988bab9f4d93: Pull complete [2023-02-28T17:56:15.426Z] 1469e6f7b9e6: Pull complete [2023-02-28T17:56:15.686Z] eaf3925da568: Pull complete [2023-02-28T17:56:17.605Z] bab4dde63d76: Pull complete [2023-02-28T17:56:17.605Z] bde34c3a00c8: Pull complete [2023-02-28T17:56:17.864Z] b352a97aabf1: Pull complete [2023-02-28T17:56:17.864Z] 4872d77fe225: Pull complete [2023-02-28T17:56:18.130Z] 5851b861e8e6: Pull complete [2023-02-28T17:56:18.130Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-28T17:56:18.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-28T17:56:18.130Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T17:56:18.221Z] prd-ubuntu20.04-docker-8c-8g-7772 does not seem to be running inside a container [2023-02-28T17:56:18.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-160 -v /w/workspace/foundry_device-usb-camera_PR-160:/w/workspace/foundry_device-usb-camera_PR-160:rw,z -v /w/workspace/foundry_device-usb-camera_PR-160@tmp:/w/workspace/foundry_device-usb-camera_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-28T17:56:19.902Z] $ docker top acd73bf03bf37aa34717d22719778ed9ee18b3b96056d8c31caf09905761beca -eo pid,comm [2023-02-28T17:56:19.972Z] 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:56:19.972Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-28T17:56:20.010Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T17:56:20.010Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T17:56:20.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T17:56:20.110Z] $ docker exec acd73bf03bf37aa34717d22719778ed9ee18b3b96056d8c31caf09905761beca ssh-agent [2023-02-28T17:56:20.231Z] SSH_AUTH_SOCK=/tmp/ssh-lTRbVlxZbzGK/agent.32 [2023-02-28T17:56:20.231Z] SSH_AGENT_PID=38 [2023-02-28T17:56:20.237Z] Running ssh-add (command line suppressed) [2023-02-28T17:56:20.344Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-160@tmp/private_key_14838700203876207960.key (/w/workspace/foundry_device-usb-camera_PR-160@tmp/private_key_14838700203876207960.key) [2023-02-28T17:56:20.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T17:56:20.652Z] + git tag --points-at HEAD [Pipeline] } [2023-02-28T17:56:20.655Z] $ docker exec --env ******** --env ******** acd73bf03bf37aa34717d22719778ed9ee18b3b96056d8c31caf09905761beca ssh-agent -k [2023-02-28T17:56:20.747Z] unset SSH_AUTH_SOCK; [2023-02-28T17:56:20.748Z] unset SSH_AGENT_PID; [2023-02-28T17:56:20.748Z] echo Agent pid 38 killed; [2023-02-28T17:56:20.769Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-28T17:56:20.798Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-28T17:56:20.798Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-28T17:56:20.917Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-28T17:56:20.911Z] $ docker exec acd73bf03bf37aa34717d22719778ed9ee18b3b96056d8c31caf09905761beca ssh-agent [2023-02-28T17:56:21.102Z] SSH_AUTH_SOCK=/tmp/ssh-kzouWYtvHCXq/agent.71 [2023-02-28T17:56:21.102Z] SSH_AGENT_PID=77 [2023-02-28T17:56:21.117Z] Running ssh-add (command line suppressed) [2023-02-28T17:56:21.208Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-160@tmp/private_key_13738191400363083899.key (/w/workspace/foundry_device-usb-camera_PR-160@tmp/private_key_13738191400363083899.key) [2023-02-28T17:56:21.233Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-28T17:56:21.520Z] + git semver init [2023-02-28T17:56:21.779Z] 2023-02-28 17:56:21,713 [run_init] DEBUG init version:0.0.0 force:False [2023-02-28T17:56:21.779Z] 2023-02-28 17:56:21,714 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-160/.semver [2023-02-28T17:56:21.779Z] 2023-02-28 17:56:21,714 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-160/.semver [2023-02-28T17:56:21.779Z] 2023-02-28 17:56:21,714 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-160/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-160, universal_newlines=False, shell=None, istream=None) [2023-02-28T17:56:23.160Z] 2023-02-28 17:56:22,728 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-160/.git/info/exclude [2023-02-28T17:56:23.160Z] 2023-02-28 17:56:22,729 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-160/.semver/PR-160 with force:False [2023-02-28T17:56:23.160Z] 2023-02-28 17:56:22,729 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-160/.semver/PR-160 [2023-02-28T17:56:23.160Z] 2023-02-28 17:56:22,732 [execute] INFO git cat-file --batch-check [2023-02-28T17:56:23.160Z] 2023-02-28 17:56:22,733 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-160/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T17:56:23.160Z] 2023-02-28 17:56:22,738 [execute] INFO git cat-file --batch [2023-02-28T17:56:23.160Z] 2023-02-28 17:56:22,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-160/.semver, universal_newlines=False, shell=None, istream=) [2023-02-28T17:56:23.160Z] 2023-02-28 17:56:22,744 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-160/.semver/PR-160 [2023-02-28T17:56:23.160Z] 0.0.0 [Pipeline] } [2023-02-28T17:56:23.163Z] $ docker exec --env ******** --env ******** acd73bf03bf37aa34717d22719778ed9ee18b3b96056d8c31caf09905761beca ssh-agent -k [2023-02-28T17:56:23.260Z] unset SSH_AUTH_SOCK; [2023-02-28T17:56:23.260Z] unset SSH_AGENT_PID; [2023-02-28T17:56:23.260Z] echo Agent pid 77 killed; [2023-02-28T17:56:23.278Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-28T17:56:23.590Z] + git semver [Pipeline] } [2023-02-28T17:56:23.855Z] $ docker stop --time=1 acd73bf03bf37aa34717d22719778ed9ee18b3b96056d8c31caf09905761beca [2023-02-28T17:56:25.304Z] $ docker rm -f --volumes acd73bf03bf37aa34717d22719778ed9ee18b3b96056d8c31caf09905761beca [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T17:56:25.660Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-28T17:56:25.907Z] Stashed 1 file(s) [Pipeline] echo [2023-02-28T17:56:25.909Z] [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:56:26.041Z] provisioning config files... [2023-02-28T17:56:26.048Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-160@tmp/config4526715080322981307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:56:26.344Z] ---> docker-login.sh [2023-02-28T17:56:26.344Z] nexus3.edgexfoundry.org:10001 [2023-02-28T17:56:26.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:56:26.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:56:26.344Z] Configure a credential helper to remove this warning. See [2023-02-28T17:56:26.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:56:26.344Z] [2023-02-28T17:56:26.344Z] Login Succeeded [2023-02-28T17:56:26.344Z] nexus3.edgexfoundry.org:10002 [2023-02-28T17:56:26.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:56:26.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:56:26.344Z] Configure a credential helper to remove this warning. See [2023-02-28T17:56:26.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:56:26.344Z] [2023-02-28T17:56:26.344Z] Login Succeeded [2023-02-28T17:56:26.344Z] nexus3.edgexfoundry.org:10003 [2023-02-28T17:56:26.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:56:26.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:56:26.602Z] Configure a credential helper to remove this warning. See [2023-02-28T17:56:26.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:56:26.602Z] [2023-02-28T17:56:26.602Z] Login Succeeded [2023-02-28T17:56:26.602Z] nexus3.edgexfoundry.org:10004 [2023-02-28T17:56:26.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:56:26.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:56:26.602Z] Configure a credential helper to remove this warning. See [2023-02-28T17:56:26.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:56:26.602Z] [2023-02-28T17:56:26.602Z] Login Succeeded [2023-02-28T17:56:26.602Z] docker.io [2023-02-28T17:56:26.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:56:26.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:56:26.861Z] Configure a credential helper to remove this warning. See [2023-02-28T17:56:26.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:56:26.861Z] [2023-02-28T17:56:26.861Z] Login Succeeded [2023-02-28T17:56:26.861Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T17:56:27.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T17:56:27.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T17:56:27.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T17:56:27.214Z] ========================================================= [2023-02-28T17:56:27.214Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-28T17:56:27.214Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:56:27.532Z] + 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:56:27.532Z] Sending build context to Docker daemon 1.752MB [2023-02-28T17:56:27.532Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T17:56:27.532Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-28T17:56:27.532Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-28T17:56:27.532Z] 213ec9aee27d: Pulling fs layer [2023-02-28T17:56:27.532Z] 4583459ba037: Pulling fs layer [2023-02-28T17:56:27.532Z] 93c1e223e6f2: Pulling fs layer [2023-02-28T17:56:27.532Z] 53926ce57604: Pulling fs layer [2023-02-28T17:56:27.532Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-28T17:56:27.532Z] 22ff95d597cd: Pulling fs layer [2023-02-28T17:56:27.532Z] 21b2b0c7a3f4: Waiting [2023-02-28T17:56:27.532Z] 12d6caf4c0d1: Pulling fs layer [2023-02-28T17:56:27.532Z] 96b7cbca73a9: Pulling fs layer [2023-02-28T17:56:27.532Z] a7acece74701: Pulling fs layer [2023-02-28T17:56:27.532Z] 53926ce57604: Waiting [2023-02-28T17:56:27.532Z] 22ff95d597cd: Waiting [2023-02-28T17:56:27.532Z] 12d6caf4c0d1: Waiting [2023-02-28T17:56:27.532Z] 96b7cbca73a9: Waiting [2023-02-28T17:56:27.532Z] a7acece74701: Waiting [2023-02-28T17:56:27.532Z] 93c1e223e6f2: Verifying Checksum [2023-02-28T17:56:27.532Z] 93c1e223e6f2: Download complete [2023-02-28T17:56:27.532Z] 4583459ba037: Download complete [2023-02-28T17:56:27.532Z] 21b2b0c7a3f4: Download complete [2023-02-28T17:56:27.532Z] 22ff95d597cd: Verifying Checksum [2023-02-28T17:56:27.532Z] 22ff95d597cd: Download complete [2023-02-28T17:56:27.793Z] 213ec9aee27d: Verifying Checksum [2023-02-28T17:56:27.793Z] 213ec9aee27d: Download complete [2023-02-28T17:56:27.793Z] 12d6caf4c0d1: Verifying Checksum [2023-02-28T17:56:27.793Z] 12d6caf4c0d1: Download complete [2023-02-28T17:56:27.793Z] 213ec9aee27d: Pull complete [2023-02-28T17:56:28.063Z] 4583459ba037: Pull complete [2023-02-28T17:56:28.063Z] 93c1e223e6f2: Pull complete [2023-02-28T17:56:28.644Z] a7acece74701: Verifying Checksum [2023-02-28T17:56:28.644Z] a7acece74701: Download complete [2023-02-28T17:56:28.644Z] 53926ce57604: Verifying Checksum [2023-02-28T17:56:28.644Z] 53926ce57604: Download complete [2023-02-28T17:56:28.644Z] 96b7cbca73a9: Verifying Checksum [2023-02-28T17:56:28.644Z] 96b7cbca73a9: Download complete [2023-02-28T17:56:32.826Z] 53926ce57604: Pull complete [2023-02-28T17:56:32.826Z] 21b2b0c7a3f4: Pull complete [2023-02-28T17:56:33.086Z] 22ff95d597cd: Pull complete [2023-02-28T17:56:33.344Z] 12d6caf4c0d1: Pull complete [2023-02-28T17:56:35.878Z] 96b7cbca73a9: Pull complete [2023-02-28T17:56:36.814Z] a7acece74701: Pull complete [2023-02-28T17:56:36.814Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-28T17:56:37.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-28T17:56:37.073Z] ---> db6d94c90886 [2023-02-28T17:56:37.073Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-28T17:56:40.991Z] Still waiting to schedule task [2023-02-28T17:56:40.991Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7773’ is offline [2023-02-28T17:56:43.661Z] ---> Running in 15da6f848893 [2023-02-28T17:56:43.661Z] Removing intermediate container 15da6f848893 [2023-02-28T17:56:43.661Z] ---> a45ca85fd253 [2023-02-28T17:56:43.661Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T17:56:43.919Z] ---> Running in b7b81db6e933 [2023-02-28T17:56:44.179Z] Removing intermediate container b7b81db6e933 [2023-02-28T17:56:44.179Z] ---> ee3f29c29384 [2023-02-28T17:56:44.179Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-28T17:56:44.748Z] ---> Running in 06d9685e2bae [2023-02-28T17:56:45.334Z] Removing intermediate container 06d9685e2bae [2023-02-28T17:56:45.334Z] ---> 05badf1a6df2 [2023-02-28T17:56:45.334Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-28T17:56:45.903Z] ---> Running in 91a948471cd8 [2023-02-28T17:56:46.475Z] Removing intermediate container 91a948471cd8 [2023-02-28T17:56:46.475Z] ---> 26222c463f4f [2023-02-28T17:56:46.475Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T17:56:47.042Z] ---> Running in 21a854e8ea71 [2023-02-28T17:56:47.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T17:56:47.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T17:56:48.133Z] (1/80) Installing mesa (21.3.9-r0) [2023-02-28T17:56:48.133Z] (2/80) Installing libxau (1.0.9-r0) [2023-02-28T17:56:48.133Z] (3/80) Installing libxdmcp (1.1.3-r0) [2023-02-28T17:56:48.133Z] (4/80) Installing libxcb (1.15-r0) [2023-02-28T17:56:48.133Z] (5/80) Installing libx11 (1.8-r0) [2023-02-28T17:56:48.133Z] (6/80) Installing libxext (1.3.4-r0) [2023-02-28T17:56:48.133Z] (7/80) Installing libxfixes (6.0.0-r0) [2023-02-28T17:56:48.133Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2023-02-28T17:56:48.133Z] (9/80) Installing libpciaccess (0.16-r0) [2023-02-28T17:56:48.133Z] (10/80) Installing libdrm (2.4.110-r0) [2023-02-28T17:56:48.133Z] (11/80) Installing mesa-glapi (21.3.9-r0) [2023-02-28T17:56:48.133Z] (12/80) Installing libxshmfence (1.3-r1) [2023-02-28T17:56:48.133Z] (13/80) Installing mesa-gl (21.3.9-r0) [2023-02-28T17:56:48.133Z] (14/80) Installing icu-data-full (71.1-r2) [2023-02-28T17:56:48.393Z] (15/80) Installing libice (1.0.10-r0) [2023-02-28T17:56:48.393Z] (16/80) Installing libuuid (2.38-r1) [2023-02-28T17:56:48.393Z] (17/80) Installing libsm (1.2.3-r0) [2023-02-28T17:56:48.393Z] (18/80) Installing libxt (1.2.1-r0) [2023-02-28T17:56:48.393Z] (19/80) Installing libxmu (1.1.3-r0) [2023-02-28T17:56:48.393Z] (20/80) Installing xset (1.2.4-r0) [2023-02-28T17:56:48.393Z] (21/80) Installing xprop (1.2.5-r0) [2023-02-28T17:56:48.393Z] (22/80) Installing xdg-utils (1.1.3-r3) [2023-02-28T17:56:48.393Z] (23/80) Installing dbus-libs (1.14.4-r0) [2023-02-28T17:56:48.393Z] (24/80) Installing libffi (3.4.2-r1) [2023-02-28T17:56:48.393Z] (25/80) Installing libintl (0.21-r2) [2023-02-28T17:56:48.393Z] (26/80) Installing libblkid (2.38-r1) [2023-02-28T17:56:48.393Z] (27/80) Installing libmount (2.38-r1) [2023-02-28T17:56:48.393Z] (28/80) Installing pcre (8.45-r2) [2023-02-28T17:56:48.393Z] (29/80) Installing glib (2.72.1-r0) [2023-02-28T17:56:48.393Z] (30/80) Installing icu-libs (71.1-r2) [2023-02-28T17:56:48.393Z] (31/80) Installing libpcre2-16 (10.40-r0) [2023-02-28T17:56:48.393Z] (32/80) Installing zstd-libs (1.5.2-r1) [2023-02-28T17:56:48.393Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) [2023-02-28T17:56:48.652Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2023-02-28T17:56:48.652Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2023-02-28T17:56:48.652Z] (36/80) Installing mesa-gbm (21.3.9-r0) [2023-02-28T17:56:48.652Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2023-02-28T17:56:48.652Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) [2023-02-28T17:56:48.652Z] (39/80) Installing libxcomposite (0.4.5-r0) [2023-02-28T17:56:48.652Z] (40/80) Installing libbz2 (1.0.8-r1) [2023-02-28T17:56:48.652Z] (41/80) Installing libpng (1.6.37-r1) [2023-02-28T17:56:48.652Z] (42/80) Installing freetype (2.12.1-r0) [2023-02-28T17:56:48.652Z] (43/80) Installing fontconfig (2.14.0-r0) [2023-02-28T17:56:48.652Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2023-02-28T17:56:48.652Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2023-02-28T17:56:48.652Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2023-02-28T17:56:48.652Z] (47/80) Installing xz-libs (5.2.5-r1) [2023-02-28T17:56:48.652Z] (48/80) Installing libxml2 (2.9.14-r2) [2023-02-28T17:56:48.911Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2023-02-28T17:56:48.911Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2023-02-28T17:56:48.911Z] (51/80) Installing mesa-egl (21.3.9-r0) [2023-02-28T17:56:48.911Z] (52/80) Installing avahi-libs (0.8-r6) [2023-02-28T17:56:48.911Z] (53/80) Installing nettle (3.7.3-r0) [2023-02-28T17:56:48.911Z] (54/80) Installing p11-kit (0.24.1-r0) [2023-02-28T17:56:48.911Z] (55/80) Installing libtasn1 (4.18.0-r1) [2023-02-28T17:56:48.911Z] (56/80) Installing libunistring (1.0-r0) [2023-02-28T17:56:48.911Z] (57/80) Installing gnutls (3.7.7-r1) [2023-02-28T17:56:48.911Z] (58/80) Installing cups-libs (2.4.2-r0) [2023-02-28T17:56:48.911Z] (59/80) Installing graphite2 (1.3.14-r1) [2023-02-28T17:56:48.911Z] (60/80) Installing harfbuzz (4.3.0-r0) [2023-02-28T17:56:48.911Z] (61/80) Installing libevdev (1.12.1-r0) [2023-02-28T17:56:48.911Z] (62/80) Installing mtdev (1.1.6-r0) [2023-02-28T17:56:48.911Z] (63/80) Installing eudev-libs (3.2.11-r0) [2023-02-28T17:56:48.911Z] (64/80) Installing libinput-libs (1.20.1-r0) [2023-02-28T17:56:48.911Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2023-02-28T17:56:48.911Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2023-02-28T17:56:48.911Z] (67/80) Installing xcb-util (0.4.0-r3) [2023-02-28T17:56:48.911Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2023-02-28T17:56:48.911Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2023-02-28T17:56:48.911Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2023-02-28T17:56:48.911Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2023-02-28T17:56:48.911Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) [2023-02-28T17:56:49.169Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2023-02-28T17:56:49.169Z] (74/80) Installing v4l-utils (1.22.1-r1) [2023-02-28T17:56:49.169Z] (75/80) Installing udev-init-scripts (35-r0) [2023-02-28T17:56:49.169Z] Executing udev-init-scripts-35-r0.post-install [2023-02-28T17:56:49.169Z] (76/80) Installing kmod-libs (29-r2) [2023-02-28T17:56:49.169Z] (77/80) Installing eudev (3.2.11-r0) [2023-02-28T17:56:49.169Z] (78/80) Installing eudev-dev (3.2.11-r0) [2023-02-28T17:56:49.169Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-28T17:56:49.169Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2023-02-28T17:56:49.169Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T17:56:49.169Z] Executing eudev-3.2.11-r0.trigger [2023-02-28T17:56:49.169Z] OK: 331 MiB in 131 packages [2023-02-28T17:56:52.509Z] Removing intermediate container 21a854e8ea71 [2023-02-28T17:56:52.509Z] ---> c2abb8cebe37 [2023-02-28T17:56:52.509Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-28T17:56:52.509Z] ---> Running in fe6e62324d8f [2023-02-28T17:56:52.768Z] Removing intermediate container fe6e62324d8f [2023-02-28T17:56:52.768Z] ---> 309b2194ecd7 [2023-02-28T17:56:52.768Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-28T17:56:52.768Z] ---> 6f931cc0cb85 [2023-02-28T17:56:52.768Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T17:56:52.768Z] ---> Running in d68f9714a964 [2023-02-28T17:57:19.331Z] Removing intermediate container d68f9714a964 [2023-02-28T17:57:19.331Z] ---> 4d09f5d3393f [2023-02-28T17:57:19.331Z] Step 11/13 : COPY . . [2023-02-28T17:57:19.331Z] ---> 6d4fdb0004bd [2023-02-28T17:57:19.331Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-28T17:57:19.331Z] ---> Running in 450d9ee38f33 [2023-02-28T17:57:19.331Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T17:57:19.331Z] Dload Upload Total Spent Left Speed [2023-02-28T17:57:19.331Z] 0  0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 50125 0 --:--:-- --:--:-- --:--:-- 50571 [2023-02-28T17:57:19.331Z] Removing intermediate container 450d9ee38f33 [2023-02-28T17:57:19.331Z] ---> 2692d10cd2d1 [2023-02-28T17:57:19.331Z] Step 13/13 : RUN ${MAKE} [2023-02-28T17:57:19.331Z] ---> Running in d54b7f6dc30f [2023-02-28T17:57:19.331Z] noop [2023-02-28T17:57:19.331Z] Removing intermediate container d54b7f6dc30f [2023-02-28T17:57:19.331Z] ---> 822ae8ca0e36 [2023-02-28T17:57:19.331Z] Successfully built 822ae8ca0e36 [2023-02-28T17:57:19.331Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:57:19.640Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T17:57:19.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T17:57:19.714Z] prd-ubuntu20.04-docker-8c-8g-7772 does not seem to be running inside a container [2023-02-28T17:57:19.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-160 -v /w/workspace/foundry_device-usb-camera_PR-160:/w/workspace/foundry_device-usb-camera_PR-160:rw,z -v /w/workspace/foundry_device-usb-camera_PR-160@tmp:/w/workspace/foundry_device-usb-camera_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-28T17:57:20.141Z] $ docker top 0010f6c2e09eee0975dcd39fb762a13fb739b525b06474ee3f2e84954eb32f1e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T17:57:20.461Z] + go version [2023-02-28T17:57:20.461Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-28T17:57:20.477Z] $ docker stop --time=1 0010f6c2e09eee0975dcd39fb762a13fb739b525b06474ee3f2e84954eb32f1e [2023-02-28T17:57:21.757Z] $ docker rm -f --volumes 0010f6c2e09eee0975dcd39fb762a13fb739b525b06474ee3f2e84954eb32f1e [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:57:22.158Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-28T17:57:22.158Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T17:57:22.229Z] prd-ubuntu20.04-docker-8c-8g-7772 does not seem to be running inside a container [2023-02-28T17:57:22.265Z] $ 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-160 -v /w/workspace/foundry_device-usb-camera_PR-160:/w/workspace/foundry_device-usb-camera_PR-160:rw,z -v /w/workspace/foundry_device-usb-camera_PR-160@tmp:/w/workspace/foundry_device-usb-camera_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-28T17:57:22.604Z] $ docker top 49196a17d1f1f47c2c0f19cd1dcedebb0ee6f6efc9976b9a29f5b7bcbec2d83d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T17:57:22.954Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-160 [Pipeline] fileExists [Pipeline] sh [2023-02-28T17:57:23.248Z] + make test [2023-02-28T17:57:23.248Z] go test ./... -coverprofile=coverage.out ./... [2023-02-28T17:57:23.507Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-28T17:57:33.472Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-02-28T17:57:33.472Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 1.9% of statements [2023-02-28T17:57:38.728Z] 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:57:38.728Z] go vet ./... [2023-02-28T17:57:42.010Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T17:57:42.010Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T17:57:42.010Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T17:57:42.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T17:57:42.045Z] $ docker stop --time=1 49196a17d1f1f47c2c0f19cd1dcedebb0ee6f6efc9976b9a29f5b7bcbec2d83d [2023-02-28T17:57:44.031Z] $ docker rm -f --volumes 49196a17d1f1f47c2c0f19cd1dcedebb0ee6f6efc9976b9a29f5b7bcbec2d83d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T17:57:44.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T17:57:44.577Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-28T17:57:44.974Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T17:57:45.258Z] + ls -al . [2023-02-28T17:57:45.258Z] total 196 [2023-02-28T17:57:45.258Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 28 17:57 . [2023-02-28T17:57:45.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 17:56 .. [2023-02-28T17:57:45.258Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 17:57 .git [2023-02-28T17:57:45.258Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 17:56 .github [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 414 Feb 28 17:56 .gitignore [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 17:56 .golangci.yml [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 77 Feb 28 17:56 .hadolint.yml [2023-02-28T17:57:45.258Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 17:56 .semver [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 9660 Feb 28 17:56 Attribution.txt [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 6219 Feb 28 17:56 CHANGELOG.md [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 2328 Feb 28 17:56 Dockerfile [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 28 17:56 GOVERNANCE.md [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 659 Feb 28 17:56 Jenkinsfile [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 28 17:56 LICENSE [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 2329 Feb 28 17:56 Makefile [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 28 17:56 OWNERS.md [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 5934 Feb 28 17:56 README.md [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 17:56 VERSION [2023-02-28T17:57:45.258Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 17:56 bin [2023-02-28T17:57:45.258Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 17:56 cmd [2023-02-28T17:57:45.258Z] -rw-r--r-- 1 jenkins jenkins 30666 Feb 28 17:57 coverage.out [2023-02-28T17:57:45.258Z] -rwxrwxr-x 1 jenkins jenkins 140 Feb 28 17:56 docker-entrypoint.sh [2023-02-28T17:57:45.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 17:56 docs [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 3486 Feb 28 17:56 go.mod [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 33526 Feb 28 17:56 go.sum [2023-02-28T17:57:45.258Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 17:56 internal [2023-02-28T17:57:45.258Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 17:56 snap [2023-02-28T17:57:45.258Z] -rw-rw-r-- 1 jenkins jenkins 231 Feb 28 17:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:57:45.561Z] + 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=328ec8f0071a1fedaf20b7e0b34ee71151329e13 --label arch=amd64 --label version=0.0.0 . [2023-02-28T17:57:45.561Z] Sending build context to Docker daemon 1.783MB [2023-02-28T17:57:45.561Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T17:57:45.561Z] Step 2/35 : FROM ${BASE} AS builder [2023-02-28T17:57:45.561Z] ---> 822ae8ca0e36 [2023-02-28T17:57:45.561Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-02-28T17:57:45.561Z] ---> Running in ffa444b8dce1 [2023-02-28T17:57:45.820Z] Removing intermediate container ffa444b8dce1 [2023-02-28T17:57:45.820Z] ---> 3999e18e1530 [2023-02-28T17:57:45.820Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T17:57:45.820Z] ---> Running in ada0649b7532 [2023-02-28T17:57:45.820Z] Removing intermediate container ada0649b7532 [2023-02-28T17:57:45.820Z] ---> 8ceb3684052c [2023-02-28T17:57:45.820Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-28T17:57:45.820Z] ---> Running in 7e3c313b86d4 [2023-02-28T17:57:46.079Z] Removing intermediate container 7e3c313b86d4 [2023-02-28T17:57:46.079Z] ---> b96fe999ae8b [2023-02-28T17:57:46.079Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-28T17:57:46.079Z] ---> Running in 7b15dc943a92 [2023-02-28T17:57:46.079Z] Removing intermediate container 7b15dc943a92 [2023-02-28T17:57:46.079Z] ---> 464a98b0b16b [2023-02-28T17:57:46.079Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T17:57:46.079Z] ---> Running in 48233aab8b6b [2023-02-28T17:57:46.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T17:57:46.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T17:57:46.906Z] OK: 331 MiB in 131 packages [2023-02-28T17:57:47.165Z] Removing intermediate container 48233aab8b6b [2023-02-28T17:57:47.165Z] ---> ca481d721b3e [2023-02-28T17:57:47.165Z] Step 8/35 : WORKDIR /device-usb-camera [2023-02-28T17:57:47.433Z] ---> Running in 30827a77ba4e [2023-02-28T17:57:47.433Z] Removing intermediate container 30827a77ba4e [2023-02-28T17:57:47.433Z] ---> becd8ec46d1b [2023-02-28T17:57:47.433Z] Step 9/35 : COPY go.mod vendor* ./ [2023-02-28T17:57:47.433Z] ---> 4aa22e44d7a1 [2023-02-28T17:57:47.433Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T17:57:47.692Z] ---> Running in 55459ec88f8f [2023-02-28T17:57:48.629Z] Removing intermediate container 55459ec88f8f [2023-02-28T17:57:48.629Z] ---> 573bd7810fc3 [2023-02-28T17:57:48.629Z] Step 11/35 : COPY . . [2023-02-28T17:57:48.629Z] ---> 187523c07840 [2023-02-28T17:57:48.629Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-28T17:57:48.629Z] ---> Running in 798378c52cbe [2023-02-28T17:57:49.195Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T17:57:49.195Z] Dload Upload Total Spent Left Speed [2023-02-28T17:57:49.195Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100  1062   0    0 56483    0 --:--:-- --:--:-- --:--:-- 59000 [2023-02-28T17:57:49.453Z] Removing intermediate container 798378c52cbe [2023-02-28T17:57:49.453Z] ---> e05744ebd7f7 [2023-02-28T17:57:49.453Z] Step 13/35 : RUN ${MAKE} [2023-02-28T17:57:49.453Z] ---> Running in 2b5e9d1748e8 [2023-02-28T17:57:50.017Z] 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:58:11.930Z] Removing intermediate container 2b5e9d1748e8 [2023-02-28T17:58:11.930Z] ---> cae3f8fb3edf [2023-02-28T17:58:11.930Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-02-28T17:58:11.930Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-02-28T17:58:11.930Z] af6660deedbd: Pulling fs layer [2023-02-28T17:58:11.930Z] 97cd0a44c592: Pulling fs layer [2023-02-28T17:58:11.930Z] 97cd0a44c592: Download complete [2023-02-28T17:58:11.930Z] af6660deedbd: Verifying Checksum [2023-02-28T17:58:11.930Z] af6660deedbd: Download complete [2023-02-28T17:58:11.930Z] af6660deedbd: Pull complete [2023-02-28T17:58:11.930Z] 97cd0a44c592: Pull complete [2023-02-28T17:58:11.930Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-02-28T17:58:11.930Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-02-28T17:58:11.930Z] ---> fea57e182299 [2023-02-28T17:58:11.930Z] Step 15/35 : FROM alpine:3.16 [2023-02-28T17:58:11.930Z] 3.16: Pulling from library/alpine [2023-02-28T17:58:11.930Z] ef5531b6e74e: Pulling fs layer [2023-02-28T17:58:11.930Z] ef5531b6e74e: Verifying Checksum [2023-02-28T17:58:11.930Z] ef5531b6e74e: Pull complete [2023-02-28T17:58:11.930Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T17:58:11.930Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T17:58:11.930Z] ---> dfd21b5a31f5 [2023-02-28T17:58:11.930Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-28T17:58:11.930Z] ---> Running in 58610cf2f67c [2023-02-28T17:58:11.930Z] Removing intermediate container 58610cf2f67c [2023-02-28T17:58:11.930Z] ---> 8aa6a68fa25e [2023-02-28T17:58:11.930Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-02-28T17:58:11.930Z] ---> Running in 9390b0cea7c9 [2023-02-28T17:58:11.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-28T17:58:11.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-28T17:58:11.930Z] (1/80) Installing dumb-init (1.2.5-r1) [2023-02-28T17:58:11.930Z] (2/80) Installing sdl2 (2.0.22-r0) [2023-02-28T17:58:11.930Z] (3/80) Installing libxau (1.0.9-r0) [2023-02-28T17:58:11.930Z] (4/80) Installing libxdmcp (1.1.3-r0) [2023-02-28T17:58:11.930Z] (5/80) Installing libxcb (1.15-r0) [2023-02-28T17:58:11.930Z] (6/80) Installing libx11 (1.8-r0) [2023-02-28T17:58:11.930Z] (7/80) Installing aom-libs (3.3.0-r0) [2023-02-28T17:58:11.930Z] (8/80) Installing alsa-lib (1.2.7.2-r0) [2023-02-28T17:58:11.930Z] (9/80) Installing expat (2.5.0-r0) [2023-02-28T17:58:11.930Z] (10/80) Installing brotli-libs (1.0.9-r6) [2023-02-28T17:58:11.930Z] (11/80) Installing libbz2 (1.0.8-r1) [2023-02-28T17:58:11.930Z] (12/80) Installing libpng (1.6.37-r1) [2023-02-28T17:58:11.930Z] (13/80) Installing freetype (2.12.1-r0) [2023-02-28T17:58:11.930Z] (14/80) Installing fontconfig (2.14.0-r0) [2023-02-28T17:58:11.930Z] (15/80) Installing fribidi (1.0.12-r0) [2023-02-28T17:58:11.930Z] (16/80) Installing libffi (3.4.2-r1) [2023-02-28T17:58:11.930Z] (17/80) Installing libintl (0.21-r2) [2023-02-28T17:58:11.930Z] (18/80) Installing libblkid (2.38-r1) [2023-02-28T17:58:11.930Z] (19/80) Installing libmount (2.38-r1) [2023-02-28T17:58:11.930Z] (20/80) Installing pcre (8.45-r2) [2023-02-28T17:58:11.930Z] (21/80) Installing glib (2.72.1-r0) [2023-02-28T17:58:11.930Z] (22/80) Installing graphite2 (1.3.14-r1) [2023-02-28T17:58:11.930Z] (23/80) Installing harfbuzz (4.3.0-r0) [2023-02-28T17:58:11.930Z] (24/80) Installing libass (0.16.0-r0) [2023-02-28T17:58:11.930Z] (25/80) Installing libdav1d (1.0.0-r0) [2023-02-28T17:58:11.930Z] (26/80) Installing libpciaccess (0.16-r0) [2023-02-28T17:58:11.930Z] (27/80) Installing libdrm (2.4.110-r0) [2023-02-28T17:58:11.930Z] (28/80) Installing gmp (6.2.1-r2) [2023-02-28T17:58:11.930Z] (29/80) Installing nettle (3.7.3-r0) [2023-02-28T17:58:11.930Z] (30/80) Installing p11-kit (0.24.1-r0) [2023-02-28T17:58:11.930Z] (31/80) Installing libtasn1 (4.18.0-r1) [2023-02-28T17:58:11.930Z] (32/80) Installing libunistring (1.0-r0) [2023-02-28T17:58:11.930Z] (33/80) Installing gnutls (3.7.7-r1) [2023-02-28T17:58:11.930Z] (34/80) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-02-28T17:58:11.930Z] (35/80) Installing ncurses-libs (6.3_p20220521-r0) [2023-02-28T17:58:11.930Z] (36/80) Installing lame (3.100-r0) [2023-02-28T17:58:11.930Z] (37/80) Installing opus (1.3.1-r1) [2023-02-28T17:58:11.930Z] (38/80) Installing libasyncns (0.8-r1) [2023-02-28T17:58:11.930Z] (39/80) Installing dbus-libs (1.14.4-r0) [2023-02-28T17:58:11.930Z] (40/80) Installing libltdl (2.4.7-r0) [2023-02-28T17:58:11.930Z] (41/80) Installing orc (0.4.32-r0) [2023-02-28T17:58:11.930Z] (42/80) Installing libgcc (11.2.1_git20220219-r2) [2023-02-28T17:58:11.930Z] (43/80) Installing libogg (1.3.5-r1) [2023-02-28T17:58:11.930Z] (44/80) Installing libstdc++ (11.2.1_git20220219-r2) [2023-02-28T17:58:11.930Z] (45/80) Installing flac (1.3.4-r0) [2023-02-28T17:58:11.930Z] (46/80) Installing libvorbis (1.3.7-r0) [2023-02-28T17:58:11.930Z] (47/80) Installing libsndfile (1.1.0-r0) [2023-02-28T17:58:11.930Z] (48/80) Installing libgomp (11.2.1_git20220219-r2) [2023-02-28T17:58:11.930Z] (49/80) Installing soxr (0.1.3-r2) [2023-02-28T17:58:11.930Z] (50/80) Installing speexdsp (1.2.0-r0) [2023-02-28T17:58:11.930Z] (51/80) Installing tdb-libs (1.4.6-r0) [2023-02-28T17:58:11.930Z] (52/80) Installing libpulse (15.0-r2) [2023-02-28T17:58:11.930Z] (53/80) Installing cjson (1.7.15-r3) [2023-02-28T17:58:11.930Z] (54/80) Installing mbedtls (2.28.2-r0) [2023-02-28T17:58:11.930Z] (55/80) Installing librist (0.2.6-r1) [2023-02-28T17:58:11.930Z] (56/80) Installing libsrt (1.4.4-r0) [2023-02-28T17:58:11.930Z] (57/80) Installing libssh (0.9.6-r1) [2023-02-28T17:58:11.930Z] (58/80) Installing libtheora (1.1.1-r16) [2023-02-28T17:58:11.930Z] (59/80) Installing libjpeg-turbo (2.1.3-r1) [2023-02-28T17:58:11.930Z] (60/80) Installing v4l-utils-libs (1.22.1-r1) [2023-02-28T17:58:11.930Z] (61/80) Installing libxext (1.3.4-r0) [2023-02-28T17:58:11.930Z] (62/80) Installing libxfixes (6.0.0-r0) [2023-02-28T17:58:11.930Z] (63/80) Installing wayland-libs-client (1.20.0-r0) [2023-02-28T17:58:11.930Z] (64/80) Installing libva (2.14.0-r0) [2023-02-28T17:58:11.930Z] (65/80) Installing libvdpau (1.5-r0) [2023-02-28T17:58:11.930Z] (66/80) Installing vidstab (1.1.0-r1) [2023-02-28T17:58:11.930Z] (67/80) Installing libvpx (1.11.0-r1) [2023-02-28T17:58:11.930Z] (68/80) Installing libwebp (1.2.3-r0) [2023-02-28T17:58:11.930Z] (69/80) Installing x264-libs (0.163_git20210613-r0) [2023-02-28T17:58:12.188Z] (70/80) Installing numactl (2.0.14-r0) [2023-02-28T17:58:12.188Z] (71/80) Installing x265-libs (3.5-r3) [2023-02-28T17:58:12.188Z] (72/80) Installing xvidcore (1.3.7-r1) [2023-02-28T17:58:12.188Z] (73/80) Installing ffmpeg-libs (5.0.1-r1) [2023-02-28T17:58:12.188Z] (74/80) Installing ffmpeg (5.0.1-r1) [2023-02-28T17:58:12.446Z] (75/80) Installing udev-init-scripts (35-r0) [2023-02-28T17:58:12.446Z] Executing udev-init-scripts-35-r0.post-install [2023-02-28T17:58:12.446Z] (76/80) Installing eudev-libs (3.2.11-r0) [2023-02-28T17:58:12.446Z] (77/80) Installing xz-libs (5.2.5-r1) [2023-02-28T17:58:12.446Z] (78/80) Installing zstd-libs (1.5.2-r1) [2023-02-28T17:58:12.446Z] (79/80) Installing kmod-libs (29-r2) [2023-02-28T17:58:12.446Z] (80/80) Installing eudev (3.2.11-r0) [2023-02-28T17:58:12.446Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T17:58:12.446Z] Executing eudev-3.2.11-r0.trigger [2023-02-28T17:58:12.446Z] OK: 100 MiB in 94 packages [2023-02-28T17:58:14.356Z] Removing intermediate container 9390b0cea7c9 [2023-02-28T17:58:14.356Z] ---> 7f88a652bd74 [2023-02-28T17:58:14.356Z] Step 18/35 : WORKDIR / [2023-02-28T17:58:14.356Z] ---> Running in 35b5dc106ccd [2023-02-28T17:58:14.356Z] Removing intermediate container 35b5dc106ccd [2023-02-28T17:58:14.356Z] ---> 9bd3d2e2b0da [2023-02-28T17:58:14.356Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-02-28T17:58:14.615Z] ---> 3ebcc03e01f0 [2023-02-28T17:58:14.615Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-02-28T17:58:14.874Z] ---> 7be51303ee0b [2023-02-28T17:58:14.874Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-02-28T17:58:14.874Z] ---> cb2c5b1b5a74 [2023-02-28T17:58:14.874Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-02-28T17:58:15.133Z] ---> b58ba2ed164b [2023-02-28T17:58:15.133Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-02-28T17:58:15.133Z] ---> a61865105a2e [2023-02-28T17:58:15.133Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-02-28T17:58:15.392Z] ---> 9a59ef2ac3a4 [2023-02-28T17:58:15.392Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-02-28T17:58:15.959Z] ---> 9f0ad6d6d097 [2023-02-28T17:58:15.959Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-02-28T17:58:15.959Z] ---> Running in 4e6c63fbb86e [2023-02-28T17:58:16.524Z] Removing intermediate container 4e6c63fbb86e [2023-02-28T17:58:16.524Z] ---> f9a11aeeb6f9 [2023-02-28T17:58:16.524Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-02-28T17:58:16.524Z] ---> Running in e07da74ff61f [2023-02-28T17:58:17.091Z] Removing intermediate container e07da74ff61f [2023-02-28T17:58:17.091Z] ---> 08d4b24e36d9 [2023-02-28T17:58:17.091Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-02-28T17:58:17.091Z] ---> Running in 58af04a8ab09 [2023-02-28T17:58:17.656Z] Removing intermediate container 58af04a8ab09 [2023-02-28T17:58:17.656Z] ---> d8602cb0bd15 [2023-02-28T17:58:17.656Z] Step 29/35 : EXPOSE 59983 [2023-02-28T17:58:17.915Z] ---> Running in 548a705ff70f [2023-02-28T17:58:17.915Z] Removing intermediate container 548a705ff70f [2023-02-28T17:58:17.915Z] ---> a31ff84ad5cb [2023-02-28T17:58:17.915Z] Step 30/35 : EXPOSE 8554 [2023-02-28T17:58:17.915Z] ---> Running in 2b72e21d5639 [2023-02-28T17:58:17.915Z] Removing intermediate container 2b72e21d5639 [2023-02-28T17:58:17.915Z] ---> 0d5e683beb6e [2023-02-28T17:58:17.915Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-02-28T17:58:18.175Z] ---> Running in 28cf0dd427b4 [2023-02-28T17:58:18.175Z] Removing intermediate container 28cf0dd427b4 [2023-02-28T17:58:18.175Z] ---> a45c68cc94bd [2023-02-28T17:58:18.175Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-02-28T17:58:18.175Z] ---> Running in 9cfda25b82e2 [2023-02-28T17:58:18.175Z] Removing intermediate container 9cfda25b82e2 [2023-02-28T17:58:18.175Z] ---> a57ea9efaab9 [2023-02-28T17:58:18.175Z] Step 33/35 : LABEL arch=amd64 [2023-02-28T17:58:18.433Z] ---> Running in ef7f8885cba3 [2023-02-28T17:58:18.433Z] Removing intermediate container ef7f8885cba3 [2023-02-28T17:58:18.433Z] ---> d28aec7bb3f0 [2023-02-28T17:58:18.433Z] Step 34/35 : LABEL git_sha=328ec8f0071a1fedaf20b7e0b34ee71151329e13 [2023-02-28T17:58:18.433Z] ---> Running in 062b1d1ffe26 [2023-02-28T17:58:18.433Z] Removing intermediate container 062b1d1ffe26 [2023-02-28T17:58:18.433Z] ---> c74c086c696a [2023-02-28T17:58:18.433Z] Step 35/35 : LABEL version=0.0.0 [2023-02-28T17:58:18.691Z] ---> Running in 0de090e0feb1 [2023-02-28T17:58:18.692Z] Removing intermediate container 0de090e0feb1 [2023-02-28T17:58:18.692Z] ---> bc0624773f85 [2023-02-28T17:58:18.692Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T17:58:18.692Z] Successfully built bc0624773f85 [2023-02-28T17:58:18.692Z] 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:58:19.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T17:58:19.160Z] [2023-02-28T17:58:19.160Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:58:19.457Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T17:58:19.457Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-28T17:58:19.457Z] 5eb5b503b376: Pulling fs layer [2023-02-28T17:58:19.457Z] 5c69ac0246d0: Pulling fs layer [2023-02-28T17:58:19.458Z] ec43610c2a17: Pulling fs layer [2023-02-28T17:58:19.458Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-28T17:58:19.458Z] 33b1e0a273af: Pulling fs layer [2023-02-28T17:58:19.458Z] 5d3b04190fa2: Pulling fs layer [2023-02-28T17:58:19.458Z] 2f39f015ded8: Pulling fs layer [2023-02-28T17:58:19.458Z] 5d3b04190fa2: Waiting [2023-02-28T17:58:19.458Z] 33b1e0a273af: Waiting [2023-02-28T17:58:19.458Z] 2f39f015ded8: Waiting [2023-02-28T17:58:19.458Z] 3a2ae6a8a46f: Waiting [2023-02-28T17:58:19.458Z] 5c69ac0246d0: Verifying Checksum [2023-02-28T17:58:19.458Z] 5c69ac0246d0: Download complete [2023-02-28T17:58:19.458Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-28T17:58:19.458Z] 3a2ae6a8a46f: Download complete [2023-02-28T17:58:19.717Z] 33b1e0a273af: Verifying Checksum [2023-02-28T17:58:19.717Z] 33b1e0a273af: Download complete [2023-02-28T17:58:19.717Z] 5d3b04190fa2: Download complete [2023-02-28T17:58:19.717Z] ec43610c2a17: Verifying Checksum [2023-02-28T17:58:19.717Z] ec43610c2a17: Download complete [2023-02-28T17:58:19.717Z] 5eb5b503b376: Download complete [2023-02-28T17:58:20.283Z] 2f39f015ded8: Download complete [2023-02-28T17:58:20.852Z] 5eb5b503b376: Pull complete [2023-02-28T17:58:20.852Z] 5c69ac0246d0: Pull complete [2023-02-28T17:58:21.420Z] ec43610c2a17: Pull complete [2023-02-28T17:58:21.420Z] 3a2ae6a8a46f: Pull complete [2023-02-28T17:58:21.678Z] 33b1e0a273af: Pull complete [2023-02-28T17:58:21.678Z] 5d3b04190fa2: Pull complete [2023-02-28T17:58:25.859Z] 2f39f015ded8: Pull complete [2023-02-28T17:58:25.859Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-28T17:58:25.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T17:58:25.859Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T17:58:25.943Z] prd-ubuntu20.04-docker-8c-8g-7772 does not seem to be running inside a container [2023-02-28T17:58:25.982Z] $ 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-160 -v /w/workspace/foundry_device-usb-camera_PR-160:/w/workspace/foundry_device-usb-camera_PR-160:rw,z -v /w/workspace/foundry_device-usb-camera_PR-160@tmp:/w/workspace/foundry_device-usb-camera_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-28T17:58:27.719Z] $ docker top dbda3952883edcbea022547103873d42c6373aff6d6cf47dd762db32fd6ed464 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:58:28.093Z] ---> job-cost.sh [2023-02-28T17:58:28.093Z] lf-activate-venv: SKIPPING [2023-02-28T17:58:28.093Z] INFO: No Stack... [2023-02-28T17:58:28.350Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T17:58:28.609Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T17:58:28.897Z] + cat /w/workspace/foundry_device-usb-camera_PR-160/archives/cost.csv [2023-02-28T17:58:28.897Z] + cut -d, -f6 [Pipeline] lock [2023-02-28T17:58:28.912Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-160-3-stack-cost] [2023-02-28T17:58:28.921Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-160-3-stack-cost] did not exist. Created. [2023-02-28T17:58:28.921Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-160-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T17:58:29.220Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-28T17:58:29.256Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T17:58:29.262Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-160-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T17:58:29.288Z] $ docker stop --time=1 dbda3952883edcbea022547103873d42c6373aff6d6cf47dd762db32fd6ed464 [2023-02-28T17:58:30.459Z] $ docker rm -f --volumes dbda3952883edcbea022547103873d42c6373aff6d6cf47dd762db32fd6ed464 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-28T17:58:43.647Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7778 in /w/workspace/foundry_device-usb-camera_PR-160 [Pipeline] { [Pipeline] ws [2023-02-28T17:58:43.660Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2023-02-28T17:58:43.698Z] Selected Git installation does not exist. Using Default [2023-02-28T17:58:43.698Z] The recommended git tool is: NONE [2023-02-28T17:58:49.877Z] using credential edgex-jenkins-ssh [2023-02-28T17:58:49.904Z] Cloning the remote Git repository [2023-02-28T17:58:49.967Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-02-28T17:58:50.068Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2023-02-28T17:58:50.266Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-28T17:58:50.267Z] > git --version # timeout=10 [2023-02-28T17:58:50.295Z] > git --version # 'git version 2.25.1' [2023-02-28T17:58:50.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T17:58:50.379Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T17:58:51.248Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-28T17:58:51.271Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-28T17:58:52.335Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-02-28T17:58:52.394Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-02-28T17:58:52.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T17:58:52.417Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-28T17:58:53.022Z] Merging remotes/origin/main commit 87705a392df95c720bda82ac1b9f5f1497326bc3 into PR head commit 328ec8f0071a1fedaf20b7e0b34ee71151329e13 [2023-02-28T17:58:53.304Z] Merge succeeded, producing 328ec8f0071a1fedaf20b7e0b34ee71151329e13 [2023-02-28T17:58:53.305Z] Checking out Revision 328ec8f0071a1fedaf20b7e0b34ee71151329e13 (PR-160) [2023-02-28T17:58:53.927Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.1 to 1.8.2" [2023-02-28T17:58:53.047Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T17:58:53.073Z] > git checkout -f 328ec8f0071a1fedaf20b7e0b34ee71151329e13 # timeout=10 [2023-02-28T17:58:53.173Z] > git remote # timeout=10 [2023-02-28T17:58:53.197Z] > git config --get remote.origin.url # timeout=10 [2023-02-28T17:58:53.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-28T17:58:53.252Z] > git merge 87705a392df95c720bda82ac1b9f5f1497326bc3 # timeout=10 [2023-02-28T17:58:53.285Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-28T17:58:53.315Z] > git config core.sparsecheckout # timeout=10 [2023-02-28T17:58:53.341Z] > git checkout -f 328ec8f0071a1fedaf20b7e0b34ee71151329e13 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T17:58:54.867Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-28T17:58:54.867Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T17:58:54.867Z] Dload Upload Total Spent Left Speed [2023-02-28T17:58:54.867Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh [2023-02-28T17:58:55.617Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-28T17:58:55.974Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-28T17:58:55.974Z] + sudo tee /etc/docker/daemon.new [2023-02-28T17:58:55.974Z] { [2023-02-28T17:58:55.974Z] "registry-mirrors": [ [2023-02-28T17:58:55.974Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-28T17:58:55.974Z] ], [2023-02-28T17:58:55.974Z] "bip": "10.250.0.254/24", [2023-02-28T17:58:55.974Z] "hosts": [ [2023-02-28T17:58:55.974Z] "tcp://0.0.0.0:5555", [2023-02-28T17:58:55.974Z] "unix:///var/run/docker.sock" [2023-02-28T17:58:55.974Z] ], [2023-02-28T17:58:55.974Z] "mtu": 1458, [2023-02-28T17:58:55.974Z] "selinux-enabled": true, [2023-02-28T17:58:55.974Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-28T17:58:55.974Z] } [Pipeline] sh [2023-02-28T17:58:56.356Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-28T17:58:56.696Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T17:59:15.008Z] provisioning config files... [2023-02-28T17:59:15.042Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config2758919612666005172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T17:59:15.416Z] ---> docker-login.sh [2023-02-28T17:59:15.416Z] nexus3.edgexfoundry.org:10001 [2023-02-28T17:59:16.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:59:16.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:59:16.006Z] Configure a credential helper to remove this warning. See [2023-02-28T17:59:16.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:59:16.006Z] [2023-02-28T17:59:16.006Z] Login Succeeded [2023-02-28T17:59:16.006Z] nexus3.edgexfoundry.org:10002 [2023-02-28T17:59:16.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:59:16.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:59:16.545Z] Configure a credential helper to remove this warning. See [2023-02-28T17:59:16.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:59:16.545Z] [2023-02-28T17:59:16.545Z] Login Succeeded [2023-02-28T17:59:16.545Z] nexus3.edgexfoundry.org:10003 [2023-02-28T17:59:16.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:59:16.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:59:16.815Z] Configure a credential helper to remove this warning. See [2023-02-28T17:59:16.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:59:16.815Z] [2023-02-28T17:59:16.815Z] Login Succeeded [2023-02-28T17:59:16.815Z] nexus3.edgexfoundry.org:10004 [2023-02-28T17:59:17.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:59:17.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:59:17.360Z] Configure a credential helper to remove this warning. See [2023-02-28T17:59:17.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:59:17.360Z] [2023-02-28T17:59:17.360Z] Login Succeeded [2023-02-28T17:59:17.360Z] docker.io [2023-02-28T17:59:17.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-28T17:59:17.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-28T17:59:17.900Z] Configure a credential helper to remove this warning. See [2023-02-28T17:59:17.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-28T17:59:17.900Z] [2023-02-28T17:59:17.900Z] Login Succeeded [2023-02-28T17:59:17.900Z] ---> docker-login.sh ends [Pipeline] } [2023-02-28T17:59:17.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-28T17:59:18.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T17:59:18.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-28T17:59:18.244Z] ========================================================= [2023-02-28T17:59:18.244Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-28T17:59:18.244Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T17:59:18.604Z] + 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:59:18.877Z] Sending build context to Docker daemon 1.137MB [2023-02-28T17:59:18.877Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T17:59:18.877Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-28T17:59:19.166Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-28T17:59:19.166Z] 9b18e9b68314: Pulling fs layer [2023-02-28T17:59:19.166Z] 35d82f9e3411: Pulling fs layer [2023-02-28T17:59:19.166Z] e16973657156: Pulling fs layer [2023-02-28T17:59:19.166Z] fc693d55d65f: Pulling fs layer [2023-02-28T17:59:19.166Z] 7e9fc2657dce: Pulling fs layer [2023-02-28T17:59:19.166Z] dda99020689f: Pulling fs layer [2023-02-28T17:59:19.166Z] db1c61fa0a46: Pulling fs layer [2023-02-28T17:59:19.166Z] 891c053d2c06: Pulling fs layer [2023-02-28T17:59:19.166Z] 7e9fc2657dce: Waiting [2023-02-28T17:59:19.166Z] dda99020689f: Waiting [2023-02-28T17:59:19.166Z] db1c61fa0a46: Waiting [2023-02-28T17:59:19.166Z] 891c053d2c06: Waiting [2023-02-28T17:59:19.166Z] fc693d55d65f: Waiting [2023-02-28T17:59:19.166Z] e16973657156: Verifying Checksum [2023-02-28T17:59:19.166Z] e16973657156: Download complete [2023-02-28T17:59:19.166Z] 35d82f9e3411: Verifying Checksum [2023-02-28T17:59:19.166Z] 35d82f9e3411: Download complete [2023-02-28T17:59:19.166Z] 7e9fc2657dce: Verifying Checksum [2023-02-28T17:59:19.166Z] 7e9fc2657dce: Download complete [2023-02-28T17:59:19.166Z] dda99020689f: Verifying Checksum [2023-02-28T17:59:19.166Z] dda99020689f: Download complete [2023-02-28T17:59:19.166Z] 9b18e9b68314: Verifying Checksum [2023-02-28T17:59:19.166Z] 9b18e9b68314: Download complete [2023-02-28T17:59:20.162Z] 9b18e9b68314: Pull complete [2023-02-28T17:59:20.437Z] 891c053d2c06: Verifying Checksum [2023-02-28T17:59:20.437Z] 891c053d2c06: Download complete [2023-02-28T17:59:20.709Z] 35d82f9e3411: Pull complete [2023-02-28T17:59:20.982Z] e16973657156: Pull complete [2023-02-28T17:59:21.593Z] db1c61fa0a46: Verifying Checksum [2023-02-28T17:59:21.593Z] db1c61fa0a46: Download complete [2023-02-28T17:59:22.180Z] fc693d55d65f: Verifying Checksum [2023-02-28T17:59:22.181Z] fc693d55d65f: Download complete [2023-02-28T17:59:34.536Z] fc693d55d65f: Pull complete [2023-02-28T17:59:34.536Z] 7e9fc2657dce: Pull complete [2023-02-28T17:59:34.536Z] dda99020689f: Pull complete [2023-02-28T17:59:39.896Z] db1c61fa0a46: Pull complete [2023-02-28T17:59:40.869Z] 891c053d2c06: Pull complete [2023-02-28T17:59:40.869Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-28T17:59:40.869Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-28T17:59:40.869Z] ---> f96f9c87975a [2023-02-28T17:59:40.869Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-28T17:59:42.827Z] ---> Running in 0e9d6828f5bb [2023-02-28T17:59:43.191Z] Removing intermediate container 0e9d6828f5bb [2023-02-28T17:59:43.191Z] ---> f9df4d0362e7 [2023-02-28T17:59:43.191Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T17:59:43.469Z] ---> Running in 7d2c78b1ad2f [2023-02-28T17:59:43.753Z] Removing intermediate container 7d2c78b1ad2f [2023-02-28T17:59:43.753Z] ---> c8c1a0b32413 [2023-02-28T17:59:43.753Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-28T17:59:43.753Z] ---> Running in 7b185ba1c994 [2023-02-28T17:59:44.347Z] Removing intermediate container 7b185ba1c994 [2023-02-28T17:59:44.347Z] ---> bf01fe5b14d3 [2023-02-28T17:59:44.347Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-28T17:59:44.347Z] ---> Running in 9482f4c1bcf9 [2023-02-28T17:59:44.629Z] Removing intermediate container 9482f4c1bcf9 [2023-02-28T17:59:44.629Z] ---> 350d4ee9568c [2023-02-28T17:59:44.629Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T17:59:44.629Z] ---> Running in 4092f93630e4 [2023-02-28T17:59:46.044Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T17:59:46.312Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T17:59:47.281Z] (1/14) Installing libintl (0.21-r2) [2023-02-28T17:59:47.281Z] (2/14) Installing eudev-libs (3.2.11-r0) [2023-02-28T17:59:47.281Z] (3/14) Installing libjpeg-turbo (2.1.3-r1) [2023-02-28T17:59:47.281Z] (4/14) Installing v4l-utils-libs (1.22.1-r1) [2023-02-28T17:59:47.281Z] (5/14) Installing v4l-utils (1.22.1-r1) [2023-02-28T17:59:47.552Z] (6/14) Installing udev-init-scripts (35-r0) [2023-02-28T17:59:47.552Z] Executing udev-init-scripts-35-r0.post-install [2023-02-28T17:59:47.552Z] (7/14) Installing libblkid (2.38-r1) [2023-02-28T17:59:47.552Z] (8/14) Installing xz-libs (5.2.5-r1) [2023-02-28T17:59:47.552Z] (9/14) Installing zstd-libs (1.5.2-r1) [2023-02-28T17:59:47.552Z] (10/14) Installing kmod-libs (29-r2) [2023-02-28T17:59:47.552Z] (11/14) Installing eudev (3.2.11-r0) [2023-02-28T17:59:47.552Z] (12/14) Installing eudev-dev (3.2.11-r0) [2023-02-28T17:59:47.552Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) [2023-02-28T17:59:47.552Z] (14/14) Installing v4l-utils-dev (1.22.1-r1) [2023-02-28T17:59:47.552Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T17:59:47.826Z] Executing eudev-3.2.11-r0.trigger [2023-02-28T17:59:47.826Z] OK: 228 MiB in 65 packages [2023-02-28T17:59:49.264Z] Removing intermediate container 4092f93630e4 [2023-02-28T17:59:49.264Z] ---> 52b4306b98ba [2023-02-28T17:59:49.264Z] Step 8/13 : WORKDIR /device-usb-camera [2023-02-28T17:59:49.264Z] ---> Running in ccd11eca7152 [2023-02-28T17:59:49.861Z] Removing intermediate container ccd11eca7152 [2023-02-28T17:59:49.861Z] ---> ed9b3f5905c8 [2023-02-28T17:59:49.861Z] Step 9/13 : COPY go.mod vendor* ./ [2023-02-28T17:59:50.456Z] ---> 90c8988a00a9 [2023-02-28T17:59:50.456Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T17:59:50.732Z] ---> Running in 72da140abb8d [2023-02-28T18:01:12.459Z] Removing intermediate container 72da140abb8d [2023-02-28T18:01:12.459Z] ---> ac73427818a7 [2023-02-28T18:01:12.459Z] Step 11/13 : COPY . . [2023-02-28T18:01:12.459Z] ---> 79402ce47b52 [2023-02-28T18:01:12.459Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-28T18:01:12.459Z] ---> Running in 9ac1ab71c72a [2023-02-28T18:01:12.459Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T18:01:12.459Z] Dload Upload Total Spent Left Speed [2023-02-28T18:01:12.459Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6144 0 --:--:-- --:--:-- --:--:-- 6138 100 1062 100 1062 0 0 6120 0 --:--:-- --:--:-- --:--:-- 6103 [2023-02-28T18:01:12.459Z] Removing intermediate container 9ac1ab71c72a [2023-02-28T18:01:12.459Z] ---> 20b1b5161464 [2023-02-28T18:01:12.459Z] Step 13/13 : RUN ${MAKE} [2023-02-28T18:01:12.459Z] ---> Running in cfc9d5384735 [2023-02-28T18:01:12.459Z] noop [2023-02-28T18:01:12.459Z] Removing intermediate container cfc9d5384735 [2023-02-28T18:01:12.459Z] ---> 501cb31a5a73 [2023-02-28T18:01:12.459Z] Successfully built 501cb31a5a73 [2023-02-28T18:01:12.459Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:01:12.817Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T18:01:12.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T18:01:13.037Z] prd-ubuntu20.04-docker-arm64-4c-16g-7778 does not seem to be running inside a container [2023-02-28T18:01:13.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-28T18:01:14.480Z] $ docker top 359ab623c6ffbc418c523e68cc69f122775037a5b4c17b84f766562f107e390b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T18:01:15.350Z] + go version [2023-02-28T18:01:15.350Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-28T18:01:15.373Z] $ docker stop --time=1 359ab623c6ffbc418c523e68cc69f122775037a5b4c17b84f766562f107e390b [2023-02-28T18:01:17.025Z] $ docker rm -f --volumes 359ab623c6ffbc418c523e68cc69f122775037a5b4c17b84f766562f107e390b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:01:17.560Z] + docker inspect -f . ci-base-image-arm64 [2023-02-28T18:01:17.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T18:01:17.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-7778 does not seem to be running inside a container [2023-02-28T18:01:17.820Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-28T18:01:19.010Z] $ docker top 6818d489d5ed30ab625ca7f953112083c0a0ca091c96790a7e6165dc4dcd4892 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T18:01:19.867Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-02-28T18:01:20.527Z] + make test [2023-02-28T18:01:20.527Z] go test ./... -coverprofile=coverage.out ./... [2023-02-28T18:01:22.476Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-02-28T18:02:59.184Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-02-28T18:03:02.532Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.071s coverage: 1.9% of statements [2023-02-28T18:03:03.118Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-28T18:03:03.118Z] go vet ./... [2023-02-28T18:03:35.375Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-28T18:03:35.375Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-28T18:03:35.375Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-28T18:03:35.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-28T18:03:35.412Z] $ docker stop --time=1 6818d489d5ed30ab625ca7f953112083c0a0ca091c96790a7e6165dc4dcd4892 [2023-02-28T18:03:37.373Z] $ docker rm -f --volumes 6818d489d5ed30ab625ca7f953112083c0a0ca091c96790a7e6165dc4dcd4892 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-28T18:03:38.478Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-28T18:03:38.509Z] Warning: overwriting stash ‘coverage-report’ [2023-02-28T18:03:39.152Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-28T18:03:39.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-28T18:03:39.858Z] + ls -al . [2023-02-28T18:03:39.858Z] total 192 [2023-02-28T18:03:39.858Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 28 18:01 . [2023-02-28T18:03:39.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 17:58 .. [2023-02-28T18:03:39.858Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 28 17:58 .git [2023-02-28T18:03:39.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 17:58 .github [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 414 Feb 28 17:58 .gitignore [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 28 17:58 .golangci.yml [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 77 Feb 28 17:58 .hadolint.yml [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 9660 Feb 28 17:58 Attribution.txt [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 6219 Feb 28 17:58 CHANGELOG.md [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 2328 Feb 28 17:58 Dockerfile [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 28 17:58 GOVERNANCE.md [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 659 Feb 28 17:58 Jenkinsfile [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 28 17:58 LICENSE [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 2329 Feb 28 17:58 Makefile [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 622 Feb 28 17:58 OWNERS.md [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 5934 Feb 28 17:58 README.md [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 28 17:56 VERSION [2023-02-28T18:03:39.858Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 28 17:58 bin [2023-02-28T18:03:39.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 17:58 cmd [2023-02-28T18:03:39.858Z] -rw-r--r-- 1 jenkins jenkins 30666 Feb 28 18:03 coverage.out [2023-02-28T18:03:39.858Z] -rwxrwxr-x 1 jenkins jenkins 140 Feb 28 17:58 docker-entrypoint.sh [2023-02-28T18:03:39.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 17:58 docs [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 3486 Feb 28 17:58 go.mod [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 33526 Feb 28 17:58 go.sum [2023-02-28T18:03:39.858Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 28 17:58 internal [2023-02-28T18:03:39.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 28 17:58 snap [2023-02-28T18:03:39.858Z] -rw-rw-r-- 1 jenkins jenkins 231 Feb 28 17:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:03:40.205Z] + 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=328ec8f0071a1fedaf20b7e0b34ee71151329e13 --label arch=arm64 --label version=0.0.0 . [2023-02-28T18:03:40.791Z] Sending build context to Docker daemon 1.168MB [2023-02-28T18:03:40.791Z] Step 1/35 : ARG BASE=golang:1.18-alpine3.16 [2023-02-28T18:03:40.791Z] Step 2/35 : FROM ${BASE} AS builder [2023-02-28T18:03:40.791Z] ---> 501cb31a5a73 [2023-02-28T18:03:40.791Z] Step 3/35 : ARG ADD_BUILD_TAGS="" [2023-02-28T18:03:40.791Z] ---> Running in 923306f77bb9 [2023-02-28T18:03:41.068Z] Removing intermediate container 923306f77bb9 [2023-02-28T18:03:41.068Z] ---> 922c503b49eb [2023-02-28T18:03:41.068Z] Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-28T18:03:41.337Z] ---> Running in 45d6871e479a [2023-02-28T18:03:43.411Z] Removing intermediate container 45d6871e479a [2023-02-28T18:03:43.411Z] ---> 15655c3b8ae2 [2023-02-28T18:03:43.411Z] Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-02-28T18:03:43.682Z] ---> Running in 2791c9ff10ed [2023-02-28T18:03:43.952Z] Removing intermediate container 2791c9ff10ed [2023-02-28T18:03:43.952Z] ---> 1203385a0f60 [2023-02-28T18:03:43.952Z] Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-02-28T18:03:43.952Z] ---> Running in bfdbffc4a752 [2023-02-28T18:03:44.546Z] Removing intermediate container bfdbffc4a752 [2023-02-28T18:03:44.546Z] ---> 43a6b807e519 [2023-02-28T18:03:44.546Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-28T18:03:44.546Z] ---> Running in 4b9b57c6c86d [2023-02-28T18:03:45.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T18:03:46.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T18:03:47.067Z] OK: 228 MiB in 65 packages [2023-02-28T18:03:48.033Z] Removing intermediate container 4b9b57c6c86d [2023-02-28T18:03:48.033Z] ---> bac09326ae6e [2023-02-28T18:03:48.033Z] Step 8/35 : WORKDIR /device-usb-camera [2023-02-28T18:03:48.033Z] ---> Running in 9649d874277c [2023-02-28T18:03:48.301Z] Removing intermediate container 9649d874277c [2023-02-28T18:03:48.301Z] ---> 930e87ec8cd7 [2023-02-28T18:03:48.301Z] Step 9/35 : COPY go.mod vendor* ./ [2023-02-28T18:03:48.887Z] ---> 98c66cafaa1e [2023-02-28T18:03:48.887Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-28T18:03:49.164Z] ---> Running in e9c0c6fba392 [2023-02-28T18:03:52.534Z] Removing intermediate container e9c0c6fba392 [2023-02-28T18:03:52.534Z] ---> 6167a3a75d52 [2023-02-28T18:03:52.534Z] Step 11/35 : COPY . . [2023-02-28T18:03:52.801Z] ---> 4ffd9d0228bd [2023-02-28T18:03:52.801Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-02-28T18:03:53.068Z] ---> Running in bfd76c6f3ac4 [2023-02-28T18:03:54.037Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T18:03:54.037Z] Dload Upload Total Spent Left Speed [2023-02-28T18:03:54.037Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 12570 0 --:--:-- --:--:-- --:--:-- 12642 [2023-02-28T18:03:54.623Z] Removing intermediate container bfd76c6f3ac4 [2023-02-28T18:03:54.623Z] ---> cb3de35ecc03 [2023-02-28T18:03:54.623Z] Step 13/35 : RUN ${MAKE} [2023-02-28T18:03:54.901Z] ---> Running in 9a1e19baa561 [2023-02-28T18:03:55.870Z] 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-28T18:06:32.634Z] Removing intermediate container 9a1e19baa561 [2023-02-28T18:06:32.634Z] ---> 92b4931741c2 [2023-02-28T18:06:32.634Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2023-02-28T18:06:32.634Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2023-02-28T18:06:32.634Z] eab2503cf8f4: Pulling fs layer [2023-02-28T18:06:32.634Z] 97cd0a44c592: Pulling fs layer [2023-02-28T18:06:32.634Z] 97cd0a44c592: Verifying Checksum [2023-02-28T18:06:32.634Z] 97cd0a44c592: Download complete [2023-02-28T18:06:32.634Z] eab2503cf8f4: Download complete [2023-02-28T18:06:32.634Z] eab2503cf8f4: Pull complete [2023-02-28T18:06:32.634Z] 97cd0a44c592: Pull complete [2023-02-28T18:06:32.634Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2023-02-28T18:06:32.634Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2023-02-28T18:06:32.634Z] ---> 7f763cca56b3 [2023-02-28T18:06:32.634Z] Step 15/35 : FROM alpine:3.16 [2023-02-28T18:06:32.634Z] 3.16: Pulling from library/alpine [2023-02-28T18:06:32.634Z] 3760b48202b3: Pulling fs layer [2023-02-28T18:06:32.634Z] 3760b48202b3: Verifying Checksum [2023-02-28T18:06:32.635Z] 3760b48202b3: Download complete [2023-02-28T18:06:32.635Z] 3760b48202b3: Pull complete [2023-02-28T18:06:32.635Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-28T18:06:32.635Z] Status: Downloaded newer image for alpine:3.16 [2023-02-28T18:06:32.635Z] ---> 4c81e5bf8899 [2023-02-28T18:06:32.635Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-28T18:06:32.635Z] ---> Running in 81d380a5eb5b [2023-02-28T18:06:32.635Z] Removing intermediate container 81d380a5eb5b [2023-02-28T18:06:32.635Z] ---> 8e10f78a79dd [2023-02-28T18:06:32.635Z] Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev [2023-02-28T18:06:32.635Z] ---> Running in 4675dab649d0 [2023-02-28T18:06:32.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-28T18:06:32.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-28T18:06:32.635Z] (1/79) Installing dumb-init (1.2.5-r1) [2023-02-28T18:06:32.635Z] (2/79) Installing sdl2 (2.0.22-r0) [2023-02-28T18:06:32.635Z] (3/79) Installing libxau (1.0.9-r0) [2023-02-28T18:06:32.635Z] (4/79) Installing libxdmcp (1.1.3-r0) [2023-02-28T18:06:32.635Z] (5/79) Installing libxcb (1.15-r0) [2023-02-28T18:06:32.635Z] (6/79) Installing libx11 (1.8-r0) [2023-02-28T18:06:32.635Z] (7/79) Installing aom-libs (3.3.0-r0) [2023-02-28T18:06:32.635Z] (8/79) Installing alsa-lib (1.2.7.2-r0) [2023-02-28T18:06:32.635Z] (9/79) Installing expat (2.5.0-r0) [2023-02-28T18:06:32.635Z] (10/79) Installing brotli-libs (1.0.9-r6) [2023-02-28T18:06:32.635Z] (11/79) Installing libbz2 (1.0.8-r1) [2023-02-28T18:06:32.635Z] (12/79) Installing libpng (1.6.37-r1) [2023-02-28T18:06:32.635Z] (13/79) Installing freetype (2.12.1-r0) [2023-02-28T18:06:32.635Z] (14/79) Installing fontconfig (2.14.0-r0) [2023-02-28T18:06:32.635Z] (15/79) Installing fribidi (1.0.12-r0) [2023-02-28T18:06:32.635Z] (16/79) Installing libffi (3.4.2-r1) [2023-02-28T18:06:32.635Z] (17/79) Installing libintl (0.21-r2) [2023-02-28T18:06:32.635Z] (18/79) Installing libblkid (2.38-r1) [2023-02-28T18:06:32.635Z] (19/79) Installing libmount (2.38-r1) [2023-02-28T18:06:32.635Z] (20/79) Installing pcre (8.45-r2) [2023-02-28T18:06:32.635Z] (21/79) Installing glib (2.72.1-r0) [2023-02-28T18:06:32.635Z] (22/79) Installing graphite2 (1.3.14-r1) [2023-02-28T18:06:32.635Z] (23/79) Installing harfbuzz (4.3.0-r0) [2023-02-28T18:06:32.635Z] (24/79) Installing libass (0.16.0-r0) [2023-02-28T18:06:32.635Z] (25/79) Installing libdav1d (1.0.0-r0) [2023-02-28T18:06:32.635Z] (26/79) Installing libdrm (2.4.110-r0) [2023-02-28T18:06:32.635Z] (27/79) Installing gmp (6.2.1-r2) [2023-02-28T18:06:32.635Z] (28/79) Installing nettle (3.7.3-r0) [2023-02-28T18:06:32.635Z] (29/79) Installing p11-kit (0.24.1-r0) [2023-02-28T18:06:32.635Z] (30/79) Installing libtasn1 (4.18.0-r1) [2023-02-28T18:06:32.635Z] (31/79) Installing libunistring (1.0-r0) [2023-02-28T18:06:32.635Z] (32/79) Installing gnutls (3.7.7-r1) [2023-02-28T18:06:32.635Z] (33/79) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2023-02-28T18:06:32.635Z] (34/79) Installing ncurses-libs (6.3_p20220521-r0) [2023-02-28T18:06:32.635Z] (35/79) Installing lame (3.100-r0) [2023-02-28T18:06:32.635Z] (36/79) Installing opus (1.3.1-r1) [2023-02-28T18:06:32.635Z] (37/79) Installing libasyncns (0.8-r1) [2023-02-28T18:06:32.635Z] (38/79) Installing dbus-libs (1.14.4-r0) [2023-02-28T18:06:32.635Z] (39/79) Installing libltdl (2.4.7-r0) [2023-02-28T18:06:32.635Z] (40/79) Installing orc (0.4.32-r0) [2023-02-28T18:06:32.635Z] (41/79) Installing libgcc (11.2.1_git20220219-r2) [2023-02-28T18:06:32.635Z] (42/79) Installing libogg (1.3.5-r1) [2023-02-28T18:06:32.635Z] (43/79) Installing libstdc++ (11.2.1_git20220219-r2) [2023-02-28T18:06:32.635Z] (44/79) Installing flac (1.3.4-r0) [2023-02-28T18:06:32.635Z] (45/79) Installing libvorbis (1.3.7-r0) [2023-02-28T18:06:32.635Z] (46/79) Installing libsndfile (1.1.0-r0) [2023-02-28T18:06:32.635Z] (47/79) Installing libgomp (11.2.1_git20220219-r2) [2023-02-28T18:06:32.635Z] (48/79) Installing soxr (0.1.3-r2) [2023-02-28T18:06:32.635Z] (49/79) Installing speexdsp (1.2.0-r0) [2023-02-28T18:06:32.635Z] (50/79) Installing tdb-libs (1.4.6-r0) [2023-02-28T18:06:32.635Z] (51/79) Installing libpulse (15.0-r2) [2023-02-28T18:06:32.635Z] (52/79) Installing cjson (1.7.15-r3) [2023-02-28T18:06:32.635Z] (53/79) Installing mbedtls (2.28.2-r0) [2023-02-28T18:06:32.635Z] (54/79) Installing librist (0.2.6-r1) [2023-02-28T18:06:32.635Z] (55/79) Installing libsrt (1.4.4-r0) [2023-02-28T18:06:32.635Z] (56/79) Installing libssh (0.9.6-r1) [2023-02-28T18:06:32.635Z] (57/79) Installing libtheora (1.1.1-r16) [2023-02-28T18:06:32.635Z] (58/79) Installing libjpeg-turbo (2.1.3-r1) [2023-02-28T18:06:32.635Z] (59/79) Installing v4l-utils-libs (1.22.1-r1) [2023-02-28T18:06:32.635Z] (60/79) Installing libxext (1.3.4-r0) [2023-02-28T18:06:32.635Z] (61/79) Installing libxfixes (6.0.0-r0) [2023-02-28T18:06:32.635Z] (62/79) Installing wayland-libs-client (1.20.0-r0) [2023-02-28T18:06:32.635Z] (63/79) Installing libva (2.14.0-r0) [2023-02-28T18:06:32.635Z] (64/79) Installing libvdpau (1.5-r0) [2023-02-28T18:06:32.635Z] (65/79) Installing vidstab (1.1.0-r1) [2023-02-28T18:06:32.635Z] (66/79) Installing libvpx (1.11.0-r1) [2023-02-28T18:06:32.635Z] (67/79) Installing libwebp (1.2.3-r0) [2023-02-28T18:06:32.635Z] (68/79) Installing x264-libs (0.163_git20210613-r0) [2023-02-28T18:06:32.635Z] (69/79) Installing numactl (2.0.14-r0) [2023-02-28T18:06:32.635Z] (70/79) Installing x265-libs (3.5-r3) [2023-02-28T18:06:32.635Z] (71/79) Installing xvidcore (1.3.7-r1) [2023-02-28T18:06:32.635Z] (72/79) Installing ffmpeg-libs (5.0.1-r1) [2023-02-28T18:06:32.635Z] (73/79) Installing ffmpeg (5.0.1-r1) [2023-02-28T18:06:32.635Z] (74/79) Installing udev-init-scripts (35-r0) [2023-02-28T18:06:32.635Z] Executing udev-init-scripts-35-r0.post-install [2023-02-28T18:06:32.635Z] (75/79) Installing eudev-libs (3.2.11-r0) [2023-02-28T18:06:32.635Z] (76/79) Installing xz-libs (5.2.5-r1) [2023-02-28T18:06:32.635Z] (77/79) Installing zstd-libs (1.5.2-r1) [2023-02-28T18:06:32.635Z] (78/79) Installing kmod-libs (29-r2) [2023-02-28T18:06:32.635Z] (79/79) Installing eudev (3.2.11-r0) [2023-02-28T18:06:32.635Z] Executing busybox-1.35.0-r17.trigger [2023-02-28T18:06:32.635Z] Executing eudev-3.2.11-r0.trigger [2023-02-28T18:06:32.635Z] OK: 77 MiB in 93 packages [2023-02-28T18:06:35.213Z] Removing intermediate container 4675dab649d0 [2023-02-28T18:06:35.213Z] ---> 6e5d1747826b [2023-02-28T18:06:35.213Z] Step 18/35 : WORKDIR / [2023-02-28T18:06:35.213Z] ---> Running in a23e2be9f3b6 [2023-02-28T18:06:35.479Z] Removing intermediate container a23e2be9f3b6 [2023-02-28T18:06:35.479Z] ---> 3198f4ec0e41 [2023-02-28T18:06:35.479Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2023-02-28T18:06:36.949Z] ---> 087d6778ef56 [2023-02-28T18:06:36.949Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2023-02-28T18:06:37.216Z] ---> 1f9a0db0db43 [2023-02-28T18:06:37.216Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2023-02-28T18:06:37.811Z] ---> 968fac44b51b [2023-02-28T18:06:37.811Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2023-02-28T18:06:38.078Z] ---> 6ab0ffd9703e [2023-02-28T18:06:38.078Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2023-02-28T18:06:38.664Z] ---> 5cc91505ff34 [2023-02-28T18:06:38.664Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2023-02-28T18:06:39.253Z] ---> 9d4ac2a30c18 [2023-02-28T18:06:39.253Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2023-02-28T18:06:40.213Z] ---> f450c2a65e42 [2023-02-28T18:06:40.213Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2023-02-28T18:06:40.213Z] ---> Running in 0a01932471a1 [2023-02-28T18:06:44.515Z] Removing intermediate container 0a01932471a1 [2023-02-28T18:06:44.515Z] ---> 42c9131c906e [2023-02-28T18:06:44.515Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2023-02-28T18:06:44.515Z] ---> Running in 897e04d13789 [2023-02-28T18:06:45.953Z] Removing intermediate container 897e04d13789 [2023-02-28T18:06:45.953Z] ---> 0b76a630664b [2023-02-28T18:06:45.953Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2023-02-28T18:06:45.953Z] ---> Running in 7728dc0b84c4 [2023-02-28T18:06:47.368Z] Removing intermediate container 7728dc0b84c4 [2023-02-28T18:06:47.368Z] ---> eb7ad7660bc6 [2023-02-28T18:06:47.368Z] Step 29/35 : EXPOSE 59983 [2023-02-28T18:06:47.368Z] ---> Running in bbd220bbaf77 [2023-02-28T18:06:47.638Z] Removing intermediate container bbd220bbaf77 [2023-02-28T18:06:47.638Z] ---> f0295b268d5e [2023-02-28T18:06:47.638Z] Step 30/35 : EXPOSE 8554 [2023-02-28T18:06:47.638Z] ---> Running in d6382a976272 [2023-02-28T18:06:47.904Z] Removing intermediate container d6382a976272 [2023-02-28T18:06:47.904Z] ---> 8ece06a02607 [2023-02-28T18:06:47.904Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2023-02-28T18:06:48.180Z] ---> Running in 40157af6b67b [2023-02-28T18:06:48.450Z] Removing intermediate container 40157af6b67b [2023-02-28T18:06:48.450Z] ---> 06cc4de4ab42 [2023-02-28T18:06:48.450Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] [2023-02-28T18:06:48.450Z] ---> Running in d16450d2c992 [2023-02-28T18:06:48.721Z] Removing intermediate container d16450d2c992 [2023-02-28T18:06:48.721Z] ---> 28c3b9ad6675 [2023-02-28T18:06:48.721Z] Step 33/35 : LABEL arch=arm64 [2023-02-28T18:06:48.721Z] ---> Running in 75eb44766000 [2023-02-28T18:06:48.990Z] Removing intermediate container 75eb44766000 [2023-02-28T18:06:48.990Z] ---> 0c33fdf430bf [2023-02-28T18:06:48.990Z] Step 34/35 : LABEL git_sha=328ec8f0071a1fedaf20b7e0b34ee71151329e13 [2023-02-28T18:06:48.990Z] ---> Running in bf18a1efb202 [2023-02-28T18:06:49.259Z] Removing intermediate container bf18a1efb202 [2023-02-28T18:06:49.259Z] ---> 25dc3db1efa2 [2023-02-28T18:06:49.259Z] Step 35/35 : LABEL version=0.0.0 [2023-02-28T18:06:49.527Z] ---> Running in 73f344e6e7b1 [2023-02-28T18:06:49.793Z] Removing intermediate container 73f344e6e7b1 [2023-02-28T18:06:49.793Z] ---> ed559243e232 [2023-02-28T18:06:49.793Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-28T18:06:49.793Z] Successfully built ed559243e232 [2023-02-28T18:06:49.793Z] 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-28T18:06:50.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T18:06:50.268Z] [2023-02-28T18:06:50.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:06:50.614Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T18:06:50.614Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-28T18:06:50.614Z] 8998bd30e6a1: Pulling fs layer [2023-02-28T18:06:50.614Z] 04944245beec: Pulling fs layer [2023-02-28T18:06:50.614Z] 699f458cf7ca: Pulling fs layer [2023-02-28T18:06:50.614Z] 765212b225bb: Pulling fs layer [2023-02-28T18:06:50.614Z] f23df028b6ca: Pulling fs layer [2023-02-28T18:06:50.614Z] d65c8cfc05b1: Pulling fs layer [2023-02-28T18:06:50.614Z] 2437ff75d9bd: Pulling fs layer [2023-02-28T18:06:50.614Z] 765212b225bb: Waiting [2023-02-28T18:06:50.614Z] f23df028b6ca: Waiting [2023-02-28T18:06:50.614Z] d65c8cfc05b1: Waiting [2023-02-28T18:06:50.614Z] 2437ff75d9bd: Waiting [2023-02-28T18:06:50.884Z] 04944245beec: Verifying Checksum [2023-02-28T18:06:50.884Z] 04944245beec: Download complete [2023-02-28T18:06:50.884Z] 765212b225bb: Verifying Checksum [2023-02-28T18:06:50.884Z] 765212b225bb: Download complete [2023-02-28T18:06:51.154Z] 699f458cf7ca: Verifying Checksum [2023-02-28T18:06:51.154Z] 699f458cf7ca: Download complete [2023-02-28T18:06:51.154Z] d65c8cfc05b1: Verifying Checksum [2023-02-28T18:06:51.154Z] d65c8cfc05b1: Download complete [2023-02-28T18:06:51.154Z] f23df028b6ca: Verifying Checksum [2023-02-28T18:06:51.154Z] f23df028b6ca: Download complete [2023-02-28T18:06:52.569Z] 8998bd30e6a1: Verifying Checksum [2023-02-28T18:06:52.569Z] 8998bd30e6a1: Download complete [2023-02-28T18:06:53.983Z] 2437ff75d9bd: Download complete [2023-02-28T18:06:56.568Z] 8998bd30e6a1: Pull complete [2023-02-28T18:06:56.835Z] 04944245beec: Pull complete [2023-02-28T18:06:58.254Z] 699f458cf7ca: Pull complete [2023-02-28T18:06:58.254Z] 765212b225bb: Pull complete [2023-02-28T18:06:59.216Z] f23df028b6ca: Pull complete [2023-02-28T18:06:59.216Z] d65c8cfc05b1: Pull complete [2023-02-28T18:07:14.217Z] 2437ff75d9bd: Pull complete [2023-02-28T18:07:14.217Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-28T18:07:14.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-28T18:07:14.217Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T18:07:14.408Z] prd-ubuntu20.04-docker-arm64-4c-16g-7778 does not seem to be running inside a container [2023-02-28T18:07:14.475Z] $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-28T18:07:17.062Z] $ docker top e222bf6837d6f43b8202475a1d5a0ddb4a4eaad24faa2cc6517b5d8eb5b15b37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:07:17.906Z] ---> job-cost.sh [2023-02-28T18:07:17.906Z] lf-activate-venv: SKIPPING [2023-02-28T18:07:17.906Z] INFO: No Stack... [2023-02-28T18:07:18.488Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-28T18:07:19.071Z] INFO: Archiving Costs [Pipeline] sh [2023-02-28T18:07:19.393Z] + cat /w/workspace/device-usb-camera/3/archives/cost.csv [2023-02-28T18:07:19.393Z] + cut -d, -f6 [Pipeline] lock [2023-02-28T18:07:19.727Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-160-3-stack-cost] [2023-02-28T18:07:19.733Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-160-3-stack-cost] did not exist. Created. [2023-02-28T18:07:19.733Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-160-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-28T18:07:20.078Z] /w/workspace/device-usb-camera/3@tmp/durable-08b82ee2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-28T18:07:20.740Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-28T18:07:20.763Z] Warning: overwriting stash ‘stack-cost’ [2023-02-28T18:07:20.818Z] Stashed 1 file(s) [Pipeline] } [2023-02-28T18:07:20.828Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-160-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-28T18:07:20.851Z] $ docker stop --time=1 e222bf6837d6f43b8202475a1d5a0ddb4a4eaad24faa2cc6517b5d8eb5b15b37 [2023-02-28T18:07:22.391Z] $ docker rm -f --volumes e222bf6837d6f43b8202475a1d5a0ddb4a4eaad24faa2cc6517b5d8eb5b15b37 [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-28T18:07:22.735Z] provisioning config files... [2023-02-28T18:07:22.742Z] copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-160@tmp/config4632947185683712232tmp [Pipeline] { [Pipeline] sh [2023-02-28T18:07:23.033Z] + set +x [2023-02-28T18:07:23.033Z] + curl -s https://codecov.io/bash [2023-02-28T18:07:23.033Z] + bash -s -- [2023-02-28T18:07:23.033Z] [2023-02-28T18:07:23.033Z] _____ _ [2023-02-28T18:07:23.033Z] / ____| | | [2023-02-28T18:07:23.033Z] | | ___ __| | ___ ___ _____ __ [2023-02-28T18:07:23.033Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-28T18:07:23.033Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-28T18:07:23.033Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-28T18:07:23.033Z] Bash-1.0.6 [2023-02-28T18:07:23.033Z] [2023-02-28T18:07:23.033Z] [2023-02-28T18:07:23.033Z] ==> git version 2.25.1 found [2023-02-28T18:07:23.033Z] ==> 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-28T18:07:23.033Z] Release-Date: 2020-01-08 [2023-02-28T18:07:23.033Z] 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-28T18:07:23.033Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-28T18:07:23.033Z] ==> Jenkins CI detected. [2023-02-28T18:07:23.033Z] current dir:  /w/workspace/foundry_device-usb-camera_PR-160 [2023-02-28T18:07:23.033Z] project root: . [2023-02-28T18:07:23.033Z] --> token set from env [2023-02-28T18:07:23.033Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-28T18:07:23.033Z] ==> Running gcov in . (disable via -X gcov) [2023-02-28T18:07:23.033Z] ==> Python coveragepy not found [2023-02-28T18:07:23.033Z] ==> Searching for coverage reports in: [2023-02-28T18:07:23.033Z] + . [2023-02-28T18:07:23.033Z] -> Found 1 reports [2023-02-28T18:07:23.033Z] ==> Detecting git/mercurial file structure [2023-02-28T18:07:23.033Z] ==> Reading reports [2023-02-28T18:07:23.033Z] + ./coverage.out bytes=30666 [2023-02-28T18:07:23.033Z] ==> Appending adjustments [2023-02-28T18:07:23.033Z] https://docs.codecov.io/docs/fixing-reports [2023-02-28T18:07:23.291Z] + Found adjustments [2023-02-28T18:07:23.291Z] ==> Gzipping contents [2023-02-28T18:07:23.291Z] 8.0K /tmp/codecov.Nt7vmD.gz [2023-02-28T18:07:23.291Z] ==> Uploading reports [2023-02-28T18:07:23.291Z] url: https://codecov.io [2023-02-28T18:07:23.291Z] query: branch=PR-160&commit=328ec8f0071a1fedaf20b7e0b34ee71151329e13&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-160%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=160&job=&cmd_args= [2023-02-28T18:07:23.291Z] -> Pinging Codecov [2023-02-28T18:07:23.291Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-160&commit=328ec8f0071a1fedaf20b7e0b34ee71151329e13&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-160%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=160&job=&cmd_args= [2023-02-28T18:07:23.550Z] -> Uploading to [2023-02-28T18:07:23.550Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-28/73D8F5FF140700D3E01443B452E23636/328ec8f0071a1fedaf20b7e0b34ee71151329e13/2a2a0695-ce54-4321-b22c-55141ce89dc5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230228T180723Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7be486a03de28d523e493b1009c094877d09400241f3f29b2c44804116bb5a54 [2023-02-28T18:07:23.550Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-28T18:07:23.550Z] Dload Upload Total Spent Left Speed [2023-02-28T18:07:23.810Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4286 0 0 100 4286 0 21217 --:--:-- --:--:-- --:--:-- 21113 100 4286 0 0 100 4286 0 14779 --:--:-- --:--:-- --:--:-- 14728 [2023-02-28T18:07:23.810Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/328ec8f0071a1fedaf20b7e0b34ee71151329e13 [Pipeline] } [2023-02-28T18:07:23.817Z] 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-28T18:07:24.494Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-160/archives ] [2023-02-28T18:07:24.494Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-160/archives [2023-02-28T18:07:24.494Z] total 16 [2023-02-28T18:07:24.494Z] drwxr-xr-x 3 root root 4096 Feb 28 17:58 . [2023-02-28T18:07:24.494Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 17:58 .. [2023-02-28T18:07:24.494Z] drwxr-xr-x 2 root root 4096 Feb 28 17:58 cost [2023-02-28T18:07:24.494Z] -rw-r--r-- 1 root root 89 Feb 28 17:58 cost.csv [2023-02-28T18:07:24.494Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-160/archives [2023-02-28T18:07:24.494Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-160/archives [2023-02-28T18:07:24.494Z] total 16 [2023-02-28T18:07:24.494Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 28 17:58 . [2023-02-28T18:07:24.494Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 28 17:58 .. [2023-02-28T18:07:24.494Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 28 17:58 cost [2023-02-28T18:07:24.494Z] -rw-r--r-- 1 jenkins jenkins 89 Feb 28 17:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:07:24.782Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:07:25.637Z] ---> package-listing.sh [2023-02-28T18:07:25.637Z] ++ facter osfamily [2023-02-28T18:07:25.637Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-28T18:07:25.896Z] + OS_FAMILY=debian [2023-02-28T18:07:25.896Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-160 [2023-02-28T18:07:25.896Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-28T18:07:25.896Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-28T18:07:25.896Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-28T18:07:25.896Z] + PACKAGES=/tmp/packages_start.txt [2023-02-28T18:07:25.896Z] + '[' /w/workspace/foundry_device-usb-camera_PR-160 ']' [2023-02-28T18:07:25.896Z] + PACKAGES=/tmp/packages_end.txt [2023-02-28T18:07:25.896Z] + case "${OS_FAMILY}" in [2023-02-28T18:07:25.896Z] + dpkg -l [2023-02-28T18:07:25.896Z] + grep '^ii' [2023-02-28T18:07:25.896Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-28T18:07:25.896Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-28T18:07:25.896Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-28T18:07:25.896Z] + '[' /w/workspace/foundry_device-usb-camera_PR-160 ']' [2023-02-28T18:07:25.896Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-160/archives/ [2023-02-28T18:07:25.896Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-160/archives/ [Pipeline] echo [2023-02-28T18:07:25.907Z] 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-160/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-28T18:07:26.184Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-28T18:07:26.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-28T18:07:26.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-28T18:07:26.801Z] prd-ubuntu20.04-docker-8c-8g-7772 does not seem to be running inside a container [2023-02-28T18:07:26.842Z] $ 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-160/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-160 -v /w/workspace/foundry_device-usb-camera_PR-160:/w/workspace/foundry_device-usb-camera_PR-160:rw,z -v /w/workspace/foundry_device-usb-camera_PR-160@tmp:/w/workspace/foundry_device-usb-camera_PR-160@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-28T18:07:27.070Z] $ docker top 49730ad11632cf4db0d8cabec5ecd768359c80517828336794bf40454a5fe8fe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-28T18:07:27.387Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-28T18:07:27.676Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-28T18:07:27.962Z] + ls /var/log/sa-host [2023-02-28T18:07:27.962Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-28T18:07:28.025Z] provisioning config files... [2023-02-28T18:07:28.032Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-160@tmp/config8670123114999803584tmp [Pipeline] { [Pipeline] echo [2023-02-28T18:07:28.046Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:07:28.328Z] ---> create-netrc.sh [Pipeline] } [2023-02-28T18:07:28.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:07:28.654Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-28T18:07:28.664Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:07:28.954Z] ---> sudo-logs.sh [2023-02-28T18:07:28.954Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-28T18:07:28.990Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:07:29.277Z] ---> job-cost.sh [2023-02-28T18:07:29.277Z] lf-activate-venv: SKIPPING [2023-02-28T18:07:29.277Z] DEBUG: total: 0.2199999988079071 [2023-02-28T18:07:29.277Z] INFO: Retrieving Stack Cost... [2023-02-28T18:07:29.538Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-28T18:07:30.106Z] INFO: Archiving Costs [Pipeline] echo [2023-02-28T18:07:30.118Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-28T18:07:30.403Z] ---> logs-deploy.sh [2023-02-28T18:07:30.403Z] lf-activate-venv: SKIPPING [2023-02-28T18:07:30.403Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-160/3 [2023-02-28T18:07:30.403Z] INFO: archiving workspace using pattern(s): [2023-02-28T18:07:31.337Z] Archives upload complete. [2023-02-28T18:07:31.337Z] INFO: archiving logs to Nexus