Pull request #261 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 4f0060f0a01e6b631d5ad01a980021319d7b9523 rather than 7f819715f6eab2cabb07c018dc9af6bca33a8dab Obtained Jenkinsfile from 4f0060f0a01e6b631d5ad01a980021319d7b9523 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-ssh2915789481505323056.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh15096201974742197692.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-261/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-261/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17879666320474177580.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh5536151771365278075.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-261/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-261/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18004092937168272465.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.20 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 Running on prd-ubuntu20.04-docker-8c-8g-19016 in /w/workspace/foundry_device-usb-camera_PR-261 [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-261 # 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/261/head:refs/remotes/origin/PR-261 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4f0060f0a01e6b631d5ad01a980021319d7b9523 into PR head commit 7f819715f6eab2cabb07c018dc9af6bca33a8dab Merge succeeded, producing adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 Checking out Revision adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 (PR-261) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f819715f6eab2cabb07c018dc9af6bca33a8dab # 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 4f0060f0a01e6b631d5ad01a980021319d7b9523 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 # timeout=10 Commit message: "Merge commit '4f0060f0a01e6b631d5ad01a980021319d7b9523' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 9128e85ef447f032f582c6007e89bef82aa22a03 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:46:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:46:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:46:15 ========================================================= 21:46:15 EdgeX Global Pipelines Version Info 21:46:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:46:16 ------------------- 21:46:16 stable info: 21:46:16 ------------------- 21:46:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:46:16 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:46:16 Message: update stable to v1.0.250 21:46:16 ------------------- 21:46:16 experimental info: 21:46:16 ------------------- 21:46:16 Commited By: **** collab-it+edgex@linuxfoundation.org 21:46:16 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:46:16 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-261 [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-261 [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-261 [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adab2e1 [Pipeline] echo 21:46:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:46:17 provisioning config files... 21:46:17 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-261@tmp/config1744343918961714611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:17 ---> docker-login.sh 21:46:17 nexus3.edgexfoundry.org:10001 21:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:18 Configure a credential helper to remove this warning. See 21:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:18 21:46:18 Login Succeeded 21:46:18 nexus3.edgexfoundry.org:10002 21:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:18 Configure a credential helper to remove this warning. See 21:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:18 21:46:18 Login Succeeded 21:46:18 nexus3.edgexfoundry.org:10003 21:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:18 Configure a credential helper to remove this warning. See 21:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:18 21:46:18 Login Succeeded 21:46:18 nexus3.edgexfoundry.org:10004 21:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:18 Configure a credential helper to remove this warning. See 21:46:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:18 21:46:18 Login Succeeded 21:46:18 docker.io 21:46:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:19 Configure a credential helper to remove this warning. See 21:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:19 21:46:19 Login Succeeded 21:46:19 ---> docker-login.sh ends [Pipeline] } 21:46:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:46:19 + git rev-list -1 --merges adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36~1..adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [Pipeline] echo 21:46:19 -----------> git rev-list -1 --merges adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36~1..adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 21:46:19 adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [false] [Pipeline] sh 21:46:19 + git log --format=format:%s -1 adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [Pipeline] echo 21:46:19 ========================================================= 21:46:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:46:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:46:20 + git log --format=format:%s -1 adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [Pipeline] echo 21:46:20 [semverPrep] GIT_COMMIT: adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36, Commit Message: Merge commit '4f0060f0a01e6b631d5ad01a980021319d7b9523' into HEAD [Pipeline] echo 21:46:20 [semverPrep] This is not a build commit. [Pipeline] sh 21:46:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:46:20 + grep -v github /etc/ssh/ssh_known_hosts 21:46:20 + [ -e /tmp/ssh_known_hosts ] 21:46:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:46:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:46:20 + sudo tee -a /etc/ssh/ssh_known_hosts 21:46:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:46:20 21:46:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:46:21 0.1.4: Pulling from edgex-devops/py-git-semver 21:46:21 b85a868b505f: Pulling fs layer 21:46:21 e2be974225ed: Pulling fs layer 21:46:21 339a4e72a1f5: Pulling fs layer 21:46:21 988bab9f4d93: Pulling fs layer 21:46:21 1469e6f7b9e6: Pulling fs layer 21:46:21 eaf3925da568: Pulling fs layer 21:46:21 bab4dde63d76: Pulling fs layer 21:46:21 bde34c3a00c8: Pulling fs layer 21:46:21 b352a97aabf1: Pulling fs layer 21:46:21 4872d77fe225: Pulling fs layer 21:46:21 5851b861e8e6: Pulling fs layer 21:46:21 bde34c3a00c8: Waiting 21:46:21 b352a97aabf1: Waiting 21:46:21 1469e6f7b9e6: Waiting 21:46:21 4872d77fe225: Waiting 21:46:21 eaf3925da568: Waiting 21:46:21 bab4dde63d76: Waiting 21:46:21 988bab9f4d93: Waiting 21:46:21 e2be974225ed: Verifying Checksum 21:46:21 e2be974225ed: Download complete 21:46:21 988bab9f4d93: Download complete 21:46:21 1469e6f7b9e6: Download complete 21:46:21 eaf3925da568: Verifying Checksum 21:46:21 eaf3925da568: Download complete 21:46:21 339a4e72a1f5: Verifying Checksum 21:46:21 339a4e72a1f5: Download complete 21:46:21 bde34c3a00c8: Verifying Checksum 21:46:21 bde34c3a00c8: Download complete 21:46:21 b352a97aabf1: Verifying Checksum 21:46:21 b352a97aabf1: Download complete 21:46:21 4872d77fe225: Verifying Checksum 21:46:21 4872d77fe225: Download complete 21:46:21 5851b861e8e6: Download complete 21:46:21 b85a868b505f: Verifying Checksum 21:46:21 b85a868b505f: Download complete 21:46:21 bab4dde63d76: Verifying Checksum 21:46:21 bab4dde63d76: Download complete 21:46:22 b85a868b505f: Pull complete 21:46:22 e2be974225ed: Pull complete 21:46:23 339a4e72a1f5: Pull complete 21:46:23 988bab9f4d93: Pull complete 21:46:24 1469e6f7b9e6: Pull complete 21:46:24 eaf3925da568: Pull complete 21:46:25 bab4dde63d76: Pull complete 21:46:25 bde34c3a00c8: Pull complete 21:46:25 b352a97aabf1: Pull complete 21:46:25 4872d77fe225: Pull complete 21:46:26 5851b861e8e6: Pull complete 21:46:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:46:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:46:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:46:26 prd-ubuntu20.04-docker-8c-8g-19016 does not seem to be running inside a container 21:46:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-261 -v /w/workspace/foundry_device-usb-camera_PR-261:/w/workspace/foundry_device-usb-camera_PR-261:rw,z -v /w/workspace/foundry_device-usb-camera_PR-261@tmp:/w/workspace/foundry_device-usb-camera_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:46:29 $ docker top 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d -eo pid,comm 21:46:29 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). 21:46:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:46:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:46:29 [ssh-agent] Looking for ssh-agent implementation... 21:46:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:46:29 $ docker exec 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d ssh-agent 21:46:29 SSH_AUTH_SOCK=/tmp/ssh-6Oil8e8kS9hE/agent.31 21:46:29 SSH_AGENT_PID=37 21:46:29 Running ssh-add (command line suppressed) 21:46:29 Identity added: /w/workspace/foundry_device-usb-camera_PR-261@tmp/private_key_395482391711567914.key (/w/workspace/foundry_device-usb-camera_PR-261@tmp/private_key_395482391711567914.key) 21:46:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:46:29 + git tag --points-at HEAD [Pipeline] } 21:46:29 $ docker exec --env ******** --env ******** 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d ssh-agent -k 21:46:29 unset SSH_AUTH_SOCK; 21:46:29 unset SSH_AGENT_PID; 21:46:29 echo Agent pid 37 killed; 21:46:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:46:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:46:30 [ssh-agent] Looking for ssh-agent implementation... 21:46:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:46:30 $ docker exec 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d ssh-agent 21:46:30 SSH_AUTH_SOCK=/tmp/ssh-QgyuxGxTsEvi/agent.70 21:46:30 SSH_AGENT_PID=76 21:46:30 Running ssh-add (command line suppressed) 21:46:30 Identity added: /w/workspace/foundry_device-usb-camera_PR-261@tmp/private_key_8895742990126162830.key (/w/workspace/foundry_device-usb-camera_PR-261@tmp/private_key_8895742990126162830.key) 21:46:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:46:30 + git semver init 21:46:30 2023-06-21 21:46:30,856 [run_init] DEBUG init version:0.0.0 force:False 21:46:30 2023-06-21 21:46:30,856 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-261/.semver 21:46:30 2023-06-21 21:46:30,857 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-261/.semver 21:46:30 2023-06-21 21:46:30,857 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-261/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-261, universal_newlines=False, shell=None, istream=None) 21:46:31 2023-06-21 21:46:31,525 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-261/.git/info/exclude 21:46:31 2023-06-21 21:46:31,525 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-261/.semver/PR-261 with force:False 21:46:31 2023-06-21 21:46:31,526 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-261/.semver/PR-261 21:46:31 2023-06-21 21:46:31,530 [execute] INFO git cat-file --batch-check 21:46:31 2023-06-21 21:46:31,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-261/.semver, universal_newlines=False, shell=None, istream=) 21:46:31 2023-06-21 21:46:31,536 [execute] INFO git cat-file --batch 21:46:31 2023-06-21 21:46:31,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-261/.semver, universal_newlines=False, shell=None, istream=) 21:46:31 2023-06-21 21:46:31,542 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-261/.semver/PR-261 21:46:31 0.0.0 [Pipeline] } 21:46:31 $ docker exec --env ******** --env ******** 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d ssh-agent -k 21:46:31 unset SSH_AUTH_SOCK; 21:46:31 unset SSH_AGENT_PID; 21:46:31 echo Agent pid 76 killed; 21:46:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:46:32 + git semver [Pipeline] } 21:46:32 $ docker stop --time=1 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d 21:46:33 $ docker rm -f --volumes 76e435546a5cd033dce11ea2b7564f005e9d593f62f1bd933cf471ec3783926d [Pipeline] // withDockerContainer [Pipeline] sh 21:46:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:46:34 Stashed 1 file(s) [Pipeline] echo 21:46:34 [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 21:46:34 provisioning config files... 21:46:34 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-261@tmp/config17531362749367522488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:34 ---> docker-login.sh 21:46:34 nexus3.edgexfoundry.org:10001 21:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:34 Configure a credential helper to remove this warning. See 21:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:34 21:46:34 Login Succeeded 21:46:34 nexus3.edgexfoundry.org:10002 21:46:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:34 Configure a credential helper to remove this warning. See 21:46:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:34 21:46:34 Login Succeeded 21:46:34 nexus3.edgexfoundry.org:10003 21:46:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:35 Configure a credential helper to remove this warning. See 21:46:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:35 21:46:35 Login Succeeded 21:46:35 nexus3.edgexfoundry.org:10004 21:46:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:35 Configure a credential helper to remove this warning. See 21:46:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:35 21:46:35 Login Succeeded 21:46:35 docker.io 21:46:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:46:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:46:35 Configure a credential helper to remove this warning. See 21:46:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:46:35 21:46:35 Login Succeeded 21:46:35 ---> docker-login.sh ends [Pipeline] } 21:46:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:46:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:46:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:46:35 ========================================================= 21:46:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:46:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:46:35 Sending build context to Docker daemon 1.998MB 21:46:35 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:46:35 Step 2/13 : FROM ${BASE} AS builder 21:46:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:46:35 f56be85fc22e: Pulling fs layer 21:46:35 85791d961cd3: Pulling fs layer 21:46:35 d694b5ae8c79: Pulling fs layer 21:46:35 9f32a84ed3da: Pulling fs layer 21:46:35 4d19c01a9841: Pulling fs layer 21:46:35 9325e15d5711: Pulling fs layer 21:46:35 556b6ee489ea: Pulling fs layer 21:46:35 c5a4b2cf53e6: Pulling fs layer 21:46:35 c5a4b2cf53e6: Waiting 21:46:35 556b6ee489ea: Waiting 21:46:35 9325e15d5711: Waiting 21:46:35 9f32a84ed3da: Waiting 21:46:35 4d19c01a9841: Waiting 21:46:35 85791d961cd3: Download complete 21:46:35 9f32a84ed3da: Verifying Checksum 21:46:35 9f32a84ed3da: Download complete 21:46:35 4d19c01a9841: Download complete 21:46:36 f56be85fc22e: Verifying Checksum 21:46:36 f56be85fc22e: Download complete 21:46:36 9325e15d5711: Verifying Checksum 21:46:36 9325e15d5711: Download complete 21:46:36 f56be85fc22e: Pull complete 21:46:36 85791d961cd3: Pull complete 21:46:36 c5a4b2cf53e6: Verifying Checksum 21:46:36 c5a4b2cf53e6: Download complete 21:46:36 d694b5ae8c79: Download complete 21:46:36 556b6ee489ea: Verifying Checksum 21:46:36 556b6ee489ea: Download complete 21:46:40 d694b5ae8c79: Pull complete 21:46:40 9f32a84ed3da: Pull complete 21:46:40 4d19c01a9841: Pull complete 21:46:40 9325e15d5711: Pull complete 21:46:42 556b6ee489ea: Pull complete 21:46:43 c5a4b2cf53e6: Pull complete 21:46:43 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:46:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:46:43 ---> c4be618373d6 21:46:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:46:47 ---> Running in 5f584fdc4392 21:46:47 Removing intermediate container 5f584fdc4392 21:46:47 ---> c62f35337b33 21:46:47 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:46:47 ---> Running in e990be5b36a1 21:46:47 Removing intermediate container e990be5b36a1 21:46:47 ---> 985b932b20ca 21:46:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:46:47 ---> Running in d06f09f3d4b9 21:46:47 Removing intermediate container d06f09f3d4b9 21:46:47 ---> 068f5d072d8a 21:46:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:46:47 ---> Running in b83b77d96ec7 21:46:47 Removing intermediate container b83b77d96ec7 21:46:47 ---> 1c2f0923f032 21:46:47 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:46:47 ---> Running in 3b4f153d81cd 21:46:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:46:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:46:48 (1/14) Installing libintl (0.21.1-r1) 21:46:48 (2/14) Installing eudev-libs (3.2.11-r4) 21:46:48 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:46:48 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:46:48 (5/14) Installing v4l-utils (1.22.1-r2) 21:46:48 (6/14) Installing udev-init-scripts (35-r1) 21:46:48 (7/14) Installing libblkid (2.38.1-r1) 21:46:48 (8/14) Installing xz-libs (5.2.9-r0) 21:46:48 (9/14) Installing zstd-libs (1.5.5-r0) 21:46:48 (10/14) Installing kmod-libs (30-r1) 21:46:48 (11/14) Installing eudev (3.2.11-r4) 21:46:48 (12/14) Installing eudev-dev (3.2.11-r4) 21:46:48 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:46:48 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:46:48 Executing busybox-1.35.0-r29.trigger 21:46:48 Executing eudev-3.2.11-r4.trigger 21:46:48 OK: 272 MiB in 67 packages 21:46:48 Removing intermediate container 3b4f153d81cd 21:46:48 ---> 0f08b6b45b30 21:46:48 Step 8/13 : WORKDIR /device-usb-camera 21:46:48 ---> Running in 4f5943680f22 21:46:48 Removing intermediate container 4f5943680f22 21:46:48 ---> 31943a2f3580 21:46:48 Step 9/13 : COPY go.mod vendor* ./ 21:46:48 ---> 98f3db56e983 21:46:48 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:46:48 ---> Running in b8e3558c342a 21:46:49 Still waiting to schedule task 21:46:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:47:21 Removing intermediate container b8e3558c342a 21:47:21 ---> 739f1bbca7f3 21:47:21 Step 11/13 : COPY . . 21:47:21 ---> 6a9b781e9bbc 21:47:21 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:47:21 ---> Running in e7f6ca2c6ac8 21:47:21  % Total % Received % Xferd Average Speed Time Time Time Current 21:47:21 Dload Upload Total Spent Left Speed 21:47:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8337 0 --:--:-- --:--:-- --:--:-- 8362 21:47:21 Removing intermediate container e7f6ca2c6ac8 21:47:21 ---> f5c218a76909 21:47:21 Step 13/13 : RUN ${MAKE} 21:47:21 ---> Running in 4664c015e1fe 21:47:21 noop 21:47:21 Removing intermediate container 4664c015e1fe 21:47:21 ---> 908fcce4be44 21:47:21 Successfully built 908fcce4be44 21:47:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:21 + docker inspect -f . ci-base-image-x86_64 21:47:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:21 prd-ubuntu20.04-docker-8c-8g-19016 does not seem to be running inside a container 21:47:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-261 -v /w/workspace/foundry_device-usb-camera_PR-261:/w/workspace/foundry_device-usb-camera_PR-261:rw,z -v /w/workspace/foundry_device-usb-camera_PR-261@tmp:/w/workspace/foundry_device-usb-camera_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:47:21 $ docker top 9d0dcd02665cd45ecf7138b5fb65bf36eee03dc2784231d01a03aa212ed953f3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:47:22 + go version 21:47:22 go version go1.20.2 linux/amd64 [Pipeline] } 21:47:22 $ docker stop --time=1 9d0dcd02665cd45ecf7138b5fb65bf36eee03dc2784231d01a03aa212ed953f3 21:47:23 $ docker rm -f --volumes 9d0dcd02665cd45ecf7138b5fb65bf36eee03dc2784231d01a03aa212ed953f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:23 + docker inspect -f . ci-base-image-x86_64 21:47:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:47:23 prd-ubuntu20.04-docker-8c-8g-19016 does not seem to be running inside a container 21:47:23 $ 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-261 -v /w/workspace/foundry_device-usb-camera_PR-261:/w/workspace/foundry_device-usb-camera_PR-261:rw,z -v /w/workspace/foundry_device-usb-camera_PR-261@tmp:/w/workspace/foundry_device-usb-camera_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:47:24 $ docker top 33d88916c14698d916398bdb42d5fe7fa327f6a35fe7a3854cd92026ea648e72 -eo pid,comm [Pipeline] { [Pipeline] sh 21:47:24 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-261 [Pipeline] fileExists [Pipeline] sh 21:47:24 + make test 21:47:24 go test ./... -coverprofile=coverage.out ./... 21:47:30 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:47:40 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:47:40 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.020s coverage: 1.6% of statements 21:47:46 go vet ./... 21:47:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:47:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:47:50 ./bin/test-attribution-txt.sh [Pipeline] echo 21:47:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:47:50 $ docker stop --time=1 33d88916c14698d916398bdb42d5fe7fa327f6a35fe7a3854cd92026ea648e72 21:47:53 $ docker rm -f --volumes 33d88916c14698d916398bdb42d5fe7fa327f6a35fe7a3854cd92026ea648e72 [Pipeline] // withDockerContainer [Pipeline] sh 21:47:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:47:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:47:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:47:54 + ls -al . 21:47:54 total 196 21:47:54 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 21:47 . 21:47:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:46 .. 21:47:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 21:46 .git 21:47:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:46 .github 21:47:54 -rw-rw-r-- 1 jenkins jenkins 414 Jun 21 21:46 .gitignore 21:47:54 -rw-rw-r-- 1 jenkins jenkins 45 Jun 21 21:46 .golangci.yml 21:47:54 -rw-rw-r-- 1 jenkins jenkins 77 Jun 21 21:46 .hadolint.yml 21:47:54 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 21:46 .semver 21:47:54 -rw-rw-r-- 1 jenkins jenkins 9665 Jun 21 21:46 Attribution.txt 21:47:54 -rw-rw-r-- 1 jenkins jenkins 11903 Jun 21 21:46 CHANGELOG.md 21:47:54 -rw-rw-r-- 1 jenkins jenkins 2453 Jun 21 21:46 Dockerfile 21:47:54 -rw-rw-r-- 1 jenkins jenkins 678 Jun 21 21:46 GOVERNANCE.md 21:47:54 -rw-rw-r-- 1 jenkins jenkins 659 Jun 21 21:46 Jenkinsfile 21:47:54 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 21 21:46 LICENSE 21:47:54 -rw-rw-r-- 1 jenkins jenkins 2364 Jun 21 21:46 Makefile 21:47:54 -rw-rw-r-- 1 jenkins jenkins 622 Jun 21 21:46 OWNERS.md 21:47:54 -rw-rw-r-- 1 jenkins jenkins 2575 Jun 21 21:46 README.md 21:47:54 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 21:46 VERSION 21:47:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:46 bin 21:47:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:46 cmd 21:47:54 -rw-r--r-- 1 jenkins jenkins 35910 Jun 21 21:47 coverage.out 21:47:54 -rwxrwxr-x 1 jenkins jenkins 140 Jun 21 21:46 docker-entrypoint.sh 21:47:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:46 docs 21:47:54 -rw-rw-r-- 1 jenkins jenkins 3371 Jun 21 21:46 go.mod 21:47:54 -rw-rw-r-- 1 jenkins jenkins 31482 Jun 21 21:46 go.sum 21:47:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:46 internal 21:47:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:46 snap 21:47:54 -rw-rw-r-- 1 jenkins jenkins 231 Jun 21 21:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:55 + 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=adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 --label arch=amd64 --label version=0.0.0 . 21:47:55 Sending build context to Docker daemon 2.035MB 21:47:55 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 21:47:55 Step 2/36 : FROM ${BASE} AS builder 21:47:55 ---> 908fcce4be44 21:47:55 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:47:55 ---> Running in 118a79675566 21:47:55 Removing intermediate container 118a79675566 21:47:55 ---> 89a0faa269a0 21:47:55 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:47:55 ---> Running in b883d6ab6cda 21:47:55 Removing intermediate container b883d6ab6cda 21:47:55 ---> fb8d1ece1e33 21:47:55 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:47:55 ---> Running in 2a3d216d34af 21:47:55 Removing intermediate container 2a3d216d34af 21:47:55 ---> 15a1c4b96c25 21:47:55 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:47:55 ---> Running in db88088d6c6f 21:47:55 Removing intermediate container db88088d6c6f 21:47:55 ---> 0dde5487f27c 21:47:55 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:47:55 ---> Running in 007b271555cf 21:47:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:47:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:47:56 OK: 272 MiB in 67 packages 21:47:56 Removing intermediate container 007b271555cf 21:47:56 ---> 3eb526ee1c58 21:47:56 Step 8/36 : WORKDIR /device-usb-camera 21:47:56 ---> Running in ad16b43d558a 21:47:56 Removing intermediate container ad16b43d558a 21:47:56 ---> c784ee0a840c 21:47:56 Step 9/36 : COPY go.mod vendor* ./ 21:47:57 ---> a22003d747dd 21:47:57 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:47:57 ---> Running in b591a9a53f7d 21:47:57 Removing intermediate container b591a9a53f7d 21:47:57 ---> 7e13faab9a2a 21:47:57 Step 11/36 : COPY . . 21:47:57 ---> 136d4f07ceff 21:47:57 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:47:58 ---> Running in 9be66dc411e9 21:47:58  % Total % Received % Xferd Average Speed Time Time Time Current 21:47:58   Dload Upload  Total Spent Left Speed 21:47:58  0  0  0  0  0  0  0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20464 0 --:--:-- --:--:-- --:--:-- 20823 21:47:58 Removing intermediate container 9be66dc411e9 21:47:58 ---> 6bebd001e0f5 21:47:58 Step 13/36 : RUN ${MAKE} 21:47:58 ---> Running in 803ee311eba1 21:47:58 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:48:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19017 in /w/workspace/foundry_device-usb-camera_PR-261 [Pipeline] { [Pipeline] ws 21:48:14 Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout 21:48:14 Selected Git installation does not exist. Using Default 21:48:14 The recommended git tool is: NONE 21:48:20 Removing intermediate container 803ee311eba1 21:48:20 ---> cb54dd7a589d 21:48:20 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:48:20 v0.21.6: Pulling from aler9/rtsp-simple-server 21:48:20 4acc49c71d14: Pulling fs layer 21:48:20 4acc49c71d14: Verifying Checksum 21:48:20 4acc49c71d14: Download complete 21:48:20 4acc49c71d14: Pull complete 21:48:20 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:48:20 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:48:20 ---> 01a2bd3e5fff 21:48:20 Step 15/36 : FROM alpine:3.17 21:48:20 3.17: Pulling from library/alpine 21:48:20 4db1b89c0bd1: Pulling fs layer 21:48:20 4db1b89c0bd1: Verifying Checksum 21:48:20 4db1b89c0bd1: Download complete 21:48:20 4db1b89c0bd1: Pull complete 21:48:20 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:48:20 Status: Downloaded newer image for alpine:3.17 21:48:20 ---> 1f73a9d63274 21:48:20 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:48:21 ---> Running in 61cb9b138faa 21:48:21 Removing intermediate container 61cb9b138faa 21:48:21 ---> 370174972348 21:48:21 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:48:21 ---> Running in cd09ff5b1328 21:48:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:48:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:48:21 (1/86) Installing dumb-init (1.2.5-r2) 21:48:21 (2/86) Installing sdl2 (2.26.5-r0) 21:48:21 (3/86) Installing svt-av1-libs (1.3.0-r0) 21:48:22 (4/86) Installing libxau (1.0.10-r0) 21:48:22 (5/86) Installing libmd (1.0.4-r0) 21:48:22 (6/86) Installing libbsd (0.11.7-r0) 21:48:22 (7/86) Installing libxdmcp (1.1.4-r0) 21:48:22 (8/86) Installing libxcb (1.15-r0) 21:48:22 (9/86) Installing libx11 (1.8.4-r1) 21:48:22 (10/86) Installing aom-libs (3.5.0-r0) 21:48:22 (11/86) Installing alsa-lib (1.2.8-r0) 21:48:22 (12/86) Installing libexpat (2.5.0-r0) 21:48:22 (13/86) Installing brotli-libs (1.0.9-r9) 21:48:22 (14/86) Installing libbz2 (1.0.8-r4) 21:48:22 (15/86) Installing libpng (1.6.38-r0) 21:48:22 (16/86) Installing freetype (2.12.1-r0) 21:48:22 (17/86) Installing fontconfig (2.14.1-r0) 21:48:22 (18/86) Installing fribidi (1.0.12-r0) 21:48:22 (19/86) Installing libffi (3.4.4-r0) 21:48:22 (20/86) Installing libintl (0.21.1-r1) 21:48:22 (21/86) Installing libblkid (2.38.1-r1) 21:48:22 (22/86) Installing libmount (2.38.1-r1) 21:48:22 (23/86) Installing pcre2 (10.42-r0) 21:48:22 (24/86) Installing glib (2.74.7-r0) 21:48:22 (25/86) Installing graphite2 (1.3.14-r2) 21:48:22 (26/86) Installing harfbuzz (5.3.1-r1) 21:48:22 (27/86) Installing libass (0.16.0-r1) 21:48:22 (28/86) Installing libdav1d (1.0.0-r2) 21:48:22 (29/86) Installing hwdata-pci (0.364-r0) 21:48:22 (30/86) Installing libpciaccess (0.17-r0) 21:48:22 (31/86) Installing libdrm (2.4.114-r0) 21:48:22 (32/86) Installing gmp (6.2.1-r2) 21:48:22 (33/86) Installing nettle (3.8.1-r0) 21:48:22 (34/86) Installing p11-kit (0.24.1-r1) 21:48:22 (35/86) Installing libtasn1 (4.19.0-r0) 21:48:22 (36/86) Installing libunistring (1.1-r0) 21:48:22 (37/86) Installing gnutls (3.7.8-r3) 21:48:22 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 21:48:22 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 21:48:22 (40/86) Installing lame (3.100-r2) 21:48:22 (41/86) Installing opus (1.3.1-r1) 21:48:22 (42/86) Installing libasyncns (0.8-r1) 21:48:22 (43/86) Installing dbus-libs (1.14.8-r0) 21:48:22 (44/86) Installing libltdl (2.4.7-r1) 21:48:22 (45/86) Installing orc (0.4.33-r0) 21:48:22 (46/86) Installing libgcc (12.2.1_git20220924-r4) 21:48:22 (47/86) Installing libogg (1.3.5-r2) 21:48:22 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 21:48:22 (49/86) Installing flac-libs (1.4.2-r0) 21:48:22 (50/86) Installing libvorbis (1.3.7-r0) 21:48:22 (51/86) Installing libsndfile (1.1.0-r2) 21:48:22 (52/86) Installing libgomp (12.2.1_git20220924-r4) 21:48:22 (53/86) Installing soxr (0.1.3-r3) 21:48:22 (54/86) Installing speexdsp (1.2.1-r0) 21:48:22 (55/86) Installing tdb-libs (1.4.6-r0) 21:48:22 (56/86) Installing libpulse (16.1-r6) 21:48:22 (57/86) Installing cjson (1.7.15-r3) 21:48:22 (58/86) Installing mbedtls (2.28.3-r0) 21:48:22 (59/86) Installing librist (0.2.7-r0) 21:48:22 (60/86) Installing libsrt (1.5.1-r0) 21:48:22 (61/86) Installing libssh (0.10.5-r0) 21:48:22 (62/86) Installing libtheora (1.1.1-r16) 21:48:22 (63/86) Installing libjpeg-turbo (2.1.4-r0) 21:48:22 (64/86) Installing v4l-utils-libs (1.22.1-r2) 21:48:22 (65/86) Installing libxext (1.3.5-r0) 21:48:22 (66/86) Installing libxfixes (6.0.0-r0) 21:48:22 (67/86) Installing wayland-libs-client (1.21.0-r1) 21:48:22 (68/86) Installing libva (2.16.0-r0) 21:48:22 (69/86) Installing libvdpau (1.5-r0) 21:48:22 (70/86) Installing vidstab (1.1.0-r2) 21:48:22 (71/86) Installing libvpx (1.12.0-r1) 21:48:22 (72/86) Installing libwebp (1.2.4-r2) 21:48:22 (73/86) Installing x264-libs (0.164_git20220602-r0) 21:48:22 (74/86) Installing numactl (2.0.16-r1) 21:48:22 (75/86) Installing x265-libs (3.5-r3) 21:48:22 (76/86) Installing xvidcore (1.3.7-r1) 21:48:22 using credential edgex-jenkins-ssh 21:48:22 Cloning the remote Git repository 21:48:22 (77/86) Installing libsodium (1.0.18-r2) 21:48:22 (78/86) Installing libzmq (4.3.4-r1) 21:48:22 (79/86) Installing ffmpeg-libs (5.1.3-r0) 21:48:22 (80/86) Installing ffmpeg (5.1.3-r0) 21:48:22 (81/86) Installing udev-init-scripts (35-r1) 21:48:22 (82/86) Installing eudev-libs (3.2.11-r4) 21:48:22 (83/86) Installing xz-libs (5.2.9-r0) 21:48:22 (84/86) Installing zstd-libs (1.5.5-r0) 21:48:22 (85/86) Installing kmod-libs (30-r1) 21:48:22 (86/86) Installing eudev (3.2.11-r4) 21:48:22 Executing busybox-1.35.0-r29.trigger 21:48:22 Executing eudev-3.2.11-r4.trigger 21:48:22 OK: 112 MiB in 101 packages 21:48:23 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 21:48:23 > git init /w/workspace/device-usb-camera/3 # timeout=10 21:48:23 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:48:23 > git --version # timeout=10 21:48:23 > git --version # 'git version 2.25.1' 21:48:23 using GIT_SSH to set credentials SSH Credentials for GitHub 21:48:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:48:24 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:48:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:48:25 Removing intermediate container cd09ff5b1328 21:48:25 ---> e6b675cd6ce0 21:48:25 Step 18/36 : WORKDIR / 21:48:25 ---> Running in 62bd79d9ab6f 21:48:25 Removing intermediate container 62bd79d9ab6f 21:48:25 ---> 8fd45081db2f 21:48:25 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:48:24 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:48:25 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:48:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:48:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/261/head:refs/remotes/origin/PR-261 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:48:25 Merging remotes/origin/main commit 4f0060f0a01e6b631d5ad01a980021319d7b9523 into PR head commit 7f819715f6eab2cabb07c018dc9af6bca33a8dab 21:48:25 Merge succeeded, producing 7c401f7ed779ff9b52302d9820057d21f93a528b 21:48:25 Checking out Revision 7c401f7ed779ff9b52302d9820057d21f93a528b (PR-261) 21:48:26 ---> 443468c8764d 21:48:26 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:48:26 ---> 60e0e246b862 21:48:26 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:48:26 ---> 5bbec896efc5 21:48:26 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:48:26 ---> b78f7caaef14 21:48:26 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:48:26 ---> a29d4d19c4c1 21:48:26 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:48:26 ---> 113fd1350706 21:48:26 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:48:25 > git config core.sparsecheckout # timeout=10 21:48:25 > git checkout -f 7f819715f6eab2cabb07c018dc9af6bca33a8dab # timeout=10 21:48:25 > git remote # timeout=10 21:48:25 > git config --get remote.origin.url # timeout=10 21:48:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:48:25 > git merge 4f0060f0a01e6b631d5ad01a980021319d7b9523 # timeout=10 21:48:25 > git rev-parse HEAD^{commit} # timeout=10 21:48:25 > git config core.sparsecheckout # timeout=10 21:48:25 > git checkout -f 7c401f7ed779ff9b52302d9820057d21f93a528b # timeout=10 21:48:27 ---> 485236ac94a2 21:48:27 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:48:27 ---> Running in f5ad8a334d91 21:48:28 Removing intermediate container f5ad8a334d91 21:48:28 ---> 49342067e999 21:48:28 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:48:28 ---> Running in 7426665539ca 21:48:28 Removing intermediate container 7426665539ca 21:48:28 ---> db3ae205c86e 21:48:28 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:48:28 ---> Running in 38a63c42a1db 21:48:29 Removing intermediate container 38a63c42a1db 21:48:29 ---> 80ae54cc104b 21:48:29 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:48:29 ---> Running in b2a3af103b80 21:48:29 Commit message: "Merge commit '4f0060f0a01e6b631d5ad01a980021319d7b9523' into HEAD" 21:48:29 First time build. Skipping changelog. 21:48:29 Removing intermediate container b2a3af103b80 21:48:29 ---> a8b7b6caf38a 21:48:29 Step 30/36 : EXPOSE 59983 21:48:29 ---> Running in 65c1b4e3085d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:48:29 > git rev-list --no-walk 9128e85ef447f032f582c6007e89bef82aa22a03 # timeout=10 21:48:29 Removing intermediate container 65c1b4e3085d 21:48:29 ---> e50c531f212a 21:48:29 Step 31/36 : EXPOSE 8554 21:48:29 ---> Running in f494fbba2bce 21:48:29 Removing intermediate container f494fbba2bce 21:48:29 ---> 7c6c141c4ac7 21:48:29 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:48:29 ---> Running in a5e19b4e4a8c 21:48:29 Removing intermediate container a5e19b4e4a8c 21:48:29 ---> e435ed505c9e 21:48:29 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:48:29 ---> Running in f05e8eef4f0f 21:48:30 Removing intermediate container f05e8eef4f0f 21:48:30 ---> 595e61d15fe0 21:48:30 Step 34/36 : LABEL arch=amd64 21:48:30 ---> Running in e9d63dfe8393 21:48:30 Removing intermediate container e9d63dfe8393 21:48:30 ---> fea26a7324d8 21:48:30 Step 35/36 : LABEL git_sha=adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 21:48:30 ---> Running in 1e1d7e75f122 21:48:30 Removing intermediate container 1e1d7e75f122 21:48:30 ---> 8fae78ce2083 21:48:30 Step 36/36 : LABEL version=0.0.0 21:48:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:48:30 % Total % Received % Xferd Average Speed Time Time Time Current 21:48:30 Dload Upload Total Spent Left Speed 21:48:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 21:48:30 ---> Running in 7df15f0af218 21:48:30 Removing intermediate container 7df15f0af218 21:48:30 ---> 01ad39e31e3b 21:48:30 [Warning] One or more build-args [ARCH] were not consumed 21:48:30 Successfully built 01ad39e31e3b 21:48:30 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 [Pipeline] sh 21:48:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:48:30 21:48:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:48:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:48:31 latest: Pulling from edgex-lftools-log-publisher 21:48:31 5eb5b503b376: Pulling fs layer 21:48:31 5c69ac0246d0: Pulling fs layer 21:48:31 ec43610c2a17: Pulling fs layer 21:48:31 3a2ae6a8a46f: Pulling fs layer 21:48:31 33b1e0a273af: Pulling fs layer 21:48:31 5d3b04190fa2: Pulling fs layer 21:48:31 2f39f015ded8: Pulling fs layer 21:48:31 33b1e0a273af: Waiting 21:48:31 3a2ae6a8a46f: Waiting 21:48:31 5d3b04190fa2: Waiting 21:48:31 2f39f015ded8: Waiting 21:48:31 5c69ac0246d0: Download complete 21:48:31 3a2ae6a8a46f: Download complete 21:48:31 33b1e0a273af: Verifying Checksum 21:48:31 33b1e0a273af: Download complete 21:48:31 5d3b04190fa2: Download complete 21:48:31 ec43610c2a17: Verifying Checksum 21:48:31 ec43610c2a17: Download complete 21:48:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:48:31 + sudo tee /etc/docker/daemon.new 21:48:31 { 21:48:31 "registry-mirrors": [ 21:48:31 "https://nexus3.edgexfoundry.org:10001" 21:48:31 ], 21:48:31 "bip": "10.250.0.254/24", 21:48:31 "hosts": [ 21:48:31 "tcp://0.0.0.0:5555", 21:48:31 "unix:///var/run/docker.sock" 21:48:31 ], 21:48:31 "mtu": 1458, 21:48:31 "selinux-enabled": true, 21:48:31 "seccomp-profile": "/etc/docker/seccomp.json" 21:48:31 } [Pipeline] sh 21:48:31 5eb5b503b376: Verifying Checksum 21:48:31 5eb5b503b376: Download complete 21:48:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:48:31 + sudo service docker restart 21:48:32 2f39f015ded8: Verifying Checksum 21:48:32 2f39f015ded8: Download complete 21:48:32 5eb5b503b376: Pull complete 21:48:32 5c69ac0246d0: Pull complete 21:48:33 ec43610c2a17: Pull complete 21:48:33 3a2ae6a8a46f: Pull complete 21:48:33 33b1e0a273af: Pull complete 21:48:33 5d3b04190fa2: Pull complete 21:48:37 2f39f015ded8: Pull complete 21:48:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:48:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:48:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:38 prd-ubuntu20.04-docker-8c-8g-19016 does not seem to be running inside a container 21:48:38 $ 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-261 -v /w/workspace/foundry_device-usb-camera_PR-261:/w/workspace/foundry_device-usb-camera_PR-261:rw,z -v /w/workspace/foundry_device-usb-camera_PR-261@tmp:/w/workspace/foundry_device-usb-camera_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:48:40 $ docker top d9b38d52383156fe1a2e7a6ed924bc43ad88d0cd45e2fd45e23b1b83cd3f9ee2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:48:41 ---> job-cost.sh 21:48:41 lf-activate-venv: SKIPPING 21:48:41 INFO: No Stack... 21:48:41 INFO: Retrieving Pricing Info for: v3-standard-8 21:48:42 INFO: Archiving Costs [Pipeline] sh 21:48:42 + cat /w/workspace/foundry_device-usb-camera_PR-261/archives/cost.csv 21:48:42 + cut -d, -f6 [Pipeline] lock 21:48:42 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] 21:48:42 Resource [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] did not exist. Created. 21:48:42 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:48:42 + echo total: 0.2199999988079071 [Pipeline] stash 21:48:42 Stashed 1 file(s) [Pipeline] } 21:48:42 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:48:42 $ docker stop --time=1 d9b38d52383156fe1a2e7a6ed924bc43ad88d0cd45e2fd45e23b1b83cd3f9ee2 21:48:43 $ docker rm -f --volumes d9b38d52383156fe1a2e7a6ed924bc43ad88d0cd45e2fd45e23b1b83cd3f9ee2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:48:50 provisioning config files... 21:48:50 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config7265964548497673890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:48:50 ---> docker-login.sh 21:48:50 nexus3.edgexfoundry.org:10001 21:48:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:51 Configure a credential helper to remove this warning. See 21:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:51 21:48:51 Login Succeeded 21:48:51 nexus3.edgexfoundry.org:10002 21:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:51 Configure a credential helper to remove this warning. See 21:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:51 21:48:51 Login Succeeded 21:48:51 nexus3.edgexfoundry.org:10003 21:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:51 Configure a credential helper to remove this warning. See 21:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:51 21:48:51 Login Succeeded 21:48:51 nexus3.edgexfoundry.org:10004 21:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:52 Configure a credential helper to remove this warning. See 21:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:52 21:48:52 Login Succeeded 21:48:52 docker.io 21:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:48:52 Configure a credential helper to remove this warning. See 21:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:48:52 21:48:52 Login Succeeded 21:48:52 ---> docker-login.sh ends [Pipeline] } 21:48:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:48:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:48:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:48:53 ========================================================= 21:48:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:48:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:48:53 Sending build context to Docker daemon 1.197MB 21:48:53 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:48:53 Step 2/13 : FROM ${BASE} AS builder 21:48:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:48:53 c41833b44d91: Pulling fs layer 21:48:53 ed15518f5707: Pulling fs layer 21:48:53 feae8fd75edb: Pulling fs layer 21:48:53 242c74f7c9fa: Pulling fs layer 21:48:53 3cdef696dda3: Pulling fs layer 21:48:53 2ced38df9373: Pulling fs layer 21:48:53 58f1dce35555: Pulling fs layer 21:48:53 3cdef696dda3: Waiting 21:48:53 242c74f7c9fa: Waiting 21:48:53 2ced38df9373: Waiting 21:48:53 58f1dce35555: Waiting 21:48:53 ed15518f5707: Verifying Checksum 21:48:53 ed15518f5707: Download complete 21:48:53 242c74f7c9fa: Verifying Checksum 21:48:53 242c74f7c9fa: Download complete 21:48:53 3cdef696dda3: Verifying Checksum 21:48:53 3cdef696dda3: Download complete 21:48:53 c41833b44d91: Verifying Checksum 21:48:53 c41833b44d91: Download complete 21:48:54 c41833b44d91: Pull complete 21:48:55 58f1dce35555: Verifying Checksum 21:48:55 58f1dce35555: Download complete 21:48:55 ed15518f5707: Pull complete 21:48:56 feae8fd75edb: Verifying Checksum 21:48:56 feae8fd75edb: Download complete 21:48:56 2ced38df9373: Verifying Checksum 21:48:56 2ced38df9373: Download complete 21:49:08 feae8fd75edb: Pull complete 21:49:08 242c74f7c9fa: Pull complete 21:49:08 3cdef696dda3: Pull complete 21:49:16 2ced38df9373: Pull complete 21:49:18 58f1dce35555: Pull complete 21:49:18 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:49:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:49:18 ---> fadd8f120f05 21:49:18 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:49:20 ---> Running in 3ae6527b2191 21:49:20 Removing intermediate container 3ae6527b2191 21:49:20 ---> dc5c2ee2a036 21:49:20 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:49:21 ---> Running in 7a39c947281b 21:49:21 Removing intermediate container 7a39c947281b 21:49:21 ---> 848f1fe660b8 21:49:21 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:49:21 ---> Running in bdc2436c7186 21:49:21 Removing intermediate container bdc2436c7186 21:49:21 ---> 679cd708584b 21:49:21 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:49:21 ---> Running in 06ca46d5737b 21:49:21 Removing intermediate container 06ca46d5737b 21:49:21 ---> 6f3ef8adf7cf 21:49:21 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:49:22 ---> Running in 40be35df03e6 21:49:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:49:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:49:24 (1/14) Installing libintl (0.21.1-r1) 21:49:24 (2/14) Installing eudev-libs (3.2.11-r4) 21:49:24 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:49:24 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:49:24 (5/14) Installing v4l-utils (1.22.1-r2) 21:49:24 (6/14) Installing udev-init-scripts (35-r1) 21:49:24 (7/14) Installing libblkid (2.38.1-r1) 21:49:24 (8/14) Installing xz-libs (5.2.9-r0) 21:49:24 (9/14) Installing zstd-libs (1.5.5-r0) 21:49:24 (10/14) Installing kmod-libs (30-r1) 21:49:24 (11/14) Installing eudev (3.2.11-r4) 21:49:24 (12/14) Installing eudev-dev (3.2.11-r4) 21:49:24 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:49:24 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:49:24 Executing busybox-1.35.0-r29.trigger 21:49:24 Executing eudev-3.2.11-r4.trigger 21:49:24 OK: 271 MiB in 67 packages 21:49:26 Removing intermediate container 40be35df03e6 21:49:26 ---> 1a9ded4aa0a4 21:49:26 Step 8/13 : WORKDIR /device-usb-camera 21:49:26 ---> Running in 3058ad1fb154 21:49:26 Removing intermediate container 3058ad1fb154 21:49:26 ---> 10e0c3118eef 21:49:26 Step 9/13 : COPY go.mod vendor* ./ 21:49:30 ---> 2d104c9460c0 21:49:30 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:49:30 ---> Running in 7793a360eee9 21:50:38 Removing intermediate container 7793a360eee9 21:50:38 ---> 41c2631f0932 21:50:38 Step 11/13 : COPY . . 21:50:38 ---> 627b59412131 21:50:38 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:50:38 ---> Running in 7e08ccae6dc7 21:50:38  % Total % Received % Xferd Average Speed Time Time Time Current 21:50:38 Dload Upload Total Spent Left Speed 21:50:38 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4266 0 --:--:-- --:--:-- --:--:-- 4299 21:50:38 Removing intermediate container 7e08ccae6dc7 21:50:38 ---> c7c0fbb969c5 21:50:38 Step 13/13 : RUN ${MAKE} 21:50:38 ---> Running in e96418736cf5 21:50:38 noop 21:50:38 Removing intermediate container e96418736cf5 21:50:38 ---> d64443a080d8 21:50:38 Successfully built d64443a080d8 21:50:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:38 + docker inspect -f . ci-base-image-arm64 21:50:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:39 prd-ubuntu20.04-docker-arm64-4c-16g-19017 does not seem to be running inside a container 21:50:39 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:50:40 $ docker top 4f74c8d599ec4259c5f6f2af38b69aa61aa05a15280b930d0d03ed67ba35a8ea -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:41 + go version 21:50:41 go version go1.20.2 linux/arm64 [Pipeline] } 21:50:41 $ docker stop --time=1 4f74c8d599ec4259c5f6f2af38b69aa61aa05a15280b930d0d03ed67ba35a8ea 21:50:42 $ docker rm -f --volumes 4f74c8d599ec4259c5f6f2af38b69aa61aa05a15280b930d0d03ed67ba35a8ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:43 + docker inspect -f . ci-base-image-arm64 21:50:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:43 prd-ubuntu20.04-docker-arm64-4c-16g-19017 does not seem to be running inside a container 21:50:43 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:50:44 $ docker top 7fc7449ef8dc93a518f38bc04319af57ee0befea97f4ddcf62e1b29958a69081 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:45 + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh 21:50:45 + make test 21:50:45 go test ./... -coverprofile=coverage.out ./... 21:51:17 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:53:09 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:53:17 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.075s coverage: 1.6% of statements 21:53:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:53:17 go vet ./... 21:53:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:53:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:53:56 ./bin/test-attribution-txt.sh [Pipeline] echo 21:53:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:53:56 $ docker stop --time=1 7fc7449ef8dc93a518f38bc04319af57ee0befea97f4ddcf62e1b29958a69081 21:53:58 $ docker rm -f --volumes 7fc7449ef8dc93a518f38bc04319af57ee0befea97f4ddcf62e1b29958a69081 [Pipeline] // withDockerContainer [Pipeline] sh 21:53:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:53:59 Warning: overwriting stash ‘coverage-report’ 21:54:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:54:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:54:00 + ls -al . 21:54:00 total 192 21:54:00 drwxrwxr-x 9 jenkins jenkins 4096 Jun 21 21:50 . 21:54:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:48 .. 21:54:00 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 21:48 .git 21:54:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:48 .github 21:54:00 -rw-rw-r-- 1 jenkins jenkins 414 Jun 21 21:48 .gitignore 21:54:00 -rw-rw-r-- 1 jenkins jenkins 45 Jun 21 21:48 .golangci.yml 21:54:00 -rw-rw-r-- 1 jenkins jenkins 77 Jun 21 21:48 .hadolint.yml 21:54:00 -rw-rw-r-- 1 jenkins jenkins 9665 Jun 21 21:48 Attribution.txt 21:54:00 -rw-rw-r-- 1 jenkins jenkins 11903 Jun 21 21:48 CHANGELOG.md 21:54:00 -rw-rw-r-- 1 jenkins jenkins 2453 Jun 21 21:48 Dockerfile 21:54:00 -rw-rw-r-- 1 jenkins jenkins 678 Jun 21 21:48 GOVERNANCE.md 21:54:00 -rw-rw-r-- 1 jenkins jenkins 659 Jun 21 21:48 Jenkinsfile 21:54:00 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 21 21:48 LICENSE 21:54:00 -rw-rw-r-- 1 jenkins jenkins 2364 Jun 21 21:48 Makefile 21:54:00 -rw-rw-r-- 1 jenkins jenkins 622 Jun 21 21:48 OWNERS.md 21:54:00 -rw-rw-r-- 1 jenkins jenkins 2575 Jun 21 21:48 README.md 21:54:00 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 21:46 VERSION 21:54:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:48 bin 21:54:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:48 cmd 21:54:00 -rw-r--r-- 1 jenkins jenkins 35910 Jun 21 21:53 coverage.out 21:54:00 -rwxrwxr-x 1 jenkins jenkins 140 Jun 21 21:48 docker-entrypoint.sh 21:54:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:48 docs 21:54:00 -rw-rw-r-- 1 jenkins jenkins 3371 Jun 21 21:48 go.mod 21:54:00 -rw-rw-r-- 1 jenkins jenkins 31482 Jun 21 21:48 go.sum 21:54:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:48 internal 21:54:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:48 snap 21:54:00 -rw-rw-r-- 1 jenkins jenkins 231 Jun 21 21:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:54:01 + 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=7c401f7ed779ff9b52302d9820057d21f93a528b --label arch=arm64 --label version=0.0.0 . 21:54:01 Sending build context to Docker daemon 1.234MB 21:54:01 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 21:54:01 Step 2/36 : FROM ${BASE} AS builder 21:54:01 ---> d64443a080d8 21:54:01 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:54:01 ---> Running in 756990a4fee5 21:54:01 Removing intermediate container 756990a4fee5 21:54:01 ---> 64c7f4efef1a 21:54:01 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:54:01 ---> Running in 300e1359616d 21:54:02 Removing intermediate container 300e1359616d 21:54:02 ---> 3c759332bd7e 21:54:02 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:54:02 ---> Running in cbd62d43e9b1 21:54:02 Removing intermediate container cbd62d43e9b1 21:54:02 ---> 39f3bf4d05fe 21:54:02 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:54:02 ---> Running in c2637d6d80f5 21:54:02 Removing intermediate container c2637d6d80f5 21:54:02 ---> 84ede2adad32 21:54:02 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:54:02 ---> Running in 8bf5b9b8a9b5 21:54:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:54:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:54:05 OK: 271 MiB in 67 packages 21:54:06 Removing intermediate container 8bf5b9b8a9b5 21:54:06 ---> 5e2faf3a4588 21:54:06 Step 8/36 : WORKDIR /device-usb-camera 21:54:06 ---> Running in 59d017135790 21:54:06 Removing intermediate container 59d017135790 21:54:06 ---> 0e2281f926b7 21:54:06 Step 9/36 : COPY go.mod vendor* ./ 21:54:06 ---> 87bc6786a3e4 21:54:06 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:54:06 ---> Running in 5631d94baffc 21:54:09 Removing intermediate container 5631d94baffc 21:54:09 ---> 805898fed526 21:54:09 Step 11/36 : COPY . . 21:54:10 ---> 5224f8e7932c 21:54:10 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:54:10 ---> Running in 14e8377badca 21:54:12  % Total % Received % Xferd Average Speed Time Time Time Current 21:54:12  Dload Upload  Total Spent Left Speed 21:54:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3232 0 --:--:-- --:--:-- --:--:-- 3237 21:54:12 Removing intermediate container 14e8377badca 21:54:12 ---> 67d659393b82 21:54:12 Step 13/36 : RUN ${MAKE} 21:54:13 ---> Running in aeddd032fec4 21:54:14 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:56:35 Removing intermediate container aeddd032fec4 21:56:35 ---> d7850cfb9b4d 21:56:35 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:56:35 v0.21.6: Pulling from aler9/rtsp-simple-server 21:56:35 8766b47fe142: Pulling fs layer 21:56:35 8766b47fe142: Verifying Checksum 21:56:35 8766b47fe142: Download complete 21:56:35 8766b47fe142: Pull complete 21:56:35 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:56:35 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:56:35 ---> 69d40e2cb93c 21:56:35 Step 15/36 : FROM alpine:3.17 21:56:35 3.17: Pulling from library/alpine 21:56:35 edb6bdbacee9: Pulling fs layer 21:56:35 edb6bdbacee9: Verifying Checksum 21:56:35 edb6bdbacee9: Download complete 21:56:35 edb6bdbacee9: Pull complete 21:56:35 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:56:35 Status: Downloaded newer image for alpine:3.17 21:56:35 ---> 779605e5fbc0 21:56:35 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:56:35 ---> Running in 0dbe8bbcafce 21:56:35 Removing intermediate container 0dbe8bbcafce 21:56:35 ---> e9880bdf2cba 21:56:35 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:56:35 ---> Running in f65ab33b461c 21:56:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:56:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:56:37 (1/83) Installing dumb-init (1.2.5-r2) 21:56:37 (2/83) Installing sdl2 (2.26.5-r0) 21:56:37 (3/83) Installing libxau (1.0.10-r0) 21:56:37 (4/83) Installing libmd (1.0.4-r0) 21:56:37 (5/83) Installing libbsd (0.11.7-r0) 21:56:37 (6/83) Installing libxdmcp (1.1.4-r0) 21:56:37 (7/83) Installing libxcb (1.15-r0) 21:56:37 (8/83) Installing libx11 (1.8.4-r1) 21:56:37 (9/83) Installing aom-libs (3.5.0-r0) 21:56:37 (10/83) Installing alsa-lib (1.2.8-r0) 21:56:37 (11/83) Installing libexpat (2.5.0-r0) 21:56:37 (12/83) Installing brotli-libs (1.0.9-r9) 21:56:37 (13/83) Installing libbz2 (1.0.8-r4) 21:56:37 (14/83) Installing libpng (1.6.38-r0) 21:56:37 (15/83) Installing freetype (2.12.1-r0) 21:56:37 (16/83) Installing fontconfig (2.14.1-r0) 21:56:38 (17/83) Installing fribidi (1.0.12-r0) 21:56:38 (18/83) Installing libffi (3.4.4-r0) 21:56:38 (19/83) Installing libintl (0.21.1-r1) 21:56:38 (20/83) Installing libblkid (2.38.1-r1) 21:56:38 (21/83) Installing libmount (2.38.1-r1) 21:56:38 (22/83) Installing pcre2 (10.42-r0) 21:56:38 (23/83) Installing glib (2.74.7-r0) 21:56:38 (24/83) Installing graphite2 (1.3.14-r2) 21:56:38 (25/83) Installing harfbuzz (5.3.1-r1) 21:56:38 (26/83) Installing libass (0.16.0-r1) 21:56:38 (27/83) Installing libdav1d (1.0.0-r2) 21:56:38 (28/83) Installing libdrm (2.4.114-r0) 21:56:38 (29/83) Installing gmp (6.2.1-r2) 21:56:38 (30/83) Installing nettle (3.8.1-r0) 21:56:38 (31/83) Installing p11-kit (0.24.1-r1) 21:56:38 (32/83) Installing libtasn1 (4.19.0-r0) 21:56:38 (33/83) Installing libunistring (1.1-r0) 21:56:38 (34/83) Installing gnutls (3.7.8-r3) 21:56:38 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 21:56:38 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 21:56:38 (37/83) Installing lame (3.100-r2) 21:56:38 (38/83) Installing opus (1.3.1-r1) 21:56:38 (39/83) Installing libasyncns (0.8-r1) 21:56:38 (40/83) Installing dbus-libs (1.14.8-r0) 21:56:38 (41/83) Installing libltdl (2.4.7-r1) 21:56:38 (42/83) Installing orc (0.4.33-r0) 21:56:38 (43/83) Installing libgcc (12.2.1_git20220924-r4) 21:56:38 (44/83) Installing libogg (1.3.5-r2) 21:56:38 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 21:56:38 (46/83) Installing flac-libs (1.4.2-r0) 21:56:38 (47/83) Installing libvorbis (1.3.7-r0) 21:56:38 (48/83) Installing libsndfile (1.1.0-r2) 21:56:38 (49/83) Installing libgomp (12.2.1_git20220924-r4) 21:56:38 (50/83) Installing soxr (0.1.3-r3) 21:56:38 (51/83) Installing speexdsp (1.2.1-r0) 21:56:38 (52/83) Installing tdb-libs (1.4.6-r0) 21:56:38 (53/83) Installing libpulse (16.1-r6) 21:56:38 (54/83) Installing cjson (1.7.15-r3) 21:56:38 (55/83) Installing mbedtls (2.28.3-r0) 21:56:38 (56/83) Installing librist (0.2.7-r0) 21:56:38 (57/83) Installing libsrt (1.5.1-r0) 21:56:38 (58/83) Installing libssh (0.10.5-r0) 21:56:38 (59/83) Installing libtheora (1.1.1-r16) 21:56:38 (60/83) Installing libjpeg-turbo (2.1.4-r0) 21:56:38 (61/83) Installing v4l-utils-libs (1.22.1-r2) 21:56:38 (62/83) Installing libxext (1.3.5-r0) 21:56:38 (63/83) Installing libxfixes (6.0.0-r0) 21:56:38 (64/83) Installing wayland-libs-client (1.21.0-r1) 21:56:38 (65/83) Installing libva (2.16.0-r0) 21:56:38 (66/83) Installing libvdpau (1.5-r0) 21:56:38 (67/83) Installing vidstab (1.1.0-r2) 21:56:38 (68/83) Installing libvpx (1.12.0-r1) 21:56:39 (69/83) Installing libwebp (1.2.4-r2) 21:56:39 (70/83) Installing x264-libs (0.164_git20220602-r0) 21:56:39 (71/83) Installing numactl (2.0.16-r1) 21:56:39 (72/83) Installing x265-libs (3.5-r3) 21:56:39 (73/83) Installing xvidcore (1.3.7-r1) 21:56:39 (74/83) Installing libsodium (1.0.18-r2) 21:56:39 (75/83) Installing libzmq (4.3.4-r1) 21:56:39 (76/83) Installing ffmpeg-libs (5.1.3-r0) 21:56:39 (77/83) Installing ffmpeg (5.1.3-r0) 21:56:39 (78/83) Installing udev-init-scripts (35-r1) 21:56:39 (79/83) Installing eudev-libs (3.2.11-r4) 21:56:39 (80/83) Installing xz-libs (5.2.9-r0) 21:56:39 (81/83) Installing zstd-libs (1.5.5-r0) 21:56:39 (82/83) Installing kmod-libs (30-r1) 21:56:39 (83/83) Installing eudev (3.2.11-r4) 21:56:39 Executing busybox-1.35.0-r29.trigger 21:56:39 Executing eudev-3.2.11-r4.trigger 21:56:39 OK: 86 MiB in 98 packages 21:56:43 Removing intermediate container f65ab33b461c 21:56:43 ---> 7d0cfb583da5 21:56:43 Step 18/36 : WORKDIR / 21:56:43 ---> Running in 243f00a158ce 21:56:43 Removing intermediate container 243f00a158ce 21:56:43 ---> 8a39620617cd 21:56:43 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:56:44 ---> 173e8aea0c00 21:56:44 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:56:45 ---> b111eff6ab01 21:56:45 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:56:45 ---> 1c027f81e391 21:56:45 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:56:46 ---> 55bf253b4a0c 21:56:46 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:56:46 ---> aba08c9504dd 21:56:46 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:56:46 ---> ca1318aa7583 21:56:46 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:56:48 ---> 6e37fa6bb041 21:56:48 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:56:48 ---> Running in fd5e3fc7fbef 21:56:50 Removing intermediate container fd5e3fc7fbef 21:56:50 ---> 47f357e8ec59 21:56:50 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:56:50 ---> Running in 31b264a9f749 21:56:53 Removing intermediate container 31b264a9f749 21:56:53 ---> bd3a75a24dae 21:56:53 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:56:53 ---> Running in 1d93a53dfc07 21:56:55 Removing intermediate container 1d93a53dfc07 21:56:55 ---> 03c3d2f16a65 21:56:55 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:56:55 ---> Running in 4bbf93c381d9 21:56:56 Removing intermediate container 4bbf93c381d9 21:56:56 ---> 4ee0c0ccfe27 21:56:56 Step 30/36 : EXPOSE 59983 21:56:56 ---> Running in f2133b12d76e 21:56:56 Removing intermediate container f2133b12d76e 21:56:56 ---> b7d9513da8e3 21:56:56 Step 31/36 : EXPOSE 8554 21:56:56 ---> Running in 99fc54a45b93 21:56:56 Removing intermediate container 99fc54a45b93 21:56:56 ---> e1e54ea95a7a 21:56:56 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:56:56 ---> Running in 84db58a578b1 21:56:57 Removing intermediate container 84db58a578b1 21:56:57 ---> d53b058988e7 21:56:57 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:56:57 ---> Running in af9895120043 21:56:57 Removing intermediate container af9895120043 21:56:57 ---> 84aff793a9f7 21:56:57 Step 34/36 : LABEL arch=arm64 21:56:57 ---> Running in e488c41ddf27 21:56:58 Removing intermediate container e488c41ddf27 21:56:58 ---> ef4b5f31b175 21:56:58 Step 35/36 : LABEL git_sha=7c401f7ed779ff9b52302d9820057d21f93a528b 21:56:58 ---> Running in 35e26ceb1ae1 21:56:58 Removing intermediate container 35e26ceb1ae1 21:56:58 ---> fb5096b17f0f 21:56:58 Step 36/36 : LABEL version=0.0.0 21:56:58 ---> Running in c9310f99a50e 21:56:58 Removing intermediate container c9310f99a50e 21:56:58 ---> f8df2630af24 21:56:58 [Warning] One or more build-args [ARCH] were not consumed 21:56:58 Successfully built f8df2630af24 21:56:58 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 21:56:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:56:59 21:56:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:56:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:56:59 arm64: Pulling from edgex-lftools-log-publisher 21:56:59 8998bd30e6a1: Pulling fs layer 21:56:59 04944245beec: Pulling fs layer 21:56:59 699f458cf7ca: Pulling fs layer 21:56:59 765212b225bb: Pulling fs layer 21:56:59 f23df028b6ca: Pulling fs layer 21:56:59 d65c8cfc05b1: Pulling fs layer 21:56:59 2437ff75d9bd: Pulling fs layer 21:56:59 765212b225bb: Waiting 21:56:59 f23df028b6ca: Waiting 21:56:59 d65c8cfc05b1: Waiting 21:56:59 2437ff75d9bd: Waiting 21:56:59 04944245beec: Verifying Checksum 21:56:59 04944245beec: Download complete 21:56:59 765212b225bb: Verifying Checksum 21:56:59 765212b225bb: Download complete 21:56:59 f23df028b6ca: Verifying Checksum 21:56:59 f23df028b6ca: Download complete 21:56:59 d65c8cfc05b1: Verifying Checksum 21:56:59 d65c8cfc05b1: Download complete 21:57:00 699f458cf7ca: Verifying Checksum 21:57:00 699f458cf7ca: Download complete 21:57:00 8998bd30e6a1: Verifying Checksum 21:57:00 8998bd30e6a1: Download complete 21:57:03 2437ff75d9bd: Verifying Checksum 21:57:03 2437ff75d9bd: Download complete 21:57:04 8998bd30e6a1: Pull complete 21:57:04 04944245beec: Pull complete 21:57:06 699f458cf7ca: Pull complete 21:57:06 765212b225bb: Pull complete 21:57:08 f23df028b6ca: Pull complete 21:57:08 d65c8cfc05b1: Pull complete 21:57:23 2437ff75d9bd: Pull complete 21:57:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:57:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:57:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:23 prd-ubuntu20.04-docker-arm64-4c-16g-19017 does not seem to be running inside a container 21:57:23 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:57:25 $ docker top eb8513eb64dec256655d10dc8128348ee0a67e7d6e73c3fc89a30acc6e75601a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:57:26 ---> job-cost.sh 21:57:26 lf-activate-venv: SKIPPING 21:57:26 INFO: No Stack... 21:57:26 INFO: Retrieving Pricing Info for: v3-standard-4 21:57:27 INFO: Archiving Costs [Pipeline] sh 21:57:28 + cat /w/workspace/device-usb-camera/3/archives/cost.csv 21:57:28 + cut -d, -f6 [Pipeline] lock 21:57:28 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] 21:57:28 Resource [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] did not exist. Created. 21:57:28 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:57:28 /w/workspace/device-usb-camera/3@tmp/durable-e3cc9540/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:57:28 + echo total: 0.10999999940395355 [Pipeline] stash 21:57:28 Warning: overwriting stash ‘stack-cost’ 21:57:28 Stashed 1 file(s) [Pipeline] } 21:57:29 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-261-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:57:29 $ docker stop --time=1 eb8513eb64dec256655d10dc8128348ee0a67e7d6e73c3fc89a30acc6e75601a 21:57:30 $ docker rm -f --volumes eb8513eb64dec256655d10dc8128348ee0a67e7d6e73c3fc89a30acc6e75601a [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 21:57:30 provisioning config files... 21:57:30 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-261@tmp/config5292253338159010817tmp [Pipeline] { [Pipeline] sh 21:57:31 + set +x 21:57:31 + curl -s https://codecov.io/bash 21:57:31 + bash -s -- 21:57:31 21:57:31 _____ _ 21:57:31 / ____| | | 21:57:31 | | ___ __| | ___ ___ _____ __ 21:57:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:57:31 | |___| (_) | (_| | __/ (_| (_) \ V / 21:57:31 \_____\___/ \__,_|\___|\___\___/ \_/ 21:57:31 Bash-1.0.6 21:57:31 21:57:31 21:57:31 ==> git version 2.25.1 found 21:57:31 ==> 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 21:57:31 Release-Date: 2020-01-08 21:57:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:57:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:57:31 ==> Jenkins CI detected. 21:57:31 current dir:  /w/workspace/foundry_device-usb-camera_PR-261 21:57:31 project root: . 21:57:31 --> token set from env 21:57:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:57:31 ==> Running gcov in . (disable via -X gcov) 21:57:31 ==> Python coveragepy not found 21:57:31 ==> Searching for coverage reports in: 21:57:31 + . 21:57:31 -> Found 1 reports 21:57:31 ==> Detecting git/mercurial file structure 21:57:31 ==> Reading reports 21:57:31 + ./coverage.out bytes=35910 21:57:31 ==> Appending adjustments 21:57:31 https://docs.codecov.io/docs/fixing-reports 21:57:31 + Found adjustments 21:57:31 ==> Gzipping contents 21:57:31 8.0K /tmp/codecov.kvvarj.gz 21:57:31 ==> Uploading reports 21:57:31 url: https://codecov.io 21:57:31 query: branch=PR-261&commit=adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-261%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=261&job=&cmd_args= 21:57:31 -> Pinging Codecov 21:57:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-261&commit=adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-261%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=261&job=&cmd_args= 21:57:31 -> Uploading to 21:57:31 https://storage.googleapis.com/codecov/v4/raw/2023-06-21/73D8F5FF140700D3E01443B452E23636/adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36/3f507f68-dc45-4699-afbc-4f61c5b20f9d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230621%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230621T215731Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=48d4d4cfa249fb9af17b5e98b7af80d76b4569eed9548be7313f52a96c2f26b3 21:57:31 % Total % Received % Xferd Average Speed Time Time Time Current 21:57:31 Dload Upload Total Spent Left Speed 21:57:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4912 0 0 100 4912 0 23061 --:--:-- --:--:-- --:--:-- 22953 100 4912 0 0 100 4912 0 22953 --:--:-- --:--:-- --:--:-- 22846 21:57:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/adab2e1a675b4ecc6ec92ad5f9fb20caab91ba36 [Pipeline] } 21:57:31 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 21:57:32 + [ -d /w/workspace/foundry_device-usb-camera_PR-261/archives ] 21:57:32 + ls -al /w/workspace/foundry_device-usb-camera_PR-261/archives 21:57:32 total 16 21:57:32 drwxr-xr-x 3 root root 4096 Jun 21 21:48 . 21:57:32 drwxrwxr-x 11 jenkins jenkins 4096 Jun 21 21:48 .. 21:57:32 drwxr-xr-x 2 root root 4096 Jun 21 21:48 cost 21:57:32 -rw-r--r-- 1 root root 89 Jun 21 21:48 cost.csv 21:57:32 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-261/archives 21:57:32 + ls -al /w/workspace/foundry_device-usb-camera_PR-261/archives 21:57:32 total 16 21:57:32 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 21:48 . 21:57:32 drwxrwxr-x 11 jenkins jenkins 4096 Jun 21 21:48 .. 21:57:32 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 21:48 cost 21:57:32 -rw-r--r-- 1 jenkins jenkins 89 Jun 21 21:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:57:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:57:33 ---> package-listing.sh 21:57:33 ++ tr '[:upper:]' '[:lower:]' 21:57:33 ++ facter osfamily 21:57:34 + OS_FAMILY=debian 21:57:34 + workspace=/w/workspace/foundry_device-usb-camera_PR-261 21:57:34 + START_PACKAGES=/tmp/packages_start.txt 21:57:34 + END_PACKAGES=/tmp/packages_end.txt 21:57:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:57:34 + PACKAGES=/tmp/packages_start.txt 21:57:34 + '[' /w/workspace/foundry_device-usb-camera_PR-261 ']' 21:57:34 + PACKAGES=/tmp/packages_end.txt 21:57:34 + case "${OS_FAMILY}" in 21:57:34 + dpkg -l 21:57:34 + grep '^ii' 21:57:34 + '[' -f /tmp/packages_start.txt ']' 21:57:34 + '[' -f /tmp/packages_end.txt ']' 21:57:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:57:34 + '[' /w/workspace/foundry_device-usb-camera_PR-261 ']' 21:57:34 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-261/archives/ 21:57:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-261/archives/ [Pipeline] echo 21:57:34 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-261/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:57:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:57:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:57:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:57:35 prd-ubuntu20.04-docker-8c-8g-19016 does not seem to be running inside a container 21:57:35 $ 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-261/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-261 -v /w/workspace/foundry_device-usb-camera_PR-261:/w/workspace/foundry_device-usb-camera_PR-261:rw,z -v /w/workspace/foundry_device-usb-camera_PR-261@tmp:/w/workspace/foundry_device-usb-camera_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:57:35 $ docker top afd9202f6cca7b4940d61766d99f4414f4e40b516670780d5c668b318b56a32f -eo pid,comm [Pipeline] { [Pipeline] sh 21:57:35 + touch /tmp/pre-build-complete [Pipeline] sh 21:57:35 + mkdir -p /var/log/sysstat [Pipeline] sh 21:57:36 + ls /var/log/sa-host 21:57:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:57:36 provisioning config files... 21:57:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-261@tmp/config12994564943304217770tmp [Pipeline] { [Pipeline] echo 21:57:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:57:36 ---> create-netrc.sh [Pipeline] } 21:57:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:57:36 ---> python-tools-install.sh [Pipeline] echo 21:57:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:57:37 ---> sudo-logs.sh 21:57:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:57:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:57:37 ---> job-cost.sh 21:57:37 lf-activate-venv: SKIPPING 21:57:37 DEBUG: total: 0.2199999988079071 21:57:37 INFO: Retrieving Stack Cost... 21:57:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:57:38 INFO: Archiving Costs [Pipeline] echo 21:57:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:57:38 ---> logs-deploy.sh 21:57:38 lf-activate-venv: SKIPPING 21:57:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-261/3 21:57:38 INFO: archiving workspace using pattern(s): 21:57:39 Archives upload complete. 21:57:39 INFO: archiving logs to Nexus