Pull request #311 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 cloudxxx8 for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 9b45417a96541d15046e5a98526bd2dffce12191+a4086434d3b8a0a90fcc5d93c3589c81a42138fa (80b0242ff1f1be686df676746ad71d6ced49f6e2) 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-ssh10698743439937134628.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh14997564906437536589.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-311/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-311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10548409538224960846.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh6938116942241715413.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-311/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-311/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5448686829295867441.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.21 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-17149 in /w/workspace/foundry_device-usb-camera_PR-311 [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-311 # 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/311/head:refs/remotes/origin/PR-311 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a4086434d3b8a0a90fcc5d93c3589c81a42138fa into PR head commit 9b45417a96541d15046e5a98526bd2dffce12191 Merge succeeded, producing 9b45417a96541d15046e5a98526bd2dffce12191 Checking out Revision 9b45417a96541d15046e5a98526bd2dffce12191 (PR-311) > git config core.sparsecheckout # timeout=10 > git checkout -f 9b45417a96541d15046e5a98526bd2dffce12191 # 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 a4086434d3b8a0a90fcc5d93c3589c81a42138fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b45417a96541d15046e5a98526bd2dffce12191 # timeout=10 Commit message: "docs: Update changelog for 3.1 release" First time build. Skipping changelog. > git rev-list --no-walk 6f3bb880aebfe1118a51b41de3dbe1f8797ec9ac # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:32:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:32:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:32:38 ========================================================= 15:32:38 EdgeX Global Pipelines Version Info 15:32:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:32:39 ------------------- 15:32:39 stable info: 15:32:39 ------------------- 15:32:39 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 15:32:39 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:32:39 Message: update stable to v1.0.257 15:32:40 ------------------- 15:32:40 experimental info: 15:32:40 ------------------- 15:32:40 Commited By: **** collab-it+edgex@linuxfoundation.org 15:32:40 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 15:32:40 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-311 [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-311 [Pipeline] echo 15:32:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-311 [Pipeline] echo 15:32:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b45417a96541d15046e5a98526bd2dffce12191 [Pipeline] echo 15:32:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b45417 [Pipeline] echo 15:32:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:32:41 provisioning config files... 15:32:41 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-311@tmp/config6882464477950913761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:32:41 ---> docker-login.sh 15:32:41 nexus3.edgexfoundry.org:10001 15:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:41 Configure a credential helper to remove this warning. See 15:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:41 15:32:41 Login Succeeded 15:32:41 nexus3.edgexfoundry.org:10002 15:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:41 Configure a credential helper to remove this warning. See 15:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:41 15:32:41 Login Succeeded 15:32:41 nexus3.edgexfoundry.org:10003 15:32:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:41 Configure a credential helper to remove this warning. See 15:32:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:41 15:32:41 Login Succeeded 15:32:41 nexus3.edgexfoundry.org:10004 15:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:42 Configure a credential helper to remove this warning. See 15:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:42 15:32:42 Login Succeeded 15:32:42 docker.io 15:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:42 Configure a credential helper to remove this warning. See 15:32:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:42 15:32:42 Login Succeeded 15:32:42 ---> docker-login.sh ends [Pipeline] } 15:32:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:32:42 + git rev-list -1 --merges 9b45417a96541d15046e5a98526bd2dffce12191~1..9b45417a96541d15046e5a98526bd2dffce12191 [Pipeline] echo 15:32:42 -----------> git rev-list -1 --merges 9b45417a96541d15046e5a98526bd2dffce12191~1..9b45417a96541d15046e5a98526bd2dffce12191 9b45417a96541d15046e5a98526bd2dffce12191 [false] [Pipeline] sh 15:32:43 + git log --format=format:%s -1 9b45417a96541d15046e5a98526bd2dffce12191 [Pipeline] echo 15:32:43 ========================================================= 15:32:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:32:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:32:43 + git log --format=format:%s -1 9b45417a96541d15046e5a98526bd2dffce12191 [Pipeline] echo 15:32:43 [semverPrep] GIT_COMMIT: 9b45417a96541d15046e5a98526bd2dffce12191, Commit Message: docs: Update changelog for 3.1 release [Pipeline] echo 15:32:43 [semverPrep] This is not a build commit. [Pipeline] sh 15:32:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:32:43 + grep -v github /etc/ssh/ssh_known_hosts 15:32:43 + [ -e /tmp/ssh_known_hosts ] 15:32:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:32:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:32:43 + sudo tee -a /etc/ssh/ssh_known_hosts 15:32:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:32:44 15:32:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:32:44 0.1.4: Pulling from edgex-devops/py-git-semver 15:32:44 b85a868b505f: Pulling fs layer 15:32:44 e2be974225ed: Pulling fs layer 15:32:44 339a4e72a1f5: Pulling fs layer 15:32:44 988bab9f4d93: Pulling fs layer 15:32:44 1469e6f7b9e6: Pulling fs layer 15:32:44 eaf3925da568: Pulling fs layer 15:32:44 bab4dde63d76: Pulling fs layer 15:32:44 bde34c3a00c8: Pulling fs layer 15:32:44 b352a97aabf1: Pulling fs layer 15:32:44 4872d77fe225: Pulling fs layer 15:32:44 5851b861e8e6: Pulling fs layer 15:32:44 bab4dde63d76: Waiting 15:32:44 bde34c3a00c8: Waiting 15:32:44 988bab9f4d93: Waiting 15:32:44 b352a97aabf1: Waiting 15:32:44 4872d77fe225: Waiting 15:32:44 5851b861e8e6: Waiting 15:32:44 eaf3925da568: Waiting 15:32:44 1469e6f7b9e6: Waiting 15:32:44 e2be974225ed: Verifying Checksum 15:32:44 e2be974225ed: Download complete 15:32:44 988bab9f4d93: Verifying Checksum 15:32:44 988bab9f4d93: Download complete 15:32:44 1469e6f7b9e6: Verifying Checksum 15:32:44 1469e6f7b9e6: Download complete 15:32:44 eaf3925da568: Verifying Checksum 15:32:44 eaf3925da568: Download complete 15:32:44 339a4e72a1f5: Download complete 15:32:44 bde34c3a00c8: Verifying Checksum 15:32:44 bde34c3a00c8: Download complete 15:32:44 4872d77fe225: Download complete 15:32:44 5851b861e8e6: Download complete 15:32:44 b85a868b505f: Verifying Checksum 15:32:44 b85a868b505f: Download complete 15:32:45 bab4dde63d76: Verifying Checksum 15:32:45 bab4dde63d76: Download complete 15:32:46 b85a868b505f: Pull complete 15:32:46 e2be974225ed: Pull complete 15:32:46 339a4e72a1f5: Pull complete 15:32:46 988bab9f4d93: Pull complete 15:32:47 1469e6f7b9e6: Pull complete 15:32:47 eaf3925da568: Pull complete 15:32:49 bab4dde63d76: Pull complete 15:32:49 bde34c3a00c8: Pull complete 15:32:49 b352a97aabf1: Pull complete 15:32:49 4872d77fe225: Pull complete 15:32:49 5851b861e8e6: Pull complete 15:32:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:32:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:32:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:32:49 prd-ubuntu20.04-docker-8c-8g-17149 does not seem to be running inside a container 15:32:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-311 -v /w/workspace/foundry_device-usb-camera_PR-311:/w/workspace/foundry_device-usb-camera_PR-311:rw,z -v /w/workspace/foundry_device-usb-camera_PR-311@tmp:/w/workspace/foundry_device-usb-camera_PR-311@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 15:32:52 $ docker top 2d1bcf88e69a33d4ca8fd0787aef4a8aafd7745ebcab1d8cd5322cff78fc96a4 -eo pid,comm 15:32:52 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). 15:32:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:32:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:32:52 [ssh-agent] Looking for ssh-agent implementation... 15:32:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:32:52 $ docker exec 2d1bcf88e69a33d4ca8fd0787aef4a8aafd7745ebcab1d8cd5322cff78fc96a4 ssh-agent 15:32:52 SSH_AUTH_SOCK=/tmp/ssh-CN9c2CNxInM6/agent.31 15:32:52 SSH_AGENT_PID=37 15:32:52 Running ssh-add (command line suppressed) 15:32:52 Identity added: /w/workspace/foundry_device-usb-camera_PR-311@tmp/private_key_4522037337302801538.key (/w/workspace/foundry_device-usb-camera_PR-311@tmp/private_key_4522037337302801538.key) 15:32:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:32:53 + git tag --points-at HEAD [Pipeline] } 15:32:53 $ docker exec --env ******** --env ******** 2d1bcf88e69a33d4ca8fd0787aef4a8aafd7745ebcab1d8cd5322cff78fc96a4 ssh-agent -k 15:32:53 unset SSH_AUTH_SOCK; 15:32:53 unset SSH_AGENT_PID; 15:32:53 echo Agent pid 37 killed; 15:32:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:32:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:32:53 [ssh-agent] Looking for ssh-agent implementation... 15:32:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:32:53 $ docker exec 2d1bcf88e69a33d4ca8fd0787aef4a8aafd7745ebcab1d8cd5322cff78fc96a4 ssh-agent 15:32:53 SSH_AUTH_SOCK=/tmp/ssh-8N4p3Isr036P/agent.70 15:32:53 SSH_AGENT_PID=76 15:32:53 Running ssh-add (command line suppressed) 15:32:53 Identity added: /w/workspace/foundry_device-usb-camera_PR-311@tmp/private_key_15961342802885753813.key (/w/workspace/foundry_device-usb-camera_PR-311@tmp/private_key_15961342802885753813.key) 15:32:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:32:53 + git semver init 15:32:54 2023-11-09 15:32:54,084 [run_init] DEBUG init version:0.0.0 force:False 15:32:54 2023-11-09 15:32:54,084 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-311/.semver 15:32:54 2023-11-09 15:32:54,085 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-311/.semver 15:32:54 2023-11-09 15:32:54,085 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-311/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-311, universal_newlines=False, shell=None, istream=None) 15:32:55 2023-11-09 15:32:54,930 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-311/.git/info/exclude 15:32:55 2023-11-09 15:32:54,931 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-311/.semver/PR-311 with force:False 15:32:55 2023-11-09 15:32:54,931 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-311/.semver/PR-311 15:32:55 2023-11-09 15:32:54,935 [execute] INFO git cat-file --batch-check 15:32:55 2023-11-09 15:32:54,936 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-311/.semver, universal_newlines=False, shell=None, istream=) 15:32:55 2023-11-09 15:32:54,942 [execute] INFO git cat-file --batch 15:32:55 2023-11-09 15:32:54,942 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-311/.semver, universal_newlines=False, shell=None, istream=) 15:32:55 2023-11-09 15:32:54,947 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-311/.semver/PR-311 15:32:55 0.0.0 [Pipeline] } 15:32:55 $ docker exec --env ******** --env ******** 2d1bcf88e69a33d4ca8fd0787aef4a8aafd7745ebcab1d8cd5322cff78fc96a4 ssh-agent -k 15:32:55 unset SSH_AUTH_SOCK; 15:32:55 unset SSH_AGENT_PID; 15:32:55 echo Agent pid 76 killed; 15:32:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:32:55 + git semver [Pipeline] } 15:32:55 $ docker stop --time=1 2d1bcf88e69a33d4ca8fd0787aef4a8aafd7745ebcab1d8cd5322cff78fc96a4 15:32:57 $ docker rm -f --volumes 2d1bcf88e69a33d4ca8fd0787aef4a8aafd7745ebcab1d8cd5322cff78fc96a4 [Pipeline] // withDockerContainer [Pipeline] sh 15:32:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:32:57 Stashed 1 file(s) [Pipeline] echo 15:32:57 [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 15:32:57 provisioning config files... 15:32:57 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-311@tmp/config619127620342407595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:32:58 ---> docker-login.sh 15:32:58 nexus3.edgexfoundry.org:10001 15:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:58 Configure a credential helper to remove this warning. See 15:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:58 15:32:58 Login Succeeded 15:32:58 nexus3.edgexfoundry.org:10002 15:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:58 Configure a credential helper to remove this warning. See 15:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:58 15:32:58 Login Succeeded 15:32:58 nexus3.edgexfoundry.org:10003 15:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:58 Configure a credential helper to remove this warning. See 15:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:58 15:32:58 Login Succeeded 15:32:58 nexus3.edgexfoundry.org:10004 15:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:58 Configure a credential helper to remove this warning. See 15:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:58 15:32:58 Login Succeeded 15:32:58 docker.io 15:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:58 Configure a credential helper to remove this warning. See 15:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:58 15:32:58 Login Succeeded 15:32:58 ---> docker-login.sh ends [Pipeline] } 15:32:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:32:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:32:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:32:58 ========================================================= 15:32:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:32:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:32:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:32:59 Sending build context to Docker daemon 2.309MB 15:32:59 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 15:32:59 Step 2/13 : FROM ${BASE} AS builder 15:32:59 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:32:59 7264a8db6415: Pulling fs layer 15:32:59 c4d48a809fc2: Pulling fs layer 15:32:59 4f1c88b9dad5: Pulling fs layer 15:32:59 ad3a456e5733: Pulling fs layer 15:32:59 33e27b845d1e: Pulling fs layer 15:32:59 c68163c4e522: Pulling fs layer 15:32:59 50da416c3ac9: Pulling fs layer 15:32:59 23d2d4c4bb30: Pulling fs layer 15:32:59 50da416c3ac9: Waiting 15:32:59 23d2d4c4bb30: Waiting 15:32:59 ad3a456e5733: Waiting 15:32:59 33e27b845d1e: Waiting 15:32:59 c68163c4e522: Waiting 15:32:59 c4d48a809fc2: Verifying Checksum 15:32:59 c4d48a809fc2: Download complete 15:32:59 ad3a456e5733: Verifying Checksum 15:32:59 ad3a456e5733: Download complete 15:32:59 33e27b845d1e: Download complete 15:32:59 7264a8db6415: Verifying Checksum 15:32:59 7264a8db6415: Download complete 15:32:59 c68163c4e522: Verifying Checksum 15:32:59 c68163c4e522: Download complete 15:32:59 7264a8db6415: Pull complete 15:32:59 23d2d4c4bb30: Verifying Checksum 15:32:59 23d2d4c4bb30: Download complete 15:32:59 c4d48a809fc2: Pull complete 15:32:59 4f1c88b9dad5: Download complete 15:33:00 50da416c3ac9: Verifying Checksum 15:33:00 50da416c3ac9: Download complete 15:33:03 4f1c88b9dad5: Pull complete 15:33:03 ad3a456e5733: Pull complete 15:33:03 33e27b845d1e: Pull complete 15:33:03 c68163c4e522: Pull complete 15:33:05 50da416c3ac9: Pull complete 15:33:05 23d2d4c4bb30: Pull complete 15:33:05 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 15:33:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:33:05 ---> 0786185ac409 15:33:05 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:33:10 ---> Running in ad8ed203f692 15:33:10 Removing intermediate container ad8ed203f692 15:33:10 ---> eaef8c74652a 15:33:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:33:10 ---> Running in e4b6e5655dac 15:33:10 Removing intermediate container e4b6e5655dac 15:33:10 ---> b642465299ed 15:33:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 15:33:10 ---> Running in 7c357ffc3406 15:33:10 Removing intermediate container 7c357ffc3406 15:33:10 ---> e728575be96a 15:33:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:33:10 ---> Running in 6842fb322e2a 15:33:10 Removing intermediate container 6842fb322e2a 15:33:10 ---> 53ae8718eeb3 15:33:10 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:33:10 ---> Running in ec05c2d31bad 15:33:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:33:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:33:11 (1/13) Installing libintl (0.21.1-r7) 15:33:11 (2/13) Installing eudev-libs (3.2.11-r8) 15:33:11 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 15:33:11 (4/13) Installing v4l-utils-libs (1.24.1-r0) 15:33:11 (5/13) Installing v4l-utils (1.24.1-r0) 15:33:11 (6/13) Installing libdvbv5 (1.24.1-r0) 15:33:11 (7/13) Installing udev-init-scripts (35-r1) 15:33:11 (8/13) Installing libblkid (2.38.1-r8) 15:33:11 (9/13) Installing xz-libs (5.4.3-r0) 15:33:11 (10/13) Installing kmod-libs (30-r3) 15:33:11 (11/13) Installing eudev (3.2.11-r8) 15:33:11 (12/13) Installing eudev-dev (3.2.11-r8) 15:33:11 (13/13) Installing v4l-utils-dev (1.24.1-r0) 15:33:11 Executing busybox-1.36.1-r2.trigger 15:33:11 Executing eudev-3.2.11-r8.trigger 15:33:11 OK: 271 MiB in 65 packages 15:33:12 Removing intermediate container ec05c2d31bad 15:33:12 ---> 143c981daf13 15:33:12 Step 8/13 : WORKDIR /device-usb-camera 15:33:12 ---> Running in da6180df110f 15:33:12 Removing intermediate container da6180df110f 15:33:12 ---> 0bd6c0ef89b6 15:33:12 Step 9/13 : COPY go.mod vendor* ./ 15:33:12 ---> 22c6418b0f84 15:33:12 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:33:12 ---> Running in f2dec835efcd 15:33:12 Still waiting to schedule task 15:33:12 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:33:51 Removing intermediate container f2dec835efcd 15:33:51 ---> 707052d641af 15:33:51 Step 11/13 : COPY . . 15:33:51 ---> 93739bc3dc82 15:33:51 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:33:51 ---> Running in 288edc182863 15:33:51  % Total % Received % Xferd Average Speed Time Time Time Current 15:33:51 Dload Upload Total Spent Left Speed 15:33:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 12528 0 --:--:-- --:--:-- --:--:-- 12656 15:33:51 Removing intermediate container 288edc182863 15:33:51 ---> 49c5d2330c63 15:33:51 Step 13/13 : RUN ${MAKE} 15:33:51 ---> Running in 3f7eaf3973e4 15:33:51 noop 15:33:51 Removing intermediate container 3f7eaf3973e4 15:33:51 ---> 3e377d21603e 15:33:51 Successfully built 3e377d21603e 15:33:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:51 + docker inspect -f . ci-base-image-x86_64 15:33:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:51 prd-ubuntu20.04-docker-8c-8g-17149 does not seem to be running inside a container 15:33:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-311 -v /w/workspace/foundry_device-usb-camera_PR-311:/w/workspace/foundry_device-usb-camera_PR-311:rw,z -v /w/workspace/foundry_device-usb-camera_PR-311@tmp:/w/workspace/foundry_device-usb-camera_PR-311@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 15:33:51 $ docker top 3410d4c3eed16dca7010698e6481f177c04e57b7f516f681a3f542a4d0b14780 -eo pid,comm [Pipeline] { [Pipeline] sh 15:33:52 + go version 15:33:52 go version go1.21.0 linux/amd64 [Pipeline] } 15:33:52 $ docker stop --time=1 3410d4c3eed16dca7010698e6481f177c04e57b7f516f681a3f542a4d0b14780 15:33:53 $ docker rm -f --volumes 3410d4c3eed16dca7010698e6481f177c04e57b7f516f681a3f542a4d0b14780 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:33:53 + docker inspect -f . ci-base-image-x86_64 15:33:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:33:53 prd-ubuntu20.04-docker-8c-8g-17149 does not seem to be running inside a container 15:33:53 $ 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-311 -v /w/workspace/foundry_device-usb-camera_PR-311:/w/workspace/foundry_device-usb-camera_PR-311:rw,z -v /w/workspace/foundry_device-usb-camera_PR-311@tmp:/w/workspace/foundry_device-usb-camera_PR-311@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 15:33:54 $ docker top c6e3ecddea4e3192ec85568b0e9e0d028504e9b4dc7dfb8516cfcd0b0304d9ac -eo pid,comm [Pipeline] { [Pipeline] sh 15:33:54 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-311 [Pipeline] fileExists [Pipeline] sh 15:33:54 + make test 15:33:54 go test ./... -coverprofile=coverage.out ./... 15:33:56 ? github.com/edgexfoundry/device-usb-camera [no test files] 15:34:08 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 15:34:08 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.022s coverage: 4.4% of statements 15:34:14 go vet ./... 15:34:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:34:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:34:18 ./bin/test-attribution-txt.sh [Pipeline] echo 15:34:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:34:18 $ docker stop --time=1 c6e3ecddea4e3192ec85568b0e9e0d028504e9b4dc7dfb8516cfcd0b0304d9ac 15:34:22 $ docker rm -f --volumes c6e3ecddea4e3192ec85568b0e9e0d028504e9b4dc7dfb8516cfcd0b0304d9ac [Pipeline] // withDockerContainer [Pipeline] sh 15:34:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:34:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:34:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:34:23 + ls -al . 15:34:23 total 224 15:34:23 drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 15:33 . 15:34:23 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 15:32 .. 15:34:23 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:34 .git 15:34:23 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:32 .github 15:34:23 -rw-rw-r-- 1 jenkins jenkins 429 Nov 9 15:32 .gitignore 15:34:23 -rw-rw-r-- 1 jenkins jenkins 45 Nov 9 15:32 .golangci.yml 15:34:23 -rw-rw-r-- 1 jenkins jenkins 77 Nov 9 15:32 .hadolint.yml 15:34:23 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 15:32 .semver 15:34:23 -rw-rw-r-- 1 jenkins jenkins 10851 Nov 9 15:32 Attribution.txt 15:34:23 -rw-rw-r-- 1 jenkins jenkins 16561 Nov 9 15:32 CHANGELOG.md 15:34:23 -rw-rw-r-- 1 jenkins jenkins 2453 Nov 9 15:32 Dockerfile 15:34:23 -rw-rw-r-- 1 jenkins jenkins 678 Nov 9 15:32 GOVERNANCE.md 15:34:23 -rw-rw-r-- 1 jenkins jenkins 659 Nov 9 15:32 Jenkinsfile 15:34:23 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 9 15:32 LICENSE 15:34:23 -rw-rw-r-- 1 jenkins jenkins 2611 Nov 9 15:32 Makefile 15:34:23 -rw-rw-r-- 1 jenkins jenkins 622 Nov 9 15:32 OWNERS.md 15:34:23 -rw-rw-r-- 1 jenkins jenkins 2575 Nov 9 15:32 README.md 15:34:23 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 15:32 VERSION 15:34:23 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:32 bin 15:34:23 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:32 cmd 15:34:23 -rw-r--r-- 1 jenkins jenkins 54703 Nov 9 15:34 coverage.out 15:34:23 -rwxrwxr-x 1 jenkins jenkins 84 Nov 9 15:32 docker-entrypoint.sh 15:34:23 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:32 docs 15:34:23 -rw-rw-r-- 1 jenkins jenkins 3878 Nov 9 15:32 go.mod 15:34:23 -rw-rw-r-- 1 jenkins jenkins 34744 Nov 9 15:32 go.sum 15:34:23 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:32 internal 15:34:23 -rw-rw-r-- 1 jenkins jenkins 231 Nov 9 15:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:23 + 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=9b45417a96541d15046e5a98526bd2dffce12191 --label arch=amd64 --label version=0.0.0 . 15:34:23 Sending build context to Docker daemon 2.364MB 15:34:23 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 15:34:23 Step 2/36 : FROM ${BASE} AS builder 15:34:23 ---> 3e377d21603e 15:34:23 Step 3/36 : ARG ADD_BUILD_TAGS="" 15:34:23 ---> Running in 533ea209a8d3 15:34:24 Removing intermediate container 533ea209a8d3 15:34:24 ---> b1ce8854c5e3 15:34:24 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:34:24 ---> Running in 1fbceb124dc9 15:34:24 Removing intermediate container 1fbceb124dc9 15:34:24 ---> 4a6ae3967b4b 15:34:24 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 15:34:24 ---> Running in 3bd0e5f536bd 15:34:24 Removing intermediate container 3bd0e5f536bd 15:34:24 ---> 3f568b41060e 15:34:24 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:34:24 ---> Running in 7cc7cc532602 15:34:24 Removing intermediate container 7cc7cc532602 15:34:24 ---> 313a4c3e51b2 15:34:24 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:34:24 ---> Running in 28beecb0012d 15:34:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:34:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:34:24 OK: 271 MiB in 65 packages 15:34:25 Removing intermediate container 28beecb0012d 15:34:25 ---> 4357d9234316 15:34:25 Step 8/36 : WORKDIR /device-usb-camera 15:34:25 ---> Running in af865f523aa4 15:34:25 Removing intermediate container af865f523aa4 15:34:25 ---> 7758518c6249 15:34:25 Step 9/36 : COPY go.mod vendor* ./ 15:34:25 ---> 87e9d17e7321 15:34:25 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:34:25 ---> Running in 201710b8e829 15:34:26 Removing intermediate container 201710b8e829 15:34:26 ---> 94abcd157850 15:34:26 Step 11/36 : COPY . . 15:34:26 ---> 100ee1eb4664 15:34:26 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:34:26 ---> Running in aa9b4069233c 15:34:26  % Total % Received % Xferd Average Speed Time Time Time Current 15:34:26 Dload Upload Total Spent Left Speed 15:34:26   0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 39151 0 --:--:-- --:--:-- --:--:-- 40419 15:34:26 Removing intermediate container aa9b4069233c 15:34:26 ---> 0d47c3d9b895 15:34:26 Step 13/36 : RUN ${MAKE} 15:34:27 ---> Running in 2146b6c3dbd9 15:34:27 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 15:34:49 Removing intermediate container 2146b6c3dbd9 15:34:49 ---> 48784416ab83 15:34:49 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 15:34:49 v0.21.6: Pulling from aler9/rtsp-simple-server 15:34:49 4acc49c71d14: Pulling fs layer 15:34:49 4acc49c71d14: Verifying Checksum 15:34:49 4acc49c71d14: Download complete 15:34:49 4acc49c71d14: Pull complete 15:34:49 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 15:34:49 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 15:34:49 ---> 01a2bd3e5fff 15:34:49 Step 15/36 : FROM alpine:3.18 15:34:50 3.18: Pulling from library/alpine 15:34:50 96526aa774ef: Pulling fs layer 15:34:50 96526aa774ef: Verifying Checksum 15:34:50 96526aa774ef: Download complete 15:34:51 96526aa774ef: Pull complete 15:34:51 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:34:51 Status: Downloaded newer image for alpine:3.18 15:34:51 ---> 8ca4688f4f35 15:34:51 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 15:34:51 ---> Running in 322b47156b98 15:34:51 Removing intermediate container 322b47156b98 15:34:51 ---> 527b0e5baf99 15:34:51 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 15:34:51 ---> Running in b2b1d99aab99 15:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:34:52 (1/107) Installing dumb-init (1.2.5-r2) 15:34:52 (2/107) Installing sdl2 (2.26.5-r0) 15:34:52 (3/107) Installing svt-av1-libs (1.6.0-r0) 15:34:52 (4/107) Installing aom-libs (3.6.1-r0) 15:34:52 (5/107) Installing libxau (1.0.11-r2) 15:34:52 (6/107) Installing libmd (1.0.4-r2) 15:34:52 (7/107) Installing libbsd (0.11.7-r1) 15:34:52 (8/107) Installing libxdmcp (1.1.4-r2) 15:34:52 (9/107) Installing libxcb (1.15-r1) 15:34:52 (10/107) Installing libx11 (1.8.7-r0) 15:34:52 (11/107) Installing hwdata-pci (0.370-r0) 15:34:52 (12/107) Installing libpciaccess (0.17-r2) 15:34:52 (13/107) Installing libdrm (2.4.115-r4) 15:34:52 (14/107) Installing libxext (1.3.5-r2) 15:34:52 (15/107) Installing libxfixes (6.0.1-r2) 15:34:52 (16/107) Installing libffi (3.4.4-r2) 15:34:52 (17/107) Installing wayland-libs-client (1.22.0-r2) 15:34:52 (18/107) Installing libva (2.18.0-r1) 15:34:52 (19/107) Installing libvdpau (1.5-r1) 15:34:52 (20/107) Installing libgcc (12.2.1_git20220924-r10) 15:34:52 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 15:34:52 (22/107) Installing onevpl-libs (2023.2.1-r0) 15:34:52 (23/107) Installing ffmpeg-libavutil (6.0-r15) 15:34:52 (24/107) Installing libdav1d (1.2.1-r0) 15:34:52 (25/107) Installing brotli-libs (1.0.9-r14) 15:34:52 (26/107) Installing libhwy (1.0.4-r1) 15:34:52 (27/107) Installing lcms2 (2.15-r2) 15:34:52 (28/107) Installing libjxl (0.8.2-r0) 15:34:52 (29/107) Installing lame-libs (3.100-r5) 15:34:52 (30/107) Installing opus (1.4-r0) 15:34:52 (31/107) Installing libgomp (12.2.1_git20220924-r10) 15:34:52 (32/107) Installing soxr (0.1.3-r5) 15:34:52 (33/107) Installing ffmpeg-libswresample (6.0-r15) 15:34:52 (34/107) Installing libogg (1.3.5-r4) 15:34:52 (35/107) Installing libtheora (1.1.1-r17) 15:34:52 (36/107) Installing libvorbis (1.3.7-r1) 15:34:52 (37/107) Installing libvpx (1.13.0-r2) 15:34:52 (38/107) Installing libwebp (1.3.2-r0) 15:34:52 (39/107) Installing x264-libs (0.164_git20220602-r1) 15:34:52 (40/107) Installing numactl (2.0.16-r4) 15:34:52 (41/107) Installing x265-libs (3.5-r4) 15:34:52 (42/107) Installing xvidcore (1.3.7-r1) 15:34:52 (43/107) Installing ffmpeg-libavcodec (6.0-r15) 15:34:52 (44/107) Installing alsa-lib (1.2.9-r1) 15:34:52 (45/107) Installing libexpat (2.5.0-r1) 15:34:52 (46/107) Installing libbz2 (1.0.8-r5) 15:34:52 (47/107) Installing libpng (1.6.39-r3) 15:34:52 (48/107) Installing freetype (2.13.0-r5) 15:34:52 (49/107) Installing fontconfig (2.14.2-r3) 15:34:52 (50/107) Installing fribidi (1.0.13-r0) 15:34:52 (51/107) Installing libintl (0.21.1-r7) 15:34:52 (52/107) Installing libblkid (2.38.1-r8) 15:34:52 (53/107) Installing libmount (2.38.1-r8) 15:34:52 (54/107) Installing pcre2 (10.42-r1) 15:34:52 (55/107) Installing glib (2.76.4-r0) 15:34:53 (56/107) Installing graphite2 (1.3.14-r5) 15:34:53 (57/107) Installing harfbuzz (7.3.0-r0) 15:34:53 (58/107) Installing libunibreak (5.1-r0) 15:34:53 (59/107) Installing libass (0.17.1-r0) 15:34:53 (60/107) Installing libbluray (1.3.4-r0) 15:34:53 (61/107) Installing gmp (6.2.1-r3) 15:34:53 (62/107) Installing nettle (3.8.1-r2) 15:34:53 (63/107) Installing libunistring (1.1-r1) 15:34:53 (64/107) Installing libidn2 (2.3.4-r1) 15:34:53 (65/107) Installing p11-kit (0.24.1-r2) 15:34:53 (66/107) Installing libtasn1 (4.19.0-r1) 15:34:53 (67/107) Installing gnutls (3.8.0-r2) 15:34:53 (68/107) Installing mpg123-libs (1.31.3-r1) 15:34:53 (69/107) Installing libopenmpt (0.7.2-r0) 15:34:53 (70/107) Installing cjson (1.7.15-r4) 15:34:53 (71/107) Installing mbedtls (2.28.5-r0) 15:34:53 (72/107) Installing librist (0.2.7-r0) 15:34:53 (73/107) Installing libsrt (1.5.2-r0) 15:34:53 (74/107) Installing libssh (0.10.5-r0) 15:34:53 (75/107) Installing xz-libs (5.4.3-r0) 15:34:53 (76/107) Installing libxml2 (2.11.4-r0) 15:34:53 (77/107) Installing libsodium (1.0.18-r3) 15:34:53 (78/107) Installing libzmq (4.3.4-r4) 15:34:53 (79/107) Installing ffmpeg-libavformat (6.0-r15) 15:34:53 (80/107) Installing glslang-libs (1.3.243.0-r1) 15:34:53 (81/107) Installing spirv-tools (1.3.243.0-r1) 15:34:53 (82/107) Installing shaderc (2023.3-r1) 15:34:53 (83/107) Installing vulkan-loader (1.3.243.0-r1) 15:34:53 (84/107) Installing libplacebo (5.264.1-r1) 15:34:53 (85/107) Installing ffmpeg-libpostproc (6.0-r15) 15:34:53 (86/107) Installing ffmpeg-libswscale (6.0-r15) 15:34:53 (87/107) Installing vidstab (1.1.1-r0) 15:34:53 (88/107) Installing zimg (3.0.5-r0) 15:34:53 (89/107) Installing ffmpeg-libavfilter (6.0-r15) 15:34:53 (90/107) Installing libasyncns (0.8-r1) 15:34:53 (91/107) Installing dbus-libs (1.14.8-r0) 15:34:53 (92/107) Installing libltdl (2.4.7-r2) 15:34:53 (93/107) Installing orc (0.4.34-r0) 15:34:53 (94/107) Installing flac-libs (1.4.3-r0) 15:34:53 (95/107) Installing libsndfile (1.2.0-r2) 15:34:53 (96/107) Installing speexdsp (1.2.1-r1) 15:34:53 (97/107) Installing tdb-libs (1.4.8-r1) 15:34:53 (98/107) Installing libpulse (16.1-r10) 15:34:53 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 15:34:53 (100/107) Installing v4l-utils-libs (1.24.1-r0) 15:34:53 (101/107) Installing ffmpeg-libavdevice (6.0-r15) 15:34:53 (102/107) Installing ffmpeg (6.0-r15) 15:34:53 (103/107) Installing udev-init-scripts (35-r1) 15:34:53 (104/107) Installing eudev-libs (3.2.11-r8) 15:34:53 (105/107) Installing zstd-libs (1.5.5-r4) 15:34:53 (106/107) Installing kmod-libs (30-r3) 15:34:53 (107/107) Installing eudev (3.2.11-r8) 15:34:53 Executing busybox-1.36.1-r2.trigger 15:34:53 Executing glib-2.76.4-r0.trigger 15:34:53 Executing eudev-3.2.11-r8.trigger 15:34:53 OK: 131 MiB in 122 packages 15:34:57 Removing intermediate container b2b1d99aab99 15:34:57 ---> c9c489951740 15:34:57 Step 18/36 : WORKDIR / 15:34:57 ---> Running in 0dbca3d5d111 15:34:57 Removing intermediate container 0dbca3d5d111 15:34:57 ---> 10f3e929dbc4 15:34:57 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 15:34:57 ---> 7186e9fb33ce 15:34:57 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 15:34:57 ---> 1b6eda0e2c8c 15:34:57 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 15:34:57 ---> 0ca1d997b2fc 15:34:57 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 15:34:57 ---> a2d78e22aac1 15:34:57 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 15:34:57 ---> e6ffc2fcbdfc 15:34:57 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 15:34:58 ---> 20eabf02823a 15:34:58 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 15:34:58 ---> ca12e04f361d 15:34:58 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 15:34:58 ---> Running in 7054d36ca152 15:34:59 Removing intermediate container 7054d36ca152 15:34:59 ---> 36d1b5a58665 15:34:59 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 15:34:59 ---> Running in 2bec509e036b 15:35:00 Removing intermediate container 2bec509e036b 15:35:00 ---> 45ebf9e7dffc 15:35:00 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 15:35:00 ---> Running in 69a850a62032 15:35:00 Removing intermediate container 69a850a62032 15:35:00 ---> 8ed9dcaf3eab 15:35:00 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 15:35:00 ---> Running in aaba982f8bb6 15:35:01 Removing intermediate container aaba982f8bb6 15:35:01 ---> 3c58ec501170 15:35:01 Step 30/36 : EXPOSE 59983 15:35:01 ---> Running in ec9b6b58cc3a 15:35:01 Removing intermediate container ec9b6b58cc3a 15:35:01 ---> 5e47675467fe 15:35:01 Step 31/36 : EXPOSE 8554 15:35:01 ---> Running in b228b1423b9a 15:35:01 Removing intermediate container b228b1423b9a 15:35:01 ---> e376f7f7e5ab 15:35:01 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 15:35:01 ---> Running in 64c578deb020 15:35:01 Removing intermediate container 64c578deb020 15:35:01 ---> 45696fc88136 15:35:01 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 15:35:01 ---> Running in 0a0ef0711deb 15:35:01 Removing intermediate container 0a0ef0711deb 15:35:01 ---> 71a01fa466c0 15:35:01 Step 34/36 : LABEL arch=amd64 15:35:01 ---> Running in f99f28caf708 15:35:01 Removing intermediate container f99f28caf708 15:35:01 ---> 4b2017469718 15:35:01 Step 35/36 : LABEL git_sha=9b45417a96541d15046e5a98526bd2dffce12191 15:35:01 ---> Running in 9541c6f9ff3c 15:35:01 Removing intermediate container 9541c6f9ff3c 15:35:01 ---> 4c94b1a6e1d8 15:35:01 Step 36/36 : LABEL version=0.0.0 15:35:01 ---> Running in c13cff4ee830 15:35:01 Removing intermediate container c13cff4ee830 15:35:01 ---> a58632513acb 15:35:01 [Warning] One or more build-args [ARCH] were not consumed 15:35:01 Successfully built a58632513acb 15:35:01 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 15:35:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:35:02 15:35:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:35:02 latest: Pulling from edgex-lftools-log-publisher 15:35:02 5eb5b503b376: Pulling fs layer 15:35:02 5c69ac0246d0: Pulling fs layer 15:35:02 ec43610c2a17: Pulling fs layer 15:35:02 3a2ae6a8a46f: Pulling fs layer 15:35:02 33b1e0a273af: Pulling fs layer 15:35:02 5d3b04190fa2: Pulling fs layer 15:35:02 2f39f015ded8: Pulling fs layer 15:35:02 33b1e0a273af: Waiting 15:35:02 5d3b04190fa2: Waiting 15:35:02 2f39f015ded8: Waiting 15:35:02 3a2ae6a8a46f: Waiting 15:35:02 5c69ac0246d0: Download complete 15:35:02 3a2ae6a8a46f: Verifying Checksum 15:35:02 3a2ae6a8a46f: Download complete 15:35:02 33b1e0a273af: Verifying Checksum 15:35:02 33b1e0a273af: Download complete 15:35:02 ec43610c2a17: Verifying Checksum 15:35:02 ec43610c2a17: Download complete 15:35:02 5d3b04190fa2: Verifying Checksum 15:35:02 5d3b04190fa2: Download complete 15:35:02 5eb5b503b376: Verifying Checksum 15:35:02 5eb5b503b376: Download complete 15:35:03 2f39f015ded8: Download complete 15:35:03 5eb5b503b376: Pull complete 15:35:03 5c69ac0246d0: Pull complete 15:35:04 ec43610c2a17: Pull complete 15:35:04 3a2ae6a8a46f: Pull complete 15:35:04 33b1e0a273af: Pull complete 15:35:04 5d3b04190fa2: Pull complete 15:35:08 2f39f015ded8: Pull complete 15:35:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:35:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:35:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:09 prd-ubuntu20.04-docker-8c-8g-17149 does not seem to be running inside a container 15:35:09 $ 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-311 -v /w/workspace/foundry_device-usb-camera_PR-311:/w/workspace/foundry_device-usb-camera_PR-311:rw,z -v /w/workspace/foundry_device-usb-camera_PR-311@tmp:/w/workspace/foundry_device-usb-camera_PR-311@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 15:35:13 $ docker top 534a5dfc43a4d7e364111c868c26cf7f96da3581661453948d330030d49cc1bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:35:14 ---> job-cost.sh 15:35:14 lf-activate-venv: SKIPPING 15:35:14 INFO: No Stack... 15:35:14 INFO: Retrieving Pricing Info for: v3-standard-8 15:35:15 INFO: Archiving Costs [Pipeline] sh 15:35:15 + cat /w/workspace/foundry_device-usb-camera_PR-311/archives/cost.csv 15:35:15 + cut -d, -f6 [Pipeline] lock 15:35:15 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-311-2-stack-cost] 15:35:15 Resource [jenkins-edgexfoundry-device-usb-camera-PR-311-2-stack-cost] did not exist. Created. 15:35:15 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-311-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:35:15 + echo total: 0.2199999988079071 [Pipeline] stash 15:35:15 Stashed 1 file(s) [Pipeline] } 15:35:15 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-311-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:35:15 $ docker stop --time=1 534a5dfc43a4d7e364111c868c26cf7f96da3581661453948d330030d49cc1bc 15:35:16 $ docker rm -f --volumes 534a5dfc43a4d7e364111c868c26cf7f96da3581661453948d330030d49cc1bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:35:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17151 in /w/workspace/foundry_device-usb-camera_PR-311 [Pipeline] { [Pipeline] ws 15:35:46 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 15:35:46 Selected Git installation does not exist. Using Default 15:35:46 The recommended git tool is: NONE 15:35:52 using credential edgex-jenkins-ssh 15:35:52 Cloning the remote Git repository 15:35:52 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 15:35:52 > git init /w/workspace/device-usb-camera/2 # timeout=10 15:35:53 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 15:35:53 > git --version # timeout=10 15:35:53 > git --version # 'git version 2.25.1' 15:35:53 using GIT_SSH to set credentials SSH Credentials for GitHub 15:35:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:35:54 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 15:35:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:35:55 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 15:35:55 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 15:35:55 using GIT_SSH to set credentials SSH Credentials for GitHub 15:35:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/311/head:refs/remotes/origin/PR-311 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:35:56 Merging remotes/origin/main commit a4086434d3b8a0a90fcc5d93c3589c81a42138fa into PR head commit 9b45417a96541d15046e5a98526bd2dffce12191 15:35:56 Merge succeeded, producing 9b45417a96541d15046e5a98526bd2dffce12191 15:35:56 Checking out Revision 9b45417a96541d15046e5a98526bd2dffce12191 (PR-311) 15:35:56 > git config core.sparsecheckout # timeout=10 15:35:56 > git checkout -f 9b45417a96541d15046e5a98526bd2dffce12191 # timeout=10 15:35:56 > git remote # timeout=10 15:35:56 > git config --get remote.origin.url # timeout=10 15:35:56 using GIT_SSH to set credentials SSH Credentials for GitHub 15:35:56 > git merge a4086434d3b8a0a90fcc5d93c3589c81a42138fa # timeout=10 15:35:56 > git rev-parse HEAD^{commit} # timeout=10 15:35:56 > git config core.sparsecheckout # timeout=10 15:35:56 > git checkout -f 9b45417a96541d15046e5a98526bd2dffce12191 # timeout=10 15:35:59 Commit message: "docs: Update changelog for 3.1 release" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:36:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:36:00 % Total % Received % Xferd Average Speed Time Time Time Current 15:36:00 Dload Upload Total Spent Left Speed 15:36:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 80265 0 --:--:-- --:--:-- --:--:-- 80777 [Pipeline] sh 15:36:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:36:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:36:02 + sudo tee /etc/docker/daemon.new 15:36:02 { 15:36:02 "registry-mirrors": [ 15:36:02 "https://nexus3.edgexfoundry.org:10001" 15:36:02 ], 15:36:02 "bip": "10.250.0.254/24", 15:36:02 "hosts": [ 15:36:02 "tcp://0.0.0.0:5555", 15:36:02 "unix:///var/run/docker.sock" 15:36:02 ], 15:36:02 "mtu": 1458, 15:36:02 "selinux-enabled": true, 15:36:02 "seccomp-profile": "/etc/docker/seccomp.json" 15:36:02 } [Pipeline] sh 15:36:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:36:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:36:21 provisioning config files... 15:36:21 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config14999417699944038882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:36:21 ---> docker-login.sh 15:36:21 nexus3.edgexfoundry.org:10001 15:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:22 Configure a credential helper to remove this warning. See 15:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:22 15:36:22 Login Succeeded 15:36:22 nexus3.edgexfoundry.org:10002 15:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:22 Configure a credential helper to remove this warning. See 15:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:22 15:36:22 Login Succeeded 15:36:22 nexus3.edgexfoundry.org:10003 15:36:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:22 Configure a credential helper to remove this warning. See 15:36:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:22 15:36:22 Login Succeeded 15:36:22 nexus3.edgexfoundry.org:10004 15:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:23 Configure a credential helper to remove this warning. See 15:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:23 15:36:23 Login Succeeded 15:36:23 docker.io 15:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:36:23 Configure a credential helper to remove this warning. See 15:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:36:23 15:36:23 Login Succeeded 15:36:23 ---> docker-login.sh ends [Pipeline] } 15:36:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:36:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:36:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 15:36:24 ========================================================= 15:36:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:36:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:36:24 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:36:24 Sending build context to Docker daemon 1.373MB 15:36:24 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 15:36:24 Step 2/13 : FROM ${BASE} AS builder 15:36:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:36:25 9fda8d8052c6: Pulling fs layer 15:36:25 5d54e960e981: Pulling fs layer 15:36:25 c4a7e357bf2a: Pulling fs layer 15:36:25 f0e02332f6b5: Pulling fs layer 15:36:25 cefa15bbcfad: Pulling fs layer 15:36:25 17808c966233: Pulling fs layer 15:36:25 f4c1fc716caa: Pulling fs layer 15:36:25 f0e02332f6b5: Waiting 15:36:25 cefa15bbcfad: Waiting 15:36:25 f4c1fc716caa: Waiting 15:36:25 5d54e960e981: Verifying Checksum 15:36:25 5d54e960e981: Download complete 15:36:25 f0e02332f6b5: Verifying Checksum 15:36:25 f0e02332f6b5: Download complete 15:36:25 cefa15bbcfad: Verifying Checksum 15:36:25 cefa15bbcfad: Download complete 15:36:25 9fda8d8052c6: Download complete 15:36:25 f4c1fc716caa: Verifying Checksum 15:36:25 f4c1fc716caa: Download complete 15:36:26 9fda8d8052c6: Pull complete 15:36:27 5d54e960e981: Pull complete 15:36:27 c4a7e357bf2a: Verifying Checksum 15:36:27 c4a7e357bf2a: Download complete 15:36:28 17808c966233: Verifying Checksum 15:36:28 17808c966233: Download complete 15:36:41 c4a7e357bf2a: Pull complete 15:36:41 f0e02332f6b5: Pull complete 15:36:41 cefa15bbcfad: Pull complete 15:36:49 17808c966233: Pull complete 15:36:51 f4c1fc716caa: Pull complete 15:36:51 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 15:36:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:36:51 ---> ea914061e18c 15:36:51 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:36:51 ---> Running in 544e82b88ef4 15:36:52 Removing intermediate container 544e82b88ef4 15:36:52 ---> 8029c79eca18 15:36:52 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:36:52 ---> Running in 2236beae6fec 15:36:52 Removing intermediate container 2236beae6fec 15:36:52 ---> 6c95e954433b 15:36:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 15:36:52 ---> Running in 8fd501d61ce0 15:36:53 Removing intermediate container 8fd501d61ce0 15:36:53 ---> 9fb0078644ae 15:36:53 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:36:53 ---> Running in 60ab34fbfeb8 15:36:53 Removing intermediate container 60ab34fbfeb8 15:36:53 ---> 23aac1be73e6 15:36:53 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:36:53 ---> Running in 600826fcae5a 15:36:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:36:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:36:56 (1/13) Installing libintl (0.21.1-r7) 15:36:56 (2/13) Installing eudev-libs (3.2.11-r8) 15:36:56 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 15:36:56 (4/13) Installing v4l-utils-libs (1.24.1-r0) 15:36:56 (5/13) Installing v4l-utils (1.24.1-r0) 15:36:56 (6/13) Installing libdvbv5 (1.24.1-r0) 15:36:56 (7/13) Installing udev-init-scripts (35-r1) 15:36:56 (8/13) Installing libblkid (2.38.1-r8) 15:36:56 (9/13) Installing xz-libs (5.4.3-r0) 15:36:56 (10/13) Installing kmod-libs (30-r3) 15:36:56 (11/13) Installing eudev (3.2.11-r8) 15:36:56 (12/13) Installing eudev-dev (3.2.11-r8) 15:36:56 (13/13) Installing v4l-utils-dev (1.24.1-r0) 15:36:56 Executing busybox-1.36.1-r2.trigger 15:36:56 Executing eudev-3.2.11-r8.trigger 15:36:56 OK: 273 MiB in 65 packages 15:37:03 Removing intermediate container 600826fcae5a 15:37:03 ---> d4f4bdc56cec 15:37:03 Step 8/13 : WORKDIR /device-usb-camera 15:37:03 ---> Running in cf41f4e1388f 15:37:03 Removing intermediate container cf41f4e1388f 15:37:03 ---> fbe6c151db7e 15:37:03 Step 9/13 : COPY go.mod vendor* ./ 15:37:03 ---> 92bee12ca5e3 15:37:03 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:37:03 ---> Running in 8a74168697b8 15:38:25 Removing intermediate container 8a74168697b8 15:38:25 ---> 5375dd9db052 15:38:25 Step 11/13 : COPY . . 15:38:25 ---> c819b12e3c92 15:38:25 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:38:25 ---> Running in c4beed1eaedb 15:38:25  % Total % Received % Xferd Average Speed Time Time Time Current 15:38:25 Dload Upload Total Spent Left Speed 15:38:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100  1253 0 0 8366 0 --:--:-- --:--:-- --:--:-- 8409 15:38:25 Removing intermediate container c4beed1eaedb 15:38:25 ---> 003310ac82e1 15:38:25 Step 13/13 : RUN ${MAKE} 15:38:25 ---> Running in e06ca966bc90 15:38:25 noop 15:38:28 Removing intermediate container e06ca966bc90 15:38:28 ---> cf7ff7f7184e 15:38:28 Successfully built cf7ff7f7184e 15:38:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:28 + docker inspect -f . ci-base-image-arm64 15:38:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:29 prd-ubuntu20.04-docker-arm64-4c-16g-17151 does not seem to be running inside a container 15:38:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 15:38:30 $ docker top b48a7d43974981bc313a2059c879779ef719bfd29c09304db14b44ee8d436a34 -eo pid,comm [Pipeline] { [Pipeline] sh 15:38:31 + go version 15:38:31 go version go1.21.0 linux/arm64 [Pipeline] } 15:38:31 $ docker stop --time=1 b48a7d43974981bc313a2059c879779ef719bfd29c09304db14b44ee8d436a34 15:38:33 $ docker rm -f --volumes b48a7d43974981bc313a2059c879779ef719bfd29c09304db14b44ee8d436a34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:33 + docker inspect -f . ci-base-image-arm64 15:38:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:33 prd-ubuntu20.04-docker-arm64-4c-16g-17151 does not seem to be running inside a container 15:38:34 $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 15:38:35 $ docker top 4d583d63cf64c526ec3280a87ad580a209792b50039b0412432591dd24ac17c6 -eo pid,comm [Pipeline] { [Pipeline] sh 15:38:36 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 15:38:36 + make test 15:38:36 go test ./... -coverprofile=coverage.out ./... 15:38:43 ? github.com/edgexfoundry/device-usb-camera [no test files] 15:40:50 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 15:40:52 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.081s coverage: 4.4% of statements 15:40:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:40:53 go vet ./... 15:41:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:41:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:41:25 ./bin/test-attribution-txt.sh [Pipeline] echo 15:41:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 15:41:25 $ docker stop --time=1 4d583d63cf64c526ec3280a87ad580a209792b50039b0412432591dd24ac17c6 15:41:27 $ docker rm -f --volumes 4d583d63cf64c526ec3280a87ad580a209792b50039b0412432591dd24ac17c6 [Pipeline] // withDockerContainer [Pipeline] sh 15:41:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:41:28 Warning: overwriting stash ‘coverage-report’ 15:41:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:41:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:41:30 + ls -al . 15:41:30 total 220 15:41:30 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:38 . 15:41:30 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 15:35 .. 15:41:30 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 15:35 .git 15:41:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:35 .github 15:41:30 -rw-rw-r-- 1 jenkins jenkins 429 Nov 9 15:35 .gitignore 15:41:30 -rw-rw-r-- 1 jenkins jenkins 45 Nov 9 15:35 .golangci.yml 15:41:30 -rw-rw-r-- 1 jenkins jenkins 77 Nov 9 15:35 .hadolint.yml 15:41:30 -rw-rw-r-- 1 jenkins jenkins 10851 Nov 9 15:35 Attribution.txt 15:41:30 -rw-rw-r-- 1 jenkins jenkins 16561 Nov 9 15:35 CHANGELOG.md 15:41:30 -rw-rw-r-- 1 jenkins jenkins 2453 Nov 9 15:35 Dockerfile 15:41:30 -rw-rw-r-- 1 jenkins jenkins 678 Nov 9 15:35 GOVERNANCE.md 15:41:30 -rw-rw-r-- 1 jenkins jenkins 659 Nov 9 15:35 Jenkinsfile 15:41:30 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 9 15:35 LICENSE 15:41:30 -rw-rw-r-- 1 jenkins jenkins 2611 Nov 9 15:35 Makefile 15:41:30 -rw-rw-r-- 1 jenkins jenkins 622 Nov 9 15:35 OWNERS.md 15:41:30 -rw-rw-r-- 1 jenkins jenkins 2575 Nov 9 15:35 README.md 15:41:30 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 15:32 VERSION 15:41:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:35 bin 15:41:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:35 cmd 15:41:30 -rw-r--r-- 1 jenkins jenkins 54703 Nov 9 15:40 coverage.out 15:41:30 -rwxrwxr-x 1 jenkins jenkins 84 Nov 9 15:35 docker-entrypoint.sh 15:41:30 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 15:35 docs 15:41:30 -rw-rw-r-- 1 jenkins jenkins 3878 Nov 9 15:35 go.mod 15:41:30 -rw-rw-r-- 1 jenkins jenkins 34744 Nov 9 15:35 go.sum 15:41:30 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 15:35 internal 15:41:30 -rw-rw-r-- 1 jenkins jenkins 231 Nov 9 15:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:30 + 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=9b45417a96541d15046e5a98526bd2dffce12191 --label arch=arm64 --label version=0.0.0 . 15:41:31 Sending build context to Docker daemon 1.428MB 15:41:31 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 15:41:31 Step 2/36 : FROM ${BASE} AS builder 15:41:31 ---> cf7ff7f7184e 15:41:31 Step 3/36 : ARG ADD_BUILD_TAGS="" 15:41:31 ---> Running in 97377ff14ebd 15:41:31 Removing intermediate container 97377ff14ebd 15:41:31 ---> be35af51f993 15:41:31 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:41:31 ---> Running in 12d4c8bf9d09 15:41:32 Removing intermediate container 12d4c8bf9d09 15:41:32 ---> 6116e202950d 15:41:32 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 15:41:32 ---> Running in fc5aa6893626 15:41:32 Removing intermediate container fc5aa6893626 15:41:32 ---> 63b98459faca 15:41:32 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:41:32 ---> Running in bceae61b486c 15:41:32 Removing intermediate container bceae61b486c 15:41:32 ---> 18d1301920ef 15:41:32 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:41:32 ---> Running in 98c3da346676 15:41:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:41:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:41:35 OK: 273 MiB in 65 packages 15:41:36 Removing intermediate container 98c3da346676 15:41:36 ---> dbee67ed0c8a 15:41:36 Step 8/36 : WORKDIR /device-usb-camera 15:41:36 ---> Running in 15d480e49597 15:41:37 Removing intermediate container 15d480e49597 15:41:37 ---> 435777a560c4 15:41:37 Step 9/36 : COPY go.mod vendor* ./ 15:41:37 ---> 8e5bdf5d710e 15:41:37 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:41:37 ---> Running in b96402b6dbe2 15:41:40 Removing intermediate container b96402b6dbe2 15:41:40 ---> 10d7f1e9f069 15:41:40 Step 11/36 : COPY . . 15:41:41 ---> e93f0f0815c1 15:41:41 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:41:41 ---> Running in 07f3621700c8 15:41:42  % Total  % Received % Xferd Average Speed Time Time Time Current 15:41:42 Dload Upload Total Spent Left Speed 15:41:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 4892 0 --:--:-- --:--:-- --:--:-- 4913 15:41:43 Removing intermediate container 07f3621700c8 15:41:43 ---> 8c849b6a3dfe 15:41:43 Step 13/36 : RUN ${MAKE} 15:41:43 ---> Running in 09bfb8b52f90 15:41:44 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 15:44:21 Removing intermediate container 09bfb8b52f90 15:44:21 ---> 07f8577ae48c 15:44:21 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 15:44:21 v0.21.6: Pulling from aler9/rtsp-simple-server 15:44:21 8766b47fe142: Pulling fs layer 15:44:21 8766b47fe142: Verifying Checksum 15:44:21 8766b47fe142: Download complete 15:44:21 8766b47fe142: Pull complete 15:44:21 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 15:44:21 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 15:44:21 ---> 69d40e2cb93c 15:44:21 Step 15/36 : FROM alpine:3.18 15:44:21 3.18: Pulling from library/alpine 15:44:21 579b34f0a95b: Pulling fs layer 15:44:21 579b34f0a95b: Verifying Checksum 15:44:21 579b34f0a95b: Download complete 15:44:21 579b34f0a95b: Pull complete 15:44:21 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:44:21 Status: Downloaded newer image for alpine:3.18 15:44:21 ---> 3cc203321400 15:44:21 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 15:44:21 ---> Running in 18e3c20fc538 15:44:21 Removing intermediate container 18e3c20fc538 15:44:21 ---> ee1ccdba28d5 15:44:21 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 15:44:21 ---> Running in c2017293597a 15:44:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:44:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:44:21 (1/104) Installing dumb-init (1.2.5-r2) 15:44:21 (2/104) Installing sdl2 (2.26.5-r0) 15:44:21 (3/104) Installing svt-av1-libs (1.6.0-r0) 15:44:21 (4/104) Installing aom-libs (3.6.1-r0) 15:44:21 (5/104) Installing libxau (1.0.11-r2) 15:44:21 (6/104) Installing libmd (1.0.4-r2) 15:44:21 (7/104) Installing libbsd (0.11.7-r1) 15:44:21 (8/104) Installing libxdmcp (1.1.4-r2) 15:44:21 (9/104) Installing libxcb (1.15-r1) 15:44:21 (10/104) Installing libx11 (1.8.7-r0) 15:44:21 (11/104) Installing libdrm (2.4.115-r4) 15:44:21 (12/104) Installing libxext (1.3.5-r2) 15:44:21 (13/104) Installing libxfixes (6.0.1-r2) 15:44:21 (14/104) Installing libffi (3.4.4-r2) 15:44:21 (15/104) Installing wayland-libs-client (1.22.0-r2) 15:44:21 (16/104) Installing libva (2.18.0-r1) 15:44:21 (17/104) Installing libvdpau (1.5-r1) 15:44:21 (18/104) Installing ffmpeg-libavutil (6.0-r15) 15:44:21 (19/104) Installing libdav1d (1.2.1-r0) 15:44:21 (20/104) Installing brotli-libs (1.0.9-r14) 15:44:21 (21/104) Installing libgcc (12.2.1_git20220924-r10) 15:44:21 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 15:44:21 (23/104) Installing libhwy (1.0.4-r1) 15:44:21 (24/104) Installing lcms2 (2.15-r2) 15:44:21 (25/104) Installing libjxl (0.8.2-r0) 15:44:21 (26/104) Installing lame-libs (3.100-r5) 15:44:21 (27/104) Installing opus (1.4-r0) 15:44:21 (28/104) Installing libgomp (12.2.1_git20220924-r10) 15:44:21 (29/104) Installing soxr (0.1.3-r5) 15:44:21 (30/104) Installing ffmpeg-libswresample (6.0-r15) 15:44:21 (31/104) Installing libogg (1.3.5-r4) 15:44:21 (32/104) Installing libtheora (1.1.1-r17) 15:44:21 (33/104) Installing libvorbis (1.3.7-r1) 15:44:21 (34/104) Installing libvpx (1.13.0-r2) 15:44:21 (35/104) Installing libwebp (1.3.2-r0) 15:44:21 (36/104) Installing x264-libs (0.164_git20220602-r1) 15:44:21 (37/104) Installing numactl (2.0.16-r4) 15:44:21 (38/104) Installing x265-libs (3.5-r4) 15:44:21 (39/104) Installing xvidcore (1.3.7-r1) 15:44:21 (40/104) Installing ffmpeg-libavcodec (6.0-r15) 15:44:21 (41/104) Installing alsa-lib (1.2.9-r1) 15:44:21 (42/104) Installing libexpat (2.5.0-r1) 15:44:21 (43/104) Installing libbz2 (1.0.8-r5) 15:44:21 (44/104) Installing libpng (1.6.39-r3) 15:44:21 (45/104) Installing freetype (2.13.0-r5) 15:44:21 (46/104) Installing fontconfig (2.14.2-r3) 15:44:21 (47/104) Installing fribidi (1.0.13-r0) 15:44:21 (48/104) Installing libintl (0.21.1-r7) 15:44:21 (49/104) Installing libblkid (2.38.1-r8) 15:44:21 (50/104) Installing libmount (2.38.1-r8) 15:44:21 (51/104) Installing pcre2 (10.42-r1) 15:44:21 (52/104) Installing glib (2.76.4-r0) 15:44:21 (53/104) Installing graphite2 (1.3.14-r5) 15:44:21 (54/104) Installing harfbuzz (7.3.0-r0) 15:44:21 (55/104) Installing libunibreak (5.1-r0) 15:44:21 (56/104) Installing libass (0.17.1-r0) 15:44:21 (57/104) Installing libbluray (1.3.4-r0) 15:44:21 (58/104) Installing gmp (6.2.1-r3) 15:44:21 (59/104) Installing nettle (3.8.1-r2) 15:44:21 (60/104) Installing libunistring (1.1-r1) 15:44:21 (61/104) Installing libidn2 (2.3.4-r1) 15:44:21 (62/104) Installing p11-kit (0.24.1-r2) 15:44:21 (63/104) Installing libtasn1 (4.19.0-r1) 15:44:21 (64/104) Installing gnutls (3.8.0-r2) 15:44:21 (65/104) Installing mpg123-libs (1.31.3-r1) 15:44:21 (66/104) Installing libopenmpt (0.7.2-r0) 15:44:21 (67/104) Installing cjson (1.7.15-r4) 15:44:21 (68/104) Installing mbedtls (2.28.5-r0) 15:44:21 (69/104) Installing librist (0.2.7-r0) 15:44:21 (70/104) Installing libsrt (1.5.2-r0) 15:44:21 (71/104) Installing libssh (0.10.5-r0) 15:44:21 (72/104) Installing xz-libs (5.4.3-r0) 15:44:21 (73/104) Installing libxml2 (2.11.4-r0) 15:44:21 (74/104) Installing libsodium (1.0.18-r3) 15:44:21 (75/104) Installing libzmq (4.3.4-r4) 15:44:21 (76/104) Installing ffmpeg-libavformat (6.0-r15) 15:44:21 (77/104) Installing glslang-libs (1.3.243.0-r1) 15:44:21 (78/104) Installing spirv-tools (1.3.243.0-r1) 15:44:21 (79/104) Installing shaderc (2023.3-r1) 15:44:21 (80/104) Installing vulkan-loader (1.3.243.0-r1) 15:44:21 (81/104) Installing libplacebo (5.264.1-r1) 15:44:21 (82/104) Installing ffmpeg-libpostproc (6.0-r15) 15:44:21 (83/104) Installing ffmpeg-libswscale (6.0-r15) 15:44:21 (84/104) Installing vidstab (1.1.1-r0) 15:44:21 (85/104) Installing zimg (3.0.5-r0) 15:44:21 (86/104) Installing ffmpeg-libavfilter (6.0-r15) 15:44:21 (87/104) Installing libasyncns (0.8-r1) 15:44:21 (88/104) Installing dbus-libs (1.14.8-r0) 15:44:21 (89/104) Installing libltdl (2.4.7-r2) 15:44:21 (90/104) Installing orc (0.4.34-r0) 15:44:21 (91/104) Installing flac-libs (1.4.3-r0) 15:44:21 (92/104) Installing libsndfile (1.2.0-r2) 15:44:21 (93/104) Installing speexdsp (1.2.1-r1) 15:44:21 (94/104) Installing tdb-libs (1.4.8-r1) 15:44:21 (95/104) Installing libpulse (16.1-r10) 15:44:21 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 15:44:21 (97/104) Installing v4l-utils-libs (1.24.1-r0) 15:44:21 (98/104) Installing ffmpeg-libavdevice (6.0-r15) 15:44:21 (99/104) Installing ffmpeg (6.0-r15) 15:44:21 (100/104) Installing udev-init-scripts (35-r1) 15:44:21 (101/104) Installing eudev-libs (3.2.11-r8) 15:44:21 (102/104) Installing zstd-libs (1.5.5-r4) 15:44:21 (103/104) Installing kmod-libs (30-r3) 15:44:21 (104/104) Installing eudev (3.2.11-r8) 15:44:21 Executing busybox-1.36.1-r2.trigger 15:44:21 Executing glib-2.76.4-r0.trigger 15:44:21 Executing eudev-3.2.11-r8.trigger 15:44:21 OK: 110 MiB in 119 packages 15:44:24 Removing intermediate container c2017293597a 15:44:24 ---> 06c5b3420c77 15:44:24 Step 18/36 : WORKDIR / 15:44:24 ---> Running in 01407c9bd856 15:44:24 Removing intermediate container 01407c9bd856 15:44:24 ---> 8889630e4f46 15:44:24 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 15:44:26 ---> 92b889656174 15:44:26 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 15:44:26 ---> ef6b76fbf628 15:44:26 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 15:44:27 ---> f81835dc766a 15:44:27 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 15:44:27 ---> 4ce6bf08e0ef 15:44:27 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 15:44:28 ---> ad3236a771d1 15:44:28 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 15:44:28 ---> 64bef103af0b 15:44:28 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 15:44:30 ---> f6be0bab49d5 15:44:30 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 15:44:30 ---> Running in 12c9f05831cb 15:44:31 Removing intermediate container 12c9f05831cb 15:44:31 ---> 71e8caf56791 15:44:31 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 15:44:32 ---> Running in f6698233da93 15:44:33 Removing intermediate container f6698233da93 15:44:33 ---> 263ecf12b670 15:44:33 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 15:44:33 ---> Running in 58611a4a33e6 15:44:35 Removing intermediate container 58611a4a33e6 15:44:35 ---> 1b6ef8734925 15:44:35 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 15:44:35 ---> Running in e75e49d6d324 15:44:36 Removing intermediate container e75e49d6d324 15:44:36 ---> be7a9ccbe363 15:44:36 Step 30/36 : EXPOSE 59983 15:44:36 ---> Running in dfbce7255d58 15:44:37 Removing intermediate container dfbce7255d58 15:44:37 ---> 328192f3412b 15:44:37 Step 31/36 : EXPOSE 8554 15:44:37 ---> Running in f5809ecb0406 15:44:37 Removing intermediate container f5809ecb0406 15:44:37 ---> aa67125f5510 15:44:37 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 15:44:37 ---> Running in e271604c5de2 15:44:37 Removing intermediate container e271604c5de2 15:44:37 ---> 7becbe1eabe7 15:44:37 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 15:44:37 ---> Running in 841af682a768 15:44:38 Removing intermediate container 841af682a768 15:44:38 ---> dc984bd039e7 15:44:38 Step 34/36 : LABEL arch=arm64 15:44:38 ---> Running in b9cf00f1da3c 15:44:38 Removing intermediate container b9cf00f1da3c 15:44:38 ---> 757517c98bbd 15:44:38 Step 35/36 : LABEL git_sha=9b45417a96541d15046e5a98526bd2dffce12191 15:44:38 ---> Running in 025c7ff0b1ff 15:44:38 Removing intermediate container 025c7ff0b1ff 15:44:38 ---> 9c5f6bba562d 15:44:38 Step 36/36 : LABEL version=0.0.0 15:44:39 ---> Running in 6dfa0806dacb 15:44:39 Removing intermediate container 6dfa0806dacb 15:44:39 ---> 2621290eabfd 15:44:39 [Warning] One or more build-args [ARCH] were not consumed 15:44:39 Successfully built 2621290eabfd 15:44:39 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 15:44:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:44:39 15:44:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:44:40 arm64: Pulling from edgex-lftools-log-publisher 15:44:40 8998bd30e6a1: Pulling fs layer 15:44:40 04944245beec: Pulling fs layer 15:44:40 699f458cf7ca: Pulling fs layer 15:44:40 765212b225bb: Pulling fs layer 15:44:40 f23df028b6ca: Pulling fs layer 15:44:40 d65c8cfc05b1: Pulling fs layer 15:44:40 2437ff75d9bd: Pulling fs layer 15:44:40 765212b225bb: Waiting 15:44:40 f23df028b6ca: Waiting 15:44:40 d65c8cfc05b1: Waiting 15:44:40 2437ff75d9bd: Waiting 15:44:40 04944245beec: Verifying Checksum 15:44:40 04944245beec: Download complete 15:44:40 765212b225bb: Verifying Checksum 15:44:40 765212b225bb: Download complete 15:44:40 f23df028b6ca: Verifying Checksum 15:44:40 f23df028b6ca: Download complete 15:44:40 d65c8cfc05b1: Verifying Checksum 15:44:40 d65c8cfc05b1: Download complete 15:44:40 699f458cf7ca: Verifying Checksum 15:44:40 699f458cf7ca: Download complete 15:44:41 8998bd30e6a1: Verifying Checksum 15:44:41 8998bd30e6a1: Download complete 15:44:43 2437ff75d9bd: Verifying Checksum 15:44:43 2437ff75d9bd: Download complete 15:44:46 8998bd30e6a1: Pull complete 15:44:46 04944245beec: Pull complete 15:44:47 699f458cf7ca: Pull complete 15:44:48 765212b225bb: Pull complete 15:44:49 f23df028b6ca: Pull complete 15:44:49 d65c8cfc05b1: Pull complete 15:45:07 2437ff75d9bd: Pull complete 15:45:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:45:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:45:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:07 prd-ubuntu20.04-docker-arm64-4c-16g-17151 does not seem to be running inside a container 15:45:07 $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 15:45:10 $ docker top 5c6110b4c0a283b6732484efef809f27afe8222890504ed7000e0d1804f808c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:11 ---> job-cost.sh 15:45:11 lf-activate-venv: SKIPPING 15:45:11 INFO: No Stack... 15:45:12 INFO: Retrieving Pricing Info for: v3-standard-4 15:45:12 INFO: Archiving Costs [Pipeline] sh 15:45:13 + cat /w/workspace/device-usb-camera/2/archives/cost.csv 15:45:13 + cut -d, -f6 [Pipeline] lock 15:45:13 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-311-2-stack-cost] 15:45:13 Resource [jenkins-edgexfoundry-device-usb-camera-PR-311-2-stack-cost] did not exist. Created. 15:45:13 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-311-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:45:14 /w/workspace/device-usb-camera/2@tmp/durable-87818750/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:45:14 + echo total: 0.10999999940395355 [Pipeline] stash 15:45:14 Warning: overwriting stash ‘stack-cost’ 15:45:14 Stashed 1 file(s) [Pipeline] } 15:45:14 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-311-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:45:15 $ docker stop --time=1 5c6110b4c0a283b6732484efef809f27afe8222890504ed7000e0d1804f808c7 15:45:16 $ docker rm -f --volumes 5c6110b4c0a283b6732484efef809f27afe8222890504ed7000e0d1804f808c7 [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 15:45:16 provisioning config files... 15:45:16 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-311@tmp/config13395222195757098516tmp [Pipeline] { [Pipeline] sh 15:45:17 + set +x 15:45:17 + curl -s https://codecov.io/bash 15:45:17 + bash -s -- 15:45:17 15:45:17 _____ _ 15:45:17 / ____| | | 15:45:17 | | ___ __| | ___ ___ _____ __ 15:45:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:45:17 | |___| (_) | (_| | __/ (_| (_) \ V / 15:45:17 \_____\___/ \__,_|\___|\___\___/ \_/ 15:45:17 Bash-1.0.6 15:45:17 15:45:17 15:45:17 ==> git version 2.25.1 found 15:45:17 ==> 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 15:45:17 Release-Date: 2020-01-08 15:45:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:45:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:45:17 ==> Jenkins CI detected. 15:45:17 current dir:  /w/workspace/foundry_device-usb-camera_PR-311 15:45:17 project root: . 15:45:17 --> token set from env 15:45:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:45:17 ==> Running gcov in . (disable via -X gcov) 15:45:17 ==> Python coveragepy not found 15:45:17 ==> Searching for coverage reports in: 15:45:17 + . 15:45:17 -> Found 1 reports 15:45:17 ==> Detecting git/mercurial file structure 15:45:17 ==> Reading reports 15:45:17 + ./coverage.out bytes=54703 15:45:17 ==> Appending adjustments 15:45:17 https://docs.codecov.io/docs/fixing-reports 15:45:17 + Found adjustments 15:45:17 ==> Gzipping contents 15:45:17 8.0K /tmp/codecov.9nbDS2.gz 15:45:17 ==> Uploading reports 15:45:17 url: https://codecov.io 15:45:17 query: branch=PR-311&commit=9b45417a96541d15046e5a98526bd2dffce12191&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-311%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=311&job=&cmd_args= 15:45:17 -> Pinging Codecov 15:45:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-311&commit=9b45417a96541d15046e5a98526bd2dffce12191&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-311%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=311&job=&cmd_args= 15:45:17 -> Uploading to 15:45:17 https://storage.googleapis.com/codecov/v4/raw/2023-11-09/73D8F5FF140700D3E01443B452E23636/9b45417a96541d15046e5a98526bd2dffce12191/5de2bd04-1157-4b8d-9cce-5b01dc422de8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231109T154517Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bd6266e529f81413e4fd7c9477609b484c4bb2c37a50ccc47119d539d7e767ad 15:45:17 % Total % Received % Xferd Average Speed Time Time Time Current 15:45:17 Dload Upload Total Spent Left Speed 15:45:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 24566 --:--:-- --:--:-- --:--:-- 24566 15:45:18 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/9b45417a96541d15046e5a98526bd2dffce12191 [Pipeline] } 15:45:18 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 15:45:18 + [ -d /w/workspace/foundry_device-usb-camera_PR-311/archives ] 15:45:18 + ls -al /w/workspace/foundry_device-usb-camera_PR-311/archives 15:45:18 total 16 15:45:18 drwxr-xr-x 3 root root 4096 Nov 9 15:35 . 15:45:18 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 15:35 .. 15:45:18 drwxr-xr-x 2 root root 4096 Nov 9 15:35 cost 15:45:18 -rw-r--r-- 1 root root 89 Nov 9 15:35 cost.csv 15:45:18 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-311/archives 15:45:18 + ls -al /w/workspace/foundry_device-usb-camera_PR-311/archives 15:45:18 total 16 15:45:18 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 15:35 . 15:45:18 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 15:35 .. 15:45:18 drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 15:35 cost 15:45:18 -rw-r--r-- 1 jenkins jenkins 89 Nov 9 15:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:45:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:45:19 ---> package-listing.sh 15:45:19 ++ facter osfamily 15:45:19 ++ tr '[:upper:]' '[:lower:]' 15:45:20 + OS_FAMILY=debian 15:45:20 + workspace=/w/workspace/foundry_device-usb-camera_PR-311 15:45:20 + START_PACKAGES=/tmp/packages_start.txt 15:45:20 + END_PACKAGES=/tmp/packages_end.txt 15:45:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:45:20 + PACKAGES=/tmp/packages_start.txt 15:45:20 + '[' /w/workspace/foundry_device-usb-camera_PR-311 ']' 15:45:20 + PACKAGES=/tmp/packages_end.txt 15:45:20 + case "${OS_FAMILY}" in 15:45:20 + dpkg -l 15:45:20 + grep '^ii' 15:45:20 + '[' -f /tmp/packages_start.txt ']' 15:45:20 + '[' -f /tmp/packages_end.txt ']' 15:45:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:45:20 + '[' /w/workspace/foundry_device-usb-camera_PR-311 ']' 15:45:20 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-311/archives/ 15:45:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-311/archives/ [Pipeline] echo 15:45:20 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-311/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:45:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:21 prd-ubuntu20.04-docker-8c-8g-17149 does not seem to be running inside a container 15:45:21 $ 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-311/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-311 -v /w/workspace/foundry_device-usb-camera_PR-311:/w/workspace/foundry_device-usb-camera_PR-311:rw,z -v /w/workspace/foundry_device-usb-camera_PR-311@tmp:/w/workspace/foundry_device-usb-camera_PR-311@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 15:45:21 $ docker top fe8938858061c6fd0f818ae2e4a8fb17504f34962aa3edcbce5ad3c40d80c26d -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:21 + touch /tmp/pre-build-complete [Pipeline] sh 15:45:21 + mkdir -p /var/log/sysstat [Pipeline] sh 15:45:22 + ls /var/log/sa-host 15:45:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:45:22 provisioning config files... 15:45:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-311@tmp/config4509063844160262761tmp [Pipeline] { [Pipeline] echo 15:45:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:45:22 ---> create-netrc.sh [Pipeline] } 15:45:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:45:22 ---> python-tools-install.sh [Pipeline] echo 15:45:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:45:23 ---> sudo-logs.sh 15:45:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:45:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:45:23 ---> job-cost.sh 15:45:23 lf-activate-venv: SKIPPING 15:45:23 DEBUG: total: 0.2199999988079071 15:45:23 INFO: Retrieving Stack Cost... 15:45:23 INFO: Retrieving Pricing Info for: v3-standard-8 15:45:24 INFO: Archiving Costs [Pipeline] echo 15:45:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:45:24 ---> logs-deploy.sh 15:45:24 lf-activate-venv: SKIPPING 15:45:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-311/2 15:45:24 INFO: archiving workspace using pattern(s): 15:45:25 Archives upload complete. 15:45:25 INFO: archiving logs to Nexus