Pull request #259 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 158cf72183c0870f436f0f492b637675d1f9df70 rather than e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 Obtained Jenkinsfile from 158cf72183c0870f436f0f492b637675d1f9df70 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-ssh7871610253986166034.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2018388623827124616.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-259/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-259/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3694431015759371224.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh10449894924107800343.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-259/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-259/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8648075309415401217.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17367 in /w/workspace/foundry_device-usb-camera_PR-259 [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-259 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/259/head:refs/remotes/origin/PR-259 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 158cf72183c0870f436f0f492b637675d1f9df70 into PR head commit e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 Merge succeeded, producing e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 Checking out Revision e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 (PR-259) > git config core.sparsecheckout # timeout=10 > git checkout -f e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 158cf72183c0870f436f0f492b637675d1f9df70 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 # timeout=10 Commit message: "docs: Addressed code review comments" > git rev-list --no-walk bae35bafab5dfbbbc584fc4ef402691de54c17eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:25:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:25:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:25:15 ========================================================= 21:25:15 EdgeX Global Pipelines Version Info 21:25:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:25:15 ------------------- 21:25:15 stable info: 21:25:15 ------------------- 21:25:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:25:15 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:25:15 Message: update stable to v1.0.249 21:25:16 ------------------- 21:25:16 experimental info: 21:25:16 ------------------- 21:25:16 Commited By: **** collab-it+edgex@linuxfoundation.org 21:25:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:25:16 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:25:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:25:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:25:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:25:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:25:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:25:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:25:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-259 [Pipeline] echo 21:25:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-259 [Pipeline] echo 21:25:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-259 [Pipeline] echo 21:25:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [Pipeline] echo 21:25:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e7f5d43 [Pipeline] echo 21:25:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:17 provisioning config files... 21:25:17 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-259@tmp/config14315209896221860353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:17 ---> docker-login.sh 21:25:17 nexus3.edgexfoundry.org:10001 21:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:17 Configure a credential helper to remove this warning. See 21:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:17 21:25:17 Login Succeeded 21:25:17 nexus3.edgexfoundry.org:10002 21:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:18 Configure a credential helper to remove this warning. See 21:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:18 21:25:18 Login Succeeded 21:25:18 nexus3.edgexfoundry.org:10003 21:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:18 Configure a credential helper to remove this warning. See 21:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:18 21:25:18 Login Succeeded 21:25:18 nexus3.edgexfoundry.org:10004 21:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:18 Configure a credential helper to remove this warning. See 21:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:18 21:25:18 Login Succeeded 21:25:18 docker.io 21:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:18 Configure a credential helper to remove this warning. See 21:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:18 21:25:18 Login Succeeded 21:25:18 ---> docker-login.sh ends [Pipeline] } 21:25:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:25:18 + git rev-list -1 --merges e7f5d43999fa150699e7306f8e6fecb39c0b5fa4~1..e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [Pipeline] echo 21:25:19 -----------> git rev-list -1 --merges e7f5d43999fa150699e7306f8e6fecb39c0b5fa4~1..e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [false] [Pipeline] sh 21:25:19 + git log --format=format:%s -1 e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [Pipeline] echo 21:25:19 ========================================================= 21:25:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:25:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:25:19 + git log --format=format:%s -1 e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [Pipeline] echo 21:25:19 [semverPrep] GIT_COMMIT: e7f5d43999fa150699e7306f8e6fecb39c0b5fa4, Commit Message: docs: Addressed code review comments [Pipeline] echo 21:25:19 [semverPrep] This is not a build commit. [Pipeline] sh 21:25:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:25:20 + grep -v github /etc/ssh/ssh_known_hosts 21:25:20 + [ -e /tmp/ssh_known_hosts ] 21:25:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:25:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:25:20 + sudo tee -a /etc/ssh/ssh_known_hosts 21:25:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:25:20 21:25:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:25:20 0.1.4: Pulling from edgex-devops/py-git-semver 21:25:20 b85a868b505f: Pulling fs layer 21:25:20 e2be974225ed: Pulling fs layer 21:25:20 339a4e72a1f5: Pulling fs layer 21:25:20 988bab9f4d93: Pulling fs layer 21:25:20 1469e6f7b9e6: Pulling fs layer 21:25:20 eaf3925da568: Pulling fs layer 21:25:20 bab4dde63d76: Pulling fs layer 21:25:20 bde34c3a00c8: Pulling fs layer 21:25:20 b352a97aabf1: Pulling fs layer 21:25:20 4872d77fe225: Pulling fs layer 21:25:20 5851b861e8e6: Pulling fs layer 21:25:20 bde34c3a00c8: Waiting 21:25:20 988bab9f4d93: Waiting 21:25:20 b352a97aabf1: Waiting 21:25:20 5851b861e8e6: Waiting 21:25:20 4872d77fe225: Waiting 21:25:20 eaf3925da568: Waiting 21:25:20 bab4dde63d76: Waiting 21:25:20 1469e6f7b9e6: Waiting 21:25:20 e2be974225ed: Verifying Checksum 21:25:20 e2be974225ed: Download complete 21:25:20 988bab9f4d93: Verifying Checksum 21:25:20 988bab9f4d93: Download complete 21:25:21 1469e6f7b9e6: Verifying Checksum 21:25:21 1469e6f7b9e6: Download complete 21:25:21 339a4e72a1f5: Verifying Checksum 21:25:21 339a4e72a1f5: Download complete 21:25:21 eaf3925da568: Verifying Checksum 21:25:21 eaf3925da568: Download complete 21:25:21 bde34c3a00c8: Verifying Checksum 21:25:21 bde34c3a00c8: Download complete 21:25:21 b352a97aabf1: Verifying Checksum 21:25:21 b352a97aabf1: Download complete 21:25:21 4872d77fe225: Verifying Checksum 21:25:21 4872d77fe225: Download complete 21:25:21 5851b861e8e6: Verifying Checksum 21:25:21 5851b861e8e6: Download complete 21:25:21 b85a868b505f: Verifying Checksum 21:25:21 b85a868b505f: Download complete 21:25:21 bab4dde63d76: Verifying Checksum 21:25:21 bab4dde63d76: Download complete 21:25:22 b85a868b505f: Pull complete 21:25:22 e2be974225ed: Pull complete 21:25:23 339a4e72a1f5: Pull complete 21:25:23 988bab9f4d93: Pull complete 21:25:23 1469e6f7b9e6: Pull complete 21:25:23 eaf3925da568: Pull complete 21:25:25 bab4dde63d76: Pull complete 21:25:25 bde34c3a00c8: Pull complete 21:25:25 b352a97aabf1: Pull complete 21:25:25 4872d77fe225: Pull complete 21:25:25 5851b861e8e6: Pull complete 21:25:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:25:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:25:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:25 prd-ubuntu20.04-docker-8c-8g-17367 does not seem to be running inside a container 21:25:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-259 -v /w/workspace/foundry_device-usb-camera_PR-259:/w/workspace/foundry_device-usb-camera_PR-259:rw,z -v /w/workspace/foundry_device-usb-camera_PR-259@tmp:/w/workspace/foundry_device-usb-camera_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:25:28 $ docker top d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c -eo pid,comm 21:25:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:25:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:25:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:25:28 [ssh-agent] Looking for ssh-agent implementation... 21:25:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:25:29 $ docker exec d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c ssh-agent 21:25:29 SSH_AUTH_SOCK=/tmp/ssh-j5L5vEMaHoLB/agent.33 21:25:29 SSH_AGENT_PID=39 21:25:29 Running ssh-add (command line suppressed) 21:25:29 Identity added: /w/workspace/foundry_device-usb-camera_PR-259@tmp/private_key_15545825745349329609.key (/w/workspace/foundry_device-usb-camera_PR-259@tmp/private_key_15545825745349329609.key) 21:25:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:25:29 + git tag --points-at HEAD [Pipeline] } 21:25:29 $ docker exec --env ******** --env ******** d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c ssh-agent -k 21:25:29 unset SSH_AUTH_SOCK; 21:25:29 unset SSH_AGENT_PID; 21:25:29 echo Agent pid 39 killed; 21:25:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:25:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:25:29 [ssh-agent] Looking for ssh-agent implementation... 21:25:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:25:29 $ docker exec d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c ssh-agent 21:25:30 SSH_AUTH_SOCK=/tmp/ssh-BUI4VbgbLH3s/agent.71 21:25:30 SSH_AGENT_PID=77 21:25:30 Running ssh-add (command line suppressed) 21:25:30 Identity added: /w/workspace/foundry_device-usb-camera_PR-259@tmp/private_key_10744458751712093022.key (/w/workspace/foundry_device-usb-camera_PR-259@tmp/private_key_10744458751712093022.key) 21:25:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:25:30 + git semver init 21:25:30 2023-05-30 21:25:30,716 [run_init] DEBUG init version:0.0.0 force:False 21:25:30 2023-05-30 21:25:30,717 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-259/.semver 21:25:30 2023-05-30 21:25:30,717 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-259/.semver 21:25:30 2023-05-30 21:25:30,717 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-259/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-259, universal_newlines=False, shell=None, istream=None) 21:25:31 2023-05-30 21:25:31,455 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-259/.git/info/exclude 21:25:31 2023-05-30 21:25:31,456 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-259/.semver/PR-259 with force:False 21:25:31 2023-05-30 21:25:31,456 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-259/.semver/PR-259 21:25:31 2023-05-30 21:25:31,460 [execute] INFO git cat-file --batch-check 21:25:31 2023-05-30 21:25:31,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-259/.semver, universal_newlines=False, shell=None, istream=) 21:25:31 2023-05-30 21:25:31,467 [execute] INFO git cat-file --batch 21:25:31 2023-05-30 21:25:31,467 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-259/.semver, universal_newlines=False, shell=None, istream=) 21:25:31 2023-05-30 21:25:31,472 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-259/.semver/PR-259 21:25:31 0.0.0 [Pipeline] } 21:25:31 $ docker exec --env ******** --env ******** d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c ssh-agent -k 21:25:31 unset SSH_AUTH_SOCK; 21:25:31 unset SSH_AGENT_PID; 21:25:31 echo Agent pid 77 killed; 21:25:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:25:32 + git semver [Pipeline] } 21:25:32 $ docker stop --time=1 d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c 21:25:33 $ docker rm -f --volumes d05ecbb3bc0979402f01c50544c879cae09b3157bd6fef6f3f23fd86e942fe4c [Pipeline] // withDockerContainer [Pipeline] sh 21:25:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:25:34 Stashed 1 file(s) [Pipeline] echo 21:25:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:34 provisioning config files... 21:25:34 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-259@tmp/config13380412535179165722tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:34 ---> docker-login.sh 21:25:34 nexus3.edgexfoundry.org:10001 21:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:34 Configure a credential helper to remove this warning. See 21:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:34 21:25:34 Login Succeeded 21:25:34 nexus3.edgexfoundry.org:10002 21:25:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:34 Configure a credential helper to remove this warning. See 21:25:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:34 21:25:34 Login Succeeded 21:25:34 nexus3.edgexfoundry.org:10003 21:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:35 Configure a credential helper to remove this warning. See 21:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:35 21:25:35 Login Succeeded 21:25:35 nexus3.edgexfoundry.org:10004 21:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:35 Configure a credential helper to remove this warning. See 21:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:35 21:25:35 Login Succeeded 21:25:35 docker.io 21:25:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:35 Configure a credential helper to remove this warning. See 21:25:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:35 21:25:35 Login Succeeded 21:25:35 ---> docker-login.sh ends [Pipeline] } 21:25:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:25:35 ========================================================= 21:25:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:25:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:35 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:25:35 Sending build context to Docker daemon 1.981MB 21:25:35 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:25:35 Step 2/13 : FROM ${BASE} AS builder 21:25:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:25:35 f56be85fc22e: Pulling fs layer 21:25:35 85791d961cd3: Pulling fs layer 21:25:35 d694b5ae8c79: Pulling fs layer 21:25:35 9f32a84ed3da: Pulling fs layer 21:25:35 4d19c01a9841: Pulling fs layer 21:25:35 9325e15d5711: Pulling fs layer 21:25:35 556b6ee489ea: Pulling fs layer 21:25:35 c5a4b2cf53e6: Pulling fs layer 21:25:35 9f32a84ed3da: Waiting 21:25:35 4d19c01a9841: Waiting 21:25:35 556b6ee489ea: Waiting 21:25:35 85791d961cd3: Verifying Checksum 21:25:35 85791d961cd3: Download complete 21:25:35 4d19c01a9841: Verifying Checksum 21:25:35 4d19c01a9841: Download complete 21:25:35 f56be85fc22e: Verifying Checksum 21:25:35 f56be85fc22e: Download complete 21:25:35 9325e15d5711: Verifying Checksum 21:25:35 9325e15d5711: Download complete 21:25:35 f56be85fc22e: Pull complete 21:25:36 85791d961cd3: Pull complete 21:25:36 c5a4b2cf53e6: Verifying Checksum 21:25:36 c5a4b2cf53e6: Download complete 21:25:36 d694b5ae8c79: Verifying Checksum 21:25:36 d694b5ae8c79: Download complete 21:25:36 556b6ee489ea: Verifying Checksum 21:25:36 556b6ee489ea: Download complete 21:25:39 d694b5ae8c79: Pull complete 21:25:40 9f32a84ed3da: Pull complete 21:25:40 4d19c01a9841: Pull complete 21:25:40 9325e15d5711: Pull complete 21:25:42 556b6ee489ea: Pull complete 21:25:44 c5a4b2cf53e6: Pull complete 21:25:44 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:25:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:25:44 ---> c4be618373d6 21:25:44 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:25:48 ---> Running in 1556111290e5 21:25:48 Removing intermediate container 1556111290e5 21:25:48 ---> 379088d2e444 21:25:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:25:48 ---> Running in 909bb18c8d35 21:25:48 Removing intermediate container 909bb18c8d35 21:25:48 ---> 1bc8a72cd65b 21:25:48 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:25:48 ---> Running in 9c21e4022048 21:25:48 Removing intermediate container 9c21e4022048 21:25:48 ---> 112a33b139c6 21:25:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:25:48 ---> Running in ff7661a30f4c 21:25:48 Removing intermediate container ff7661a30f4c 21:25:48 ---> 53809565bf8a 21:25:48 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:25:48 ---> Running in 97a2bea0f094 21:25:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:25:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:25:48 (1/14) Installing libintl (0.21.1-r1) 21:25:48 (2/14) Installing eudev-libs (3.2.11-r4) 21:25:48 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:25:48 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:25:48 (5/14) Installing v4l-utils (1.22.1-r2) 21:25:48 (6/14) Installing udev-init-scripts (35-r1) 21:25:48 (7/14) Installing libblkid (2.38.1-r1) 21:25:48 (8/14) Installing xz-libs (5.2.9-r0) 21:25:48 (9/14) Installing zstd-libs (1.5.5-r0) 21:25:48 (10/14) Installing kmod-libs (30-r1) 21:25:48 (11/14) Installing eudev (3.2.11-r4) 21:25:49 (12/14) Installing eudev-dev (3.2.11-r4) 21:25:49 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:25:49 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:25:49 Executing busybox-1.35.0-r29.trigger 21:25:49 Executing eudev-3.2.11-r4.trigger 21:25:49 OK: 272 MiB in 67 packages 21:25:49 Removing intermediate container 97a2bea0f094 21:25:49 ---> a9a60512e0aa 21:25:49 Step 8/13 : WORKDIR /device-usb-camera 21:25:49 ---> Running in d6c148ad03db 21:25:49 Still waiting to schedule task 21:25:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:25:49 Removing intermediate container d6c148ad03db 21:25:49 ---> fa081975e9fe 21:25:49 Step 9/13 : COPY go.mod vendor* ./ 21:25:49 ---> 7afb4fbc8820 21:25:49 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:25:49 ---> Running in 094d36a4d3b0 21:26:21 Removing intermediate container 094d36a4d3b0 21:26:21 ---> 612cc3880688 21:26:21 Step 11/13 : COPY . . 21:26:21 ---> 383030f2f12d 21:26:21 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:26:21 ---> Running in 929436c02a30 21:26:21  % Total % Received % Xferd Average Speed Time Time Time Current 21:26:21 Dload Upload Total Spent Left Speed 21:26:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8155 0 --:--:-- --:--:-- --:--:-- 8169 21:26:21 Removing intermediate container 929436c02a30 21:26:21 ---> 938858e5c2c8 21:26:21 Step 13/13 : RUN ${MAKE} 21:26:21 ---> Running in e37919273c50 21:26:21 noop 21:26:21 Removing intermediate container e37919273c50 21:26:21 ---> f0a1a04ad57c 21:26:21 Successfully built f0a1a04ad57c 21:26:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:22 + docker inspect -f . ci-base-image-x86_64 21:26:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:22 prd-ubuntu20.04-docker-8c-8g-17367 does not seem to be running inside a container 21:26:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-259 -v /w/workspace/foundry_device-usb-camera_PR-259:/w/workspace/foundry_device-usb-camera_PR-259:rw,z -v /w/workspace/foundry_device-usb-camera_PR-259@tmp:/w/workspace/foundry_device-usb-camera_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:26:22 $ docker top 54a618ae84e26f7c7e903df6a61b64b1bfff67bca831e6e50db54dbffff05f65 -eo pid,comm [Pipeline] { [Pipeline] sh 21:26:22 + go version 21:26:22 go version go1.20.2 linux/amd64 [Pipeline] } 21:26:22 $ docker stop --time=1 54a618ae84e26f7c7e903df6a61b64b1bfff67bca831e6e50db54dbffff05f65 21:26:24 $ docker rm -f --volumes 54a618ae84e26f7c7e903df6a61b64b1bfff67bca831e6e50db54dbffff05f65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:24 + docker inspect -f . ci-base-image-x86_64 21:26:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:26:24 prd-ubuntu20.04-docker-8c-8g-17367 does not seem to be running inside a container 21:26:24 $ 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-259 -v /w/workspace/foundry_device-usb-camera_PR-259:/w/workspace/foundry_device-usb-camera_PR-259:rw,z -v /w/workspace/foundry_device-usb-camera_PR-259@tmp:/w/workspace/foundry_device-usb-camera_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:26:25 $ docker top 524e85bd19014e4bb7308efd01a60921e7cb261879c08ec17e77ce67e3668b75 -eo pid,comm [Pipeline] { [Pipeline] sh 21:26:25 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-259 [Pipeline] fileExists [Pipeline] sh 21:26:25 + make test 21:26:25 go test ./... -coverprofile=coverage.out ./... 21:26:30 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:26:43 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:26:43 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 1.6% of statements 21:26:49 go vet ./... 21:26:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:26:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:26:52 ./bin/test-attribution-txt.sh [Pipeline] echo 21:26:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:26:53 $ docker stop --time=1 524e85bd19014e4bb7308efd01a60921e7cb261879c08ec17e77ce67e3668b75 21:26:56 $ docker rm -f --volumes 524e85bd19014e4bb7308efd01a60921e7cb261879c08ec17e77ce67e3668b75 [Pipeline] // withDockerContainer [Pipeline] sh 21:26:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:26:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:26:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:26:58 + ls -al . 21:26:58 total 196 21:26:58 drwxrwxr-x 10 jenkins jenkins 4096 May 30 21:26 . 21:26:58 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:25 .. 21:26:58 drwxrwxr-x 8 jenkins jenkins 4096 May 30 21:25 .git 21:26:58 drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:25 .github 21:26:58 -rw-rw-r-- 1 jenkins jenkins 414 May 30 21:25 .gitignore 21:26:58 -rw-rw-r-- 1 jenkins jenkins 45 May 30 21:25 .golangci.yml 21:26:58 -rw-rw-r-- 1 jenkins jenkins 77 May 30 21:25 .hadolint.yml 21:26:58 drwxr-xr-x 3 jenkins jenkins 4096 May 30 21:25 .semver 21:26:58 -rw-rw-r-- 1 jenkins jenkins 9665 May 30 21:25 Attribution.txt 21:26:58 -rw-rw-r-- 1 jenkins jenkins 11660 May 30 21:25 CHANGELOG.md 21:26:58 -rw-rw-r-- 1 jenkins jenkins 2453 May 30 21:25 Dockerfile 21:26:58 -rw-rw-r-- 1 jenkins jenkins 678 May 30 21:25 GOVERNANCE.md 21:26:58 -rw-rw-r-- 1 jenkins jenkins 659 May 30 21:25 Jenkinsfile 21:26:58 -rw-rw-r-- 1 jenkins jenkins 11348 May 30 21:25 LICENSE 21:26:58 -rw-rw-r-- 1 jenkins jenkins 2364 May 30 21:25 Makefile 21:26:58 -rw-rw-r-- 1 jenkins jenkins 622 May 30 21:25 OWNERS.md 21:26:58 -rw-rw-r-- 1 jenkins jenkins 2477 May 30 21:25 README.md 21:26:58 -rw-rw-r-- 1 jenkins jenkins 5 May 30 21:25 VERSION 21:26:58 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:25 bin 21:26:58 drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:25 cmd 21:26:58 -rw-r--r-- 1 jenkins jenkins 35569 May 30 21:26 coverage.out 21:26:58 -rwxrwxr-x 1 jenkins jenkins 140 May 30 21:25 docker-entrypoint.sh 21:26:58 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:25 docs 21:26:58 -rw-rw-r-- 1 jenkins jenkins 3371 May 30 21:25 go.mod 21:26:58 -rw-rw-r-- 1 jenkins jenkins 31392 May 30 21:25 go.sum 21:26:58 drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:25 internal 21:26:58 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:25 snap 21:26:58 -rw-rw-r-- 1 jenkins jenkins 231 May 30 21:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:58 + 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=e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 --label arch=amd64 --label version=0.0.0 . 21:26:58 Sending build context to Docker daemon 2.017MB 21:26:58 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 21:26:58 Step 2/36 : FROM ${BASE} AS builder 21:26:58 ---> f0a1a04ad57c 21:26:58 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:26:58 ---> Running in 9bd06a592527 21:26:58 Removing intermediate container 9bd06a592527 21:26:58 ---> e9393278f176 21:26:58 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:26:58 ---> Running in c11751f3712a 21:26:58 Removing intermediate container c11751f3712a 21:26:58 ---> ad57a9cdebae 21:26:58 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:26:58 ---> Running in aade0a087b78 21:26:58 Removing intermediate container aade0a087b78 21:26:58 ---> 2cb58bfbf286 21:26:58 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:26:59 ---> Running in 7690f6885065 21:26:59 Removing intermediate container 7690f6885065 21:26:59 ---> 99e48d73f555 21:26:59 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:26:59 ---> Running in 1c900cc4ff63 21:26:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:26:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:26:59 OK: 272 MiB in 67 packages 21:27:00 Removing intermediate container 1c900cc4ff63 21:27:00 ---> 15c9e1f57e69 21:27:00 Step 8/36 : WORKDIR /device-usb-camera 21:27:00 ---> Running in 03be4fd29a9e 21:27:00 Removing intermediate container 03be4fd29a9e 21:27:00 ---> 97a89c6de313 21:27:00 Step 9/36 : COPY go.mod vendor* ./ 21:27:00 ---> f2f2755df932 21:27:00 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:27:00 ---> Running in d6d8ce4ac098 21:27:01 Removing intermediate container d6d8ce4ac098 21:27:01 ---> bdd28af9a80c 21:27:01 Step 11/36 : COPY . . 21:27:01 ---> 4c34e43dbff5 21:27:01 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:27:01 ---> Running in 85f5bc3656dd 21:27:01  % Total % Received % Xferd Average Speed Time Time Time Current 21:27:01 Dload Upload Total Spent Left Speed 21:27:01 0 0  0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 20917 0 --:--:-- --:--:-- --:--:-- 21240 21:27:02 Removing intermediate container 85f5bc3656dd 21:27:02 ---> 455176c96b6a 21:27:02 Step 13/36 : RUN ${MAKE} 21:27:02 ---> Running in ce4432d51a81 21:27:02 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:27:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17368 in /w/workspace/foundry_device-usb-camera_PR-259 [Pipeline] { [Pipeline] ws 21:27:19 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 21:27:19 Selected Git installation does not exist. Using Default 21:27:19 The recommended git tool is: NONE 21:27:24 Removing intermediate container ce4432d51a81 21:27:24 ---> adf9aa636bbb 21:27:24 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:27:24 using credential edgex-jenkins-ssh 21:27:24 Cloning the remote Git repository 21:27:25 v0.21.6: Pulling from aler9/rtsp-simple-server 21:27:25 4acc49c71d14: Pulling fs layer 21:27:25 4acc49c71d14: Verifying Checksum 21:27:25 4acc49c71d14: Download complete 21:27:25 4acc49c71d14: Pull complete 21:27:25 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:27:25 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:27:25 ---> 01a2bd3e5fff 21:27:25 Step 15/36 : FROM alpine:3.17 21:27:24 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 21:27:24 > git init /w/workspace/device-usb-camera/2 # timeout=10 21:27:25 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:27:25 > git --version # timeout=10 21:27:25 > git --version # 'git version 2.25.1' 21:27:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:27:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:27:26 3.17: Pulling from library/alpine 21:27:26 f56be85fc22e: Already exists 21:27:26 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:27:26 Status: Downloaded newer image for alpine:3.17 21:27:26 ---> 9ed4aefc74f6 21:27:26 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:27:26 ---> Running in c829c65ed6b3 21:27:26 Removing intermediate container c829c65ed6b3 21:27:26 ---> 693773b7e9d5 21:27:26 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:27:26 ---> Running in a4cc6b7547c5 21:27:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:27:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:27:26 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:27:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:27:26 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 21:27:26 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 21:27:26 using GIT_SSH to set credentials SSH Credentials for GitHub 21:27:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/259/head:refs/remotes/origin/PR-259 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:27:27 (1/86) Installing dumb-init (1.2.5-r2) 21:27:27 (2/86) Installing sdl2 (2.26.5-r0) 21:27:27 (3/86) Installing svt-av1-libs (1.3.0-r0) 21:27:27 (4/86) Installing libxau (1.0.10-r0) 21:27:27 (5/86) Installing libmd (1.0.4-r0) 21:27:27 (6/86) Installing libbsd (0.11.7-r0) 21:27:27 (7/86) Installing libxdmcp (1.1.4-r0) 21:27:27 (8/86) Installing libxcb (1.15-r0) 21:27:27 (9/86) Installing libx11 (1.8.4-r0) 21:27:27 (10/86) Installing aom-libs (3.5.0-r0) 21:27:27 (11/86) Installing alsa-lib (1.2.8-r0) 21:27:27 (12/86) Installing libexpat (2.5.0-r0) 21:27:27 (13/86) Installing brotli-libs (1.0.9-r9) 21:27:27 (14/86) Installing libbz2 (1.0.8-r4) 21:27:27 (15/86) Installing libpng (1.6.38-r0) 21:27:27 (16/86) Installing freetype (2.12.1-r0) 21:27:27 (17/86) Installing fontconfig (2.14.1-r0) 21:27:27 (18/86) Installing fribidi (1.0.12-r0) 21:27:27 (19/86) Installing libffi (3.4.4-r0) 21:27:27 (20/86) Installing libintl (0.21.1-r1) 21:27:27 (21/86) Installing libblkid (2.38.1-r1) 21:27:27 (22/86) Installing libmount (2.38.1-r1) 21:27:27 (23/86) Installing pcre2 (10.42-r0) 21:27:27 (24/86) Installing glib (2.74.7-r0) 21:27:27 (25/86) Installing graphite2 (1.3.14-r2) 21:27:27 (26/86) Installing harfbuzz (5.3.1-r1) 21:27:27 (27/86) Installing libass (0.16.0-r1) 21:27:27 (28/86) Installing libdav1d (1.0.0-r2) 21:27:27 (29/86) Installing hwdata-pci (0.364-r0) 21:27:27 (30/86) Installing libpciaccess (0.17-r0) 21:27:27 (31/86) Installing libdrm (2.4.114-r0) 21:27:27 (32/86) Installing gmp (6.2.1-r2) 21:27:27 Merging remotes/origin/main commit 158cf72183c0870f436f0f492b637675d1f9df70 into PR head commit e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 21:27:27 (33/86) Installing nettle (3.8.1-r0) 21:27:27 (34/86) Installing p11-kit (0.24.1-r1) 21:27:27 (35/86) Installing libtasn1 (4.19.0-r0) 21:27:27 (36/86) Installing libunistring (1.1-r0) 21:27:27 (37/86) Installing gnutls (3.7.8-r3) 21:27:27 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 21:27:27 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 21:27:27 (40/86) Installing lame (3.100-r2) 21:27:27 (41/86) Installing opus (1.3.1-r1) 21:27:27 (42/86) Installing libasyncns (0.8-r1) 21:27:27 (43/86) Installing dbus-libs (1.14.4-r0) 21:27:27 (44/86) Installing libltdl (2.4.7-r1) 21:27:27 (45/86) Installing orc (0.4.33-r0) 21:27:27 (46/86) Installing libgcc (12.2.1_git20220924-r4) 21:27:27 (47/86) Installing libogg (1.3.5-r2) 21:27:27 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 21:27:27 (49/86) Installing flac-libs (1.4.2-r0) 21:27:27 (50/86) Installing libvorbis (1.3.7-r0) 21:27:27 (51/86) Installing libsndfile (1.1.0-r2) 21:27:27 (52/86) Installing libgomp (12.2.1_git20220924-r4) 21:27:27 (53/86) Installing soxr (0.1.3-r3) 21:27:27 (54/86) Installing speexdsp (1.2.1-r0) 21:27:27 (55/86) Installing tdb-libs (1.4.6-r0) 21:27:27 (56/86) Installing libpulse (16.1-r6) 21:27:27 Merge succeeded, producing e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 21:27:27 Checking out Revision e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 (PR-259) 21:27:28 (57/86) Installing cjson (1.7.15-r3) 21:27:28 (58/86) Installing mbedtls (2.28.3-r0) 21:27:28 (59/86) Installing librist (0.2.7-r0) 21:27:28 (60/86) Installing libsrt (1.5.1-r0) 21:27:28 (61/86) Installing libssh (0.10.5-r0) 21:27:28 (62/86) Installing libtheora (1.1.1-r16) 21:27:28 (63/86) Installing libjpeg-turbo (2.1.4-r0) 21:27:28 (64/86) Installing v4l-utils-libs (1.22.1-r2) 21:27:28 (65/86) Installing libxext (1.3.5-r0) 21:27:28 (66/86) Installing libxfixes (6.0.0-r0) 21:27:28 (67/86) Installing wayland-libs-client (1.21.0-r1) 21:27:28 (68/86) Installing libva (2.16.0-r0) 21:27:28 (69/86) Installing libvdpau (1.5-r0) 21:27:28 (70/86) Installing vidstab (1.1.0-r2) 21:27:28 (71/86) Installing libvpx (1.12.0-r1) 21:27:28 (72/86) Installing libwebp (1.2.4-r2) 21:27:28 (73/86) Installing x264-libs (0.164_git20220602-r0) 21:27:28 (74/86) Installing numactl (2.0.16-r1) 21:27:28 (75/86) Installing x265-libs (3.5-r3) 21:27:28 (76/86) Installing xvidcore (1.3.7-r1) 21:27:28 (77/86) Installing libsodium (1.0.18-r2) 21:27:28 (78/86) Installing libzmq (4.3.4-r1) 21:27:28 (79/86) Installing ffmpeg-libs (5.1.3-r0) 21:27:28 (80/86) Installing ffmpeg (5.1.3-r0) 21:27:28 (81/86) Installing udev-init-scripts (35-r1) 21:27:28 (82/86) Installing eudev-libs (3.2.11-r4) 21:27:28 (83/86) Installing xz-libs (5.2.9-r0) 21:27:28 (84/86) Installing zstd-libs (1.5.5-r0) 21:27:28 (85/86) Installing kmod-libs (30-r1) 21:27:28 (86/86) Installing eudev (3.2.11-r4) 21:27:28 Executing busybox-1.35.0-r29.trigger 21:27:28 Executing eudev-3.2.11-r4.trigger 21:27:28 OK: 112 MiB in 101 packages 21:27:27 > git config core.sparsecheckout # timeout=10 21:27:27 > git checkout -f e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 # timeout=10 21:27:27 > git remote # timeout=10 21:27:27 > git config --get remote.origin.url # timeout=10 21:27:27 using GIT_SSH to set credentials SSH Credentials for GitHub 21:27:27 > git merge 158cf72183c0870f436f0f492b637675d1f9df70 # timeout=10 21:27:27 > git rev-parse HEAD^{commit} # timeout=10 21:27:27 > git config core.sparsecheckout # timeout=10 21:27:27 > git checkout -f e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 # timeout=10 21:27:30 Removing intermediate container a4cc6b7547c5 21:27:30 ---> 7e0286974eb2 21:27:30 Step 18/36 : WORKDIR / 21:27:30 ---> Running in e1cdff391f6e 21:27:31 Removing intermediate container e1cdff391f6e 21:27:31 ---> 8795c90b20d1 21:27:31 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:27:31 Commit message: "docs: Addressed code review comments" 21:27:31 ---> 7ddeef1fb147 21:27:31 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script 21:27:31 ---> bf27a9899180 21:27:31 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:27:31 ---> ad05e5043357 21:27:31 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:27:31 ---> 147f9ae69afd 21:27:31 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [Pipeline] { [Pipeline] sh 21:27:32 ---> 3c9eec6997cb 21:27:32 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:27:32 ---> 3e09a9044612 21:27:32 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:27:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:27:32 % Total % Received % Xferd Average Speed Time Time Time Current 21:27:32 Dload Upload Total Spent Left Speed 21:27:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 21:27:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:27:33 ---> 909ca48674c8 21:27:33 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:27:33 ---> Running in 9fa4e984f3af 21:27:33 + sudo tee /etc/docker/daemon.new 21:27:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:27:33 { 21:27:33 "registry-mirrors": [ 21:27:33 "https://nexus3.edgexfoundry.org:10001" 21:27:33 ], 21:27:33 "bip": "10.250.0.254/24", 21:27:33 "hosts": [ 21:27:33 "tcp://0.0.0.0:5555", 21:27:33 "unix:///var/run/docker.sock" 21:27:33 ], 21:27:33 "mtu": 1458, 21:27:33 "selinux-enabled": true, 21:27:33 "seccomp-profile": "/etc/docker/seccomp.json" 21:27:33 } [Pipeline] sh 21:27:33 Removing intermediate container 9fa4e984f3af 21:27:33 ---> b3fe3b143b44 21:27:33 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:27:33 ---> Running in 06cd0a2bd006 21:27:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:27:34 + sudo service docker restart 21:27:34 Removing intermediate container 06cd0a2bd006 21:27:34 ---> daf2840e1a60 21:27:34 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:27:34 ---> Running in b0a5191fa8a9 21:27:34 Removing intermediate container b0a5191fa8a9 21:27:34 ---> c58aae032db8 21:27:34 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:27:34 ---> Running in 9f0a2994bdb3 21:27:35 Removing intermediate container 9f0a2994bdb3 21:27:35 ---> e735d2c90637 21:27:35 Step 30/36 : EXPOSE 59983 21:27:35 ---> Running in e8a746fc3e37 21:27:35 Removing intermediate container e8a746fc3e37 21:27:35 ---> 06bdfe9bc657 21:27:35 Step 31/36 : EXPOSE 8554 21:27:35 ---> Running in 095776f16445 21:27:35 Removing intermediate container 095776f16445 21:27:35 ---> 05a8538843da 21:27:35 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:27:35 ---> Running in dd8546d3e835 21:27:35 Removing intermediate container dd8546d3e835 21:27:35 ---> 873a8fff12f7 21:27:35 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:27:35 ---> Running in fcedc9654bac 21:27:35 Removing intermediate container fcedc9654bac 21:27:35 ---> 92f86f4cef74 21:27:35 Step 34/36 : LABEL arch=amd64 21:27:35 ---> Running in 16f81f61b5f8 21:27:35 Removing intermediate container 16f81f61b5f8 21:27:35 ---> 533215a05207 21:27:35 Step 35/36 : LABEL git_sha=e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 21:27:35 ---> Running in e3be7c80821f 21:27:35 Removing intermediate container e3be7c80821f 21:27:35 ---> 501eb463f550 21:27:35 Step 36/36 : LABEL version=0.0.0 21:27:35 ---> Running in f8827b5f76d9 21:27:35 Removing intermediate container f8827b5f76d9 21:27:35 ---> bf1ce4225cc4 21:27:35 [Warning] One or more build-args [ARCH] were not consumed 21:27:35 Successfully built bf1ce4225cc4 21:27:35 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 21:27:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:27:36 21:27:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:27:36 latest: Pulling from edgex-lftools-log-publisher 21:27:36 5eb5b503b376: Pulling fs layer 21:27:36 5c69ac0246d0: Pulling fs layer 21:27:36 ec43610c2a17: Pulling fs layer 21:27:36 3a2ae6a8a46f: Pulling fs layer 21:27:36 33b1e0a273af: Pulling fs layer 21:27:36 5d3b04190fa2: Pulling fs layer 21:27:36 2f39f015ded8: Pulling fs layer 21:27:36 33b1e0a273af: Waiting 21:27:36 5d3b04190fa2: Waiting 21:27:36 3a2ae6a8a46f: Waiting 21:27:36 2f39f015ded8: Waiting 21:27:36 5c69ac0246d0: Download complete 21:27:36 3a2ae6a8a46f: Verifying Checksum 21:27:36 3a2ae6a8a46f: Download complete 21:27:36 33b1e0a273af: Verifying Checksum 21:27:36 33b1e0a273af: Download complete 21:27:36 5d3b04190fa2: Verifying Checksum 21:27:36 5d3b04190fa2: Download complete 21:27:36 ec43610c2a17: Verifying Checksum 21:27:36 ec43610c2a17: Download complete 21:27:36 5eb5b503b376: Verifying Checksum 21:27:36 5eb5b503b376: Download complete 21:27:37 2f39f015ded8: Download complete 21:27:38 5eb5b503b376: Pull complete 21:27:38 5c69ac0246d0: Pull complete 21:27:38 ec43610c2a17: Pull complete 21:27:38 3a2ae6a8a46f: Pull complete 21:27:38 33b1e0a273af: Pull complete 21:27:39 5d3b04190fa2: Pull complete 21:27:43 2f39f015ded8: Pull complete 21:27:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:27:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:27:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:43 prd-ubuntu20.04-docker-8c-8g-17367 does not seem to be running inside a container 21:27:43 $ 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-259 -v /w/workspace/foundry_device-usb-camera_PR-259:/w/workspace/foundry_device-usb-camera_PR-259:rw,z -v /w/workspace/foundry_device-usb-camera_PR-259@tmp:/w/workspace/foundry_device-usb-camera_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:27:47 $ docker top 6d11380ec77d68609b1124e4244c8c5c66fba9b31fc81971e871836f79ba8e87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:47 ---> job-cost.sh 21:27:47 lf-activate-venv: SKIPPING 21:27:47 INFO: No Stack... 21:27:48 INFO: Retrieving Pricing Info for: v3-standard-8 21:27:48 INFO: Archiving Costs [Pipeline] sh 21:27:48 + cat /w/workspace/foundry_device-usb-camera_PR-259/archives/cost.csv 21:27:48 + cut -d, -f6 [Pipeline] lock 21:27:48 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] 21:27:48 Resource [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] did not exist. Created. 21:27:48 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:27:48 + echo total: 0.2199999988079071 [Pipeline] stash 21:27:48 Stashed 1 file(s) [Pipeline] } 21:27:48 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:27:48 $ docker stop --time=1 6d11380ec77d68609b1124e4244c8c5c66fba9b31fc81971e871836f79ba8e87 21:27:50 $ docker rm -f --volumes 6d11380ec77d68609b1124e4244c8c5c66fba9b31fc81971e871836f79ba8e87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:27:52 provisioning config files... 21:27:52 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config11847232040979097214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:52 ---> docker-login.sh 21:27:52 nexus3.edgexfoundry.org:10001 21:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:53 Configure a credential helper to remove this warning. See 21:27:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:53 21:27:53 Login Succeeded 21:27:53 nexus3.edgexfoundry.org:10002 21:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:53 Configure a credential helper to remove this warning. See 21:27:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:53 21:27:53 Login Succeeded 21:27:53 nexus3.edgexfoundry.org:10003 21:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:54 Configure a credential helper to remove this warning. See 21:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:54 21:27:54 Login Succeeded 21:27:54 nexus3.edgexfoundry.org:10004 21:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:54 Configure a credential helper to remove this warning. See 21:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:54 21:27:54 Login Succeeded 21:27:54 docker.io 21:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:54 Configure a credential helper to remove this warning. See 21:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:54 21:27:54 Login Succeeded 21:27:54 ---> docker-login.sh ends [Pipeline] } 21:27:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:27:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:27:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:27:55 ========================================================= 21:27:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:27:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:55 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:27:55 Sending build context to Docker daemon 1.185MB 21:27:55 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 21:27:55 Step 2/13 : FROM ${BASE} AS builder 21:27:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:27:56 c41833b44d91: Pulling fs layer 21:27:56 ed15518f5707: Pulling fs layer 21:27:56 feae8fd75edb: Pulling fs layer 21:27:56 242c74f7c9fa: Pulling fs layer 21:27:56 3cdef696dda3: Pulling fs layer 21:27:56 2ced38df9373: Pulling fs layer 21:27:56 58f1dce35555: Pulling fs layer 21:27:56 3cdef696dda3: Waiting 21:27:56 2ced38df9373: Waiting 21:27:56 58f1dce35555: Waiting 21:27:56 242c74f7c9fa: Waiting 21:27:56 ed15518f5707: Verifying Checksum 21:27:56 ed15518f5707: Download complete 21:27:56 242c74f7c9fa: Verifying Checksum 21:27:56 242c74f7c9fa: Download complete 21:27:56 3cdef696dda3: Download complete 21:27:56 c41833b44d91: Verifying Checksum 21:27:56 c41833b44d91: Download complete 21:27:57 c41833b44d91: Pull complete 21:27:57 58f1dce35555: Verifying Checksum 21:27:57 58f1dce35555: Download complete 21:27:57 ed15518f5707: Pull complete 21:27:58 feae8fd75edb: Verifying Checksum 21:27:58 feae8fd75edb: Download complete 21:27:58 2ced38df9373: Verifying Checksum 21:27:58 2ced38df9373: Download complete 21:28:10 feae8fd75edb: Pull complete 21:28:10 242c74f7c9fa: Pull complete 21:28:10 3cdef696dda3: Pull complete 21:28:17 2ced38df9373: Pull complete 21:28:19 58f1dce35555: Pull complete 21:28:19 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:28:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:28:19 ---> fadd8f120f05 21:28:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:28:21 ---> Running in a45baec184e6 21:28:21 Removing intermediate container a45baec184e6 21:28:21 ---> f4490609bc24 21:28:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:28:21 ---> Running in 7c3e3aece1e5 21:28:22 Removing intermediate container 7c3e3aece1e5 21:28:22 ---> 76535e46ad4b 21:28:22 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:28:22 ---> Running in 5fa697185992 21:28:22 Removing intermediate container 5fa697185992 21:28:22 ---> 037c36c16bbe 21:28:22 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:28:22 ---> Running in 84c015a46f19 21:28:22 Removing intermediate container 84c015a46f19 21:28:22 ---> 0984cf22d543 21:28:22 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:28:22 ---> Running in 466e9db737a4 21:28:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:28:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:28:25 (1/14) Installing libintl (0.21.1-r1) 21:28:25 (2/14) Installing eudev-libs (3.2.11-r4) 21:28:25 (3/14) Installing libjpeg-turbo (2.1.4-r0) 21:28:25 (4/14) Installing v4l-utils-libs (1.22.1-r2) 21:28:25 (5/14) Installing v4l-utils (1.22.1-r2) 21:28:25 (6/14) Installing udev-init-scripts (35-r1) 21:28:25 (7/14) Installing libblkid (2.38.1-r1) 21:28:25 (8/14) Installing xz-libs (5.2.9-r0) 21:28:25 (9/14) Installing zstd-libs (1.5.5-r0) 21:28:25 (10/14) Installing kmod-libs (30-r1) 21:28:25 (11/14) Installing eudev (3.2.11-r4) 21:28:25 (12/14) Installing eudev-dev (3.2.11-r4) 21:28:25 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 21:28:25 (14/14) Installing v4l-utils-dev (1.22.1-r2) 21:28:25 Executing busybox-1.35.0-r29.trigger 21:28:25 Executing eudev-3.2.11-r4.trigger 21:28:25 OK: 271 MiB in 67 packages 21:28:26 Removing intermediate container 466e9db737a4 21:28:26 ---> 01dc34165ad5 21:28:26 Step 8/13 : WORKDIR /device-usb-camera 21:28:26 ---> Running in c41835c76beb 21:28:27 Removing intermediate container c41835c76beb 21:28:27 ---> 509daf4f8e72 21:28:27 Step 9/13 : COPY go.mod vendor* ./ 21:28:27 ---> 3577b57fb142 21:28:27 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:28:27 ---> Running in 069886383c0c 21:29:35 Removing intermediate container 069886383c0c 21:29:35 ---> 95a6759b2839 21:29:35 Step 11/13 : COPY . . 21:29:35 ---> 877df3646335 21:29:35 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:29:35 ---> Running in af0ffb2cec94 21:29:35  % Total  % Received % Xferd Average Speed Time Time Time Current 21:29:35   Dload Upload Total Spent Left Speed 21:29:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 4324 0 --:--:-- --:--:-- --:--:-- 4334 21:29:35 Removing intermediate container af0ffb2cec94 21:29:35 ---> b7ef940b9b5a 21:29:35 Step 13/13 : RUN ${MAKE} 21:29:35 ---> Running in c2498eb53529 21:29:35 noop 21:29:35 Removing intermediate container c2498eb53529 21:29:35 ---> fd4aeffad5f3 21:29:35 Successfully built fd4aeffad5f3 21:29:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:36 + docker inspect -f . ci-base-image-arm64 21:29:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:36 prd-ubuntu20.04-docker-arm64-4c-16g-17368 does not seem to be running inside a container 21:29:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:29:37 $ docker top 86f65019499acf895ba5053f18c5bd5def48ad59d995e42d342efb3f00256ba8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:38 + go version 21:29:38 go version go1.20.2 linux/arm64 [Pipeline] } 21:29:38 $ docker stop --time=1 86f65019499acf895ba5053f18c5bd5def48ad59d995e42d342efb3f00256ba8 21:29:39 $ docker rm -f --volumes 86f65019499acf895ba5053f18c5bd5def48ad59d995e42d342efb3f00256ba8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:40 + docker inspect -f . ci-base-image-arm64 21:29:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:29:40 prd-ubuntu20.04-docker-arm64-4c-16g-17368 does not seem to be running inside a container 21:29:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:29:41 $ docker top d0427327848066f8b9470a51ceb6276d1477388e3163909512468e79c629bd71 -eo pid,comm [Pipeline] { [Pipeline] sh 21:29:42 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 21:29:42 + make test 21:29:42 go test ./... -coverprofile=coverage.out ./... 21:30:14 ? github.com/edgexfoundry/device-usb-camera [no test files] 21:32:06 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 21:32:14 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.077s coverage: 1.6% of statements 21:32:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:32:15 go vet ./... 21:32:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:32:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:32:54 ./bin/test-attribution-txt.sh [Pipeline] echo 21:32:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:32:54 $ docker stop --time=1 d0427327848066f8b9470a51ceb6276d1477388e3163909512468e79c629bd71 21:32:56 $ docker rm -f --volumes d0427327848066f8b9470a51ceb6276d1477388e3163909512468e79c629bd71 [Pipeline] // withDockerContainer [Pipeline] sh 21:32:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:32:57 Warning: overwriting stash ‘coverage-report’ 21:32:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:32:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:32:58 + ls -al . 21:32:58 total 192 21:32:58 drwxrwxr-x 9 jenkins jenkins 4096 May 30 21:29 . 21:32:58 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:27 .. 21:32:58 drwxrwxr-x 8 jenkins jenkins 4096 May 30 21:27 .git 21:32:58 drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:27 .github 21:32:58 -rw-rw-r-- 1 jenkins jenkins 414 May 30 21:27 .gitignore 21:32:58 -rw-rw-r-- 1 jenkins jenkins 45 May 30 21:27 .golangci.yml 21:32:58 -rw-rw-r-- 1 jenkins jenkins 77 May 30 21:27 .hadolint.yml 21:32:58 -rw-rw-r-- 1 jenkins jenkins 9665 May 30 21:27 Attribution.txt 21:32:58 -rw-rw-r-- 1 jenkins jenkins 11660 May 30 21:27 CHANGELOG.md 21:32:58 -rw-rw-r-- 1 jenkins jenkins 2453 May 30 21:27 Dockerfile 21:32:58 -rw-rw-r-- 1 jenkins jenkins 678 May 30 21:27 GOVERNANCE.md 21:32:58 -rw-rw-r-- 1 jenkins jenkins 659 May 30 21:27 Jenkinsfile 21:32:58 -rw-rw-r-- 1 jenkins jenkins 11348 May 30 21:27 LICENSE 21:32:58 -rw-rw-r-- 1 jenkins jenkins 2364 May 30 21:27 Makefile 21:32:58 -rw-rw-r-- 1 jenkins jenkins 622 May 30 21:27 OWNERS.md 21:32:58 -rw-rw-r-- 1 jenkins jenkins 2477 May 30 21:27 README.md 21:32:58 -rw-rw-r-- 1 jenkins jenkins 5 May 30 21:25 VERSION 21:32:58 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:27 bin 21:32:58 drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:27 cmd 21:32:58 -rw-r--r-- 1 jenkins jenkins 35569 May 30 21:32 coverage.out 21:32:58 -rwxrwxr-x 1 jenkins jenkins 140 May 30 21:27 docker-entrypoint.sh 21:32:58 drwxrwxr-x 2 jenkins jenkins 4096 May 30 21:27 docs 21:32:58 -rw-rw-r-- 1 jenkins jenkins 3371 May 30 21:27 go.mod 21:32:58 -rw-rw-r-- 1 jenkins jenkins 31392 May 30 21:27 go.sum 21:32:58 drwxrwxr-x 3 jenkins jenkins 4096 May 30 21:27 internal 21:32:58 drwxrwxr-x 4 jenkins jenkins 4096 May 30 21:27 snap 21:32:58 -rw-rw-r-- 1 jenkins jenkins 231 May 30 21:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:58 + 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=e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 --label arch=arm64 --label version=0.0.0 . 21:32:59 Sending build context to Docker daemon 1.222MB 21:32:59 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 21:32:59 Step 2/36 : FROM ${BASE} AS builder 21:32:59 ---> fd4aeffad5f3 21:32:59 Step 3/36 : ARG ADD_BUILD_TAGS="" 21:32:59 ---> Running in a5627a6c6547 21:32:59 Removing intermediate container a5627a6c6547 21:32:59 ---> 382ecb1182eb 21:32:59 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:32:59 ---> Running in 7d4c1977c41c 21:32:59 Removing intermediate container 7d4c1977c41c 21:32:59 ---> 465d685d21a1 21:32:59 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 21:32:59 ---> Running in 7d45e59dcea5 21:33:00 Removing intermediate container 7d45e59dcea5 21:33:00 ---> a0ecfdf98eee 21:33:00 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 21:33:00 ---> Running in 0d14dace8142 21:33:00 Removing intermediate container 0d14dace8142 21:33:00 ---> 831245d4c52d 21:33:00 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:33:00 ---> Running in 593de4e5f7f6 21:33:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:33:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:33:03 OK: 271 MiB in 67 packages 21:33:04 Removing intermediate container 593de4e5f7f6 21:33:04 ---> eed41f7c804f 21:33:04 Step 8/36 : WORKDIR /device-usb-camera 21:33:04 ---> Running in 7cdb460493cd 21:33:04 Removing intermediate container 7cdb460493cd 21:33:04 ---> 77098ade7a09 21:33:04 Step 9/36 : COPY go.mod vendor* ./ 21:33:05 ---> a90f90832159 21:33:05 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:33:05 ---> Running in 1880e1e242c6 21:33:07 Removing intermediate container 1880e1e242c6 21:33:07 ---> ec0ce55937ef 21:33:07 Step 11/36 : COPY . . 21:33:08 ---> 6f96d48873f1 21:33:08 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 21:33:08 ---> Running in ac7f639ca4f4 21:33:09  % Total % Received % Xferd Average Speed Time Time Time Current 21:33:09 Dload Upload Total Spent Left Speed 21:33:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2924 0 --:--:-- --:--:-- --:--:-- 2933 21:33:10 Removing intermediate container ac7f639ca4f4 21:33:10 ---> fb85a2f4ecec 21:33:10 Step 13/36 : RUN ${MAKE} 21:33:10 ---> Running in 2836c09bfac1 21:33:11 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 21:35:48 Removing intermediate container 2836c09bfac1 21:35:48 ---> 8863b0eaf1ca 21:35:48 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 21:35:48 v0.21.6: Pulling from aler9/rtsp-simple-server 21:35:48 8766b47fe142: Pulling fs layer 21:35:48 8766b47fe142: Verifying Checksum 21:35:48 8766b47fe142: Download complete 21:35:48 8766b47fe142: Pull complete 21:35:48 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 21:35:48 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 21:35:48 ---> 69d40e2cb93c 21:35:48 Step 15/36 : FROM alpine:3.17 21:35:48 3.17: Pulling from library/alpine 21:35:48 c41833b44d91: Already exists 21:35:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:35:48 Status: Downloaded newer image for alpine:3.17 21:35:48 ---> 51e60588ff2c 21:35:48 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 21:35:48 ---> Running in 3d1b2296ec8d 21:35:48 Removing intermediate container 3d1b2296ec8d 21:35:48 ---> 9b7f31dee182 21:35:48 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 21:35:48 ---> Running in d08a645e6664 21:35:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:35:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:35:48 (1/83) Installing dumb-init (1.2.5-r2) 21:35:48 (2/83) Installing sdl2 (2.26.5-r0) 21:35:48 (3/83) Installing libxau (1.0.10-r0) 21:35:48 (4/83) Installing libmd (1.0.4-r0) 21:35:48 (5/83) Installing libbsd (0.11.7-r0) 21:35:48 (6/83) Installing libxdmcp (1.1.4-r0) 21:35:48 (7/83) Installing libxcb (1.15-r0) 21:35:48 (8/83) Installing libx11 (1.8.4-r0) 21:35:48 (9/83) Installing aom-libs (3.5.0-r0) 21:35:48 (10/83) Installing alsa-lib (1.2.8-r0) 21:35:48 (11/83) Installing libexpat (2.5.0-r0) 21:35:48 (12/83) Installing brotli-libs (1.0.9-r9) 21:35:48 (13/83) Installing libbz2 (1.0.8-r4) 21:35:48 (14/83) Installing libpng (1.6.38-r0) 21:35:48 (15/83) Installing freetype (2.12.1-r0) 21:35:48 (16/83) Installing fontconfig (2.14.1-r0) 21:35:48 (17/83) Installing fribidi (1.0.12-r0) 21:35:48 (18/83) Installing libffi (3.4.4-r0) 21:35:48 (19/83) Installing libintl (0.21.1-r1) 21:35:48 (20/83) Installing libblkid (2.38.1-r1) 21:35:48 (21/83) Installing libmount (2.38.1-r1) 21:35:48 (22/83) Installing pcre2 (10.42-r0) 21:35:48 (23/83) Installing glib (2.74.7-r0) 21:35:48 (24/83) Installing graphite2 (1.3.14-r2) 21:35:48 (25/83) Installing harfbuzz (5.3.1-r1) 21:35:48 (26/83) Installing libass (0.16.0-r1) 21:35:48 (27/83) Installing libdav1d (1.0.0-r2) 21:35:48 (28/83) Installing libdrm (2.4.114-r0) 21:35:48 (29/83) Installing gmp (6.2.1-r2) 21:35:48 (30/83) Installing nettle (3.8.1-r0) 21:35:48 (31/83) Installing p11-kit (0.24.1-r1) 21:35:48 (32/83) Installing libtasn1 (4.19.0-r0) 21:35:48 (33/83) Installing libunistring (1.1-r0) 21:35:48 (34/83) Installing gnutls (3.7.8-r3) 21:35:48 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 21:35:48 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 21:35:48 (37/83) Installing lame (3.100-r2) 21:35:48 (38/83) Installing opus (1.3.1-r1) 21:35:48 (39/83) Installing libasyncns (0.8-r1) 21:35:48 (40/83) Installing dbus-libs (1.14.4-r0) 21:35:48 (41/83) Installing libltdl (2.4.7-r1) 21:35:48 (42/83) Installing orc (0.4.33-r0) 21:35:48 (43/83) Installing libgcc (12.2.1_git20220924-r4) 21:35:48 (44/83) Installing libogg (1.3.5-r2) 21:35:48 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 21:35:48 (46/83) Installing flac-libs (1.4.2-r0) 21:35:48 (47/83) Installing libvorbis (1.3.7-r0) 21:35:48 (48/83) Installing libsndfile (1.1.0-r2) 21:35:48 (49/83) Installing libgomp (12.2.1_git20220924-r4) 21:35:48 (50/83) Installing soxr (0.1.3-r3) 21:35:48 (51/83) Installing speexdsp (1.2.1-r0) 21:35:48 (52/83) Installing tdb-libs (1.4.6-r0) 21:35:48 (53/83) Installing libpulse (16.1-r6) 21:35:48 (54/83) Installing cjson (1.7.15-r3) 21:35:48 (55/83) Installing mbedtls (2.28.3-r0) 21:35:48 (56/83) Installing librist (0.2.7-r0) 21:35:48 (57/83) Installing libsrt (1.5.1-r0) 21:35:48 (58/83) Installing libssh (0.10.5-r0) 21:35:48 (59/83) Installing libtheora (1.1.1-r16) 21:35:48 (60/83) Installing libjpeg-turbo (2.1.4-r0) 21:35:48 (61/83) Installing v4l-utils-libs (1.22.1-r2) 21:35:48 (62/83) Installing libxext (1.3.5-r0) 21:35:48 (63/83) Installing libxfixes (6.0.0-r0) 21:35:48 (64/83) Installing wayland-libs-client (1.21.0-r1) 21:35:48 (65/83) Installing libva (2.16.0-r0) 21:35:48 (66/83) Installing libvdpau (1.5-r0) 21:35:48 (67/83) Installing vidstab (1.1.0-r2) 21:35:48 (68/83) Installing libvpx (1.12.0-r1) 21:35:48 (69/83) Installing libwebp (1.2.4-r2) 21:35:48 (70/83) Installing x264-libs (0.164_git20220602-r0) 21:35:48 (71/83) Installing numactl (2.0.16-r1) 21:35:48 (72/83) Installing x265-libs (3.5-r3) 21:35:48 (73/83) Installing xvidcore (1.3.7-r1) 21:35:48 (74/83) Installing libsodium (1.0.18-r2) 21:35:48 (75/83) Installing libzmq (4.3.4-r1) 21:35:48 (76/83) Installing ffmpeg-libs (5.1.3-r0) 21:35:48 (77/83) Installing ffmpeg (5.1.3-r0) 21:35:48 (78/83) Installing udev-init-scripts (35-r1) 21:35:48 (79/83) Installing eudev-libs (3.2.11-r4) 21:35:48 (80/83) Installing xz-libs (5.2.9-r0) 21:35:48 (81/83) Installing zstd-libs (1.5.5-r0) 21:35:48 (82/83) Installing kmod-libs (30-r1) 21:35:48 (83/83) Installing eudev (3.2.11-r4) 21:35:48 Executing busybox-1.35.0-r29.trigger 21:35:48 Executing eudev-3.2.11-r4.trigger 21:35:48 OK: 86 MiB in 98 packages 21:35:48 Removing intermediate container d08a645e6664 21:35:48 ---> a127f56a06e4 21:35:48 Step 18/36 : WORKDIR / 21:35:48 ---> Running in 5e6a3b62cd09 21:35:48 Removing intermediate container 5e6a3b62cd09 21:35:48 ---> eea71a9d8992 21:35:48 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 21:35:49 ---> 19052bd953ca 21:35:49 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 21:35:49 ---> 5cc0610fe7b8 21:35:49 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 21:35:50 ---> fdd4611a8a36 21:35:50 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 21:35:50 ---> c0d7e4307326 21:35:50 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 21:35:51 ---> f363bf5f2a8c 21:35:51 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 21:35:51 ---> 23de8e3f3c2c 21:35:51 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 21:35:53 ---> bb419e329fe1 21:35:53 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 21:35:53 ---> Running in 26e15205ac74 21:35:54 Removing intermediate container 26e15205ac74 21:35:54 ---> 7b9bc5e2f8fa 21:35:54 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 21:35:54 ---> Running in 3aa429879be3 21:35:56 Removing intermediate container 3aa429879be3 21:35:56 ---> 2e9ab23fcc22 21:35:56 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 21:35:56 ---> Running in 1e71ec15b2dd 21:35:58 Removing intermediate container 1e71ec15b2dd 21:35:58 ---> 380d236902ac 21:35:58 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 21:35:58 ---> Running in b1d801d8bfd8 21:36:00 Removing intermediate container b1d801d8bfd8 21:36:00 ---> 4f9cda8ebd6b 21:36:00 Step 30/36 : EXPOSE 59983 21:36:00 ---> Running in ce2930c1fb80 21:36:00 Removing intermediate container ce2930c1fb80 21:36:00 ---> 60e018f7963c 21:36:00 Step 31/36 : EXPOSE 8554 21:36:00 ---> Running in 7a85dda15dbe 21:36:01 Removing intermediate container 7a85dda15dbe 21:36:01 ---> c8799adc3622 21:36:01 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 21:36:01 ---> Running in 75474c417367 21:36:01 Removing intermediate container 75474c417367 21:36:01 ---> 5212d4cf0ad8 21:36:01 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 21:36:01 ---> Running in 6fb055cd317c 21:36:01 Removing intermediate container 6fb055cd317c 21:36:01 ---> 90bb23cef816 21:36:01 Step 34/36 : LABEL arch=arm64 21:36:01 ---> Running in 6a3195241e28 21:36:02 Removing intermediate container 6a3195241e28 21:36:02 ---> 40e2c4544b20 21:36:02 Step 35/36 : LABEL git_sha=e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 21:36:02 ---> Running in 69bd3d5e9d97 21:36:02 Removing intermediate container 69bd3d5e9d97 21:36:02 ---> b6cf0c351abf 21:36:02 Step 36/36 : LABEL version=0.0.0 21:36:02 ---> Running in 82d2c70d4454 21:36:02 Removing intermediate container 82d2c70d4454 21:36:02 ---> 3314cdd1a50c 21:36:02 [Warning] One or more build-args [ARCH] were not consumed 21:36:02 Successfully built 3314cdd1a50c 21:36:02 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:36:03 21:36:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:36:03 arm64: Pulling from edgex-lftools-log-publisher 21:36:03 8998bd30e6a1: Pulling fs layer 21:36:03 04944245beec: Pulling fs layer 21:36:03 699f458cf7ca: Pulling fs layer 21:36:03 765212b225bb: Pulling fs layer 21:36:03 f23df028b6ca: Pulling fs layer 21:36:03 d65c8cfc05b1: Pulling fs layer 21:36:03 2437ff75d9bd: Pulling fs layer 21:36:03 f23df028b6ca: Waiting 21:36:03 765212b225bb: Waiting 21:36:03 2437ff75d9bd: Waiting 21:36:03 d65c8cfc05b1: Waiting 21:36:03 04944245beec: Verifying Checksum 21:36:03 04944245beec: Download complete 21:36:03 765212b225bb: Verifying Checksum 21:36:03 765212b225bb: Download complete 21:36:03 f23df028b6ca: Verifying Checksum 21:36:03 f23df028b6ca: Download complete 21:36:03 d65c8cfc05b1: Verifying Checksum 21:36:03 d65c8cfc05b1: Download complete 21:36:03 699f458cf7ca: Verifying Checksum 21:36:03 699f458cf7ca: Download complete 21:36:04 8998bd30e6a1: Download complete 21:36:07 2437ff75d9bd: Verifying Checksum 21:36:07 2437ff75d9bd: Download complete 21:36:08 8998bd30e6a1: Pull complete 21:36:08 04944245beec: Pull complete 21:36:10 699f458cf7ca: Pull complete 21:36:10 765212b225bb: Pull complete 21:36:13 f23df028b6ca: Pull complete 21:36:13 d65c8cfc05b1: Pull complete 21:36:28 2437ff75d9bd: Pull complete 21:36:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:36:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:36:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:28 prd-ubuntu20.04-docker-arm64-4c-16g-17368 does not seem to be running inside a container 21:36: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/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:36:31 $ docker top d9af6b860a2885324df6e71095dc80c05fee13bfe35316645151211d6f3a97f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:32 ---> job-cost.sh 21:36:32 lf-activate-venv: SKIPPING 21:36:32 INFO: No Stack... 21:36:32 INFO: Retrieving Pricing Info for: v3-standard-4 21:36:33 INFO: Archiving Costs [Pipeline] sh 21:36:33 + cat /w/workspace/device-usb-camera/2/archives/cost.csv 21:36:33 + cut -d, -f6 [Pipeline] lock 21:36:33 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] 21:36:33 Resource [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] did not exist. Created. 21:36:33 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:36:34 /w/workspace/device-usb-camera/2@tmp/durable-8c233c66/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:36:34 + echo total: 0.10999999940395355 [Pipeline] stash 21:36:34 Warning: overwriting stash ‘stack-cost’ 21:36:34 Stashed 1 file(s) [Pipeline] } 21:36:34 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-259-2-stack-cost] [Pipeline] // lock [Pipeline] } 21:36:34 $ docker stop --time=1 d9af6b860a2885324df6e71095dc80c05fee13bfe35316645151211d6f3a97f9 21:36:36 $ docker rm -f --volumes d9af6b860a2885324df6e71095dc80c05fee13bfe35316645151211d6f3a97f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:36:36 provisioning config files... 21:36:36 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-259@tmp/config2168718558802119248tmp [Pipeline] { [Pipeline] sh 21:36:37 + set +x 21:36:37 + bash -s -- 21:36:37 + curl -s https://codecov.io/bash 21:36:37 21:36:37 _____ _ 21:36:37 / ____| | | 21:36:37 | | ___ __| | ___ ___ _____ __ 21:36:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:36:37 | |___| (_) | (_| | __/ (_| (_) \ V / 21:36:37 \_____\___/ \__,_|\___|\___\___/ \_/ 21:36:37 Bash-1.0.6 21:36:37 21:36:37 21:36:37 ==> git version 2.25.1 found 21:36:37 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:36:37 Release-Date: 2020-01-08 21:36:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:36:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:36:37 ==> Jenkins CI detected. 21:36:37 current dir:  /w/workspace/foundry_device-usb-camera_PR-259 21:36:37 project root: . 21:36:37 --> token set from env 21:36:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:36:37 ==> Running gcov in . (disable via -X gcov) 21:36:37 ==> Python coveragepy not found 21:36:37 ==> Searching for coverage reports in: 21:36:37 + . 21:36:37 -> Found 1 reports 21:36:37 ==> Detecting git/mercurial file structure 21:36:37 ==> Reading reports 21:36:37 + ./coverage.out bytes=35569 21:36:37 ==> Appending adjustments 21:36:37 https://docs.codecov.io/docs/fixing-reports 21:36:37 + Found adjustments 21:36:37 ==> Gzipping contents 21:36:37 8.0K /tmp/codecov.QQX2s3.gz 21:36:37 ==> Uploading reports 21:36:37 url: https://codecov.io 21:36:37 query: branch=PR-259&commit=e7f5d43999fa150699e7306f8e6fecb39c0b5fa4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-259%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=259&job=&cmd_args= 21:36:37 -> Pinging Codecov 21:36:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-259&commit=e7f5d43999fa150699e7306f8e6fecb39c0b5fa4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-259%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=259&job=&cmd_args= 21:36:37 -> Uploading to 21:36:37 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/73D8F5FF140700D3E01443B452E23636/e7f5d43999fa150699e7306f8e6fecb39c0b5fa4/af4f7599-7b61-47b1-9814-77a877d47241.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T213637Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d982d125bd740331ef274fd6aeb19879d2aedc1dc81f15d25ec36998c18294c3 21:36:37 % Total % Received % Xferd Average Speed Time Time Time Current 21:36:37 Dload Upload Total Spent Left Speed 21:36:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4860 0 0 100 4860 0 21793 --:--:-- --:--:-- --:--:-- 21793 21:36:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/e7f5d43999fa150699e7306f8e6fecb39c0b5fa4 [Pipeline] } 21:36:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:36:38 + [ -d /w/workspace/foundry_device-usb-camera_PR-259/archives ] 21:36:38 + ls -al /w/workspace/foundry_device-usb-camera_PR-259/archives 21:36:38 total 16 21:36:38 drwxr-xr-x 3 root root 4096 May 30 21:27 . 21:36:38 drwxrwxr-x 11 jenkins jenkins 4096 May 30 21:27 .. 21:36:38 drwxr-xr-x 2 root root 4096 May 30 21:27 cost 21:36:38 -rw-r--r-- 1 root root 89 May 30 21:27 cost.csv 21:36:38 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-259/archives 21:36:38 + ls -al /w/workspace/foundry_device-usb-camera_PR-259/archives 21:36:38 total 16 21:36:38 drwxr-xr-x 3 jenkins jenkins 4096 May 30 21:27 . 21:36:38 drwxrwxr-x 11 jenkins jenkins 4096 May 30 21:27 .. 21:36:38 drwxr-xr-x 2 jenkins jenkins 4096 May 30 21:27 cost 21:36:38 -rw-r--r-- 1 jenkins jenkins 89 May 30 21:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:36:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:36:39 ---> package-listing.sh 21:36:39 ++ facter osfamily 21:36:39 ++ tr '[:upper:]' '[:lower:]' 21:36:40 + OS_FAMILY=debian 21:36:40 + workspace=/w/workspace/foundry_device-usb-camera_PR-259 21:36:40 + START_PACKAGES=/tmp/packages_start.txt 21:36:40 + END_PACKAGES=/tmp/packages_end.txt 21:36:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:36:40 + PACKAGES=/tmp/packages_start.txt 21:36:40 + '[' /w/workspace/foundry_device-usb-camera_PR-259 ']' 21:36:40 + PACKAGES=/tmp/packages_end.txt 21:36:40 + case "${OS_FAMILY}" in 21:36:40 + dpkg -l 21:36:40 + grep '^ii' 21:36:40 + '[' -f /tmp/packages_start.txt ']' 21:36:40 + '[' -f /tmp/packages_end.txt ']' 21:36:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:36:40 + '[' /w/workspace/foundry_device-usb-camera_PR-259 ']' 21:36:40 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-259/archives/ 21:36:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-259/archives/ [Pipeline] echo 21:36:40 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-259/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:36:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:41 prd-ubuntu20.04-docker-8c-8g-17367 does not seem to be running inside a container 21:36:41 $ 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-259/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-259 -v /w/workspace/foundry_device-usb-camera_PR-259:/w/workspace/foundry_device-usb-camera_PR-259:rw,z -v /w/workspace/foundry_device-usb-camera_PR-259@tmp:/w/workspace/foundry_device-usb-camera_PR-259@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:36:41 $ docker top 1b219f0907851c7683549dc98b72b7edd68c0cb9b297fdd705bf9f75fdaa8caa -eo pid,comm [Pipeline] { [Pipeline] sh 21:36:41 + touch /tmp/pre-build-complete [Pipeline] sh 21:36:41 + mkdir -p /var/log/sysstat [Pipeline] sh 21:36:42 + ls /var/log/sa-host 21:36:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:42 provisioning config files... 21:36:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-259@tmp/config1501031108779180363tmp [Pipeline] { [Pipeline] echo 21:36:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:36:42 ---> create-netrc.sh [Pipeline] } 21:36:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:36:43 ---> python-tools-install.sh [Pipeline] echo 21:36:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:36:43 ---> sudo-logs.sh 21:36:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:36:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:36:43 ---> job-cost.sh 21:36:43 lf-activate-venv: SKIPPING 21:36:43 DEBUG: total: 0.2199999988079071 21:36:43 INFO: Retrieving Stack Cost... 21:36:43 INFO: Retrieving Pricing Info for: v3-standard-8 21:36:44 INFO: Archiving Costs [Pipeline] echo 21:36:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:36:44 ---> logs-deploy.sh 21:36:44 lf-activate-venv: SKIPPING 21:36:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-259/2 21:36:44 INFO: archiving workspace using pattern(s): 21:36:45 Archives upload complete. 21:36:45 INFO: archiving logs to Nexus