Pull request #194 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 MonicaisHer for edgexfoundry/device-usb-camera Obtained Jenkinsfile from bf4bb03e1a8743956c459a7f0914593d70436d2e+96327e049a2d26e356251a4ee56d80af5c884d85 (d1a6d338810b52cf3ab246ffed5b6d927af2a58b) 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-ssh12326450433583507315.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh2606330384509727388.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-194/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-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9317909227041792386.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12942296393080825785.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-194/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-194/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9088261808984848845.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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5258 in /w/workspace/foundry_device-usb-camera_PR-194 [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-194 # 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/194/head:refs/remotes/origin/PR-194 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit bf4bb03e1a8743956c459a7f0914593d70436d2e Merge succeeded, producing bf4bb03e1a8743956c459a7f0914593d70436d2e Checking out Revision bf4bb03e1a8743956c459a7f0914593d70436d2e (PR-194) > git config core.sparsecheckout # timeout=10 > git checkout -f bf4bb03e1a8743956c459a7f0914593d70436d2e # 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 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf4bb03e1a8743956c459a7f0914593d70436d2e # timeout=10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" First time build. Skipping changelog. > git rev-list --no-walk 7bed824649b0e4143032e9826de1090acf67fa57 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:17:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:17:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:17:46 ========================================================= 18:17:46 EdgeX Global Pipelines Version Info 18:17:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:17:47 ------------------- 18:17:47 stable info: 18:17:47 ------------------- 18:17:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:17:47 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:17:47 Message: update stable to v1.0.245 18:17:47 ------------------- 18:17:47 experimental info: 18:17:47 ------------------- 18:17:47 Commited By: **** collab-it+edgex@linuxfoundation.org 18:17:47 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 18:17:47 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:17:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:17:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:17:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:17:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:17:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:17:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:17:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:17:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-194 [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-194 [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-194 [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf4bb03e1a8743956c459a7f0914593d70436d2e [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf4bb03 [Pipeline] echo 18:17:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:17:48 provisioning config files... 18:17:48 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-194@tmp/config5623508425581169354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:17:48 ---> docker-login.sh 18:17:48 nexus3.edgexfoundry.org:10001 18:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:48 Configure a credential helper to remove this warning. See 18:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:48 18:17:48 Login Succeeded 18:17:48 nexus3.edgexfoundry.org:10002 18:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:48 Configure a credential helper to remove this warning. See 18:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:48 18:17:48 Login Succeeded 18:17:48 nexus3.edgexfoundry.org:10003 18:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:49 Configure a credential helper to remove this warning. See 18:17:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:49 18:17:49 Login Succeeded 18:17:49 nexus3.edgexfoundry.org:10004 18:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:49 Configure a credential helper to remove this warning. See 18:17:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:49 18:17:49 Login Succeeded 18:17:49 docker.io 18:17:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:49 Configure a credential helper to remove this warning. See 18:17:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:49 18:17:49 Login Succeeded 18:17:49 ---> docker-login.sh ends [Pipeline] } 18:17:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:17:49 + git rev-list -1 --merges bf4bb03e1a8743956c459a7f0914593d70436d2e~1..bf4bb03e1a8743956c459a7f0914593d70436d2e [Pipeline] echo 18:17:49 -----------> git rev-list -1 --merges bf4bb03e1a8743956c459a7f0914593d70436d2e~1..bf4bb03e1a8743956c459a7f0914593d70436d2e bf4bb03e1a8743956c459a7f0914593d70436d2e [false] [Pipeline] sh 18:17:50 + git log --format=format:%s -1 bf4bb03e1a8743956c459a7f0914593d70436d2e [Pipeline] echo 18:17:50 ========================================================= 18:17:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:17:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:17:50 + git log --format=format:%s -1 bf4bb03e1a8743956c459a7f0914593d70436d2e [Pipeline] echo 18:17:50 [semverPrep] GIT_COMMIT: bf4bb03e1a8743956c459a7f0914593d70436d2e, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory [Pipeline] echo 18:17:50 [semverPrep] This is not a build commit. [Pipeline] sh 18:17:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:17:50 + grep -v github /etc/ssh/ssh_known_hosts 18:17:50 + [ -e /tmp/ssh_known_hosts ] 18:17:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:17:50 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:17:50 sudo tee -a /etc/ssh/ssh_known_hosts 18:17:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:17:51 18:17:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:17:51 0.1.4: Pulling from edgex-devops/py-git-semver 18:17:51 b85a868b505f: Pulling fs layer 18:17:51 e2be974225ed: Pulling fs layer 18:17:51 339a4e72a1f5: Pulling fs layer 18:17:51 988bab9f4d93: Pulling fs layer 18:17:51 1469e6f7b9e6: Pulling fs layer 18:17:51 eaf3925da568: Pulling fs layer 18:17:51 bab4dde63d76: Pulling fs layer 18:17:51 bde34c3a00c8: Pulling fs layer 18:17:51 b352a97aabf1: Pulling fs layer 18:17:51 4872d77fe225: Pulling fs layer 18:17:51 5851b861e8e6: Pulling fs layer 18:17:51 988bab9f4d93: Waiting 18:17:51 1469e6f7b9e6: Waiting 18:17:51 eaf3925da568: Waiting 18:17:51 bab4dde63d76: Waiting 18:17:51 b352a97aabf1: Waiting 18:17:51 bde34c3a00c8: Waiting 18:17:51 5851b861e8e6: Waiting 18:17:51 e2be974225ed: Verifying Checksum 18:17:51 e2be974225ed: Download complete 18:17:51 988bab9f4d93: Verifying Checksum 18:17:51 988bab9f4d93: Download complete 18:17:51 1469e6f7b9e6: Verifying Checksum 18:17:51 1469e6f7b9e6: Download complete 18:17:51 eaf3925da568: Download complete 18:17:51 339a4e72a1f5: Verifying Checksum 18:17:51 339a4e72a1f5: Download complete 18:17:51 bde34c3a00c8: Download complete 18:17:51 b352a97aabf1: Download complete 18:17:51 4872d77fe225: Verifying Checksum 18:17:51 4872d77fe225: Download complete 18:17:51 5851b861e8e6: Verifying Checksum 18:17:51 5851b861e8e6: Download complete 18:17:51 b85a868b505f: Verifying Checksum 18:17:51 b85a868b505f: Download complete 18:17:52 bab4dde63d76: Verifying Checksum 18:17:52 bab4dde63d76: Download complete 18:17:52 b85a868b505f: Pull complete 18:17:53 e2be974225ed: Pull complete 18:17:53 339a4e72a1f5: Pull complete 18:17:53 988bab9f4d93: Pull complete 18:17:54 1469e6f7b9e6: Pull complete 18:17:54 eaf3925da568: Pull complete 18:17:55 bab4dde63d76: Pull complete 18:17:55 bde34c3a00c8: Pull complete 18:17:55 b352a97aabf1: Pull complete 18:17:56 4872d77fe225: Pull complete 18:17:56 5851b861e8e6: Pull complete 18:17:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:17:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:17:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:56 prd-ubuntu20.04-docker-8c-8g-5258 does not seem to be running inside a container 18:17:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:17:58 $ docker top e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f -eo pid,comm 18:17:58 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). 18:17:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:17:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:17:58 [ssh-agent] Looking for ssh-agent implementation... 18:17:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:17:59 $ docker exec e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f ssh-agent 18:17:59 SSH_AUTH_SOCK=/tmp/ssh-vx5EPvdgk5kX/agent.31 18:17:59 SSH_AGENT_PID=37 18:17:59 Running ssh-add (command line suppressed) 18:17:59 Identity added: /w/workspace/foundry_device-usb-camera_PR-194@tmp/private_key_1341354578180416724.key (/w/workspace/foundry_device-usb-camera_PR-194@tmp/private_key_1341354578180416724.key) 18:17:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:17:59 + git tag --points-at HEAD [Pipeline] } 18:17:59 $ docker exec --env ******** --env ******** e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f ssh-agent -k 18:17:59 unset SSH_AUTH_SOCK; 18:17:59 unset SSH_AGENT_PID; 18:17:59 echo Agent pid 37 killed; 18:17:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:17:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:17:59 [ssh-agent] Looking for ssh-agent implementation... 18:17:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:17:59 $ docker exec e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f ssh-agent 18:17:59 SSH_AUTH_SOCK=/tmp/ssh-Q27ilKa5X8cC/agent.69 18:17:59 SSH_AGENT_PID=75 18:17:59 Running ssh-add (command line suppressed) 18:18:00 Identity added: /w/workspace/foundry_device-usb-camera_PR-194@tmp/private_key_5931781367025288077.key (/w/workspace/foundry_device-usb-camera_PR-194@tmp/private_key_5931781367025288077.key) 18:18:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:18:00 + git semver init 18:18:00 2023-03-22 18:18:00,547 [run_init] DEBUG init version:0.0.0 force:False 18:18:00 2023-03-22 18:18:00,548 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-194/.semver 18:18:00 2023-03-22 18:18:00,548 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-194/.semver 18:18:00 2023-03-22 18:18:00,548 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-194/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-194, universal_newlines=False, shell=None, istream=None) 18:18:01 2023-03-22 18:18:01,246 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-194/.git/info/exclude 18:18:01 2023-03-22 18:18:01,246 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-194/.semver/PR-194 with force:False 18:18:01 2023-03-22 18:18:01,246 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-194/.semver/PR-194 18:18:01 2023-03-22 18:18:01,251 [execute] INFO git cat-file --batch-check 18:18:01 2023-03-22 18:18:01,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-194/.semver, universal_newlines=False, shell=None, istream=) 18:18:01 2023-03-22 18:18:01,257 [execute] INFO git cat-file --batch 18:18:01 2023-03-22 18:18:01,257 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-194/.semver, universal_newlines=False, shell=None, istream=) 18:18:01 2023-03-22 18:18:01,263 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-194/.semver/PR-194 18:18:01 0.0.0 [Pipeline] } 18:18:01 $ docker exec --env ******** --env ******** e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f ssh-agent -k 18:18:01 unset SSH_AUTH_SOCK; 18:18:01 unset SSH_AGENT_PID; 18:18:01 echo Agent pid 75 killed; 18:18:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:18:02 + git semver [Pipeline] } 18:18:02 $ docker stop --time=1 e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f 18:18:03 $ docker rm -f --volumes e3d5d50d69f2fe5488fbbee329b8bde547ac9d1167d99665f39ae2606246370f [Pipeline] // withDockerContainer [Pipeline] sh 18:18:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:18:04 Stashed 1 file(s) [Pipeline] echo 18:18:04 [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 18:18:04 provisioning config files... 18:18:04 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-194@tmp/config4069443257171828292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:18:04 ---> docker-login.sh 18:18:04 nexus3.edgexfoundry.org:10001 18:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:04 Configure a credential helper to remove this warning. See 18:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:04 18:18:04 Login Succeeded 18:18:04 nexus3.edgexfoundry.org:10002 18:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:04 Configure a credential helper to remove this warning. See 18:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:04 18:18:04 Login Succeeded 18:18:04 nexus3.edgexfoundry.org:10003 18:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:04 Configure a credential helper to remove this warning. See 18:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:04 18:18:04 Login Succeeded 18:18:04 nexus3.edgexfoundry.org:10004 18:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:04 Configure a credential helper to remove this warning. See 18:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:04 18:18:04 Login Succeeded 18:18:04 docker.io 18:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:05 Configure a credential helper to remove this warning. See 18:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:05 18:18:05 Login Succeeded 18:18:05 ---> docker-login.sh ends [Pipeline] } 18:18:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:18:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:18:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:18:05 ========================================================= 18:18:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:18:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:05 + 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 . 18:18:05 Sending build context to Docker daemon 1.878MB 18:18:05 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:18:05 Step 2/13 : FROM ${BASE} AS builder 18:18:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:18:05 63b65145d645: Pulling fs layer 18:18:05 a2d21d5440eb: Pulling fs layer 18:18:05 935e6c44a52c: Pulling fs layer 18:18:05 94cc34f8dd06: Pulling fs layer 18:18:05 30dea6a524f1: Pulling fs layer 18:18:05 a2aff8979fd8: Pulling fs layer 18:18:05 6808be2612f2: Pulling fs layer 18:18:05 f25807f1079a: Pulling fs layer 18:18:05 a2aff8979fd8: Waiting 18:18:05 6808be2612f2: Waiting 18:18:05 f25807f1079a: Waiting 18:18:05 94cc34f8dd06: Waiting 18:18:05 30dea6a524f1: Waiting 18:18:05 a2d21d5440eb: Verifying Checksum 18:18:05 a2d21d5440eb: Download complete 18:18:05 94cc34f8dd06: Verifying Checksum 18:18:05 94cc34f8dd06: Download complete 18:18:05 30dea6a524f1: Download complete 18:18:05 63b65145d645: Download complete 18:18:05 a2aff8979fd8: Verifying Checksum 18:18:05 a2aff8979fd8: Download complete 18:18:05 63b65145d645: Pull complete 18:18:05 a2d21d5440eb: Pull complete 18:18:06 f25807f1079a: Verifying Checksum 18:18:06 f25807f1079a: Download complete 18:18:06 935e6c44a52c: Download complete 18:18:06 6808be2612f2: Verifying Checksum 18:18:06 6808be2612f2: Download complete 18:18:09 935e6c44a52c: Pull complete 18:18:09 94cc34f8dd06: Pull complete 18:18:09 30dea6a524f1: Pull complete 18:18:09 a2aff8979fd8: Pull complete 18:18:11 6808be2612f2: Pull complete 18:18:12 f25807f1079a: Pull complete 18:18:12 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:18:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:18:12 ---> 3b553350e43f 18:18:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:18:16 ---> Running in d964ffa7f4c7 18:18:16 Removing intermediate container d964ffa7f4c7 18:18:16 ---> 34c5226dcf74 18:18:16 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:18:16 ---> Running in 8f8acb243df2 18:18:16 Removing intermediate container 8f8acb243df2 18:18:16 ---> fd779326f097 18:18:16 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:18:16 ---> Running in 5076a37992c6 18:18:16 Removing intermediate container 5076a37992c6 18:18:16 ---> c32c2bdeff0e 18:18:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:18:16 ---> Running in 6b8c9c4b2565 18:18:16 Removing intermediate container 6b8c9c4b2565 18:18:16 ---> 267056502091 18:18:16 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:18:16 ---> Running in 5680c40caf3d 18:18:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:18:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:18:17 (1/14) Installing libintl (0.21.1-r1) 18:18:17 (2/14) Installing eudev-libs (3.2.11-r4) 18:18:17 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:18:17 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:18:17 (5/14) Installing v4l-utils (1.22.1-r2) 18:18:17 (6/14) Installing udev-init-scripts (35-r1) 18:18:17 (7/14) Installing libblkid (2.38.1-r1) 18:18:17 (8/14) Installing xz-libs (5.2.9-r0) 18:18:17 (9/14) Installing zstd-libs (1.5.2-r9) 18:18:17 (10/14) Installing kmod-libs (30-r1) 18:18:17 (11/14) Installing eudev (3.2.11-r4) 18:18:17 (12/14) Installing eudev-dev (3.2.11-r4) 18:18:17 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:18:17 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:18:17 Executing busybox-1.35.0-r29.trigger 18:18:17 Executing eudev-3.2.11-r4.trigger 18:18:17 OK: 272 MiB in 67 packages 18:18:18 Removing intermediate container 5680c40caf3d 18:18:18 ---> bf9413ab8a22 18:18:18 Step 8/13 : WORKDIR /device-usb-camera 18:18:18 ---> Running in 24de6cc7cb85 18:18:18 Removing intermediate container 24de6cc7cb85 18:18:18 ---> 8e1f4eaa8af2 18:18:18 Step 9/13 : COPY go.mod vendor* ./ 18:18:18 ---> 0d066a4807ff 18:18:18 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:18:18 ---> Running in f388ec523b74 18:18:19 Still waiting to schedule task 18:18:19 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:19:05 Removing intermediate container f388ec523b74 18:19:05 ---> d780640f9596 18:19:05 Step 11/13 : COPY . . 18:19:05 ---> a737ad277df0 18:19:05 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:19:05 ---> Running in 05f1c543bd18 18:19:05  % Total % Received % Xferd Average Speed Time  Time Time Current 18:19:05 Dload Upload Total Spent Left Speed 18:19:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7175 0 --:--:-- --:--:-- --:--:-- 7224 18:19:05 Removing intermediate container 05f1c543bd18 18:19:05 ---> af69625b2f44 18:19:05 Step 13/13 : RUN ${MAKE} 18:19:05 ---> Running in 00d7333d5c31 18:19:05 noop 18:19:05 Removing intermediate container 00d7333d5c31 18:19:05 ---> 46cce2c0d600 18:19:05 Successfully built 46cce2c0d600 18:19:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:05 + docker inspect -f . ci-base-image-x86_64 18:19:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:05 prd-ubuntu20.04-docker-8c-8g-5258 does not seem to be running inside a container 18:19:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@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 ******** ci-base-image-x86_64 cat 18:19:05 $ docker top 0d70fac2b4aae5ae1ef5cc013074e5580067582c77ddff9cae7c89942b38d810 -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:06 + go version 18:19:06 go version go1.20.2 linux/amd64 [Pipeline] } 18:19:06 $ docker stop --time=1 0d70fac2b4aae5ae1ef5cc013074e5580067582c77ddff9cae7c89942b38d810 18:19:07 $ docker rm -f --volumes 0d70fac2b4aae5ae1ef5cc013074e5580067582c77ddff9cae7c89942b38d810 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:07 + docker inspect -f . ci-base-image-x86_64 18:19:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:19:07 prd-ubuntu20.04-docker-8c-8g-5258 does not seem to be running inside a container 18:19:07 $ 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-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@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 ******** ci-base-image-x86_64 cat 18:19:08 $ docker top 45f2844bb078965882cdb9c1ce18175e3323262eff604794aaa9c7051a9cf68c -eo pid,comm [Pipeline] { [Pipeline] sh 18:19:08 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-194 [Pipeline] fileExists [Pipeline] sh 18:19:08 + make test 18:19:08 go test ./... -coverprofile=coverage.out ./... 18:19:13 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:19:23 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:19:23 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.063s coverage: 2.0% of statements 18:19:30 go vet ./... 18:19:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:19:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:19:32 ./bin/test-attribution-txt.sh [Pipeline] echo 18:19:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:19:32 $ docker stop --time=1 45f2844bb078965882cdb9c1ce18175e3323262eff604794aaa9c7051a9cf68c 18:19:37 $ docker rm -f --volumes 45f2844bb078965882cdb9c1ce18175e3323262eff604794aaa9c7051a9cf68c [Pipeline] // withDockerContainer [Pipeline] sh 18:19:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:19:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:19:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:19:38 + ls -al . 18:19:38 total 188 18:19:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 18:19 . 18:19:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:17 .. 18:19:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 18:18 .git 18:19:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:17 .github 18:19:38 -rw-rw-r-- 1 jenkins jenkins 414 Mar 22 18:17 .gitignore 18:19:38 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 18:17 .golangci.yml 18:19:38 -rw-rw-r-- 1 jenkins jenkins 77 Mar 22 18:17 .hadolint.yml 18:19:38 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 18:18 .semver 18:19:38 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 22 18:17 Attribution.txt 18:19:38 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 22 18:17 CHANGELOG.md 18:19:38 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 22 18:17 Dockerfile 18:19:38 -rw-rw-r-- 1 jenkins jenkins 678 Mar 22 18:17 GOVERNANCE.md 18:19:38 -rw-rw-r-- 1 jenkins jenkins 659 Mar 22 18:17 Jenkinsfile 18:19:38 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 18:17 LICENSE 18:19:38 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 22 18:17 Makefile 18:19:38 -rw-rw-r-- 1 jenkins jenkins 622 Mar 22 18:17 OWNERS.md 18:19:38 -rw-rw-r-- 1 jenkins jenkins 5681 Mar 22 18:17 README.md 18:19:38 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 18:18 VERSION 18:19:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 18:17 bin 18:19:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:17 cmd 18:19:38 -rw-r--r-- 1 jenkins jenkins 28352 Mar 22 18:19 coverage.out 18:19:38 -rwxrwxr-x 1 jenkins jenkins 140 Mar 22 18:17 docker-entrypoint.sh 18:19:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:17 docs 18:19:38 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 22 18:17 go.mod 18:19:38 -rw-rw-r-- 1 jenkins jenkins 31546 Mar 22 18:17 go.sum 18:19:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:17 internal 18:19:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:17 snap 18:19:38 -rw-rw-r-- 1 jenkins jenkins 231 Mar 22 18:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:39 + 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=bf4bb03e1a8743956c459a7f0914593d70436d2e --label arch=amd64 --label version=0.0.0 . 18:19:39 Sending build context to Docker daemon 1.907MB 18:19:39 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 18:19:39 Step 2/35 : FROM ${BASE} AS builder 18:19:39 ---> 46cce2c0d600 18:19:39 Step 3/35 : ARG ADD_BUILD_TAGS="" 18:19:39 ---> Running in fb472c9843ff 18:19:39 Removing intermediate container fb472c9843ff 18:19:39 ---> 96b73333236c 18:19:39 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:19:39 ---> Running in dc1c6423637b 18:19:39 Removing intermediate container dc1c6423637b 18:19:39 ---> 4b9560e452fb 18:19:39 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:19:39 ---> Running in 0c38c8270fb4 18:19:39 Removing intermediate container 0c38c8270fb4 18:19:39 ---> 98cbb062bc5d 18:19:39 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:19:39 ---> Running in b1493c125126 18:19:39 Removing intermediate container b1493c125126 18:19:39 ---> c42f461cc321 18:19:39 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:19:39 ---> Running in c375c91bb1ba 18:19:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:19:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:19:40 OK: 272 MiB in 67 packages 18:19:40 Removing intermediate container c375c91bb1ba 18:19:40 ---> 7fa3eb439bed 18:19:40 Step 8/35 : WORKDIR /device-usb-camera 18:19:40 ---> Running in 9b55df61756b 18:19:40 Removing intermediate container 9b55df61756b 18:19:40 ---> 4b405fcfdb86 18:19:40 Step 9/35 : COPY go.mod vendor* ./ 18:19:40 ---> 717e8973efb9 18:19:40 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:19:40 ---> Running in 0b161cf5ef1b 18:19:41 Removing intermediate container 0b161cf5ef1b 18:19:41 ---> 3bdc95747b03 18:19:41 Step 11/35 : COPY . . 18:19:41 ---> b666bac44e95 18:19:41 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:19:41 ---> Running in afda2c7875d1 18:19:41  % Total % Received % Xferd Average Speed Time Time Time Current 18:19:41 Dload Upload Total Spent Left Speed 18:19:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20790 0 --:--:-- --:--:-- --:--:-- 21240 18:19:42 Removing intermediate container afda2c7875d1 18:19:42 ---> e25341b8ee8e 18:19:42 Step 13/35 : RUN ${MAKE} 18:19:42 ---> Running in 4cad3bdfec84 18:19:42 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:20:08 Removing intermediate container 4cad3bdfec84 18:20:08 ---> a8ca9c5f5587 18:20:08 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:20:08 v0.21.6: Pulling from aler9/rtsp-simple-server 18:20:08 4acc49c71d14: Pulling fs layer 18:20:08 4acc49c71d14: Verifying Checksum 18:20:08 4acc49c71d14: Download complete 18:20:08 4acc49c71d14: Pull complete 18:20:08 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:20:08 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:20:08 ---> 01a2bd3e5fff 18:20:08 Step 15/35 : FROM alpine:3.17 18:20:08 3.17: Pulling from library/alpine 18:20:08 63b65145d645: Already exists 18:20:08 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 18:20:08 Status: Downloaded newer image for alpine:3.17 18:20:08 ---> b2aa39c304c2 18:20:08 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:20:08 ---> Running in 4ba424287318 18:20:08 Removing intermediate container 4ba424287318 18:20:08 ---> 982047c351ef 18:20:08 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:20:08 ---> Running in 279c479f1d1a 18:20:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:20:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:20:09 (1/86) Installing dumb-init (1.2.5-r2) 18:20:09 (2/86) Installing sdl2 (2.26.3-r0) 18:20:09 (3/86) Installing svt-av1-libs (1.3.0-r0) 18:20:09 (4/86) Installing libxau (1.0.10-r0) 18:20:09 (5/86) Installing libmd (1.0.4-r0) 18:20:09 (6/86) Installing libbsd (0.11.7-r0) 18:20:09 (7/86) Installing libxdmcp (1.1.4-r0) 18:20:09 (8/86) Installing libxcb (1.15-r0) 18:20:09 (9/86) Installing libx11 (1.8.4-r0) 18:20:09 (10/86) Installing aom-libs (3.5.0-r0) 18:20:09 (11/86) Installing alsa-lib (1.2.8-r0) 18:20:09 (12/86) Installing libexpat (2.5.0-r0) 18:20:09 (13/86) Installing brotli-libs (1.0.9-r9) 18:20:09 (14/86) Installing libbz2 (1.0.8-r4) 18:20:09 (15/86) Installing libpng (1.6.38-r0) 18:20:09 (16/86) Installing freetype (2.12.1-r0) 18:20:09 (17/86) Installing fontconfig (2.14.1-r0) 18:20:09 (18/86) Installing fribidi (1.0.12-r0) 18:20:09 (19/86) Installing libffi (3.4.4-r0) 18:20:09 (20/86) Installing libintl (0.21.1-r1) 18:20:09 (21/86) Installing libblkid (2.38.1-r1) 18:20:09 (22/86) Installing libmount (2.38.1-r1) 18:20:09 (23/86) Installing pcre2 (10.42-r0) 18:20:09 (24/86) Installing glib (2.74.6-r0) 18:20:09 (25/86) Installing graphite2 (1.3.14-r2) 18:20:09 (26/86) Installing harfbuzz (5.3.1-r1) 18:20:09 (27/86) Installing libass (0.16.0-r1) 18:20:09 (28/86) Installing libdav1d (1.0.0-r2) 18:20:09 (29/86) Installing hwdata-pci (0.364-r0) 18:20:09 (30/86) Installing libpciaccess (0.17-r0) 18:20:09 (31/86) Installing libdrm (2.4.114-r0) 18:20:09 (32/86) Installing gmp (6.2.1-r2) 18:20:09 (33/86) Installing nettle (3.8.1-r0) 18:20:09 (34/86) Installing p11-kit (0.24.1-r1) 18:20:09 (35/86) Installing libtasn1 (4.19.0-r0) 18:20:09 (36/86) Installing libunistring (1.1-r0) 18:20:09 (37/86) Installing gnutls (3.7.8-r3) 18:20:09 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 18:20:09 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 18:20:09 (40/86) Installing lame (3.100-r2) 18:20:09 (41/86) Installing opus (1.3.1-r1) 18:20:09 (42/86) Installing libasyncns (0.8-r1) 18:20:09 (43/86) Installing dbus-libs (1.14.4-r0) 18:20:09 (44/86) Installing libltdl (2.4.7-r1) 18:20:09 (45/86) Installing orc (0.4.33-r0) 18:20:09 (46/86) Installing libgcc (12.2.1_git20220924-r4) 18:20:09 (47/86) Installing libogg (1.3.5-r2) 18:20:09 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 18:20:10 (49/86) Installing flac-libs (1.4.2-r0) 18:20:10 (50/86) Installing libvorbis (1.3.7-r0) 18:20:10 (51/86) Installing libsndfile (1.1.0-r2) 18:20:10 (52/86) Installing libgomp (12.2.1_git20220924-r4) 18:20:10 (53/86) Installing soxr (0.1.3-r3) 18:20:10 (54/86) Installing speexdsp (1.2.1-r0) 18:20:10 (55/86) Installing tdb-libs (1.4.7-r0) 18:20:10 (56/86) Installing libpulse (16.1-r6) 18:20:10 (57/86) Installing cjson (1.7.15-r3) 18:20:10 (58/86) Installing mbedtls (2.28.2-r0) 18:20:10 (59/86) Installing librist (0.2.7-r0) 18:20:10 (60/86) Installing libsrt (1.5.1-r0) 18:20:10 (61/86) Installing libssh (0.10.4-r0) 18:20:10 (62/86) Installing libtheora (1.1.1-r16) 18:20:10 (63/86) Installing libjpeg-turbo (2.1.4-r0) 18:20:10 (64/86) Installing v4l-utils-libs (1.22.1-r2) 18:20:10 (65/86) Installing libxext (1.3.5-r0) 18:20:10 (66/86) Installing libxfixes (6.0.0-r0) 18:20:10 (67/86) Installing wayland-libs-client (1.21.0-r1) 18:20:10 (68/86) Installing libva (2.16.0-r0) 18:20:10 (69/86) Installing libvdpau (1.5-r0) 18:20:10 (70/86) Installing vidstab (1.1.0-r2) 18:20:10 (71/86) Installing libvpx (1.12.0-r1) 18:20:10 (72/86) Installing libwebp (1.2.4-r1) 18:20:10 (73/86) Installing x264-libs (0.164_git20220602-r0) 18:20:10 (74/86) Installing numactl (2.0.16-r1) 18:20:10 (75/86) Installing x265-libs (3.5-r3) 18:20:10 (76/86) Installing xvidcore (1.3.7-r1) 18:20:10 (77/86) Installing libsodium (1.0.18-r2) 18:20:10 (78/86) Installing libzmq (4.3.4-r1) 18:20:10 (79/86) Installing ffmpeg-libs (5.1.2-r1) 18:20:10 (80/86) Installing ffmpeg (5.1.2-r1) 18:20:10 (81/86) Installing udev-init-scripts (35-r1) 18:20:10 (82/86) Installing eudev-libs (3.2.11-r4) 18:20:10 (83/86) Installing xz-libs (5.2.9-r0) 18:20:10 (84/86) Installing zstd-libs (1.5.2-r9) 18:20:10 (85/86) Installing kmod-libs (30-r1) 18:20:10 (86/86) Installing eudev (3.2.11-r4) 18:20:10 Executing busybox-1.35.0-r29.trigger 18:20:10 Executing eudev-3.2.11-r4.trigger 18:20:10 OK: 111 MiB in 101 packages 18:20:14 Removing intermediate container 279c479f1d1a 18:20:14 ---> 21b3c1d08ad0 18:20:14 Step 18/35 : WORKDIR / 18:20:14 ---> Running in 3c4a238ed7e6 18:20:14 Removing intermediate container 3c4a238ed7e6 18:20:14 ---> ec30069a546f 18:20:14 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 18:20:15 ---> 752dd38bd7d2 18:20:15 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 18:20:15 ---> 31b78a1003de 18:20:15 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:20:15 ---> 37526ad71d1f 18:20:15 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:20:15 ---> 43790725d651 18:20:15 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:20:15 ---> 5832642f4160 18:20:15 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 18:20:15 ---> 7a48c60eab33 18:20:15 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 18:20:16 ---> 20b8186bc8a9 18:20:16 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:20:16 ---> Running in 89b4e1a888a9 18:20:17 Removing intermediate container 89b4e1a888a9 18:20:17 ---> d7805ee1b9ea 18:20:17 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:20:17 ---> Running in d8568fbab4a5 18:20:17 Removing intermediate container d8568fbab4a5 18:20:17 ---> c903519b2d4a 18:20:17 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:20:17 ---> Running in a1da0e0ba651 18:20:18 Removing intermediate container a1da0e0ba651 18:20:18 ---> bd474766fc35 18:20:18 Step 29/35 : EXPOSE 59983 18:20:18 ---> Running in d33650349f39 18:20:18 Removing intermediate container d33650349f39 18:20:18 ---> 565a462d59fc 18:20:18 Step 30/35 : EXPOSE 8554 18:20:18 ---> Running in ecebcc01b98e 18:20:18 Removing intermediate container ecebcc01b98e 18:20:18 ---> 60e235fbf433 18:20:18 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:20:18 ---> Running in 01bb7696a698 18:20:18 Removing intermediate container 01bb7696a698 18:20:18 ---> 68b180f5c215 18:20:18 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:20:18 ---> Running in 63ceaa8a812e 18:20:18 Removing intermediate container 63ceaa8a812e 18:20:18 ---> 87a4e3a88a11 18:20:18 Step 33/35 : LABEL arch=amd64 18:20:18 ---> Running in a0c483197c4c 18:20:18 Removing intermediate container a0c483197c4c 18:20:18 ---> 14ed3b31edc8 18:20:18 Step 34/35 : LABEL git_sha=bf4bb03e1a8743956c459a7f0914593d70436d2e 18:20:18 ---> Running in c66737db04aa 18:20:18 Removing intermediate container c66737db04aa 18:20:18 ---> 503906224022 18:20:18 Step 35/35 : LABEL version=0.0.0 18:20:18 ---> Running in f4f3a30568b7 18:20:18 Removing intermediate container f4f3a30568b7 18:20:18 ---> e72ee449a616 18:20:18 [Warning] One or more build-args [ARCH] were not consumed 18:20:18 Successfully built e72ee449a616 18:20:18 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 18:20:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:20:19 18:20:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5259 in /w/workspace/foundry_device-usb-camera_PR-194 [Pipeline] { [Pipeline] ws 18:20:19 Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout 18:20:19 Selected Git installation does not exist. Using Default 18:20:19 The recommended git tool is: NONE 18:20:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:20:19 latest: Pulling from edgex-lftools-log-publisher 18:20:19 5eb5b503b376: Pulling fs layer 18:20:19 5c69ac0246d0: Pulling fs layer 18:20:19 ec43610c2a17: Pulling fs layer 18:20:19 3a2ae6a8a46f: Pulling fs layer 18:20:19 33b1e0a273af: Pulling fs layer 18:20:19 5d3b04190fa2: Pulling fs layer 18:20:19 2f39f015ded8: Pulling fs layer 18:20:19 33b1e0a273af: Waiting 18:20:19 5d3b04190fa2: Waiting 18:20:19 3a2ae6a8a46f: Waiting 18:20:19 5c69ac0246d0: Verifying Checksum 18:20:19 5c69ac0246d0: Download complete 18:20:19 3a2ae6a8a46f: Verifying Checksum 18:20:19 3a2ae6a8a46f: Download complete 18:20:19 33b1e0a273af: Verifying Checksum 18:20:19 33b1e0a273af: Download complete 18:20:19 5d3b04190fa2: Verifying Checksum 18:20:19 5d3b04190fa2: Download complete 18:20:19 ec43610c2a17: Verifying Checksum 18:20:19 ec43610c2a17: Download complete 18:20:19 5eb5b503b376: Download complete 18:20:20 2f39f015ded8: Download complete 18:20:21 5eb5b503b376: Pull complete 18:20:21 5c69ac0246d0: Pull complete 18:20:21 ec43610c2a17: Pull complete 18:20:21 3a2ae6a8a46f: Pull complete 18:20:21 33b1e0a273af: Pull complete 18:20:21 5d3b04190fa2: Pull complete 18:20:25 using credential edgex-jenkins-ssh 18:20:25 Cloning the remote Git repository 18:20:25 2f39f015ded8: Pull complete 18:20:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:20:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:20:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:20:25 prd-ubuntu20.04-docker-8c-8g-5258 does not seem to be running inside a container 18:20:25 $ 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-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@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 18:20:25 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:20:25 > git init /w/workspace/device-usb-camera/3 # timeout=10 18:20:25 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:20:25 > git --version # timeout=10 18:20:25 > git --version # 'git version 2.25.1' 18:20:25 using GIT_SSH to set credentials SSH Credentials for GitHub 18:20:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:20:26 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:20:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:20:27 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:20:27 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:20:27 using GIT_SSH to set credentials SSH Credentials for GitHub 18:20:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/194/head:refs/remotes/origin/PR-194 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:20:28 Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit bf4bb03e1a8743956c459a7f0914593d70436d2e 18:20:28 Merge succeeded, producing bf4bb03e1a8743956c459a7f0914593d70436d2e 18:20:28 Checking out Revision bf4bb03e1a8743956c459a7f0914593d70436d2e (PR-194) 18:20:28 > git config core.sparsecheckout # timeout=10 18:20:28 > git checkout -f bf4bb03e1a8743956c459a7f0914593d70436d2e # timeout=10 18:20:28 > git remote # timeout=10 18:20:28 > git config --get remote.origin.url # timeout=10 18:20:28 using GIT_SSH to set credentials SSH Credentials for GitHub 18:20:28 > git merge 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 18:20:28 > git rev-parse HEAD^{commit} # timeout=10 18:20:28 > git config core.sparsecheckout # timeout=10 18:20:28 > git checkout -f bf4bb03e1a8743956c459a7f0914593d70436d2e # timeout=10 18:20:30 $ docker top 316085a15e17a28adb706e4db8fb153896a1ab47e76dc540a215835426069f87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:31 ---> job-cost.sh 18:20:31 lf-activate-venv: SKIPPING 18:20:31 INFO: No Stack... 18:20:31 INFO: Retrieving Pricing Info for: v3-standard-8 18:20:31 INFO: Archiving Costs [Pipeline] sh 18:20:31 + cat /w/workspace/foundry_device-usb-camera_PR-194/archives/cost.csv 18:20:31 + cut -d, -f6 [Pipeline] lock 18:20:31 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] 18:20:31 Resource [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] did not exist. Created. 18:20:31 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:20:32 + echo total: 0.2199999988079071 18:20:32 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" [Pipeline] stash 18:20:32 Stashed 1 file(s) [Pipeline] } 18:20:32 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:20:32 $ docker stop --time=1 316085a15e17a28adb706e4db8fb153896a1ab47e76dc540a215835426069f87 18:20:32 18:20:32 GitHub has been notified of this commit’s build result 18:20:32 18:20:33 $ docker rm -f --volumes 316085a15e17a28adb706e4db8fb153896a1ab47e76dc540a215835426069f87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:20:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:20:34 % Total % Received % Xferd Average Speed Time Time Time Current 18:20:34 Dload Upload Total Spent Left Speed 18:20:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 18:20:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:20:35 + sudo tee /etc/docker/daemon.new 18:20:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:20:35 { 18:20:35 "registry-mirrors": [ 18:20:35 "https://nexus3.edgexfoundry.org:10001" 18:20:35 ], 18:20:35 "bip": "10.250.0.254/24", 18:20:35 "hosts": [ 18:20:35 "tcp://0.0.0.0:5555", 18:20:35 "unix:///var/run/docker.sock" 18:20:35 ], 18:20:35 "mtu": 1458, 18:20:35 "selinux-enabled": true, 18:20:35 "seccomp-profile": "/etc/docker/seccomp.json" 18:20:35 } [Pipeline] sh 18:20:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:20:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:20:54 provisioning config files... 18:20:54 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config11731925961822312308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:54 ---> docker-login.sh 18:20:54 nexus3.edgexfoundry.org:10001 18:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:55 Configure a credential helper to remove this warning. See 18:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:55 18:20:55 Login Succeeded 18:20:55 nexus3.edgexfoundry.org:10002 18:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:55 Configure a credential helper to remove this warning. See 18:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:55 18:20:55 Login Succeeded 18:20:55 nexus3.edgexfoundry.org:10003 18:20:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:55 Configure a credential helper to remove this warning. See 18:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:55 18:20:55 Login Succeeded 18:20:55 nexus3.edgexfoundry.org:10004 18:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:56 Configure a credential helper to remove this warning. See 18:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:56 18:20:56 Login Succeeded 18:20:56 docker.io 18:20:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:56 Configure a credential helper to remove this warning. See 18:20:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:56 18:20:56 Login Succeeded 18:20:56 ---> docker-login.sh ends [Pipeline] } 18:20:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:20:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:20:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:20:56 ========================================================= 18:20:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:20:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:57 + 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 . 18:20:57 Sending build context to Docker daemon 1.209MB 18:20:57 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:20:57 Step 2/13 : FROM ${BASE} AS builder 18:20:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:20:57 af6eaf76a39c: Pulling fs layer 18:20:57 55522c791124: Pulling fs layer 18:20:57 ce5c4a1c91eb: Pulling fs layer 18:20:57 169dfbe0d373: Pulling fs layer 18:20:57 e1ff8fa3b103: Pulling fs layer 18:20:57 52ebb69f0ebf: Pulling fs layer 18:20:57 5abe8eddf0d5: Pulling fs layer 18:20:57 169dfbe0d373: Waiting 18:20:57 e1ff8fa3b103: Waiting 18:20:57 52ebb69f0ebf: Waiting 18:20:57 5abe8eddf0d5: Waiting 18:20:57 55522c791124: Verifying Checksum 18:20:57 55522c791124: Download complete 18:20:57 169dfbe0d373: Verifying Checksum 18:20:57 e1ff8fa3b103: Verifying Checksum 18:20:57 e1ff8fa3b103: Download complete 18:20:57 af6eaf76a39c: Download complete 18:20:58 af6eaf76a39c: Pull complete 18:20:58 5abe8eddf0d5: Verifying Checksum 18:20:58 5abe8eddf0d5: Download complete 18:20:59 55522c791124: Pull complete 18:21:00 52ebb69f0ebf: Verifying Checksum 18:21:00 52ebb69f0ebf: Download complete 18:21:00 ce5c4a1c91eb: Verifying Checksum 18:21:00 ce5c4a1c91eb: Download complete 18:21:10 ce5c4a1c91eb: Pull complete 18:21:10 169dfbe0d373: Pull complete 18:21:10 e1ff8fa3b103: Pull complete 18:21:17 52ebb69f0ebf: Pull complete 18:21:17 5abe8eddf0d5: Pull complete 18:21:17 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:21:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:21:17 ---> 6cb57ee374ae 18:21:17 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:21:19 ---> Running in c5305b0da1ad 18:21:20 Removing intermediate container c5305b0da1ad 18:21:20 ---> 52a077a554d8 18:21:20 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:21:20 ---> Running in ca6e47656d3a 18:21:20 Removing intermediate container ca6e47656d3a 18:21:20 ---> 956d2e329bc5 18:21:20 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:21:20 ---> Running in 0cba18a2435f 18:21:21 Removing intermediate container 0cba18a2435f 18:21:21 ---> 415c941f38c4 18:21:21 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:21:21 ---> Running in e8fb56cc43b5 18:21:21 Removing intermediate container e8fb56cc43b5 18:21:21 ---> 2117a1f2f7a8 18:21:21 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:21:21 ---> Running in 11fc392bf496 18:21:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:21:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:21:24 (1/14) Installing libintl (0.21.1-r1) 18:21:24 (2/14) Installing eudev-libs (3.2.11-r4) 18:21:24 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:21:24 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:21:24 (5/14) Installing v4l-utils (1.22.1-r2) 18:21:24 (6/14) Installing udev-init-scripts (35-r1) 18:21:24 (7/14) Installing libblkid (2.38.1-r1) 18:21:24 (8/14) Installing xz-libs (5.2.9-r0) 18:21:24 (9/14) Installing zstd-libs (1.5.2-r9) 18:21:24 (10/14) Installing kmod-libs (30-r1) 18:21:24 (11/14) Installing eudev (3.2.11-r4) 18:21:24 (12/14) Installing eudev-dev (3.2.11-r4) 18:21:24 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:21:24 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:21:24 Executing busybox-1.35.0-r29.trigger 18:21:24 Executing eudev-3.2.11-r4.trigger 18:21:24 OK: 271 MiB in 67 packages 18:21:26 Removing intermediate container 11fc392bf496 18:21:26 ---> 2dc6d12e591c 18:21:26 Step 8/13 : WORKDIR /device-usb-camera 18:21:26 ---> Running in 5bf421630199 18:21:26 Removing intermediate container 5bf421630199 18:21:26 ---> e4bc08305ff2 18:21:26 Step 9/13 : COPY go.mod vendor* ./ 18:21:26 ---> d7d92901d65a 18:21:26 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:21:26 ---> Running in 335e3a3bae23 18:22:34 Removing intermediate container 335e3a3bae23 18:22:34 ---> ef9916674cf5 18:22:34 Step 11/13 : COPY . . 18:22:34 ---> 1b7a9dff5547 18:22:34 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:22:34 ---> Running in 86da1bae194f 18:22:34  % Total % Received % Xferd Average Speed Time Time Time Current 18:22:34 Dload Upload Total Spent Left Speed 18:22:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4068 0 --:--:-- --:--:-- --:--:-- 4084 18:22:34 Removing intermediate container 86da1bae194f 18:22:34 ---> a687c21a1de8 18:22:34 Step 13/13 : RUN ${MAKE} 18:22:34 ---> Running in cb37f1486c47 18:22:35 noop 18:22:36 Removing intermediate container cb37f1486c47 18:22:36 ---> 094430256b45 18:22:36 Successfully built 094430256b45 18:22:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:36 + docker inspect -f . ci-base-image-arm64 18:22:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:22:36 prd-ubuntu20.04-docker-arm64-4c-16g-5259 does not seem to be running inside a container 18:22:36 $ 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 ******** ci-base-image-arm64 cat 18:22:38 $ docker top 04f77e5f6bbd99886742a1e05ea0e1db090b39840f38d845b11e28afcdd5f8ca -eo pid,comm [Pipeline] { [Pipeline] sh 18:22:38 + go version 18:22:38 go version go1.20.2 linux/arm64 [Pipeline] } 18:22:38 $ docker stop --time=1 04f77e5f6bbd99886742a1e05ea0e1db090b39840f38d845b11e28afcdd5f8ca 18:22:42 $ docker rm -f --volumes 04f77e5f6bbd99886742a1e05ea0e1db090b39840f38d845b11e28afcdd5f8ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:43 + docker inspect -f . ci-base-image-arm64 18:22:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:22:43 prd-ubuntu20.04-docker-arm64-4c-16g-5259 does not seem to be running inside a container 18:22: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 ******** ci-base-image-arm64 cat 18:22:44 $ docker top e66768127bc90565abf8d0b469d4689b89f63ba893d5c3409088f27bedad1a83 -eo pid,comm [Pipeline] { [Pipeline] sh 18:22:45 + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh 18:22:46 + make test 18:22:46 go test ./... -coverprofile=coverage.out ./... 18:23:25 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:25:33 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:25:33 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.069s coverage: 2.0% of statements 18:25:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:25:33 go vet ./... 18:26:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:26:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:26:12 ./bin/test-attribution-txt.sh [Pipeline] echo 18:26:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:26:12 $ docker stop --time=1 e66768127bc90565abf8d0b469d4689b89f63ba893d5c3409088f27bedad1a83 18:26:14 $ docker rm -f --volumes e66768127bc90565abf8d0b469d4689b89f63ba893d5c3409088f27bedad1a83 [Pipeline] // withDockerContainer [Pipeline] sh 18:26:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:26:15 Warning: overwriting stash ‘coverage-report’ 18:26:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:26:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:26:17 + ls -al . 18:26:17 total 184 18:26:17 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 18:22 . 18:26:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:20 .. 18:26:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 18:20 .git 18:26:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:20 .github 18:26:17 -rw-rw-r-- 1 jenkins jenkins 414 Mar 22 18:20 .gitignore 18:26:17 -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 18:20 .golangci.yml 18:26:17 -rw-rw-r-- 1 jenkins jenkins 77 Mar 22 18:20 .hadolint.yml 18:26:17 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 22 18:20 Attribution.txt 18:26:17 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 22 18:20 CHANGELOG.md 18:26:17 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 22 18:20 Dockerfile 18:26:17 -rw-rw-r-- 1 jenkins jenkins 678 Mar 22 18:20 GOVERNANCE.md 18:26:17 -rw-rw-r-- 1 jenkins jenkins 659 Mar 22 18:20 Jenkinsfile 18:26:17 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 22 18:20 LICENSE 18:26:17 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 22 18:20 Makefile 18:26:17 -rw-rw-r-- 1 jenkins jenkins 622 Mar 22 18:20 OWNERS.md 18:26:17 -rw-rw-r-- 1 jenkins jenkins 5681 Mar 22 18:20 README.md 18:26:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 18:18 VERSION 18:26:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 18:20 bin 18:26:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:20 cmd 18:26:17 -rw-r--r-- 1 jenkins jenkins 28352 Mar 22 18:25 coverage.out 18:26:17 -rwxrwxr-x 1 jenkins jenkins 140 Mar 22 18:20 docker-entrypoint.sh 18:26:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:20 docs 18:26:17 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 22 18:20 go.mod 18:26:17 -rw-rw-r-- 1 jenkins jenkins 31546 Mar 22 18:20 go.sum 18:26:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 18:20 internal 18:26:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 18:20 snap 18:26:17 -rw-rw-r-- 1 jenkins jenkins 231 Mar 22 18:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:17 + 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=bf4bb03e1a8743956c459a7f0914593d70436d2e --label arch=arm64 --label version=0.0.0 . 18:26:17 Sending build context to Docker daemon 1.238MB 18:26:17 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 18:26:17 Step 2/35 : FROM ${BASE} AS builder 18:26:17 ---> 094430256b45 18:26:17 Step 3/35 : ARG ADD_BUILD_TAGS="" 18:26:18 ---> Running in 6fab8b18a892 18:26:18 Removing intermediate container 6fab8b18a892 18:26:18 ---> 750191bff780 18:26:18 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:26:18 ---> Running in 0c6d2916ad79 18:26:18 Removing intermediate container 0c6d2916ad79 18:26:18 ---> 760043485def 18:26:18 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:26:18 ---> Running in 2c1e1168da24 18:26:18 Removing intermediate container 2c1e1168da24 18:26:18 ---> 33bed861febd 18:26:18 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:26:19 ---> Running in 6b5faf3f3315 18:26:19 Removing intermediate container 6b5faf3f3315 18:26:19 ---> 6e4c5730ee4f 18:26:19 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:26:19 ---> Running in 5c8f9fe26cbc 18:26:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:26:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:26:22 OK: 271 MiB in 67 packages 18:26:22 Removing intermediate container 5c8f9fe26cbc 18:26:22 ---> 596ef0b74d08 18:26:22 Step 8/35 : WORKDIR /device-usb-camera 18:26:22 ---> Running in 18741594e789 18:26:23 Removing intermediate container 18741594e789 18:26:23 ---> 9d7580aba767 18:26:23 Step 9/35 : COPY go.mod vendor* ./ 18:26:25 ---> cdfa2315e87f 18:26:25 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:26:25 ---> Running in 0e14e97a8e3b 18:26:28 Removing intermediate container 0e14e97a8e3b 18:26:28 ---> a0ff5104d3ea 18:26:28 Step 11/35 : COPY . . 18:26:29 ---> cbc86aff5539 18:26:29 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:26:29 ---> Running in 3e8fef749a12 18:26:30  % Total % Received % Xferd Average Speed Time Time Time Current 18:26:30 Dload Upload Total Spent Left Speed 18:26:30 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3145 0 --:--:-- --:--:-- --:--:-- 3160 18:26:31 Removing intermediate container 3e8fef749a12 18:26:31 ---> 2bed1ed51907 18:26:31 Step 13/35 : RUN ${MAKE} 18:26:31 ---> Running in b991e319cb11 18:26:32 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:29:08 Removing intermediate container b991e319cb11 18:29:08 ---> 379b1db81a3b 18:29:08 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:29:08 v0.21.6: Pulling from aler9/rtsp-simple-server 18:29:08 8766b47fe142: Pulling fs layer 18:29:08 8766b47fe142: Verifying Checksum 18:29:08 8766b47fe142: Download complete 18:29:08 8766b47fe142: Pull complete 18:29:08 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:29:08 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:29:08 ---> 69d40e2cb93c 18:29:08 Step 15/35 : FROM alpine:3.17 18:29:08 3.17: Pulling from library/alpine 18:29:08 af6eaf76a39c: Already exists 18:29:08 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 18:29:08 Status: Downloaded newer image for alpine:3.17 18:29:08 ---> d74e625d9115 18:29:08 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:29:08 ---> Running in c56c79b2805b 18:29:08 Removing intermediate container c56c79b2805b 18:29:08 ---> c65703085d7a 18:29:08 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:29:08 ---> Running in 91d9cf673573 18:29:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:29:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:29:08 (1/83) Installing dumb-init (1.2.5-r2) 18:29:08 (2/83) Installing sdl2 (2.26.3-r0) 18:29:08 (3/83) Installing libxau (1.0.10-r0) 18:29:08 (4/83) Installing libmd (1.0.4-r0) 18:29:08 (5/83) Installing libbsd (0.11.7-r0) 18:29:08 (6/83) Installing libxdmcp (1.1.4-r0) 18:29:08 (7/83) Installing libxcb (1.15-r0) 18:29:08 (8/83) Installing libx11 (1.8.4-r0) 18:29:08 (9/83) Installing aom-libs (3.5.0-r0) 18:29:08 (10/83) Installing alsa-lib (1.2.8-r0) 18:29:08 (11/83) Installing libexpat (2.5.0-r0) 18:29:08 (12/83) Installing brotli-libs (1.0.9-r9) 18:29:08 (13/83) Installing libbz2 (1.0.8-r4) 18:29:08 (14/83) Installing libpng (1.6.38-r0) 18:29:08 (15/83) Installing freetype (2.12.1-r0) 18:29:08 (16/83) Installing fontconfig (2.14.1-r0) 18:29:08 (17/83) Installing fribidi (1.0.12-r0) 18:29:08 (18/83) Installing libffi (3.4.4-r0) 18:29:08 (19/83) Installing libintl (0.21.1-r1) 18:29:08 (20/83) Installing libblkid (2.38.1-r1) 18:29:08 (21/83) Installing libmount (2.38.1-r1) 18:29:08 (22/83) Installing pcre2 (10.42-r0) 18:29:08 (23/83) Installing glib (2.74.6-r0) 18:29:08 (24/83) Installing graphite2 (1.3.14-r2) 18:29:08 (25/83) Installing harfbuzz (5.3.1-r1) 18:29:08 (26/83) Installing libass (0.16.0-r1) 18:29:08 (27/83) Installing libdav1d (1.0.0-r2) 18:29:08 (28/83) Installing libdrm (2.4.114-r0) 18:29:08 (29/83) Installing gmp (6.2.1-r2) 18:29:08 (30/83) Installing nettle (3.8.1-r0) 18:29:08 (31/83) Installing p11-kit (0.24.1-r1) 18:29:08 (32/83) Installing libtasn1 (4.19.0-r0) 18:29:08 (33/83) Installing libunistring (1.1-r0) 18:29:08 (34/83) Installing gnutls (3.7.8-r3) 18:29:08 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 18:29:08 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 18:29:08 (37/83) Installing lame (3.100-r2) 18:29:08 (38/83) Installing opus (1.3.1-r1) 18:29:08 (39/83) Installing libasyncns (0.8-r1) 18:29:08 (40/83) Installing dbus-libs (1.14.4-r0) 18:29:08 (41/83) Installing libltdl (2.4.7-r1) 18:29:08 (42/83) Installing orc (0.4.33-r0) 18:29:08 (43/83) Installing libgcc (12.2.1_git20220924-r4) 18:29:08 (44/83) Installing libogg (1.3.5-r2) 18:29:08 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 18:29:08 (46/83) Installing flac-libs (1.4.2-r0) 18:29:08 (47/83) Installing libvorbis (1.3.7-r0) 18:29:08 (48/83) Installing libsndfile (1.1.0-r2) 18:29:08 (49/83) Installing libgomp (12.2.1_git20220924-r4) 18:29:08 (50/83) Installing soxr (0.1.3-r3) 18:29:08 (51/83) Installing speexdsp (1.2.1-r0) 18:29:08 (52/83) Installing tdb-libs (1.4.7-r0) 18:29:08 (53/83) Installing libpulse (16.1-r6) 18:29:08 (54/83) Installing cjson (1.7.15-r3) 18:29:08 (55/83) Installing mbedtls (2.28.2-r0) 18:29:08 (56/83) Installing librist (0.2.7-r0) 18:29:08 (57/83) Installing libsrt (1.5.1-r0) 18:29:08 (58/83) Installing libssh (0.10.4-r0) 18:29:08 (59/83) Installing libtheora (1.1.1-r16) 18:29:08 (60/83) Installing libjpeg-turbo (2.1.4-r0) 18:29:08 (61/83) Installing v4l-utils-libs (1.22.1-r2) 18:29:08 (62/83) Installing libxext (1.3.5-r0) 18:29:08 (63/83) Installing libxfixes (6.0.0-r0) 18:29:08 (64/83) Installing wayland-libs-client (1.21.0-r1) 18:29:08 (65/83) Installing libva (2.16.0-r0) 18:29:08 (66/83) Installing libvdpau (1.5-r0) 18:29:08 (67/83) Installing vidstab (1.1.0-r2) 18:29:08 (68/83) Installing libvpx (1.12.0-r1) 18:29:08 (69/83) Installing libwebp (1.2.4-r1) 18:29:08 (70/83) Installing x264-libs (0.164_git20220602-r0) 18:29:08 (71/83) Installing numactl (2.0.16-r1) 18:29:08 (72/83) Installing x265-libs (3.5-r3) 18:29:08 (73/83) Installing xvidcore (1.3.7-r1) 18:29:08 (74/83) Installing libsodium (1.0.18-r2) 18:29:08 (75/83) Installing libzmq (4.3.4-r1) 18:29:08 (76/83) Installing ffmpeg-libs (5.1.2-r1) 18:29:08 (77/83) Installing ffmpeg (5.1.2-r1) 18:29:08 (78/83) Installing udev-init-scripts (35-r1) 18:29:08 (79/83) Installing eudev-libs (3.2.11-r4) 18:29:08 (80/83) Installing xz-libs (5.2.9-r0) 18:29:08 (81/83) Installing zstd-libs (1.5.2-r9) 18:29:08 (82/83) Installing kmod-libs (30-r1) 18:29:08 (83/83) Installing eudev (3.2.11-r4) 18:29:08 Executing busybox-1.35.0-r29.trigger 18:29:08 Executing eudev-3.2.11-r4.trigger 18:29:08 OK: 86 MiB in 98 packages 18:29:10 Removing intermediate container 91d9cf673573 18:29:10 ---> 4d3d9236d1b3 18:29:10 Step 18/35 : WORKDIR / 18:29:10 ---> Running in ac3b04fc0d9a 18:29:10 Removing intermediate container ac3b04fc0d9a 18:29:10 ---> 0a7510287f30 18:29:10 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 18:29:11 ---> 1a6deda23ad9 18:29:11 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 18:29:12 ---> 84f3a75cca34 18:29:12 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:29:12 ---> 98aa3bb2ba64 18:29:12 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:29:13 ---> 1eb762477be8 18:29:13 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:29:13 ---> dcc2586c2df5 18:29:13 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 18:29:14 ---> 35f83c64dd5b 18:29:14 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 18:29:15 ---> 49dfa7e5eb2e 18:29:15 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:29:15 ---> Running in 596f098317fb 18:29:17 Removing intermediate container 596f098317fb 18:29:17 ---> f363b5026131 18:29:17 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:29:17 ---> Running in dbdbbd24adbd 18:29:19 Removing intermediate container dbdbbd24adbd 18:29:19 ---> e355eb24bf3b 18:29:19 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:29:19 ---> Running in 636b6d86bb1d 18:29:21 Removing intermediate container 636b6d86bb1d 18:29:21 ---> 62fbfe0445de 18:29:21 Step 29/35 : EXPOSE 59983 18:29:21 ---> Running in 05c1f2b75337 18:29:21 Removing intermediate container 05c1f2b75337 18:29:21 ---> 9918ef9b855f 18:29:21 Step 30/35 : EXPOSE 8554 18:29:21 ---> Running in e0ef42365f8e 18:29:21 Removing intermediate container e0ef42365f8e 18:29:21 ---> 514eaea7f0ac 18:29:21 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:29:21 ---> Running in 3e7ca67bf0b8 18:29:21 Removing intermediate container 3e7ca67bf0b8 18:29:21 ---> 7e6d124507e8 18:29:21 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:29:22 ---> Running in 3deb24b2c305 18:29:22 Removing intermediate container 3deb24b2c305 18:29:22 ---> 06c1ebf650d9 18:29:22 Step 33/35 : LABEL arch=arm64 18:29:22 ---> Running in aac0585c1acd 18:29:22 Removing intermediate container aac0585c1acd 18:29:22 ---> 84dcdcf55c84 18:29:22 Step 34/35 : LABEL git_sha=bf4bb03e1a8743956c459a7f0914593d70436d2e 18:29:22 ---> Running in f5c1d5ad7630 18:29:22 Removing intermediate container f5c1d5ad7630 18:29:22 ---> 6bd8af7c1bfc 18:29:22 Step 35/35 : LABEL version=0.0.0 18:29:23 ---> Running in 6fb0681a0916 18:29:23 Removing intermediate container 6fb0681a0916 18:29:23 ---> e5343e7f551a 18:29:23 [Warning] One or more build-args [ARCH] were not consumed 18:29:23 Successfully built e5343e7f551a 18:29:23 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 18:29:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:29:23 18:29:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:29:24 arm64: Pulling from edgex-lftools-log-publisher 18:29:24 8998bd30e6a1: Pulling fs layer 18:29:24 04944245beec: Pulling fs layer 18:29:24 699f458cf7ca: Pulling fs layer 18:29:24 765212b225bb: Pulling fs layer 18:29:24 f23df028b6ca: Pulling fs layer 18:29:24 d65c8cfc05b1: Pulling fs layer 18:29:24 2437ff75d9bd: Pulling fs layer 18:29:24 765212b225bb: Waiting 18:29:24 f23df028b6ca: Waiting 18:29:24 d65c8cfc05b1: Waiting 18:29:24 2437ff75d9bd: Waiting 18:29:24 04944245beec: Verifying Checksum 18:29:24 04944245beec: Download complete 18:29:24 765212b225bb: Verifying Checksum 18:29:24 765212b225bb: Download complete 18:29:24 f23df028b6ca: Verifying Checksum 18:29:24 f23df028b6ca: Download complete 18:29:24 d65c8cfc05b1: Verifying Checksum 18:29:24 d65c8cfc05b1: Download complete 18:29:24 699f458cf7ca: Verifying Checksum 18:29:24 699f458cf7ca: Download complete 18:29:25 8998bd30e6a1: Verifying Checksum 18:29:25 8998bd30e6a1: Download complete 18:29:27 2437ff75d9bd: Verifying Checksum 18:29:27 2437ff75d9bd: Download complete 18:29:29 8998bd30e6a1: Pull complete 18:29:29 04944245beec: Pull complete 18:29:30 699f458cf7ca: Pull complete 18:29:31 765212b225bb: Pull complete 18:29:31 f23df028b6ca: Pull complete 18:29:31 d65c8cfc05b1: Pull complete 18:29:46 2437ff75d9bd: Pull complete 18:29:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:29:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:29:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:29:47 prd-ubuntu20.04-docker-arm64-4c-16g-5259 does not seem to be running inside a container 18:29:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:29:50 $ docker top c97ecf6fc6ad1818207f61fe6a1f1d790c69cf695bd43fbf408dc5389b69abf1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:29:50 ---> job-cost.sh 18:29:50 lf-activate-venv: SKIPPING 18:29:50 INFO: No Stack... 18:29:51 INFO: Retrieving Pricing Info for: v3-standard-4 18:29:51 INFO: Archiving Costs [Pipeline] sh 18:29:52 + cut -d, -f6 18:29:52 + cat /w/workspace/device-usb-camera/3/archives/cost.csv [Pipeline] lock 18:29:52 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] 18:29:52 Resource [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] did not exist. Created. 18:29:52 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:29:53 /w/workspace/device-usb-camera/3@tmp/durable-e665c8f1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:29:54 + echo total: 0.10999999940395355 [Pipeline] stash 18:29:54 Warning: overwriting stash ‘stack-cost’ 18:29:54 Stashed 1 file(s) [Pipeline] } 18:29:54 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-194-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:29:54 $ docker stop --time=1 c97ecf6fc6ad1818207f61fe6a1f1d790c69cf695bd43fbf408dc5389b69abf1 18:29:55 $ docker rm -f --volumes c97ecf6fc6ad1818207f61fe6a1f1d790c69cf695bd43fbf408dc5389b69abf1 [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 18:29:56 provisioning config files... 18:29:56 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-194@tmp/config6483405046755584446tmp [Pipeline] { [Pipeline] sh 18:29:56 + set +x 18:29:56 + curl -s https://codecov.io/bash 18:29:56 + bash -s -- 18:29:56 18:29:56 _____ _ 18:29:56 / ____| | | 18:29:56 | | ___ __| | ___ ___ _____ __ 18:29:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:29:56 | |___| (_) | (_| | __/ (_| (_) \ V / 18:29:56 \_____\___/ \__,_|\___|\___\___/ \_/ 18:29:56 Bash-1.0.6 18:29:56 18:29:56 18:29:56 ==> git version 2.25.1 found 18:29:56 ==> 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 18:29:56 Release-Date: 2020-01-08 18:29:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:29:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:29:56 ==> Jenkins CI detected. 18:29:56 current dir:  /w/workspace/foundry_device-usb-camera_PR-194 18:29:56 project root: . 18:29:56 --> token set from env 18:29:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:29:56 ==> Running gcov in . (disable via -X gcov) 18:29:56 ==> Python coveragepy not found 18:29:56 ==> Searching for coverage reports in: 18:29:56 + . 18:29:56 -> Found 1 reports 18:29:56 ==> Detecting git/mercurial file structure 18:29:56 ==> Reading reports 18:29:56 + ./coverage.out bytes=28352 18:29:56 ==> Appending adjustments 18:29:56 https://docs.codecov.io/docs/fixing-reports 18:29:56 + Found adjustments 18:29:56 ==> Gzipping contents 18:29:56 4.0K /tmp/codecov.El3B1r.gz 18:29:56 ==> Uploading reports 18:29:56 url: https://codecov.io 18:29:56 query: branch=PR-194&commit=bf4bb03e1a8743956c459a7f0914593d70436d2e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-194%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=194&job=&cmd_args= 18:29:56 -> Pinging Codecov 18:29:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-194&commit=bf4bb03e1a8743956c459a7f0914593d70436d2e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-194%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=194&job=&cmd_args= 18:29:56 -> Uploading to 18:29:56 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/73D8F5FF140700D3E01443B452E23636/bf4bb03e1a8743956c459a7f0914593d70436d2e/73543432-0f24-4fe5-ad10-8dcf9c7729bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T182956Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1772e4777d1433ede434298fa88add81ab9b7c00be86d271a0cdb7fbef1f94ec 18:29:56 % Total % Received % Xferd Average Speed Time Time Time Current 18:29:56 Dload Upload Total Spent Left Speed 18:29:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3919 0 0 100 3919 0 13702 --:--:-- --:--:-- --:--:-- 13702 18:29:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/bf4bb03e1a8743956c459a7f0914593d70436d2e [Pipeline] } 18:29:57 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 18:29:57 + [ -d /w/workspace/foundry_device-usb-camera_PR-194/archives ] 18:29:57 + ls -al /w/workspace/foundry_device-usb-camera_PR-194/archives 18:29:57 total 16 18:29:57 drwxr-xr-x 3 root root 4096 Mar 22 18:20 . 18:29:57 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 18:20 .. 18:29:57 drwxr-xr-x 2 root root 4096 Mar 22 18:20 cost 18:29:57 -rw-r--r-- 1 root root 89 Mar 22 18:20 cost.csv 18:29:57 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-194/archives 18:29:57 + ls -al /w/workspace/foundry_device-usb-camera_PR-194/archives 18:29:57 total 16 18:29:57 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 18:20 . 18:29:57 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 18:20 .. 18:29:57 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 18:20 cost 18:29:57 -rw-r--r-- 1 jenkins jenkins 89 Mar 22 18:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:29:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:29:58 ---> package-listing.sh 18:29:58 ++ tr '[:upper:]' '[:lower:]' 18:29:58 ++ facter osfamily 18:29:59 + OS_FAMILY=debian 18:29:59 + workspace=/w/workspace/foundry_device-usb-camera_PR-194 18:29:59 + START_PACKAGES=/tmp/packages_start.txt 18:29:59 + END_PACKAGES=/tmp/packages_end.txt 18:29:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:29:59 + PACKAGES=/tmp/packages_start.txt 18:29:59 + '[' /w/workspace/foundry_device-usb-camera_PR-194 ']' 18:29:59 + PACKAGES=/tmp/packages_end.txt 18:29:59 + case "${OS_FAMILY}" in 18:29:59 + dpkg -l 18:29:59 + grep '^ii' 18:29:59 + '[' -f /tmp/packages_start.txt ']' 18:29:59 + '[' -f /tmp/packages_end.txt ']' 18:29:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:29:59 + '[' /w/workspace/foundry_device-usb-camera_PR-194 ']' 18:29:59 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-194/archives/ 18:29:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-194/archives/ [Pipeline] echo 18:29:59 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-194/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:29:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:30:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:30:00 prd-ubuntu20.04-docker-8c-8g-5258 does not seem to be running inside a container 18:30:00 $ 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-194/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-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:30:00 $ docker top e9b0171ccad02d490c81f736c8dd70077927dfc8829963e9dfca64d51bfaa6c0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:30:00 + touch /tmp/pre-build-complete [Pipeline] sh 18:30:00 + mkdir -p /var/log/sysstat [Pipeline] sh 18:30:01 + ls /var/log/sa-host 18:30:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:30:01 provisioning config files... 18:30:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-194@tmp/config6163642660797494967tmp [Pipeline] { [Pipeline] echo 18:30:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:30:01 ---> create-netrc.sh [Pipeline] } 18:30:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:30:02 ---> python-tools-install.sh [Pipeline] echo 18:30:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:30:02 ---> sudo-logs.sh 18:30:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:30:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:30:02 ---> job-cost.sh 18:30:02 lf-activate-venv: SKIPPING 18:30:02 DEBUG: total: 0.2199999988079071 18:30:02 INFO: Retrieving Stack Cost... 18:30:02 INFO: Retrieving Pricing Info for: v3-standard-8 18:30:03 INFO: Archiving Costs [Pipeline] echo 18:30:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:30:03 ---> logs-deploy.sh 18:30:03 lf-activate-venv: SKIPPING 18:30:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-194/3 18:30:03 INFO: archiving workspace using pattern(s): 18:30:04 Archives upload complete. 18:30:04 INFO: archiving logs to Nexus