Pull request #265 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a rather than 8b42b1cc484a170a7998b8f5af12bda4b252664c Obtained Jenkinsfile from 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 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-ssh11338679942250875651.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh982875299735325283.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/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-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10345599653115183918.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11969468137142541793.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-265/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-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14264311299707592260.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1566 in /w/workspace/foundry_device-usb-camera_PR-265 [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-265 # 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 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit 8b42b1cc484a170a7998b8f5af12bda4b252664c > 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/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b42b1cc484a170a7998b8f5af12bda4b252664c # timeout=10 Merge succeeded, producing 8b42b1cc484a170a7998b8f5af12bda4b252664c Checking out Revision 8b42b1cc484a170a7998b8f5af12bda4b252664c (PR-265) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b42b1cc484a170a7998b8f5af12bda4b252664c # timeout=10 Commit message: "feat: update setfps capabilities" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk f176b3a05f8d6c9a8ce7da0d41a3ca23303c360a # timeout=10 [Pipeline] timeout 18:44:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:44:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:44:57 ========================================================= 18:44:57 EdgeX Global Pipelines Version Info 18:44:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:44:58 ------------------- 18:44:58 stable info: 18:44:58 ------------------- 18:44:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:44:58 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:44:58 Message: update stable to v1.0.250 18:44:59 ------------------- 18:44:59 experimental info: 18:44:59 ------------------- 18:44:59 Commited By: **** collab-it+edgex@linuxfoundation.org 18:44:59 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:44:59 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b42b1cc484a170a7998b8f5af12bda4b252664c [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b42b1c [Pipeline] echo 18:44:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:59 provisioning config files... 18:44:59 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config17210021948720309485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:00 ---> docker-login.sh 18:45:00 nexus3.edgexfoundry.org:10001 18:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:00 Configure a credential helper to remove this warning. See 18:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:00 18:45:00 Login Succeeded 18:45:00 nexus3.edgexfoundry.org:10002 18:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:00 Configure a credential helper to remove this warning. See 18:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:00 18:45:00 Login Succeeded 18:45:00 nexus3.edgexfoundry.org:10003 18:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:00 Configure a credential helper to remove this warning. See 18:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:00 18:45:00 Login Succeeded 18:45:00 nexus3.edgexfoundry.org:10004 18:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:00 Configure a credential helper to remove this warning. See 18:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:00 18:45:00 Login Succeeded 18:45:00 docker.io 18:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:00 Configure a credential helper to remove this warning. See 18:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:00 18:45:00 Login Succeeded 18:45:00 ---> docker-login.sh ends [Pipeline] } 18:45:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:45:01 + git rev-list -1 --merges 8b42b1cc484a170a7998b8f5af12bda4b252664c~1..8b42b1cc484a170a7998b8f5af12bda4b252664c [Pipeline] echo 18:45:01 -----------> git rev-list -1 --merges 8b42b1cc484a170a7998b8f5af12bda4b252664c~1..8b42b1cc484a170a7998b8f5af12bda4b252664c 8b42b1cc484a170a7998b8f5af12bda4b252664c [false] [Pipeline] sh 18:45:01 + git log --format=format:%s -1 8b42b1cc484a170a7998b8f5af12bda4b252664c [Pipeline] echo 18:45:01 ========================================================= 18:45:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:45:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:02 + git log --format=format:%s -1 8b42b1cc484a170a7998b8f5af12bda4b252664c [Pipeline] echo 18:45:02 [semverPrep] GIT_COMMIT: 8b42b1cc484a170a7998b8f5af12bda4b252664c, Commit Message: feat: update setfps capabilities [Pipeline] echo 18:45:02 [semverPrep] This is not a build commit. [Pipeline] sh 18:45:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:45:02 + grep -v github /etc/ssh/ssh_known_hosts 18:45:02 + [ -e /tmp/ssh_known_hosts ] 18:45:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:45:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:45:02 + sudo tee -a /etc/ssh/ssh_known_hosts 18:45:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:45:02 18:45:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:45:03 0.1.4: Pulling from edgex-devops/py-git-semver 18:45:03 b85a868b505f: Pulling fs layer 18:45:03 e2be974225ed: Pulling fs layer 18:45:03 339a4e72a1f5: Pulling fs layer 18:45:03 988bab9f4d93: Pulling fs layer 18:45:03 1469e6f7b9e6: Pulling fs layer 18:45:03 eaf3925da568: Pulling fs layer 18:45:03 bab4dde63d76: Pulling fs layer 18:45:03 bde34c3a00c8: Pulling fs layer 18:45:03 b352a97aabf1: Pulling fs layer 18:45:03 4872d77fe225: Pulling fs layer 18:45:03 5851b861e8e6: Pulling fs layer 18:45:03 1469e6f7b9e6: Waiting 18:45:03 eaf3925da568: Waiting 18:45:03 bab4dde63d76: Waiting 18:45:03 bde34c3a00c8: Waiting 18:45:03 4872d77fe225: Waiting 18:45:03 b352a97aabf1: Waiting 18:45:03 5851b861e8e6: Waiting 18:45:03 988bab9f4d93: Waiting 18:45:03 e2be974225ed: Download complete 18:45:03 988bab9f4d93: Verifying Checksum 18:45:03 988bab9f4d93: Download complete 18:45:03 1469e6f7b9e6: Verifying Checksum 18:45:03 1469e6f7b9e6: Download complete 18:45:03 eaf3925da568: Download complete 18:45:03 339a4e72a1f5: Verifying Checksum 18:45:03 339a4e72a1f5: Download complete 18:45:03 bde34c3a00c8: Download complete 18:45:03 b352a97aabf1: Verifying Checksum 18:45:03 b352a97aabf1: Download complete 18:45:03 4872d77fe225: Download complete 18:45:03 5851b861e8e6: Verifying Checksum 18:45:03 5851b861e8e6: Download complete 18:45:03 b85a868b505f: Verifying Checksum 18:45:03 b85a868b505f: Download complete 18:45:03 bab4dde63d76: Verifying Checksum 18:45:03 bab4dde63d76: Download complete 18:45:04 b85a868b505f: Pull complete 18:45:05 e2be974225ed: Pull complete 18:45:05 339a4e72a1f5: Pull complete 18:45:05 988bab9f4d93: Pull complete 18:45:06 1469e6f7b9e6: Pull complete 18:45:06 eaf3925da568: Pull complete 18:45:08 bab4dde63d76: Pull complete 18:45:08 bde34c3a00c8: Pull complete 18:45:08 b352a97aabf1: Pull complete 18:45:08 4872d77fe225: Pull complete 18:45:08 5851b861e8e6: Pull complete 18:45:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:45:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:45:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:08 prd-ubuntu20.04-docker-8c-8g-1566 does not seem to be running inside a container 18:45:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:45:13 $ docker top ef12c03cb94e0c9543d66c78cb06455d1774d6601a88f2a9d7ff0c42bb1c5a09 -eo pid,comm 18:45:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:45:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:45:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:45:13 [ssh-agent] Looking for ssh-agent implementation... 18:45:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:45:13 $ docker exec ef12c03cb94e0c9543d66c78cb06455d1774d6601a88f2a9d7ff0c42bb1c5a09 ssh-agent 18:45:13 SSH_AUTH_SOCK=/tmp/ssh-tsQejtKwgPrX/agent.32 18:45:13 SSH_AGENT_PID=38 18:45:13 Running ssh-add (command line suppressed) 18:45:13 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_7612846305611535394.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_7612846305611535394.key) 18:45:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:45:14 + git tag --points-at HEAD [Pipeline] } 18:45:14 $ docker exec --env ******** --env ******** ef12c03cb94e0c9543d66c78cb06455d1774d6601a88f2a9d7ff0c42bb1c5a09 ssh-agent -k 18:45:14 unset SSH_AUTH_SOCK; 18:45:14 unset SSH_AGENT_PID; 18:45:14 echo Agent pid 38 killed; 18:45:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:45:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:45:14 [ssh-agent] Looking for ssh-agent implementation... 18:45:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:45:14 $ docker exec ef12c03cb94e0c9543d66c78cb06455d1774d6601a88f2a9d7ff0c42bb1c5a09 ssh-agent 18:45:14 SSH_AUTH_SOCK=/tmp/ssh-SGJkDwfwnWF1/agent.71 18:45:14 SSH_AGENT_PID=77 18:45:14 Running ssh-add (command line suppressed) 18:45:14 Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_6931258743459774532.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_6931258743459774532.key) 18:45:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:45:14 + git semver init 18:45:15 2023-07-19 18:45:15,152 [run_init] DEBUG init version:0.0.0 force:False 18:45:15 2023-07-19 18:45:15,153 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver 18:45:15 2023-07-19 18:45:15,153 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-265/.semver 18:45:15 2023-07-19 18:45:15,154 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-265/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-265, universal_newlines=False, shell=None, istream=None) 18:45:16 2023-07-19 18:45:15,873 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude 18:45:16 2023-07-19 18:45:15,873 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 with force:False 18:45:16 2023-07-19 18:45:15,873 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 18:45:16 2023-07-19 18:45:15,877 [execute] INFO git cat-file --batch-check 18:45:16 2023-07-19 18:45:15,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 18:45:16 2023-07-19 18:45:15,882 [execute] INFO git cat-file --batch 18:45:16 2023-07-19 18:45:15,883 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) 18:45:16 2023-07-19 18:45:15,887 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 18:45:16 0.0.0 [Pipeline] } 18:45:16 $ docker exec --env ******** --env ******** ef12c03cb94e0c9543d66c78cb06455d1774d6601a88f2a9d7ff0c42bb1c5a09 ssh-agent -k 18:45:16 unset SSH_AUTH_SOCK; 18:45:16 unset SSH_AGENT_PID; 18:45:16 echo Agent pid 77 killed; 18:45:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:45:16 + git semver [Pipeline] } 18:45:16 $ docker stop --time=1 ef12c03cb94e0c9543d66c78cb06455d1774d6601a88f2a9d7ff0c42bb1c5a09 18:45:18 $ docker rm -f --volumes ef12c03cb94e0c9543d66c78cb06455d1774d6601a88f2a9d7ff0c42bb1c5a09 [Pipeline] // withDockerContainer [Pipeline] sh 18:45:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:45:18 Stashed 1 file(s) [Pipeline] echo 18:45:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:18 provisioning config files... 18:45:18 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config8340661122523296406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:19 ---> docker-login.sh 18:45:19 nexus3.edgexfoundry.org:10001 18:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:19 Configure a credential helper to remove this warning. See 18:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:19 18:45:19 Login Succeeded 18:45:19 nexus3.edgexfoundry.org:10002 18:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:19 Configure a credential helper to remove this warning. See 18:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:19 18:45:19 Login Succeeded 18:45:19 nexus3.edgexfoundry.org:10003 18:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:19 Configure a credential helper to remove this warning. See 18:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:19 18:45:19 Login Succeeded 18:45:19 nexus3.edgexfoundry.org:10004 18:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:19 Configure a credential helper to remove this warning. See 18:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:19 18:45:19 Login Succeeded 18:45:19 docker.io 18:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:19 Configure a credential helper to remove this warning. See 18:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:19 18:45:19 Login Succeeded 18:45:19 ---> docker-login.sh ends [Pipeline] } 18:45:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:45:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:19 ========================================================= 18:45:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:45:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:45:20 Sending build context to Docker daemon 2.198MB 18:45:20 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:45:20 Step 2/13 : FROM ${BASE} AS builder 18:45:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:45:20 4db1b89c0bd1: Pulling fs layer 18:45:20 6911f1a30b25: Pulling fs layer 18:45:20 e194b8c5c2a9: Pulling fs layer 18:45:20 6863d3e3a2b1: Pulling fs layer 18:45:20 ec0bb842ea78: Pulling fs layer 18:45:20 40a00589a448: Pulling fs layer 18:45:20 6c08303d61cc: Pulling fs layer 18:45:20 798269fcf238: Pulling fs layer 18:45:20 40a00589a448: Waiting 18:45:20 6c08303d61cc: Waiting 18:45:20 798269fcf238: Waiting 18:45:20 6863d3e3a2b1: Waiting 18:45:20 ec0bb842ea78: Waiting 18:45:20 6911f1a30b25: Download complete 18:45:20 6863d3e3a2b1: Verifying Checksum 18:45:20 6863d3e3a2b1: Download complete 18:45:20 ec0bb842ea78: Verifying Checksum 18:45:20 ec0bb842ea78: Download complete 18:45:20 4db1b89c0bd1: Verifying Checksum 18:45:20 4db1b89c0bd1: Download complete 18:45:20 40a00589a448: Verifying Checksum 18:45:20 40a00589a448: Download complete 18:45:20 4db1b89c0bd1: Pull complete 18:45:20 6911f1a30b25: Pull complete 18:45:20 e194b8c5c2a9: Verifying Checksum 18:45:20 e194b8c5c2a9: Download complete 18:45:20 798269fcf238: Verifying Checksum 18:45:20 798269fcf238: Download complete 18:45:21 6c08303d61cc: Verifying Checksum 18:45:21 6c08303d61cc: Download complete 18:45:24 e194b8c5c2a9: Pull complete 18:45:24 6863d3e3a2b1: Pull complete 18:45:24 ec0bb842ea78: Pull complete 18:45:24 40a00589a448: Pull complete 18:45:27 6c08303d61cc: Pull complete 18:45:28 798269fcf238: Pull complete 18:45:28 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 18:45:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:45:28 ---> ec979cd7f677 18:45:28 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:45:33 Still waiting to schedule task 18:45:33 ‘prd-centos7-blackbox-4c-2g-1215’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:45:33 ‘prd-centos7-blackbox-4c-2g-1216’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 18:45:33 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1567’ is offline 18:45:34 ---> Running in 60b0d5a24107 18:45:34 Removing intermediate container 60b0d5a24107 18:45:34 ---> b32fc2d3e436 18:45:34 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:45:35 ---> Running in a6783909b6af 18:45:35 Removing intermediate container a6783909b6af 18:45:35 ---> 15120c8c34e0 18:45:35 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:45:35 ---> Running in 5d74fe730f8c 18:45:35 Removing intermediate container 5d74fe730f8c 18:45:35 ---> 7632b3680e78 18:45:35 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:45:35 ---> Running in cc2f8c42bb4d 18:45:35 Removing intermediate container cc2f8c42bb4d 18:45:35 ---> 9092c7003a77 18:45:35 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:45:35 ---> Running in 33502cf0165f 18:45:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:45:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:45:35 (1/14) Installing libintl (0.21.1-r1) 18:45:35 (2/14) Installing eudev-libs (3.2.11-r4) 18:45:35 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:45:35 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:45:35 (5/14) Installing v4l-utils (1.22.1-r2) 18:45:35 (6/14) Installing udev-init-scripts (35-r1) 18:45:35 (7/14) Installing libblkid (2.38.1-r1) 18:45:35 (8/14) Installing xz-libs (5.2.9-r0) 18:45:35 (9/14) Installing zstd-libs (1.5.5-r0) 18:45:35 (10/14) Installing kmod-libs (30-r1) 18:45:35 (11/14) Installing eudev (3.2.11-r4) 18:45:35 (12/14) Installing eudev-dev (3.2.11-r4) 18:45:35 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:45:35 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:45:35 Executing busybox-1.35.0-r29.trigger 18:45:35 Executing eudev-3.2.11-r4.trigger 18:45:36 OK: 272 MiB in 67 packages 18:45:36 Removing intermediate container 33502cf0165f 18:45:36 ---> 3d11b89c80b3 18:45:36 Step 8/13 : WORKDIR /device-usb-camera 18:45:36 ---> Running in 1e321f88aea8 18:45:36 Removing intermediate container 1e321f88aea8 18:45:36 ---> 2393e35a6266 18:45:36 Step 9/13 : COPY go.mod vendor* ./ 18:45:36 ---> a4db39edc761 18:45:36 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:36 ---> Running in 8e768d5c16ee 18:46:09 Removing intermediate container 8e768d5c16ee 18:46:09 ---> 017ee3e4c13a 18:46:09 Step 11/13 : COPY . . 18:46:09 ---> c39e4adf745c 18:46:09 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:46:09 ---> Running in e4a2b91a5964 18:46:09  % Total % Received % Xferd Average Speed Time Time Time Current 18:46:09  Dload Upload Total Spent Left Speed 18:46:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7694 0 --:--:-- --:--:-- --:--:-- 7751 18:46:10 Removing intermediate container e4a2b91a5964 18:46:10 ---> 42516a4750c1 18:46:10 Step 13/13 : RUN ${MAKE} 18:46:10 ---> Running in b7441bff0270 18:46:10 noop 18:46:10 Removing intermediate container b7441bff0270 18:46:10 ---> 43bb93a7a3aa 18:46:10 Successfully built 43bb93a7a3aa 18:46:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:11 + docker inspect -f . ci-base-image-x86_64 18:46:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:11 prd-ubuntu20.04-docker-8c-8g-1566 does not seem to be running inside a container 18:46:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:46:11 $ docker top c2aa717c37fe440e2fd3f2dd7afe9f6bd5ae4e431cc01c2d68a36371bf4243a2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:11 + go version 18:46:11 go version go1.20.6 linux/amd64 [Pipeline] } 18:46:11 $ docker stop --time=1 c2aa717c37fe440e2fd3f2dd7afe9f6bd5ae4e431cc01c2d68a36371bf4243a2 18:46:13 $ docker rm -f --volumes c2aa717c37fe440e2fd3f2dd7afe9f6bd5ae4e431cc01c2d68a36371bf4243a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:13 + docker inspect -f . ci-base-image-x86_64 18:46:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:13 prd-ubuntu20.04-docker-8c-8g-1566 does not seem to be running inside a container 18:46:13 $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:46:13 $ docker top 700c567181807eeb3323d18ba78ca8460c203c9849a686e0f870ca0c1c4c6fd2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:14 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh 18:46:14 + make test 18:46:14 go test ./... -coverprofile=coverage.out ./... 18:46:18 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:46:28 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:46:28 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 3.7% of statements 18:46:35 go vet ./... 18:46:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:46:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:46:38 ./bin/test-attribution-txt.sh [Pipeline] echo 18:46:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:46:38 $ docker stop --time=1 700c567181807eeb3323d18ba78ca8460c203c9849a686e0f870ca0c1c4c6fd2 18:46:43 $ docker rm -f --volumes 700c567181807eeb3323d18ba78ca8460c203c9849a686e0f870ca0c1c4c6fd2 [Pipeline] // withDockerContainer [Pipeline] sh 18:46:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:46:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:46:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:46:44 + ls -al . 18:46:44 total 204 18:46:44 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 18:46 . 18:46:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:44 .. 18:46:44 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:45 .git 18:46:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:44 .github 18:46:44 -rw-rw-r-- 1 jenkins jenkins 414 Jul 19 18:44 .gitignore 18:46:44 -rw-rw-r-- 1 jenkins jenkins 45 Jul 19 18:44 .golangci.yml 18:46:44 -rw-rw-r-- 1 jenkins jenkins 77 Jul 19 18:44 .hadolint.yml 18:46:44 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 18:45 .semver 18:46:44 -rw-rw-r-- 1 jenkins jenkins 9783 Jul 19 18:44 Attribution.txt 18:46:44 -rw-rw-r-- 1 jenkins jenkins 11903 Jul 19 18:44 CHANGELOG.md 18:46:44 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 19 18:44 Dockerfile 18:46:44 -rw-rw-r-- 1 jenkins jenkins 678 Jul 19 18:44 GOVERNANCE.md 18:46:44 -rw-rw-r-- 1 jenkins jenkins 659 Jul 19 18:44 Jenkinsfile 18:46:44 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 18:44 LICENSE 18:46:44 -rw-rw-r-- 1 jenkins jenkins 2364 Jul 19 18:44 Makefile 18:46:44 -rw-rw-r-- 1 jenkins jenkins 622 Jul 19 18:44 OWNERS.md 18:46:44 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 19 18:44 README.md 18:46:44 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 18:45 VERSION 18:46:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:44 bin 18:46:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:44 cmd 18:46:44 -rw-r--r-- 1 jenkins jenkins 41144 Jul 19 18:46 coverage.out 18:46:44 -rwxrwxr-x 1 jenkins jenkins 140 Jul 19 18:44 docker-entrypoint.sh 18:46:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:44 docs 18:46:44 -rw-rw-r-- 1 jenkins jenkins 3416 Jul 19 18:44 go.mod 18:46:44 -rw-rw-r-- 1 jenkins jenkins 31482 Jul 19 18:44 go.sum 18:46:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:44 internal 18:46:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:44 snap 18:46:44 -rw-rw-r-- 1 jenkins jenkins 231 Jul 19 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:44 + 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=8b42b1cc484a170a7998b8f5af12bda4b252664c --label arch=amd64 --label version=0.0.0 . 18:46:44 Sending build context to Docker daemon 2.24MB 18:46:44 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 18:46:44 Step 2/36 : FROM ${BASE} AS builder 18:46:44 ---> 43bb93a7a3aa 18:46:44 Step 3/36 : ARG ADD_BUILD_TAGS="" 18:46:45 ---> Running in 1105fe0840c0 18:46:45 Removing intermediate container 1105fe0840c0 18:46:45 ---> da068c1e10c2 18:46:45 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:46:45 ---> Running in a05130aa0ec3 18:46:45 Removing intermediate container a05130aa0ec3 18:46:45 ---> e713f6bd417f 18:46:45 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:46:45 ---> Running in 8a0135a38f97 18:46:45 Removing intermediate container 8a0135a38f97 18:46:45 ---> 4a004e8571f4 18:46:45 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:46:45 ---> Running in cd1b358f33a5 18:46:45 Removing intermediate container cd1b358f33a5 18:46:45 ---> 31fcd5404c73 18:46:45 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:46:45 ---> Running in 1e0b090aae8d 18:46:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:46:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:46:46 OK: 272 MiB in 67 packages 18:46:46 Removing intermediate container 1e0b090aae8d 18:46:46 ---> 346757924199 18:46:46 Step 8/36 : WORKDIR /device-usb-camera 18:46:46 ---> Running in 8c8ab55b405e 18:46:46 Removing intermediate container 8c8ab55b405e 18:46:46 ---> 7d9a18f8e1fa 18:46:46 Step 9/36 : COPY go.mod vendor* ./ 18:46:46 ---> 12ed9846952d 18:46:46 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:46 ---> Running in 7967d6c168a6 18:46:47 Removing intermediate container 7967d6c168a6 18:46:47 ---> 0b352283c173 18:46:47 Step 11/36 : COPY . . 18:46:47 ---> effcbbf0b42d 18:46:47 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:46:47 ---> Running in 88af347df10a 18:46:47  % Total % Received % Xferd Average Speed Time Time Time Current 18:46:47 Dload Upload Total Spent Left Speed 18:46:48  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20636 0 --:--:-- --:--:-- --:--:-- 20823 18:46:48 Removing intermediate container 88af347df10a 18:46:48 ---> e3c380016770 18:46:48 Step 13/36 : RUN ${MAKE} 18:46:48 ---> Running in 25c80f792a8d 18:46:48 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:47:10 Removing intermediate container 25c80f792a8d 18:47:10 ---> c909a1abc0a1 18:47:10 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:47:10 v0.21.6: Pulling from aler9/rtsp-simple-server 18:47:10 4acc49c71d14: Pulling fs layer 18:47:10 4acc49c71d14: Verifying Checksum 18:47:10 4acc49c71d14: Download complete 18:47:11 4acc49c71d14: Pull complete 18:47:11 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:47:11 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:47:11 ---> 01a2bd3e5fff 18:47:11 Step 15/36 : FROM alpine:3.17 18:47:11 3.17: Pulling from library/alpine 18:47:11 4db1b89c0bd1: Already exists 18:47:11 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 18:47:11 Status: Downloaded newer image for alpine:3.17 18:47:11 ---> 1f73a9d63274 18:47:11 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:47:12 ---> Running in fc1e98f90a61 18:47:12 Removing intermediate container fc1e98f90a61 18:47:12 ---> 7ea75b849abe 18:47:12 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:47:12 ---> Running in 6a62a2902d88 18:47:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:47:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:47:12 (1/86) Installing dumb-init (1.2.5-r2) 18:47:12 (2/86) Installing sdl2 (2.26.5-r0) 18:47:12 (3/86) Installing svt-av1-libs (1.3.0-r0) 18:47:12 (4/86) Installing libxau (1.0.10-r0) 18:47:12 (5/86) Installing libmd (1.0.4-r0) 18:47:12 (6/86) Installing libbsd (0.11.7-r0) 18:47:12 (7/86) Installing libxdmcp (1.1.4-r0) 18:47:12 (8/86) Installing libxcb (1.15-r0) 18:47:13 (9/86) Installing libx11 (1.8.4-r1) 18:47:13 (10/86) Installing aom-libs (3.5.0-r0) 18:47:13 (11/86) Installing alsa-lib (1.2.8-r0) 18:47:13 (12/86) Installing libexpat (2.5.0-r0) 18:47:13 (13/86) Installing brotli-libs (1.0.9-r9) 18:47:13 (14/86) Installing libbz2 (1.0.8-r4) 18:47:13 (15/86) Installing libpng (1.6.38-r0) 18:47:13 (16/86) Installing freetype (2.12.1-r0) 18:47:13 (17/86) Installing fontconfig (2.14.1-r0) 18:47:13 (18/86) Installing fribidi (1.0.12-r0) 18:47:13 (19/86) Installing libffi (3.4.4-r0) 18:47:13 (20/86) Installing libintl (0.21.1-r1) 18:47:13 (21/86) Installing libblkid (2.38.1-r1) 18:47:13 (22/86) Installing libmount (2.38.1-r1) 18:47:13 (23/86) Installing pcre2 (10.42-r0) 18:47:13 (24/86) Installing glib (2.74.7-r0) 18:47:13 (25/86) Installing graphite2 (1.3.14-r2) 18:47:13 (26/86) Installing harfbuzz (5.3.1-r1) 18:47:13 (27/86) Installing libass (0.16.0-r1) 18:47:13 (28/86) Installing libdav1d (1.0.0-r2) 18:47:13 (29/86) Installing hwdata-pci (0.364-r0) 18:47:13 (30/86) Installing libpciaccess (0.17-r0) 18:47:13 (31/86) Installing libdrm (2.4.114-r0) 18:47:13 (32/86) Installing gmp (6.2.1-r2) 18:47:13 (33/86) Installing nettle (3.8.1-r0) 18:47:13 (34/86) Installing p11-kit (0.24.1-r1) 18:47:13 (35/86) Installing libtasn1 (4.19.0-r0) 18:47:13 (36/86) Installing libunistring (1.1-r0) 18:47:13 (37/86) Installing gnutls (3.7.8-r3) 18:47:13 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 18:47:13 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 18:47:13 (40/86) Installing lame (3.100-r2) 18:47:13 (41/86) Installing opus (1.3.1-r1) 18:47:13 (42/86) Installing libasyncns (0.8-r1) 18:47:13 (43/86) Installing dbus-libs (1.14.8-r0) 18:47:13 (44/86) Installing libltdl (2.4.7-r1) 18:47:13 (45/86) Installing orc (0.4.33-r0) 18:47:13 (46/86) Installing libgcc (12.2.1_git20220924-r4) 18:47:13 (47/86) Installing libogg (1.3.5-r2) 18:47:13 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 18:47:13 (49/86) Installing flac-libs (1.4.2-r0) 18:47:13 (50/86) Installing libvorbis (1.3.7-r0) 18:47:13 (51/86) Installing libsndfile (1.1.0-r2) 18:47:13 (52/86) Installing libgomp (12.2.1_git20220924-r4) 18:47:13 (53/86) Installing soxr (0.1.3-r3) 18:47:13 (54/86) Installing speexdsp (1.2.1-r0) 18:47:13 (55/86) Installing tdb-libs (1.4.6-r0) 18:47:13 (56/86) Installing libpulse (16.1-r6) 18:47:13 (57/86) Installing cjson (1.7.15-r3) 18:47:13 (58/86) Installing mbedtls (2.28.3-r0) 18:47:13 (59/86) Installing librist (0.2.7-r0) 18:47:13 (60/86) Installing libsrt (1.5.1-r0) 18:47:13 (61/86) Installing libssh (0.10.5-r0) 18:47:13 (62/86) Installing libtheora (1.1.1-r16) 18:47:13 (63/86) Installing libjpeg-turbo (2.1.4-r0) 18:47:13 (64/86) Installing v4l-utils-libs (1.22.1-r2) 18:47:13 (65/86) Installing libxext (1.3.5-r0) 18:47:13 (66/86) Installing libxfixes (6.0.0-r0) 18:47:13 (67/86) Installing wayland-libs-client (1.21.0-r1) 18:47:13 (68/86) Installing libva (2.16.0-r0) 18:47:13 (69/86) Installing libvdpau (1.5-r0) 18:47:13 (70/86) Installing vidstab (1.1.0-r2) 18:47:13 (71/86) Installing libvpx (1.12.0-r1) 18:47:13 (72/86) Installing libwebp (1.2.4-r2) 18:47:13 (73/86) Installing x264-libs (0.164_git20220602-r0) 18:47:13 (74/86) Installing numactl (2.0.16-r1) 18:47:13 (75/86) Installing x265-libs (3.5-r3) 18:47:13 (76/86) Installing xvidcore (1.3.7-r1) 18:47:13 (77/86) Installing libsodium (1.0.18-r2) 18:47:13 (78/86) Installing libzmq (4.3.4-r1) 18:47:13 (79/86) Installing ffmpeg-libs (5.1.3-r0) 18:47:13 (80/86) Installing ffmpeg (5.1.3-r0) 18:47:13 (81/86) Installing udev-init-scripts (35-r1) 18:47:13 (82/86) Installing eudev-libs (3.2.11-r4) 18:47:13 (83/86) Installing xz-libs (5.2.9-r0) 18:47:13 (84/86) Installing zstd-libs (1.5.5-r0) 18:47:13 (85/86) Installing kmod-libs (30-r1) 18:47:13 (86/86) Installing eudev (3.2.11-r4) 18:47:13 Executing busybox-1.35.0-r29.trigger 18:47:13 Executing eudev-3.2.11-r4.trigger 18:47:13 OK: 112 MiB in 101 packages 18:47:17 Removing intermediate container 6a62a2902d88 18:47:17 ---> 4accc39ab072 18:47:17 Step 18/36 : WORKDIR / 18:47:17 ---> Running in e10d18a3dbdd 18:47:17 Removing intermediate container e10d18a3dbdd 18:47:17 ---> fe499cbd3af5 18:47:17 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 18:47:17 ---> 6a52f39ef2d8 18:47:17 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 18:47:17 ---> 14ffbbf6ab9c 18:47:17 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:47:18 ---> 90b81c8bf2b6 18:47:18 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:47:18 ---> 07bd975fad5d 18:47:18 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:47:18 ---> c8c564ae8218 18:47:18 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 18:47:18 ---> 9eae9f99b997 18:47:18 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 18:47:19 ---> ceec4a5f7ebb 18:47:19 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:47:19 ---> Running in 51925a65d0de 18:47:19 Removing intermediate container 51925a65d0de 18:47:19 ---> fd0ca86dcf79 18:47:19 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:47:19 ---> Running in 78dffaa5b6ed 18:47:20 Removing intermediate container 78dffaa5b6ed 18:47:20 ---> 52a117c931bb 18:47:20 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:47:20 ---> Running in ec7f50da7a65 18:47:20 Removing intermediate container ec7f50da7a65 18:47:20 ---> b000131b9317 18:47:20 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:47:20 ---> Running in af6399345ba6 18:47:21 Removing intermediate container af6399345ba6 18:47:21 ---> 5ab5f4dfbecb 18:47:21 Step 30/36 : EXPOSE 59983 18:47:21 ---> Running in 788044dc8525 18:47:21 Removing intermediate container 788044dc8525 18:47:21 ---> dad30b4d24cf 18:47:21 Step 31/36 : EXPOSE 8554 18:47:21 ---> Running in e5a266bc1578 18:47:21 Removing intermediate container e5a266bc1578 18:47:21 ---> bbb4ff001c07 18:47:21 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:47:21 ---> Running in 020717488b85 18:47:21 Removing intermediate container 020717488b85 18:47:21 ---> 20261a45af01 18:47:21 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:47:21 ---> Running in 309b3e658a4e 18:47:21 Removing intermediate container 309b3e658a4e 18:47:21 ---> dcebb7d2a5db 18:47:21 Step 34/36 : LABEL arch=amd64 18:47:21 ---> Running in 1e89d68e5a04 18:47:21 Removing intermediate container 1e89d68e5a04 18:47:21 ---> dffac192038d 18:47:21 Step 35/36 : LABEL git_sha=8b42b1cc484a170a7998b8f5af12bda4b252664c 18:47:21 ---> Running in 158e18ab3439 18:47:21 Removing intermediate container 158e18ab3439 18:47:21 ---> 0d46b8e3e010 18:47:21 Step 36/36 : LABEL version=0.0.0 18:47:22 ---> Running in 2729dc468889 18:47:22 Removing intermediate container 2729dc468889 18:47:22 ---> 0a4f2c6146b3 18:47:22 [Warning] One or more build-args [ARCH] were not consumed 18:47:22 Successfully built 0a4f2c6146b3 18:47:22 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:47:22 18:47:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:47:22 latest: Pulling from edgex-lftools-log-publisher 18:47:22 5eb5b503b376: Pulling fs layer 18:47:22 5c69ac0246d0: Pulling fs layer 18:47:22 ec43610c2a17: Pulling fs layer 18:47:22 3a2ae6a8a46f: Pulling fs layer 18:47:22 33b1e0a273af: Pulling fs layer 18:47:22 5d3b04190fa2: Pulling fs layer 18:47:22 2f39f015ded8: Pulling fs layer 18:47:22 33b1e0a273af: Waiting 18:47:22 5d3b04190fa2: Waiting 18:47:22 2f39f015ded8: Waiting 18:47:22 3a2ae6a8a46f: Waiting 18:47:22 5c69ac0246d0: Download complete 18:47:22 3a2ae6a8a46f: Download complete 18:47:22 33b1e0a273af: Verifying Checksum 18:47:22 33b1e0a273af: Download complete 18:47:22 5d3b04190fa2: Download complete 18:47:22 ec43610c2a17: Verifying Checksum 18:47:22 ec43610c2a17: Download complete 18:47:23 5eb5b503b376: Download complete 18:47:23 2f39f015ded8: Verifying Checksum 18:47:23 2f39f015ded8: Download complete 18:47:24 5eb5b503b376: Pull complete 18:47:24 5c69ac0246d0: Pull complete 18:47:24 ec43610c2a17: Pull complete 18:47:24 3a2ae6a8a46f: Pull complete 18:47:24 33b1e0a273af: Pull complete 18:47:24 5d3b04190fa2: Pull complete 18:47:29 2f39f015ded8: Pull complete 18:47:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:47:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:47:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:29 prd-ubuntu20.04-docker-8c-8g-1566 does not seem to be running inside a container 18:47:29 $ 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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:47:34 $ docker top 955825d9251b05056066daa2ef42b2a50ffa223145f77c77f3bf70b53a85c870 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:47:34 ---> job-cost.sh 18:47:34 lf-activate-venv: SKIPPING 18:47:34 INFO: No Stack... 18:47:34 INFO: Retrieving Pricing Info for: v3-standard-8 18:47:35 INFO: Archiving Costs [Pipeline] sh 18:47:35 + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv 18:47:35 + cut -d, -f6 [Pipeline] lock 18:47:35 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-6-stack-cost] 18:47:35 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-6-stack-cost] did not exist. Created. 18:47:35 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:47:36 + echo total: 0.2199999988079071 [Pipeline] stash 18:47:36 Stashed 1 file(s) [Pipeline] } 18:47:36 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-6-stack-cost] [Pipeline] // lock [Pipeline] } 18:47:36 $ docker stop --time=1 955825d9251b05056066daa2ef42b2a50ffa223145f77c77f3bf70b53a85c870 18:47:37 $ docker rm -f --volumes 955825d9251b05056066daa2ef42b2a50ffa223145f77c77f3bf70b53a85c870 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:49:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1568 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws 18:49:28 Running in /w/workspace/device-usb-camera/6 [Pipeline] { [Pipeline] checkout 18:49:28 Selected Git installation does not exist. Using Default 18:49:28 The recommended git tool is: NONE 18:49:33 using credential edgex-jenkins-ssh 18:49:33 Cloning the remote Git repository 18:49:33 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:49:34 > git init /w/workspace/device-usb-camera/6 # timeout=10 18:49:34 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:49:34 > git --version # timeout=10 18:49:34 > git --version # 'git version 2.25.1' 18:49:34 using GIT_SSH to set credentials SSH Credentials for GitHub 18:49:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:49:35 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:49:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:49:36 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:49:36 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:49:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:49:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:49:36 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit 8b42b1cc484a170a7998b8f5af12bda4b252664c 18:49:37 Merge succeeded, producing 8b42b1cc484a170a7998b8f5af12bda4b252664c 18:49:37 Checking out Revision 8b42b1cc484a170a7998b8f5af12bda4b252664c (PR-265) 18:49:36 > git config core.sparsecheckout # timeout=10 18:49:37 > git checkout -f 8b42b1cc484a170a7998b8f5af12bda4b252664c # timeout=10 18:49:37 > git remote # timeout=10 18:49:37 > git config --get remote.origin.url # timeout=10 18:49:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:49:37 > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 18:49:37 > git rev-parse HEAD^{commit} # timeout=10 18:49:37 > git config core.sparsecheckout # timeout=10 18:49:37 > git checkout -f 8b42b1cc484a170a7998b8f5af12bda4b252664c # timeout=10 18:49:40 Commit message: "feat: update setfps capabilities" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:49:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:49:41 % Total % Received % Xferd Average Speed Time Time Time Current 18:49:41 Dload Upload Total Spent Left Speed 18:49:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 18:49:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:49:42 + sudo tee /etc/docker/daemon.new 18:49:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:49:42 { 18:49:42 "registry-mirrors": [ 18:49:42 "https://nexus3.edgexfoundry.org:10001" 18:49:42 ], 18:49:42 "bip": "10.250.0.254/24", 18:49:42 "hosts": [ 18:49:42 "tcp://0.0.0.0:5555", 18:49:42 "unix:///var/run/docker.sock" 18:49:42 ], 18:49:42 "mtu": 1458, 18:49:42 "selinux-enabled": true, 18:49:42 "seccomp-profile": "/etc/docker/seccomp.json" 18:49:42 } [Pipeline] sh 18:49:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:49:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:50:01 provisioning config files... 18:50:01 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/6@tmp/config13459567742289129918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:02 ---> docker-login.sh 18:50:02 nexus3.edgexfoundry.org:10001 18:50:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:02 Configure a credential helper to remove this warning. See 18:50:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:02 18:50:02 Login Succeeded 18:50:02 nexus3.edgexfoundry.org:10002 18:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:03 Configure a credential helper to remove this warning. See 18:50:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:03 18:50:03 Login Succeeded 18:50:03 nexus3.edgexfoundry.org:10003 18:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:03 Configure a credential helper to remove this warning. See 18:50:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:03 18:50:03 Login Succeeded 18:50:03 nexus3.edgexfoundry.org:10004 18:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:04 Configure a credential helper to remove this warning. See 18:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:04 18:50:04 Login Succeeded 18:50:04 docker.io 18:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:04 Configure a credential helper to remove this warning. See 18:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:04 18:50:04 Login Succeeded 18:50:04 ---> docker-login.sh ends [Pipeline] } 18:50:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:50:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:50:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:50:05 ========================================================= 18:50:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:50:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:50:05 Sending build context to Docker daemon 1.374MB 18:50:05 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:50:05 Step 2/13 : FROM ${BASE} AS builder 18:50:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:50:06 edb6bdbacee9: Pulling fs layer 18:50:06 5f9638ab2659: Pulling fs layer 18:50:06 8d51d6327a98: Pulling fs layer 18:50:06 8b374f2dd631: Pulling fs layer 18:50:06 ec14aa9079de: Pulling fs layer 18:50:06 2f466654f4bb: Pulling fs layer 18:50:06 554e91adad29: Pulling fs layer 18:50:06 8b374f2dd631: Waiting 18:50:06 ec14aa9079de: Waiting 18:50:06 2f466654f4bb: Waiting 18:50:06 554e91adad29: Waiting 18:50:06 5f9638ab2659: Verifying Checksum 18:50:06 5f9638ab2659: Download complete 18:50:06 8b374f2dd631: Download complete 18:50:06 ec14aa9079de: Verifying Checksum 18:50:06 ec14aa9079de: Download complete 18:50:06 edb6bdbacee9: Verifying Checksum 18:50:06 edb6bdbacee9: Download complete 18:50:07 edb6bdbacee9: Pull complete 18:50:07 554e91adad29: Verifying Checksum 18:50:07 554e91adad29: Download complete 18:50:07 5f9638ab2659: Pull complete 18:50:08 8d51d6327a98: Verifying Checksum 18:50:08 8d51d6327a98: Download complete 18:50:08 2f466654f4bb: Verifying Checksum 18:50:08 2f466654f4bb: Download complete 18:50:18 8d51d6327a98: Pull complete 18:50:18 8b374f2dd631: Pull complete 18:50:19 ec14aa9079de: Pull complete 18:50:25 2f466654f4bb: Pull complete 18:50:27 554e91adad29: Pull complete 18:50:27 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 18:50:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:50:27 ---> 1e15ea492957 18:50:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:50:29 ---> Running in 5dc542ca16b5 18:50:29 Removing intermediate container 5dc542ca16b5 18:50:29 ---> 31adfcc8b9fd 18:50:29 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:50:29 ---> Running in f8d4db6d1666 18:50:30 Removing intermediate container f8d4db6d1666 18:50:30 ---> b4fd60a72261 18:50:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:50:30 ---> Running in 2da7dfd276da 18:50:30 Removing intermediate container 2da7dfd276da 18:50:30 ---> 06125f5c1771 18:50:30 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:50:30 ---> Running in 1a21e0c4fddc 18:50:30 Removing intermediate container 1a21e0c4fddc 18:50:30 ---> 0b9b40e97588 18:50:30 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:50:30 ---> Running in 52440b611562 18:50:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:50:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:50:33 (1/14) Installing libintl (0.21.1-r1) 18:50:33 (2/14) Installing eudev-libs (3.2.11-r4) 18:50:33 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:50:33 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:50:33 (5/14) Installing v4l-utils (1.22.1-r2) 18:50:34 (6/14) Installing udev-init-scripts (35-r1) 18:50:34 (7/14) Installing libblkid (2.38.1-r1) 18:50:34 (8/14) Installing xz-libs (5.2.9-r0) 18:50:34 (9/14) Installing zstd-libs (1.5.5-r0) 18:50:34 (10/14) Installing kmod-libs (30-r1) 18:50:34 (11/14) Installing eudev (3.2.11-r4) 18:50:34 (12/14) Installing eudev-dev (3.2.11-r4) 18:50:34 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:50:34 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:50:34 Executing busybox-1.35.0-r29.trigger 18:50:34 Executing eudev-3.2.11-r4.trigger 18:50:34 OK: 271 MiB in 67 packages 18:50:35 Removing intermediate container 52440b611562 18:50:35 ---> 4c7b866bfd1f 18:50:35 Step 8/13 : WORKDIR /device-usb-camera 18:50:35 ---> Running in 98fdd262245f 18:50:35 Removing intermediate container 98fdd262245f 18:50:35 ---> f3fe4a461faa 18:50:35 Step 9/13 : COPY go.mod vendor* ./ 18:50:36 ---> 262ce8a91ea8 18:50:36 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:50:36 ---> Running in 84494e469eae 18:51:44 Removing intermediate container 84494e469eae 18:51:44 ---> 6af9a65a9b31 18:51:44 Step 11/13 : COPY . . 18:51:44 ---> 00e854605016 18:51:44 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:51:44 ---> Running in 19e612e7cbfd 18:51:44  % Total % Received % Xferd Average Speed Time Time Time Current 18:51:44 Dload Upload Total Spent Left  Speed 18:51:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2531 0 --:--:-- --:--:-- --:--:-- 2534 18:51:44 Removing intermediate container 19e612e7cbfd 18:51:44 ---> aa2e8abc28e8 18:51:44 Step 13/13 : RUN ${MAKE} 18:51:44 ---> Running in e20656813b14 18:51:44 noop 18:51:44 Removing intermediate container e20656813b14 18:51:44 ---> f0e85afcbe54 18:51:44 Successfully built f0e85afcbe54 18:51:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:44 + docker inspect -f . ci-base-image-arm64 18:51:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:44 prd-ubuntu20.04-docker-arm64-4c-16g-1568 does not seem to be running inside a container 18:51:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/6 -v /w/workspace/device-usb-camera/6:/w/workspace/device-usb-camera/6:rw,z -v /w/workspace/device-usb-camera/6@tmp:/w/workspace/device-usb-camera/6@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 ******** ci-base-image-arm64 cat 18:51:46 $ docker top 45485b318f8ea8e55c60e666fd94ee0ebb99e1f7abfe4966d74591bf0425ceed -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:46 + go version 18:51:46 go version go1.20.6 linux/arm64 [Pipeline] } 18:51:47 $ docker stop --time=1 45485b318f8ea8e55c60e666fd94ee0ebb99e1f7abfe4966d74591bf0425ceed 18:51:48 $ docker rm -f --volumes 45485b318f8ea8e55c60e666fd94ee0ebb99e1f7abfe4966d74591bf0425ceed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:49 + docker inspect -f . ci-base-image-arm64 18:51:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:49 prd-ubuntu20.04-docker-arm64-4c-16g-1568 does not seem to be running inside a container 18:51:49 $ 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/6 -v /w/workspace/device-usb-camera/6:/w/workspace/device-usb-camera/6:rw,z -v /w/workspace/device-usb-camera/6@tmp:/w/workspace/device-usb-camera/6@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 ******** ci-base-image-arm64 cat 18:51:50 $ docker top c71a587650a67553ccf5945d0fc9b67630733188b08bbebb62f1c87a6ba6cd15 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:50 + git config --global --add safe.directory /w/workspace/device-usb-camera/6 [Pipeline] fileExists [Pipeline] sh 18:51:51 + make test 18:51:51 go test ./... -coverprofile=coverage.out ./... 18:52:23 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:54:45 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:54:50 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.087s coverage: 3.7% of statements 18:54:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:54:50 go vet ./... 18:55:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:55:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:55:22 ./bin/test-attribution-txt.sh [Pipeline] echo 18:55:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:55:22 $ docker stop --time=1 c71a587650a67553ccf5945d0fc9b67630733188b08bbebb62f1c87a6ba6cd15 18:55:24 $ docker rm -f --volumes c71a587650a67553ccf5945d0fc9b67630733188b08bbebb62f1c87a6ba6cd15 [Pipeline] // withDockerContainer [Pipeline] sh 18:55:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:55:25 Warning: overwriting stash ‘coverage-report’ 18:55:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:55:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:55:27 + ls -al . 18:55:27 total 200 18:55:27 drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 18:51 . 18:55:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:49 .. 18:55:27 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 18:49 .git 18:55:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:49 .github 18:55:27 -rw-rw-r-- 1 jenkins jenkins 414 Jul 19 18:49 .gitignore 18:55:27 -rw-rw-r-- 1 jenkins jenkins 45 Jul 19 18:49 .golangci.yml 18:55:27 -rw-rw-r-- 1 jenkins jenkins 77 Jul 19 18:49 .hadolint.yml 18:55:27 -rw-rw-r-- 1 jenkins jenkins 9783 Jul 19 18:49 Attribution.txt 18:55:27 -rw-rw-r-- 1 jenkins jenkins 11903 Jul 19 18:49 CHANGELOG.md 18:55:27 -rw-rw-r-- 1 jenkins jenkins 2453 Jul 19 18:49 Dockerfile 18:55:27 -rw-rw-r-- 1 jenkins jenkins 678 Jul 19 18:49 GOVERNANCE.md 18:55:27 -rw-rw-r-- 1 jenkins jenkins 659 Jul 19 18:49 Jenkinsfile 18:55:27 -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 18:49 LICENSE 18:55:27 -rw-rw-r-- 1 jenkins jenkins 2364 Jul 19 18:49 Makefile 18:55:27 -rw-rw-r-- 1 jenkins jenkins 622 Jul 19 18:49 OWNERS.md 18:55:27 -rw-rw-r-- 1 jenkins jenkins 2575 Jul 19 18:49 README.md 18:55:27 -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 18:45 VERSION 18:55:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:49 bin 18:55:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:49 cmd 18:55:27 -rw-r--r-- 1 jenkins jenkins 41144 Jul 19 18:54 coverage.out 18:55:27 -rwxrwxr-x 1 jenkins jenkins 140 Jul 19 18:49 docker-entrypoint.sh 18:55:27 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 18:49 docs 18:55:27 -rw-rw-r-- 1 jenkins jenkins 3416 Jul 19 18:49 go.mod 18:55:27 -rw-rw-r-- 1 jenkins jenkins 31482 Jul 19 18:49 go.sum 18:55:27 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 18:49 internal 18:55:27 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 18:49 snap 18:55:27 -rw-rw-r-- 1 jenkins jenkins 231 Jul 19 18:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:27 + 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=8b42b1cc484a170a7998b8f5af12bda4b252664c --label arch=arm64 --label version=0.0.0 . 18:55:27 Sending build context to Docker daemon 1.416MB 18:55:27 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 18:55:27 Step 2/36 : FROM ${BASE} AS builder 18:55:27 ---> f0e85afcbe54 18:55:27 Step 3/36 : ARG ADD_BUILD_TAGS="" 18:55:29 ---> Running in fd5acb8725fa 18:55:29 Removing intermediate container fd5acb8725fa 18:55:29 ---> 95fb4bddf0bd 18:55:29 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:55:29 ---> Running in 63c19692ad1f 18:55:30 Removing intermediate container 63c19692ad1f 18:55:30 ---> bc478c32e7c2 18:55:30 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:55:30 ---> Running in fcb4964e57ff 18:55:30 Removing intermediate container fcb4964e57ff 18:55:30 ---> d92275daad1e 18:55:30 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:55:30 ---> Running in e9fcd14aaad5 18:55:31 Removing intermediate container e9fcd14aaad5 18:55:31 ---> 69a46c9a70c2 18:55:31 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:55:31 ---> Running in 0a6f16afcd28 18:55:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:55:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:55:34 OK: 271 MiB in 67 packages 18:55:34 Removing intermediate container 0a6f16afcd28 18:55:34 ---> e224770fd109 18:55:34 Step 8/36 : WORKDIR /device-usb-camera 18:55:34 ---> Running in 7f7c6695f70d 18:55:35 Removing intermediate container 7f7c6695f70d 18:55:35 ---> a73b0e15b710 18:55:35 Step 9/36 : COPY go.mod vendor* ./ 18:55:35 ---> b3f8cb09246c 18:55:35 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:55:35 ---> Running in c80591406dc1 18:55:38 Removing intermediate container c80591406dc1 18:55:38 ---> 5fe978e385fc 18:55:38 Step 11/36 : COPY . . 18:55:39 ---> 9f5cb5907bc6 18:55:39 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:55:39 ---> Running in 1cc1780fa66d 18:55:40  % Total % Received % Xferd Average Speed Time  Time Time Current 18:55:40   Dload Upload Total Spent Left Speed 18:55:40 0  0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062 100 1062 0 0 3643 0 --:--:-- --:--:-- --:--:-- 3662 18:55:41 Removing intermediate container 1cc1780fa66d 18:55:41 ---> 52933bc72d39 18:55:41 Step 13/36 : RUN ${MAKE} 18:55:41 ---> Running in d706e4941103 18:55:42 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:58:19 Removing intermediate container d706e4941103 18:58:19 ---> 8f5edf380a59 18:58:19 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:58:19 v0.21.6: Pulling from aler9/rtsp-simple-server 18:58:19 8766b47fe142: Pulling fs layer 18:58:19 8766b47fe142: Verifying Checksum 18:58:19 8766b47fe142: Download complete 18:58:19 8766b47fe142: Pull complete 18:58:19 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:58:19 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:58:19 ---> 69d40e2cb93c 18:58:19 Step 15/36 : FROM alpine:3.17 18:58:19 3.17: Pulling from library/alpine 18:58:19 edb6bdbacee9: Already exists 18:58:19 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 18:58:19 Status: Downloaded newer image for alpine:3.17 18:58:19 ---> 779605e5fbc0 18:58:19 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:58:19 ---> Running in 86f24183a94a 18:58:19 Removing intermediate container 86f24183a94a 18:58:19 ---> 3c4fd2766c5d 18:58:19 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:58:19 ---> Running in 5fdbd4f24cdc 18:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:58:21 (1/83) Installing dumb-init (1.2.5-r2) 18:58:21 (2/83) Installing sdl2 (2.26.5-r0) 18:58:21 (3/83) Installing libxau (1.0.10-r0) 18:58:21 (4/83) Installing libmd (1.0.4-r0) 18:58:21 (5/83) Installing libbsd (0.11.7-r0) 18:58:21 (6/83) Installing libxdmcp (1.1.4-r0) 18:58:21 (7/83) Installing libxcb (1.15-r0) 18:58:22 (8/83) Installing libx11 (1.8.4-r1) 18:58:22 (9/83) Installing aom-libs (3.5.0-r0) 18:58:22 (10/83) Installing alsa-lib (1.2.8-r0) 18:58:22 (11/83) Installing libexpat (2.5.0-r0) 18:58:22 (12/83) Installing brotli-libs (1.0.9-r9) 18:58:22 (13/83) Installing libbz2 (1.0.8-r4) 18:58:22 (14/83) Installing libpng (1.6.38-r0) 18:58:22 (15/83) Installing freetype (2.12.1-r0) 18:58:22 (16/83) Installing fontconfig (2.14.1-r0) 18:58:22 (17/83) Installing fribidi (1.0.12-r0) 18:58:22 (18/83) Installing libffi (3.4.4-r0) 18:58:22 (19/83) Installing libintl (0.21.1-r1) 18:58:22 (20/83) Installing libblkid (2.38.1-r1) 18:58:22 (21/83) Installing libmount (2.38.1-r1) 18:58:22 (22/83) Installing pcre2 (10.42-r0) 18:58:22 (23/83) Installing glib (2.74.7-r0) 18:58:22 (24/83) Installing graphite2 (1.3.14-r2) 18:58:22 (25/83) Installing harfbuzz (5.3.1-r1) 18:58:22 (26/83) Installing libass (0.16.0-r1) 18:58:22 (27/83) Installing libdav1d (1.0.0-r2) 18:58:23 (28/83) Installing libdrm (2.4.114-r0) 18:58:23 (29/83) Installing gmp (6.2.1-r2) 18:58:23 (30/83) Installing nettle (3.8.1-r0) 18:58:23 (31/83) Installing p11-kit (0.24.1-r1) 18:58:23 (32/83) Installing libtasn1 (4.19.0-r0) 18:58:23 (33/83) Installing libunistring (1.1-r0) 18:58:23 (34/83) Installing gnutls (3.7.8-r3) 18:58:23 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 18:58:23 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 18:58:23 (37/83) Installing lame (3.100-r2) 18:58:23 (38/83) Installing opus (1.3.1-r1) 18:58:23 (39/83) Installing libasyncns (0.8-r1) 18:58:23 (40/83) Installing dbus-libs (1.14.8-r0) 18:58:23 (41/83) Installing libltdl (2.4.7-r1) 18:58:23 (42/83) Installing orc (0.4.33-r0) 18:58:23 (43/83) Installing libgcc (12.2.1_git20220924-r4) 18:58:23 (44/83) Installing libogg (1.3.5-r2) 18:58:23 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 18:58:23 (46/83) Installing flac-libs (1.4.2-r0) 18:58:23 (47/83) Installing libvorbis (1.3.7-r0) 18:58:23 (48/83) Installing libsndfile (1.1.0-r2) 18:58:23 (49/83) Installing libgomp (12.2.1_git20220924-r4) 18:58:23 (50/83) Installing soxr (0.1.3-r3) 18:58:23 (51/83) Installing speexdsp (1.2.1-r0) 18:58:23 (52/83) Installing tdb-libs (1.4.6-r0) 18:58:23 (53/83) Installing libpulse (16.1-r6) 18:58:23 (54/83) Installing cjson (1.7.15-r3) 18:58:23 (55/83) Installing mbedtls (2.28.3-r0) 18:58:23 (56/83) Installing librist (0.2.7-r0) 18:58:23 (57/83) Installing libsrt (1.5.1-r0) 18:58:23 (58/83) Installing libssh (0.10.5-r0) 18:58:23 (59/83) Installing libtheora (1.1.1-r16) 18:58:23 (60/83) Installing libjpeg-turbo (2.1.4-r0) 18:58:23 (61/83) Installing v4l-utils-libs (1.22.1-r2) 18:58:23 (62/83) Installing libxext (1.3.5-r0) 18:58:23 (63/83) Installing libxfixes (6.0.0-r0) 18:58:23 (64/83) Installing wayland-libs-client (1.21.0-r1) 18:58:23 (65/83) Installing libva (2.16.0-r0) 18:58:23 (66/83) Installing libvdpau (1.5-r0) 18:58:23 (67/83) Installing vidstab (1.1.0-r2) 18:58:23 (68/83) Installing libvpx (1.12.0-r1) 18:58:23 (69/83) Installing libwebp (1.2.4-r2) 18:58:23 (70/83) Installing x264-libs (0.164_git20220602-r0) 18:58:23 (71/83) Installing numactl (2.0.16-r1) 18:58:23 (72/83) Installing x265-libs (3.5-r3) 18:58:23 (73/83) Installing xvidcore (1.3.7-r1) 18:58:23 (74/83) Installing libsodium (1.0.18-r2) 18:58:23 (75/83) Installing libzmq (4.3.4-r1) 18:58:23 (76/83) Installing ffmpeg-libs (5.1.3-r0) 18:58:24 (77/83) Installing ffmpeg (5.1.3-r0) 18:58:24 (78/83) Installing udev-init-scripts (35-r1) 18:58:24 (79/83) Installing eudev-libs (3.2.11-r4) 18:58:24 (80/83) Installing xz-libs (5.2.9-r0) 18:58:24 (81/83) Installing zstd-libs (1.5.5-r0) 18:58:24 (82/83) Installing kmod-libs (30-r1) 18:58:24 (83/83) Installing eudev (3.2.11-r4) 18:58:24 Executing busybox-1.35.0-r29.trigger 18:58:24 Executing eudev-3.2.11-r4.trigger 18:58:24 OK: 86 MiB in 98 packages 18:58:27 Removing intermediate container 5fdbd4f24cdc 18:58:27 ---> 594c64d314ae 18:58:27 Step 18/36 : WORKDIR / 18:58:27 ---> Running in 4fa84861a356 18:58:27 Removing intermediate container 4fa84861a356 18:58:27 ---> 22b75f5e54c7 18:58:27 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 18:58:29 ---> fefbfa285ccd 18:58:29 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 18:58:29 ---> 64bd9b6fd760 18:58:29 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:58:30 ---> 00fcd23bac6f 18:58:30 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:58:30 ---> 6f293b2423ab 18:58:30 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:58:31 ---> 58abcb630be1 18:58:31 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 18:58:32 ---> dce9251bdd79 18:58:32 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 18:58:33 ---> 9dd2fa42c60d 18:58:33 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:58:33 ---> Running in 05171495a675 18:58:35 Removing intermediate container 05171495a675 18:58:35 ---> 7f3799270200 18:58:35 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:58:35 ---> Running in 0f6628cfd515 18:58:37 Removing intermediate container 0f6628cfd515 18:58:37 ---> 978ba5599def 18:58:37 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:58:37 ---> Running in 36ea73d302f1 18:58:38 Removing intermediate container 36ea73d302f1 18:58:38 ---> 3e2be859933d 18:58:38 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:58:39 ---> Running in 7dddc25f18ed 18:58:40 Removing intermediate container 7dddc25f18ed 18:58:40 ---> e1602a45ed51 18:58:40 Step 30/36 : EXPOSE 59983 18:58:40 ---> Running in 25649a084cba 18:58:40 Removing intermediate container 25649a084cba 18:58:40 ---> 0c49eb8aeaa8 18:58:40 Step 31/36 : EXPOSE 8554 18:58:40 ---> Running in 7476c043947f 18:58:40 Removing intermediate container 7476c043947f 18:58:40 ---> d7b38147025a 18:58:40 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:58:40 ---> Running in 72ce8e78bf8b 18:58:41 Removing intermediate container 72ce8e78bf8b 18:58:41 ---> 67c3394483e3 18:58:41 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:58:41 ---> Running in 9fef7cd96d14 18:58:41 Removing intermediate container 9fef7cd96d14 18:58:41 ---> 200fb708d7e0 18:58:41 Step 34/36 : LABEL arch=arm64 18:58:41 ---> Running in 2879d6876bc4 18:58:41 Removing intermediate container 2879d6876bc4 18:58:41 ---> c784849c0bfc 18:58:41 Step 35/36 : LABEL git_sha=8b42b1cc484a170a7998b8f5af12bda4b252664c 18:58:41 ---> Running in ffb364bb458a 18:58:42 Removing intermediate container ffb364bb458a 18:58:42 ---> d762d5ab23f4 18:58:42 Step 36/36 : LABEL version=0.0.0 18:58:42 ---> Running in 185c57fb58fa 18:58:42 Removing intermediate container 185c57fb58fa 18:58:42 ---> c1197354e6e0 18:58:42 [Warning] One or more build-args [ARCH] were not consumed 18:58:42 Successfully built c1197354e6e0 18:58:42 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:58:42 18:58:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:58:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:58:43 arm64: Pulling from edgex-lftools-log-publisher 18:58:43 8998bd30e6a1: Pulling fs layer 18:58:43 04944245beec: Pulling fs layer 18:58:43 699f458cf7ca: Pulling fs layer 18:58:43 765212b225bb: Pulling fs layer 18:58:43 f23df028b6ca: Pulling fs layer 18:58:43 d65c8cfc05b1: Pulling fs layer 18:58:43 2437ff75d9bd: Pulling fs layer 18:58:43 f23df028b6ca: Waiting 18:58:43 765212b225bb: Waiting 18:58:43 d65c8cfc05b1: Waiting 18:58:43 2437ff75d9bd: Waiting 18:58:43 04944245beec: Verifying Checksum 18:58:43 04944245beec: Download complete 18:58:43 765212b225bb: Verifying Checksum 18:58:43 765212b225bb: Download complete 18:58:43 f23df028b6ca: Verifying Checksum 18:58:43 f23df028b6ca: Download complete 18:58:43 d65c8cfc05b1: Verifying Checksum 18:58:43 d65c8cfc05b1: Download complete 18:58:43 699f458cf7ca: Verifying Checksum 18:58:43 699f458cf7ca: Download complete 18:58:44 8998bd30e6a1: Verifying Checksum 18:58:44 8998bd30e6a1: Download complete 18:58:46 2437ff75d9bd: Verifying Checksum 18:58:46 2437ff75d9bd: Download complete 18:58:48 8998bd30e6a1: Pull complete 18:58:48 04944245beec: Pull complete 18:58:49 699f458cf7ca: Pull complete 18:58:49 765212b225bb: Pull complete 18:58:51 f23df028b6ca: Pull complete 18:58:52 d65c8cfc05b1: Pull complete 18:59:07 2437ff75d9bd: Pull complete 18:59:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:59:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:59:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:59:07 prd-ubuntu20.04-docker-arm64-4c-16g-1568 does not seem to be running inside a container 18:59: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/6 -v /w/workspace/device-usb-camera/6:/w/workspace/device-usb-camera/6:rw,z -v /w/workspace/device-usb-camera/6@tmp:/w/workspace/device-usb-camera/6@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:arm64 cat 18:59:09 $ docker top 6dbc53e27b48cfacfe594f3ea2b5f55a4a5bce79011e6021130f4af472b7bb11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:10 ---> job-cost.sh 18:59:10 lf-activate-venv: SKIPPING 18:59:10 INFO: No Stack... 18:59:11 INFO: Retrieving Pricing Info for: v3-standard-4 18:59:11 INFO: Archiving Costs [Pipeline] sh 18:59:12 + cat /w/workspace/device-usb-camera/6/archives/cost.csv 18:59:12 + cut -d, -f6 [Pipeline] lock 18:59:12 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-6-stack-cost] 18:59:12 Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-6-stack-cost] did not exist. Created. 18:59:12 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:59:12 /w/workspace/device-usb-camera/6@tmp/durable-2cc0cc27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:59:12 + echo total: 0.10999999940395355 [Pipeline] stash 18:59:13 Warning: overwriting stash ‘stack-cost’ 18:59:13 Stashed 1 file(s) [Pipeline] } 18:59:13 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-6-stack-cost] [Pipeline] // lock [Pipeline] } 18:59:13 $ docker stop --time=1 6dbc53e27b48cfacfe594f3ea2b5f55a4a5bce79011e6021130f4af472b7bb11 18:59:14 $ docker rm -f --volumes 6dbc53e27b48cfacfe594f3ea2b5f55a4a5bce79011e6021130f4af472b7bb11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:59:14 provisioning config files... 18:59:14 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config13794773136454728831tmp [Pipeline] { [Pipeline] sh 18:59:15 + set +x 18:59:15 + bash -s -- 18:59:15 + curl -s https://codecov.io/bash 18:59:15 18:59:15 _____ _ 18:59:15 / ____| | | 18:59:15 | | ___ __| | ___ ___ _____ __ 18:59:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:59:15 | |___| (_) | (_| | __/ (_| (_) \ V / 18:59:15 \_____\___/ \__,_|\___|\___\___/ \_/ 18:59:15 Bash-1.0.6 18:59:15 18:59:15 18:59:15 ==> git version 2.25.1 found 18:59:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:59:15 Release-Date: 2020-01-08 18:59:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:59:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:59:15 ==> Jenkins CI detected. 18:59:15 current dir:  /w/workspace/foundry_device-usb-camera_PR-265 18:59:15 project root: . 18:59:15 --> token set from env 18:59:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:59:15 ==> Running gcov in . (disable via -X gcov) 18:59:15 ==> Python coveragepy not found 18:59:15 ==> Searching for coverage reports in: 18:59:15 + . 18:59:15 -> Found 1 reports 18:59:15 ==> Detecting git/mercurial file structure 18:59:15 ==> Reading reports 18:59:15 + ./coverage.out bytes=41144 18:59:15 ==> Appending adjustments 18:59:15 https://docs.codecov.io/docs/fixing-reports 18:59:15 + Found adjustments 18:59:15 ==> Gzipping contents 18:59:15 8.0K /tmp/codecov.ONg7Fw.gz 18:59:15 ==> Uploading reports 18:59:15 url: https://codecov.io 18:59:15 query: branch=PR-265&commit=8b42b1cc484a170a7998b8f5af12bda4b252664c&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= 18:59:15 -> Pinging Codecov 18:59:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-265&commit=8b42b1cc484a170a7998b8f5af12bda4b252664c&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-265%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=265&job=&cmd_args= 18:59:15 -> Uploading to 18:59:15 https://storage.googleapis.com/codecov/v4/raw/2023-07-19/73D8F5FF140700D3E01443B452E23636/8b42b1cc484a170a7998b8f5af12bda4b252664c/cbf1495a-7441-46ec-b9a4-14245eaa9f74.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T185915Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e9098d73683bf2b9605a74686cde177eb6bc6340a0d93182bbb182e92cc63778 18:59:15 % Total % Received % Xferd Average Speed Time Time Time Current 18:59:15 Dload Upload Total Spent Left Speed 18:59:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5521 0 0 100 5521 0 30169 --:--:-- --:--:-- --:--:-- 30005 100 5521 0 0 100 5521 0 30169 --:--:-- --:--:-- --:--:-- 30005 18:59:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/8b42b1cc484a170a7998b8f5af12bda4b252664c [Pipeline] } 18:59:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:59:16 + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] 18:59:16 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 18:59:16 total 16 18:59:16 drwxr-xr-x 3 root root 4096 Jul 19 18:47 . 18:59:16 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 18:47 .. 18:59:16 drwxr-xr-x 2 root root 4096 Jul 19 18:47 cost 18:59:16 -rw-r--r-- 1 root root 89 Jul 19 18:47 cost.csv 18:59:16 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives 18:59:16 + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives 18:59:16 total 16 18:59:16 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 18:47 . 18:59:16 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 18:47 .. 18:59:16 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 18:47 cost 18:59:16 -rw-r--r-- 1 jenkins jenkins 89 Jul 19 18:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:59:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:59:17 ---> package-listing.sh 18:59:17 ++ facter osfamily 18:59:17 ++ tr '[:upper:]' '[:lower:]' 18:59:17 + OS_FAMILY=debian 18:59:17 + workspace=/w/workspace/foundry_device-usb-camera_PR-265 18:59:17 + START_PACKAGES=/tmp/packages_start.txt 18:59:17 + END_PACKAGES=/tmp/packages_end.txt 18:59:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:59:17 + PACKAGES=/tmp/packages_start.txt 18:59:17 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 18:59:17 + PACKAGES=/tmp/packages_end.txt 18:59:17 + case "${OS_FAMILY}" in 18:59:17 + dpkg -l 18:59:17 + grep '^ii' 18:59:17 + '[' -f /tmp/packages_start.txt ']' 18:59:17 + '[' -f /tmp/packages_end.txt ']' 18:59:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:59:17 + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' 18:59:17 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ 18:59:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-265/archives/ [Pipeline] echo 18:59:17 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-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:59:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:59:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:59:18 prd-ubuntu20.04-docker-8c-8g-1566 does not seem to be running inside a container 18:59:18 $ 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-265/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-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:59:19 $ docker top 812a92a1fc837629154a8154081513d9bfb874ae9e186646e0abada293a5dcb7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:59:19 + touch /tmp/pre-build-complete [Pipeline] sh 18:59:19 + mkdir -p /var/log/sysstat [Pipeline] sh 18:59:19 + ls /var/log/sa-host 18:59:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:59:20 provisioning config files... 18:59:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config9263757356262250070tmp [Pipeline] { [Pipeline] echo 18:59:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:59:20 ---> create-netrc.sh [Pipeline] } 18:59:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:59:20 ---> python-tools-install.sh [Pipeline] echo 18:59:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:59:20 ---> sudo-logs.sh 18:59:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:59:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:59:21 ---> job-cost.sh 18:59:21 lf-activate-venv: SKIPPING 18:59:21 DEBUG: total: 0.2199999988079071 18:59:21 INFO: Retrieving Stack Cost... 18:59:21 INFO: Retrieving Pricing Info for: v3-standard-8 18:59:22 INFO: Archiving Costs [Pipeline] echo 18:59:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:59:22 ---> logs-deploy.sh 18:59:22 lf-activate-venv: SKIPPING 18:59:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/6 18:59:22 INFO: archiving workspace using pattern(s): 18:59:23 Archives upload complete. 18:59:23 INFO: archiving logs to Nexus