Pull request #270 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 marcpfuller for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 rather than b60faa6e3ebebee523193c9fd2529fb72fa3f4ef Obtained Jenkinsfile from 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 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-ssh6377898535584456288.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh5793202028158860092.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-270/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-270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh558445347377629753.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh12105250026335301816.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-270/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-270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13862414752606010391.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4596’ Running on prd-ubuntu20.04-docker-8c-8g-4599 in /w/workspace/foundry_device-usb-camera_PR-270 [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-270 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 into PR head commit b60faa6e3ebebee523193c9fd2529fb72fa3f4ef > 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/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing d50a08cd35ef33f35101904a56e129cbc2c80d52 Checking out Revision d50a08cd35ef33f35101904a56e129cbc2c80d52 (PR-270) > git config core.sparsecheckout # timeout=10 > git checkout -f b60faa6e3ebebee523193c9fd2529fb72fa3f4ef # 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 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d50a08cd35ef33f35101904a56e129cbc2c80d52 # timeout=10 Commit message: "Merge commit '01fe4c452c1c0c1ad9fb2e18d81433e35514c064' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:57:31 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 56865958aba4700b96cee03fd5b9b89a487d6fc4 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:57:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:57:31 ========================================================= 22:57:31 EdgeX Global Pipelines Version Info 22:57:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:57:32 ------------------- 22:57:32 stable info: 22:57:32 ------------------- 22:57:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:57:32 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 22:57:32 Message: update stable to v1.0.253 22:57:32 ------------------- 22:57:32 experimental info: 22:57:32 ------------------- 22:57:32 Commited By: **** collab-it+edgex@linuxfoundation.org 22:57:32 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 22:57:32 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-270 [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-270 [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-270 [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d50a08cd35ef33f35101904a56e129cbc2c80d52 [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d50a08c [Pipeline] echo 22:57:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:33 provisioning config files... 22:57:33 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config6438742430487407305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:33 ---> docker-login.sh 22:57:33 nexus3.edgexfoundry.org:10001 22:57:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:35 Configure a credential helper to remove this warning. See 22:57:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:35 22:57:35 Login Succeeded 22:57:35 nexus3.edgexfoundry.org:10002 22:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:35 Configure a credential helper to remove this warning. See 22:57:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:35 22:57:35 Login Succeeded 22:57:35 nexus3.edgexfoundry.org:10003 22:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:35 Configure a credential helper to remove this warning. See 22:57:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:35 22:57:35 Login Succeeded 22:57:35 nexus3.edgexfoundry.org:10004 22:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:35 Configure a credential helper to remove this warning. See 22:57:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:35 22:57:35 Login Succeeded 22:57:35 docker.io 22:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:35 Configure a credential helper to remove this warning. See 22:57:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:35 22:57:35 Login Succeeded 22:57:35 ---> docker-login.sh ends [Pipeline] } 22:57:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:57:36 + git rev-list -1 --merges d50a08cd35ef33f35101904a56e129cbc2c80d52~1..d50a08cd35ef33f35101904a56e129cbc2c80d52 [Pipeline] echo 22:57:36 -----------> git rev-list -1 --merges d50a08cd35ef33f35101904a56e129cbc2c80d52~1..d50a08cd35ef33f35101904a56e129cbc2c80d52 d50a08cd35ef33f35101904a56e129cbc2c80d52 22:57:36 d50a08cd35ef33f35101904a56e129cbc2c80d52 [false] [Pipeline] sh 22:57:36 + git log --format=format:%s -1 d50a08cd35ef33f35101904a56e129cbc2c80d52 [Pipeline] echo 22:57:36 ========================================================= 22:57:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:57:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:57:36 + git log --format=format:%s -1 d50a08cd35ef33f35101904a56e129cbc2c80d52 [Pipeline] echo 22:57:36 [semverPrep] GIT_COMMIT: d50a08cd35ef33f35101904a56e129cbc2c80d52, Commit Message: Merge commit '01fe4c452c1c0c1ad9fb2e18d81433e35514c064' into HEAD [Pipeline] echo 22:57:36 [semverPrep] This is not a build commit. [Pipeline] sh 22:57:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:57:37 + grep -v github /etc/ssh/ssh_known_hosts 22:57:37 + [ -e /tmp/ssh_known_hosts ] 22:57:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:57:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:57:37 + sudo tee -a /etc/ssh/ssh_known_hosts 22:57:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:37 22:57:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:38 0.1.4: Pulling from edgex-devops/py-git-semver 22:57:38 b85a868b505f: Pulling fs layer 22:57:38 e2be974225ed: Pulling fs layer 22:57:38 339a4e72a1f5: Pulling fs layer 22:57:38 988bab9f4d93: Pulling fs layer 22:57:38 1469e6f7b9e6: Pulling fs layer 22:57:38 eaf3925da568: Pulling fs layer 22:57:38 bab4dde63d76: Pulling fs layer 22:57:38 bde34c3a00c8: Pulling fs layer 22:57:38 b352a97aabf1: Pulling fs layer 22:57:38 4872d77fe225: Pulling fs layer 22:57:38 5851b861e8e6: Pulling fs layer 22:57:38 bab4dde63d76: Waiting 22:57:38 bde34c3a00c8: Waiting 22:57:38 988bab9f4d93: Waiting 22:57:38 b352a97aabf1: Waiting 22:57:38 1469e6f7b9e6: Waiting 22:57:38 4872d77fe225: Waiting 22:57:38 5851b861e8e6: Waiting 22:57:38 eaf3925da568: Waiting 22:57:38 e2be974225ed: Download complete 22:57:38 988bab9f4d93: Verifying Checksum 22:57:38 988bab9f4d93: Download complete 22:57:38 1469e6f7b9e6: Verifying Checksum 22:57:38 1469e6f7b9e6: Download complete 22:57:38 339a4e72a1f5: Verifying Checksum 22:57:38 339a4e72a1f5: Download complete 22:57:38 eaf3925da568: Verifying Checksum 22:57:38 eaf3925da568: Download complete 22:57:38 bde34c3a00c8: Download complete 22:57:38 b352a97aabf1: Verifying Checksum 22:57:38 b352a97aabf1: Download complete 22:57:38 4872d77fe225: Verifying Checksum 22:57:38 4872d77fe225: Download complete 22:57:38 5851b861e8e6: Verifying Checksum 22:57:38 5851b861e8e6: Download complete 22:57:38 b85a868b505f: Verifying Checksum 22:57:38 b85a868b505f: Download complete 22:57:38 bab4dde63d76: Download complete 22:57:39 b85a868b505f: Pull complete 22:57:40 e2be974225ed: Pull complete 22:57:40 339a4e72a1f5: Pull complete 22:57:41 988bab9f4d93: Pull complete 22:57:41 1469e6f7b9e6: Pull complete 22:57:41 eaf3925da568: Pull complete 22:57:44 bab4dde63d76: Pull complete 22:57:44 bde34c3a00c8: Pull complete 22:57:44 b352a97aabf1: Pull complete 22:57:44 4872d77fe225: Pull complete 22:57:45 5851b861e8e6: Pull complete 22:57:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:57:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:45 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 22:57:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@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 22:57:54 $ docker top 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f -eo pid,comm 22:57:54 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). 22:57:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:57:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:54 [ssh-agent] Looking for ssh-agent implementation... 22:57:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:54 $ docker exec 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f ssh-agent 22:57:54 SSH_AUTH_SOCK=/tmp/ssh-CXzuROjGeWS0/agent.15 22:57:54 SSH_AGENT_PID=21 22:57:54 Running ssh-add (command line suppressed) 22:57:54 Identity added: /w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_4299514191252849399.key (/w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_4299514191252849399.key) 22:57:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:55 + git tag --points-at HEAD [Pipeline] } 22:57:55 $ docker exec --env ******** --env ******** 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f ssh-agent -k 22:57:55 unset SSH_AUTH_SOCK; 22:57:55 unset SSH_AGENT_PID; 22:57:55 echo Agent pid 21 killed; 22:57:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:57:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:55 [ssh-agent] Looking for ssh-agent implementation... 22:57:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:55 $ docker exec 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f ssh-agent 22:57:55 SSH_AUTH_SOCK=/tmp/ssh-xSuIWmetsOXJ/agent.54 22:57:55 SSH_AGENT_PID=60 22:57:55 Running ssh-add (command line suppressed) 22:57:55 Identity added: /w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_7478484195705342075.key (/w/workspace/foundry_device-usb-camera_PR-270@tmp/private_key_7478484195705342075.key) 22:57:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:56 + git semver init 22:57:56 2023-08-25 22:57:56,243 [run_init] DEBUG init version:0.0.0 force:False 22:57:56 2023-08-25 22:57:56,243 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-270/.semver 22:57:56 2023-08-25 22:57:56,244 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-270/.semver 22:57:56 2023-08-25 22:57:56,244 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-270/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-270, universal_newlines=False, shell=None, istream=None) 22:57:57 2023-08-25 22:57:57,062 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-270/.git/info/exclude 22:57:57 2023-08-25 22:57:57,063 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-270/.semver/PR-270 with force:False 22:57:57 2023-08-25 22:57:57,063 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-270/.semver/PR-270 22:57:57 2023-08-25 22:57:57,067 [execute] INFO git cat-file --batch-check 22:57:57 2023-08-25 22:57:57,068 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-270/.semver, universal_newlines=False, shell=None, istream=) 22:57:57 2023-08-25 22:57:57,074 [execute] INFO git cat-file --batch 22:57:57 2023-08-25 22:57:57,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-270/.semver, universal_newlines=False, shell=None, istream=) 22:57:57 2023-08-25 22:57:57,080 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-270/.semver/PR-270 22:57:57 0.0.0 [Pipeline] } 22:57:57 $ docker exec --env ******** --env ******** 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f ssh-agent -k 22:57:57 unset SSH_AUTH_SOCK; 22:57:57 unset SSH_AGENT_PID; 22:57:57 echo Agent pid 60 killed; 22:57:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:57:57 + git semver [Pipeline] } 22:57:57 $ docker stop --time=1 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f 22:57:59 $ docker rm -f --volumes 8ac1dd7ac24fc7314d44401d2bbad5ab21a9683ddc870d1f0649ee1ea4cdb08f [Pipeline] // withDockerContainer [Pipeline] sh 22:58:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:58:00 Stashed 1 file(s) [Pipeline] echo 22:58:00 [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 22:58:00 provisioning config files... 22:58:00 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config12145046363603650279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:00 ---> docker-login.sh 22:58:00 nexus3.edgexfoundry.org:10001 22:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:00 Configure a credential helper to remove this warning. See 22:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:00 22:58:00 Login Succeeded 22:58:00 nexus3.edgexfoundry.org:10002 22:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:00 Configure a credential helper to remove this warning. See 22:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:00 22:58:00 Login Succeeded 22:58:00 nexus3.edgexfoundry.org:10003 22:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:01 Configure a credential helper to remove this warning. See 22:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:01 22:58:01 Login Succeeded 22:58:01 nexus3.edgexfoundry.org:10004 22:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:01 Configure a credential helper to remove this warning. See 22:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:01 22:58:01 Login Succeeded 22:58:01 docker.io 22:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:58:01 Configure a credential helper to remove this warning. See 22:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:58:01 22:58:01 Login Succeeded 22:58:01 ---> docker-login.sh ends [Pipeline] } 22:58:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:58:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:58:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:58:01 ========================================================= 22:58:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:58:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:01 + 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 . 22:58:01 Sending build context to Docker daemon 2.198MB 22:58:01 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:58:01 Step 2/13 : FROM ${BASE} AS builder 22:58:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:58:02 4db1b89c0bd1: Pulling fs layer 22:58:02 6911f1a30b25: Pulling fs layer 22:58:02 e194b8c5c2a9: Pulling fs layer 22:58:02 6863d3e3a2b1: Pulling fs layer 22:58:02 ec0bb842ea78: Pulling fs layer 22:58:02 40a00589a448: Pulling fs layer 22:58:02 6c08303d61cc: Pulling fs layer 22:58:02 798269fcf238: Pulling fs layer 22:58:02 6c08303d61cc: Waiting 22:58:02 6863d3e3a2b1: Waiting 22:58:02 798269fcf238: Waiting 22:58:02 ec0bb842ea78: Waiting 22:58:02 40a00589a448: Waiting 22:58:02 6911f1a30b25: Download complete 22:58:02 6863d3e3a2b1: Download complete 22:58:02 ec0bb842ea78: Download complete 22:58:02 4db1b89c0bd1: Download complete 22:58:02 40a00589a448: Verifying Checksum 22:58:02 40a00589a448: Download complete 22:58:02 4db1b89c0bd1: Pull complete 22:58:02 798269fcf238: Verifying Checksum 22:58:02 798269fcf238: Download complete 22:58:02 e194b8c5c2a9: Download complete 22:58:03 6911f1a30b25: Pull complete 22:58:03 6c08303d61cc: Verifying Checksum 22:58:03 6c08303d61cc: Download complete 22:58:06 e194b8c5c2a9: Pull complete 22:58:06 6863d3e3a2b1: Pull complete 22:58:06 ec0bb842ea78: Pull complete 22:58:06 40a00589a448: Pull complete 22:58:09 6c08303d61cc: Pull complete 22:58:10 798269fcf238: Pull complete 22:58:10 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 22:58:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:58:10 ---> ec979cd7f677 22:58:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:58:15 Still waiting to schedule task 22:58:15 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4597’ is offline 22:58:23 ---> Running in bddeb3bcda7d 22:58:23 Removing intermediate container bddeb3bcda7d 22:58:23 ---> 434250967c60 22:58:23 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:58:23 ---> Running in ce70ecc5d4c5 22:58:23 Removing intermediate container ce70ecc5d4c5 22:58:23 ---> 5279dfb62fe7 22:58:23 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:58:23 ---> Running in 2f4f4633e304 22:58:23 Removing intermediate container 2f4f4633e304 22:58:23 ---> f4238f47333c 22:58:23 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:58:23 ---> Running in 4b96cdd00e7c 22:58:23 Removing intermediate container 4b96cdd00e7c 22:58:23 ---> 38bccf7d9f1e 22:58:23 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:58:23 ---> Running in 2469ef1b8a21 22:58:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:58:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:58:23 (1/14) Installing libintl (0.21.1-r1) 22:58:23 (2/14) Installing eudev-libs (3.2.11-r4) 22:58:23 (3/14) Installing libjpeg-turbo (2.1.4-r0) 22:58:23 (4/14) Installing v4l-utils-libs (1.22.1-r2) 22:58:23 (5/14) Installing v4l-utils (1.22.1-r2) 22:58:23 (6/14) Installing udev-init-scripts (35-r1) 22:58:23 (7/14) Installing libblkid (2.38.1-r1) 22:58:23 (8/14) Installing xz-libs (5.2.9-r0) 22:58:23 (9/14) Installing zstd-libs (1.5.5-r0) 22:58:23 (10/14) Installing kmod-libs (30-r1) 22:58:23 (11/14) Installing eudev (3.2.11-r4) 22:58:23 (12/14) Installing eudev-dev (3.2.11-r4) 22:58:23 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 22:58:23 (14/14) Installing v4l-utils-dev (1.22.1-r2) 22:58:23 Executing busybox-1.35.0-r29.trigger 22:58:23 Executing eudev-3.2.11-r4.trigger 22:58:23 OK: 272 MiB in 67 packages 22:58:24 Removing intermediate container 2469ef1b8a21 22:58:24 ---> ee02efedf1f5 22:58:24 Step 8/13 : WORKDIR /device-usb-camera 22:58:24 ---> Running in 6dd589002fd3 22:58:24 Removing intermediate container 6dd589002fd3 22:58:24 ---> 10cfe6fc38d9 22:58:24 Step 9/13 : COPY go.mod vendor* ./ 22:58:24 ---> 3c6c13bb88ca 22:58:24 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:58:24 ---> Running in b6cdea952fad 22:58:56 Removing intermediate container b6cdea952fad 22:58:56 ---> 09549e198cb3 22:58:56 Step 11/13 : COPY . . 22:58:56 ---> e10a6caf5829 22:58:56 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:58:56 ---> Running in a6c76476f95f 22:58:56  % Total % Received % Xferd Average Speed Time Time Time Current 22:58:56     Dload Upload  Total Spent Left Speed 22:58:56  0 0 0 0  0  0 0 0 --:--:-- --:--:-- --:--:--  0 100 1253 100 1253 0 0 10435 0 --:--:-- --:--:-- --:--:-- 10529 22:58:56 Removing intermediate container a6c76476f95f 22:58:56 ---> bb9f610033f5 22:58:56 Step 13/13 : RUN ${MAKE} 22:58:57 ---> Running in 1682172b8fec 22:58:57 noop 22:58:57 Removing intermediate container 1682172b8fec 22:58:57 ---> b3ce646a39b9 22:58:57 Successfully built b3ce646a39b9 22:58:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:58 + docker inspect -f . ci-base-image-x86_64 22:58:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:58 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 22:58:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@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 22:58:58 $ docker top 061b299858faede4b27ee745b97f2b0250d4abffedd65dae38008ff45417f0ba -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:58 + go version 22:58:58 go version go1.20.6 linux/amd64 [Pipeline] } 22:58:58 $ docker stop --time=1 061b299858faede4b27ee745b97f2b0250d4abffedd65dae38008ff45417f0ba 22:59:00 $ docker rm -f --volumes 061b299858faede4b27ee745b97f2b0250d4abffedd65dae38008ff45417f0ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:00 + docker inspect -f . ci-base-image-x86_64 22:59:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:00 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 22:59:00 $ 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-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@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 22:59:01 $ docker top 846de0c57bfb8800fb8c32f87db08e2ac96e8bd99d6a35d4f5190b26ff68a0fb -eo pid,comm [Pipeline] { [Pipeline] sh 22:59:01 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-270 [Pipeline] fileExists [Pipeline] sh 22:59:01 + make test 22:59:01 go test ./... -coverprofile=coverage.out ./... 22:59:07 ? github.com/edgexfoundry/device-usb-camera [no test files] 22:59:16 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 22:59:17 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.020s coverage: 4.4% of statements 22:59:24 go vet ./... 22:59:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:59:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:59:27 ./bin/test-attribution-txt.sh [Pipeline] echo 22:59:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:59:27 $ docker stop --time=1 846de0c57bfb8800fb8c32f87db08e2ac96e8bd99d6a35d4f5190b26ff68a0fb 22:59:30 $ docker rm -f --volumes 846de0c57bfb8800fb8c32f87db08e2ac96e8bd99d6a35d4f5190b26ff68a0fb [Pipeline] // withDockerContainer [Pipeline] sh 22:59:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:59:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:59:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:59:32 + ls -al . 22:59:32 total 220 22:59:32 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 22:59 . 22:59:32 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 22:57 .. 22:59:32 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 22:57 .git 22:59:32 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 22:57 .github 22:59:32 -rw-rw-r-- 1 jenkins jenkins 414 Aug 25 22:57 .gitignore 22:59:32 -rw-rw-r-- 1 jenkins jenkins 45 Aug 25 22:57 .golangci.yml 22:59:32 -rw-rw-r-- 1 jenkins jenkins 77 Aug 25 22:57 .hadolint.yml 22:59:32 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 22:57 .semver 22:59:32 -rw-rw-r-- 1 jenkins jenkins 10960 Aug 25 22:57 Attribution.txt 22:59:32 -rw-rw-r-- 1 jenkins jenkins 11903 Aug 25 22:57 CHANGELOG.md 22:59:32 -rw-rw-r-- 1 jenkins jenkins 2453 Aug 25 22:57 Dockerfile 22:59:32 -rw-rw-r-- 1 jenkins jenkins 678 Aug 25 22:57 GOVERNANCE.md 22:59:32 -rw-rw-r-- 1 jenkins jenkins 659 Aug 25 22:57 Jenkinsfile 22:59:32 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 22:57 LICENSE 22:59:32 -rw-rw-r-- 1 jenkins jenkins 2490 Aug 25 22:57 Makefile 22:59:32 -rw-rw-r-- 1 jenkins jenkins 622 Aug 25 22:57 OWNERS.md 22:59:32 -rw-rw-r-- 1 jenkins jenkins 2575 Aug 25 22:57 README.md 22:59:32 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 22:58 VERSION 22:59:32 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 22:57 bin 22:59:32 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 22:57 cmd 22:59:32 -rw-r--r-- 1 jenkins jenkins 54289 Aug 25 22:59 coverage.out 22:59:32 -rwxrwxr-x 1 jenkins jenkins 84 Aug 25 22:57 docker-entrypoint.sh 22:59:32 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 22:57 docs 22:59:32 -rw-rw-r-- 1 jenkins jenkins 3994 Aug 25 22:57 go.mod 22:59:32 -rw-rw-r-- 1 jenkins jenkins 34415 Aug 25 22:57 go.sum 22:59:32 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 22:57 internal 22:59:32 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 22:57 snap 22:59:32 -rw-rw-r-- 1 jenkins jenkins 231 Aug 25 22:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:32 + 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=d50a08cd35ef33f35101904a56e129cbc2c80d52 --label arch=amd64 --label version=0.0.0 . 22:59:32 Sending build context to Docker daemon 2.253MB 22:59:32 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 22:59:32 Step 2/36 : FROM ${BASE} AS builder 22:59:32 ---> b3ce646a39b9 22:59:32 Step 3/36 : ARG ADD_BUILD_TAGS="" 22:59:32 ---> Running in e6d16efaade1 22:59:32 Removing intermediate container e6d16efaade1 22:59:32 ---> 90cce528dd46 22:59:32 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:59:32 ---> Running in 8db213934381 22:59:32 Removing intermediate container 8db213934381 22:59:32 ---> db82cf7a9ca1 22:59:32 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 22:59:32 ---> Running in 794c31411627 22:59:32 Removing intermediate container 794c31411627 22:59:32 ---> 2954a5fd6342 22:59:32 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 22:59:32 ---> Running in a4310606c073 22:59:33 Removing intermediate container a4310606c073 22:59:33 ---> 1629c82722d7 22:59:33 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:59:33 ---> Running in 0f9f3889c130 22:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:59:33 OK: 272 MiB in 67 packages 22:59:34 Removing intermediate container 0f9f3889c130 22:59:34 ---> de20d660cd9c 22:59:34 Step 8/36 : WORKDIR /device-usb-camera 22:59:34 ---> Running in 21e794601465 22:59:34 Removing intermediate container 21e794601465 22:59:34 ---> b950f489a9b0 22:59:34 Step 9/36 : COPY go.mod vendor* ./ 22:59:34 ---> 579c225efa7d 22:59:34 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:59:34 ---> Running in 2c971f6c7d1d 22:59:35 Removing intermediate container 2c971f6c7d1d 22:59:35 ---> 0237a9993555 22:59:35 Step 11/36 : COPY . . 22:59:35 ---> 6c2d8439ded4 22:59:35 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 22:59:35 ---> Running in 1bc8705afd94 22:59:35  % Total % Received % Xferd Average Speed  Time Time  Time Current 22:59:35   Dload Upload Total  Spent Left Speed 22:59:35  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 24464 0 --:--:-- --:--:-- --:--:-- 25060 22:59:36 Removing intermediate container 1bc8705afd94 22:59:36 ---> 209fb9a5321a 22:59:36 Step 13/36 : RUN ${MAKE} 22:59:36 ---> Running in b90601702320 22:59:36 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 22:59:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4601 in /w/workspace/foundry_device-usb-camera_PR-270 [Pipeline] { [Pipeline] ws 22:59:45 Running in /w/workspace/device-usb-camera/7 [Pipeline] { [Pipeline] checkout 22:59:45 Selected Git installation does not exist. Using Default 22:59:45 The recommended git tool is: NONE 22:59:50 using credential edgex-jenkins-ssh 22:59:50 Cloning the remote Git repository 22:59:50 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 22:59:50 > git init /w/workspace/device-usb-camera/7 # timeout=10 22:59:50 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 22:59:50 > git --version # timeout=10 22:59:50 > git --version # 'git version 2.25.1' 22:59:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:59:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:59:51 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 22:59:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:59:52 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 22:59:52 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 22:59:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:59:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/270/head:refs/remotes/origin/PR-270 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:59:53 Merging remotes/origin/main commit 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 into PR head commit b60faa6e3ebebee523193c9fd2529fb72fa3f4ef 22:59:53 Merge succeeded, producing 9499fb83fe6abb5e78a80dfbc2a979056a706d6a 22:59:53 Checking out Revision 9499fb83fe6abb5e78a80dfbc2a979056a706d6a (PR-270) 22:59:53 > git config core.sparsecheckout # timeout=10 22:59:53 > git checkout -f b60faa6e3ebebee523193c9fd2529fb72fa3f4ef # timeout=10 22:59:53 > git remote # timeout=10 22:59:53 > git config --get remote.origin.url # timeout=10 22:59:53 using GIT_SSH to set credentials SSH Credentials for GitHub 22:59:53 > git merge 01fe4c452c1c0c1ad9fb2e18d81433e35514c064 # timeout=10 22:59:53 > git rev-parse HEAD^{commit} # timeout=10 22:59:53 > git config core.sparsecheckout # timeout=10 22:59:53 > git checkout -f 9499fb83fe6abb5e78a80dfbc2a979056a706d6a # timeout=10 22:59:57 Commit message: "Merge commit '01fe4c452c1c0c1ad9fb2e18d81433e35514c064' into HEAD" 22:59:57 First time build. Skipping changelog. 22:59:57 > git rev-list --no-walk 56865958aba4700b96cee03fd5b9b89a487d6fc4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:59:58 % Total % Received % Xferd Average Speed Time Time Time Current 22:59:58 Dload Upload Total Spent Left Speed 22:59:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 108k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh 22:59:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:59:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 22:59:59 sudo tee /etc/docker/daemon.new 22:59:59 { 22:59:59 "registry-mirrors": [ 22:59:59 "https://nexus3.edgexfoundry.org:10001" 22:59:59 ], 22:59:59 "bip": "10.250.0.254/24", 22:59:59 "hosts": [ 22:59:59 "tcp://0.0.0.0:5555", 22:59:59 "unix:///var/run/docker.sock" 22:59:59 ], 22:59:59 "mtu": 1458, 22:59:59 "selinux-enabled": true, 22:59:59 "seccomp-profile": "/etc/docker/seccomp.json" 22:59:59 } [Pipeline] sh 22:59:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:59:59 + sudo service docker restart 23:00:03 Removing intermediate container b90601702320 23:00:03 ---> 778c79e7fb38 23:00:03 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 23:00:03 v0.21.6: Pulling from aler9/rtsp-simple-server 23:00:03 4acc49c71d14: Pulling fs layer 23:00:03 4acc49c71d14: Download complete 23:00:03 4acc49c71d14: Pull complete 23:00:03 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 23:00:03 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 23:00:03 ---> 01a2bd3e5fff 23:00:03 Step 15/36 : FROM alpine:3.17 23:00:03 3.17: Pulling from library/alpine 23:00:03 9398808236ff: Pulling fs layer 23:00:03 9398808236ff: Download complete 23:00:03 9398808236ff: Pull complete 23:00:03 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 23:00:03 Status: Downloaded newer image for alpine:3.17 23:00:03 ---> 1e0b8b5322fc 23:00:03 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:00:03 ---> Running in edc80157c83a 23:00:03 Removing intermediate container edc80157c83a 23:00:03 ---> 08a670061cef 23:00:03 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 23:00:03 ---> Running in cff5cccddaab 23:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:00:03 (1/86) Installing dumb-init (1.2.5-r2) 23:00:03 (2/86) Installing sdl2 (2.26.5-r0) 23:00:03 (3/86) Installing svt-av1-libs (1.3.0-r0) 23:00:03 (4/86) Installing libxau (1.0.10-r0) 23:00:03 (5/86) Installing libmd (1.0.4-r0) 23:00:03 (6/86) Installing libbsd (0.11.7-r0) 23:00:03 (7/86) Installing libxdmcp (1.1.4-r0) 23:00:03 (8/86) Installing libxcb (1.15-r0) 23:00:03 (9/86) Installing libx11 (1.8.4-r1) 23:00:03 (10/86) Installing aom-libs (3.5.0-r0) 23:00:03 (11/86) Installing alsa-lib (1.2.8-r0) 23:00:03 (12/86) Installing libexpat (2.5.0-r0) 23:00:03 (13/86) Installing brotli-libs (1.0.9-r9) 23:00:03 (14/86) Installing libbz2 (1.0.8-r4) 23:00:03 (15/86) Installing libpng (1.6.39-r0) 23:00:03 (16/86) Installing freetype (2.12.1-r0) 23:00:03 (17/86) Installing fontconfig (2.14.1-r0) 23:00:03 (18/86) Installing fribidi (1.0.12-r0) 23:00:03 (19/86) Installing libffi (3.4.4-r0) 23:00:03 (20/86) Installing libintl (0.21.1-r1) 23:00:03 (21/86) Installing libblkid (2.38.1-r1) 23:00:03 (22/86) Installing libmount (2.38.1-r1) 23:00:03 (23/86) Installing pcre2 (10.42-r0) 23:00:03 (24/86) Installing glib (2.74.7-r0) 23:00:03 (25/86) Installing graphite2 (1.3.14-r2) 23:00:03 (26/86) Installing harfbuzz (5.3.1-r1) 23:00:03 (27/86) Installing libass (0.16.0-r1) 23:00:03 (28/86) Installing libdav1d (1.0.0-r2) 23:00:03 (29/86) Installing hwdata-pci (0.364-r0) 23:00:04 (30/86) Installing libpciaccess (0.17-r0) 23:00:04 (31/86) Installing libdrm (2.4.114-r0) 23:00:04 (32/86) Installing gmp (6.2.1-r2) 23:00:04 (33/86) Installing nettle (3.8.1-r0) 23:00:04 (34/86) Installing p11-kit (0.24.1-r1) 23:00:04 (35/86) Installing libtasn1 (4.19.0-r0) 23:00:04 (36/86) Installing libunistring (1.1-r0) 23:00:04 (37/86) Installing gnutls (3.7.8-r3) 23:00:04 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 23:00:04 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 23:00:04 (40/86) Installing lame (3.100-r2) 23:00:04 (41/86) Installing opus (1.3.1-r1) 23:00:04 (42/86) Installing libasyncns (0.8-r1) 23:00:04 (43/86) Installing dbus-libs (1.14.8-r0) 23:00:04 (44/86) Installing libltdl (2.4.7-r1) 23:00:04 (45/86) Installing orc (0.4.33-r0) 23:00:04 (46/86) Installing libgcc (12.2.1_git20220924-r4) 23:00:04 (47/86) Installing libogg (1.3.5-r2) 23:00:04 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 23:00:04 (49/86) Installing flac-libs (1.4.2-r0) 23:00:04 (50/86) Installing libvorbis (1.3.7-r0) 23:00:04 (51/86) Installing libsndfile (1.1.0-r2) 23:00:04 (52/86) Installing libgomp (12.2.1_git20220924-r4) 23:00:04 (53/86) Installing soxr (0.1.3-r3) 23:00:04 (54/86) Installing speexdsp (1.2.1-r0) 23:00:04 (55/86) Installing tdb-libs (1.4.6-r0) 23:00:04 (56/86) Installing libpulse (16.1-r6) 23:00:04 (57/86) Installing cjson (1.7.15-r3) 23:00:04 (58/86) Installing mbedtls (2.28.4-r0) 23:00:04 (59/86) Installing librist (0.2.7-r0) 23:00:04 (60/86) Installing libsrt (1.5.1-r0) 23:00:04 (61/86) Installing libssh (0.10.5-r0) 23:00:04 (62/86) Installing libtheora (1.1.1-r16) 23:00:04 (63/86) Installing libjpeg-turbo (2.1.4-r0) 23:00:04 (64/86) Installing v4l-utils-libs (1.22.1-r2) 23:00:04 (65/86) Installing libxext (1.3.5-r0) 23:00:04 (66/86) Installing libxfixes (6.0.0-r0) 23:00:04 (67/86) Installing wayland-libs-client (1.21.0-r1) 23:00:04 (68/86) Installing libva (2.16.0-r0) 23:00:04 (69/86) Installing libvdpau (1.5-r0) 23:00:04 (70/86) Installing vidstab (1.1.0-r2) 23:00:04 (71/86) Installing libvpx (1.12.0-r1) 23:00:04 (72/86) Installing libwebp (1.2.4-r2) 23:00:04 (73/86) Installing x264-libs (0.164_git20220602-r0) 23:00:04 (74/86) Installing numactl (2.0.16-r1) 23:00:04 (75/86) Installing x265-libs (3.5-r3) 23:00:04 (76/86) Installing xvidcore (1.3.7-r1) 23:00:04 (77/86) Installing libsodium (1.0.18-r2) 23:00:04 (78/86) Installing libzmq (4.3.4-r1) 23:00:04 (79/86) Installing ffmpeg-libs (5.1.3-r0) 23:00:04 (80/86) Installing ffmpeg (5.1.3-r0) 23:00:04 (81/86) Installing udev-init-scripts (35-r1) 23:00:04 (82/86) Installing eudev-libs (3.2.11-r4) 23:00:04 (83/86) Installing xz-libs (5.2.9-r0) 23:00:04 (84/86) Installing zstd-libs (1.5.5-r0) 23:00:04 (85/86) Installing kmod-libs (30-r1) 23:00:04 (86/86) Installing eudev (3.2.11-r4) 23:00:04 Executing busybox-1.35.0-r29.trigger 23:00:04 Executing eudev-3.2.11-r4.trigger 23:00:04 OK: 112 MiB in 101 packages 23:00:08 Removing intermediate container cff5cccddaab 23:00:08 ---> 1d8261548c2c 23:00:08 Step 18/36 : WORKDIR / 23:00:08 ---> Running in b45fb5df456b 23:00:08 Removing intermediate container b45fb5df456b 23:00:08 ---> 9cfcfd77204d 23:00:08 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 23:00:09 ---> b23e5cec6684 23:00:09 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 23:00:09 ---> 4911d10e11e6 23:00:09 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 23:00:09 ---> 5310346e2d93 23:00:09 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 23:00:09 ---> ad40059ff620 23:00:09 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 23:00:09 ---> 7d69af1e7167 23:00:09 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 23:00:09 ---> 6d1037f36740 23:00:09 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 23:00:10 ---> 791bf34a6513 23:00:10 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 23:00:10 ---> Running in 590232bcd0c2 23:00:11 Removing intermediate container 590232bcd0c2 23:00:11 ---> 2f27a5ac2f0c 23:00:11 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 23:00:11 ---> Running in 4280cde7b46d 23:00:12 Removing intermediate container 4280cde7b46d 23:00:12 ---> b3ab73b11840 23:00:12 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 23:00:12 ---> Running in e1d091107171 23:00:12 Removing intermediate container e1d091107171 23:00:12 ---> 0a322a880f67 23:00:12 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 23:00:12 ---> Running in cdbd1ac0ad56 23:00:13 Removing intermediate container cdbd1ac0ad56 23:00:13 ---> f35b1c538deb 23:00:13 Step 30/36 : EXPOSE 59983 23:00:13 ---> Running in 3dfeb32771f0 23:00:13 Removing intermediate container 3dfeb32771f0 23:00:13 ---> 8481175b3ee7 23:00:13 Step 31/36 : EXPOSE 8554 23:00:13 ---> Running in 8156d9a531c2 23:00:13 Removing intermediate container 8156d9a531c2 23:00:13 ---> 4648ca9df7ec 23:00:13 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 23:00:13 ---> Running in d507d3f2b5ce 23:00:13 Removing intermediate container d507d3f2b5ce 23:00:13 ---> fa0ba55bd157 23:00:13 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 23:00:13 ---> Running in 728b8d7cbde4 23:00:13 Removing intermediate container 728b8d7cbde4 23:00:13 ---> b3fb1a4ae788 23:00:13 Step 34/36 : LABEL arch=amd64 23:00:13 ---> Running in 477b019b0ebb 23:00:13 Removing intermediate container 477b019b0ebb 23:00:13 ---> ade12ea59b0e 23:00:13 Step 35/36 : LABEL git_sha=d50a08cd35ef33f35101904a56e129cbc2c80d52 23:00:13 ---> Running in 3b59a7519356 23:00:13 Removing intermediate container 3b59a7519356 23:00:13 ---> ad9a7001da23 23:00:13 Step 36/36 : LABEL version=0.0.0 23:00:13 ---> Running in d9b3e2c62f3f 23:00:13 Removing intermediate container d9b3e2c62f3f 23:00:13 ---> dc13457542cf 23:00:13 [Warning] One or more build-args [ARCH] were not consumed 23:00:13 Successfully built dc13457542cf 23:00:13 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 23:00:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:00:14 23:00:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:00:14 latest: Pulling from edgex-lftools-log-publisher 23:00:14 5eb5b503b376: Pulling fs layer 23:00:14 5c69ac0246d0: Pulling fs layer 23:00:14 ec43610c2a17: Pulling fs layer 23:00:14 3a2ae6a8a46f: Pulling fs layer 23:00:14 33b1e0a273af: Pulling fs layer 23:00:14 5d3b04190fa2: Pulling fs layer 23:00:14 2f39f015ded8: Pulling fs layer 23:00:14 5d3b04190fa2: Waiting 23:00:14 2f39f015ded8: Waiting 23:00:14 3a2ae6a8a46f: Waiting 23:00:14 33b1e0a273af: Waiting 23:00:14 5c69ac0246d0: Verifying Checksum 23:00:14 5c69ac0246d0: Download complete 23:00:14 3a2ae6a8a46f: Verifying Checksum 23:00:14 3a2ae6a8a46f: Download complete 23:00:14 33b1e0a273af: Verifying Checksum 23:00:14 33b1e0a273af: Download complete 23:00:14 5d3b04190fa2: Verifying Checksum 23:00:14 5d3b04190fa2: Download complete 23:00:14 ec43610c2a17: Verifying Checksum 23:00:14 5eb5b503b376: Verifying Checksum 23:00:14 5eb5b503b376: Download complete 23:00:15 2f39f015ded8: Download complete 23:00:16 5eb5b503b376: Pull complete 23:00:16 5c69ac0246d0: Pull complete 23:00:16 ec43610c2a17: Pull complete 23:00:16 3a2ae6a8a46f: Pull complete 23:00:17 33b1e0a273af: Pull complete 23:00:17 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:00:18 provisioning config files... 23:00:18 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/7@tmp/config17918004050230473895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:18 ---> docker-login.sh 23:00:18 nexus3.edgexfoundry.org:10001 23:00:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:18 Configure a credential helper to remove this warning. See 23:00:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:18 23:00:18 Login Succeeded 23:00:18 nexus3.edgexfoundry.org:10002 23:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:19 Configure a credential helper to remove this warning. See 23:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:19 23:00:19 Login Succeeded 23:00:19 nexus3.edgexfoundry.org:10003 23:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:19 Configure a credential helper to remove this warning. See 23:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:19 23:00:19 Login Succeeded 23:00:19 nexus3.edgexfoundry.org:10004 23:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:20 Configure a credential helper to remove this warning. See 23:00:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:20 23:00:20 Login Succeeded 23:00:20 docker.io 23:00:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:20 Configure a credential helper to remove this warning. See 23:00:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:20 23:00:20 Login Succeeded 23:00:20 ---> docker-login.sh ends [Pipeline] } 23:00:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:00:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:00:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:00:20 ========================================================= 23:00:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:00:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:21 + 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 . 23:00:21 2f39f015ded8: Pull complete 23:00:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:00:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:00:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:21 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 23:00:21 $ 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-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@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 23:00:21 Sending build context to Docker daemon 1.36MB 23:00:21 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:00:21 Step 2/13 : FROM ${BASE} AS builder 23:00:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:00:21 edb6bdbacee9: Pulling fs layer 23:00:21 5f9638ab2659: Pulling fs layer 23:00:21 8d51d6327a98: Pulling fs layer 23:00:21 8b374f2dd631: Pulling fs layer 23:00:21 ec14aa9079de: Pulling fs layer 23:00:21 2f466654f4bb: Pulling fs layer 23:00:21 554e91adad29: Pulling fs layer 23:00:21 ec14aa9079de: Waiting 23:00:21 2f466654f4bb: Waiting 23:00:21 554e91adad29: Waiting 23:00:21 8b374f2dd631: Waiting 23:00:21 5f9638ab2659: Verifying Checksum 23:00:21 5f9638ab2659: Download complete 23:00:21 8b374f2dd631: Verifying Checksum 23:00:21 8b374f2dd631: Download complete 23:00:21 ec14aa9079de: Verifying Checksum 23:00:21 ec14aa9079de: Download complete 23:00:21 edb6bdbacee9: Verifying Checksum 23:00:21 edb6bdbacee9: Download complete 23:00:22 edb6bdbacee9: Pull complete 23:00:23 554e91adad29: Verifying Checksum 23:00:23 554e91adad29: Download complete 23:00:24 8d51d6327a98: Verifying Checksum 23:00:24 2f466654f4bb: Verifying Checksum 23:00:24 2f466654f4bb: Download complete 23:00:25 $ docker top 71b5e4d584a5b005dd13f6adf08ce33e8733d49fadb808b06c2a2044e885cf01 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:25 ---> job-cost.sh 23:00:25 lf-activate-venv: SKIPPING 23:00:25 INFO: No Stack... 23:00:26 INFO: Retrieving Pricing Info for: v3-standard-8 23:00:26 5f9638ab2659: Pull complete 23:00:26 INFO: Archiving Costs [Pipeline] sh 23:00:26 + cat /w/workspace/foundry_device-usb-camera_PR-270/archives/cost.csv 23:00:26 + cut -d, -f6 [Pipeline] lock 23:00:26 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] 23:00:26 Resource [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] did not exist. Created. 23:00:26 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:00:27 + echo total: 0.2199999988079071 [Pipeline] stash 23:00:27 Stashed 1 file(s) [Pipeline] } 23:00:27 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:00:27 $ docker stop --time=1 71b5e4d584a5b005dd13f6adf08ce33e8733d49fadb808b06c2a2044e885cf01 23:00:28 $ docker rm -f --volumes 71b5e4d584a5b005dd13f6adf08ce33e8733d49fadb808b06c2a2044e885cf01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:00:41 8d51d6327a98: Pull complete 23:00:41 8b374f2dd631: Pull complete 23:00:41 ec14aa9079de: Pull complete 23:00:46 2f466654f4bb: Pull complete 23:00:49 554e91adad29: Pull complete 23:00:49 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 23:00:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:00:49 ---> 1e15ea492957 23:00:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:00:50 ---> Running in 6922c44d0575 23:00:51 Removing intermediate container 6922c44d0575 23:00:51 ---> fa1c11b50444 23:00:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:00:51 ---> Running in ce911e661ccb 23:00:51 Removing intermediate container ce911e661ccb 23:00:51 ---> b4d71414656b 23:00:51 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 23:00:51 ---> Running in 9d4ff0fceaff 23:00:51 Removing intermediate container 9d4ff0fceaff 23:00:51 ---> a74931b573d2 23:00:51 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:00:51 ---> Running in 83b3797891bc 23:00:52 Removing intermediate container 83b3797891bc 23:00:52 ---> e1ff071f2ee3 23:00:52 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:00:52 ---> Running in 88bed41586d5 23:00:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:00:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:00:54 (1/14) Installing libintl (0.21.1-r1) 23:00:54 (2/14) Installing eudev-libs (3.2.11-r4) 23:00:54 (3/14) Installing libjpeg-turbo (2.1.4-r0) 23:00:54 (4/14) Installing v4l-utils-libs (1.22.1-r2) 23:00:54 (5/14) Installing v4l-utils (1.22.1-r2) 23:00:55 (6/14) Installing udev-init-scripts (35-r1) 23:00:55 (7/14) Installing libblkid (2.38.1-r1) 23:00:55 (8/14) Installing xz-libs (5.2.9-r0) 23:00:55 (9/14) Installing zstd-libs (1.5.5-r0) 23:00:55 (10/14) Installing kmod-libs (30-r1) 23:00:55 (11/14) Installing eudev (3.2.11-r4) 23:00:55 (12/14) Installing eudev-dev (3.2.11-r4) 23:00:55 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 23:00:55 (14/14) Installing v4l-utils-dev (1.22.1-r2) 23:00:55 Executing busybox-1.35.0-r29.trigger 23:00:55 Executing eudev-3.2.11-r4.trigger 23:00:55 OK: 271 MiB in 67 packages 23:00:56 Removing intermediate container 88bed41586d5 23:00:56 ---> a786aa71f34f 23:00:56 Step 8/13 : WORKDIR /device-usb-camera 23:00:56 ---> Running in c6017c7ea28d 23:00:57 Removing intermediate container c6017c7ea28d 23:00:57 ---> a9f1f44af1cd 23:00:57 Step 9/13 : COPY go.mod vendor* ./ 23:00:57 ---> c6c629b3fd40 23:00:57 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:00:57 ---> Running in 0e059ef1d71f 23:02:05 Removing intermediate container 0e059ef1d71f 23:02:05 ---> f48cb26d2c33 23:02:05 Step 11/13 : COPY . . 23:02:05 ---> 199b6f37bff9 23:02:05 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:02:05 ---> Running in e6defa642229 23:02:05  % Total % Received % Xferd Average Speed Time Time  Time Current 23:02:05 Dload Upload Total Spent Left Speed 23:02:05 0 0 0  0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 5125 0 --:--:-- --:--:-- --:--:-- 5156 23:02:05 Removing intermediate container e6defa642229 23:02:05 ---> ba22e0e3bd04 23:02:05 Step 13/13 : RUN ${MAKE} 23:02:05 ---> Running in 081b4ce324ec 23:02:05 noop 23:02:05 Removing intermediate container 081b4ce324ec 23:02:05 ---> e67080cd999a 23:02:05 Successfully built e67080cd999a 23:02:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:05 + docker inspect -f . ci-base-image-arm64 23:02:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:06 prd-ubuntu20.04-docker-arm64-4c-16g-4601 does not seem to be running inside a container 23:02:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@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 23:02:07 $ docker top 3d3f0c9af829a08403df9b03e620e92880c1424cc3c763863c7e3878e4f8166e -eo pid,comm [Pipeline] { [Pipeline] sh 23:02:08 + go version 23:02:08 go version go1.20.6 linux/arm64 [Pipeline] } 23:02:08 $ docker stop --time=1 3d3f0c9af829a08403df9b03e620e92880c1424cc3c763863c7e3878e4f8166e 23:02:09 $ docker rm -f --volumes 3d3f0c9af829a08403df9b03e620e92880c1424cc3c763863c7e3878e4f8166e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:10 + docker inspect -f . ci-base-image-arm64 23:02:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:10 prd-ubuntu20.04-docker-arm64-4c-16g-4601 does not seem to be running inside a container 23:02:10 $ 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/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@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 23:02:13 $ docker top 25e6bb2668ceba12bea8cdc20f2cf28367389d391a99c262e5fdec78ccf3bc23 -eo pid,comm [Pipeline] { [Pipeline] sh 23:02:14 + git config --global --add safe.directory /w/workspace/device-usb-camera/7 [Pipeline] fileExists [Pipeline] sh 23:02:15 + make test 23:02:15 go test ./... -coverprofile=coverage.out ./... 23:02:47 ? github.com/edgexfoundry/device-usb-camera [no test files] 23:04:53 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 23:05:02 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.093s coverage: 4.4% of statements 23:05:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:05:02 go vet ./... 23:05:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:05:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:05:41 ./bin/test-attribution-txt.sh [Pipeline] echo 23:05:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:05:41 $ docker stop --time=1 25e6bb2668ceba12bea8cdc20f2cf28367389d391a99c262e5fdec78ccf3bc23 23:05:42 $ docker rm -f --volumes 25e6bb2668ceba12bea8cdc20f2cf28367389d391a99c262e5fdec78ccf3bc23 [Pipeline] // withDockerContainer [Pipeline] sh 23:05:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:05:43 Warning: overwriting stash ‘coverage-report’ 23:05:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:05:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:05:45 + ls -al . 23:05:45 total 216 23:05:45 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 23:02 . 23:05:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 22:59 .. 23:05:45 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 22:59 .git 23:05:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 22:59 .github 23:05:45 -rw-rw-r-- 1 jenkins jenkins 414 Aug 25 22:59 .gitignore 23:05:45 -rw-rw-r-- 1 jenkins jenkins 45 Aug 25 22:59 .golangci.yml 23:05:45 -rw-rw-r-- 1 jenkins jenkins 77 Aug 25 22:59 .hadolint.yml 23:05:45 -rw-rw-r-- 1 jenkins jenkins 10960 Aug 25 22:59 Attribution.txt 23:05:45 -rw-rw-r-- 1 jenkins jenkins 11903 Aug 25 22:59 CHANGELOG.md 23:05:45 -rw-rw-r-- 1 jenkins jenkins 2453 Aug 25 22:59 Dockerfile 23:05:45 -rw-rw-r-- 1 jenkins jenkins 678 Aug 25 22:59 GOVERNANCE.md 23:05:45 -rw-rw-r-- 1 jenkins jenkins 659 Aug 25 22:59 Jenkinsfile 23:05:45 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 25 22:59 LICENSE 23:05:45 -rw-rw-r-- 1 jenkins jenkins 2490 Aug 25 22:59 Makefile 23:05:45 -rw-rw-r-- 1 jenkins jenkins 622 Aug 25 22:59 OWNERS.md 23:05:45 -rw-rw-r-- 1 jenkins jenkins 2575 Aug 25 22:59 README.md 23:05:45 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 22:58 VERSION 23:05:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 22:59 bin 23:05:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 22:59 cmd 23:05:45 -rw-r--r-- 1 jenkins jenkins 54289 Aug 25 23:05 coverage.out 23:05:45 -rwxrwxr-x 1 jenkins jenkins 84 Aug 25 22:59 docker-entrypoint.sh 23:05:45 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 22:59 docs 23:05:45 -rw-rw-r-- 1 jenkins jenkins 3994 Aug 25 22:59 go.mod 23:05:45 -rw-rw-r-- 1 jenkins jenkins 34415 Aug 25 22:59 go.sum 23:05:45 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 22:59 internal 23:05:45 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 22:59 snap 23:05:45 -rw-rw-r-- 1 jenkins jenkins 231 Aug 25 22:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:45 + 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=9499fb83fe6abb5e78a80dfbc2a979056a706d6a --label arch=arm64 --label version=0.0.0 . 23:05:45 Sending build context to Docker daemon 1.416MB 23:05:45 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 23:05:45 Step 2/36 : FROM ${BASE} AS builder 23:05:45 ---> e67080cd999a 23:05:45 Step 3/36 : ARG ADD_BUILD_TAGS="" 23:05:46 ---> Running in a7414e071122 23:05:46 Removing intermediate container a7414e071122 23:05:46 ---> a135924a4eba 23:05:46 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:05:46 ---> Running in 2ac579ef02f4 23:05:46 Removing intermediate container 2ac579ef02f4 23:05:46 ---> 44a3dd6b66f1 23:05:46 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 23:05:46 ---> Running in a7917bef6dcc 23:05:46 Removing intermediate container a7917bef6dcc 23:05:46 ---> f132dde7bdbc 23:05:46 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:05:46 ---> Running in eb50a6dc4f48 23:05:47 Removing intermediate container eb50a6dc4f48 23:05:47 ---> 9d54485d35bb 23:05:47 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:05:47 ---> Running in f56d07eb2f65 23:05:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:05:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:05:49 OK: 271 MiB in 67 packages 23:05:51 Removing intermediate container f56d07eb2f65 23:05:51 ---> 9ae5a56dc5fd 23:05:51 Step 8/36 : WORKDIR /device-usb-camera 23:05:51 ---> Running in 7d46d247f136 23:05:51 Removing intermediate container 7d46d247f136 23:05:51 ---> 0a3dc18534cb 23:05:51 Step 9/36 : COPY go.mod vendor* ./ 23:05:52 ---> bc2630c97a45 23:05:52 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:05:52 ---> Running in f7d3427837b6 23:05:55 Removing intermediate container f7d3427837b6 23:05:55 ---> 20b018304a76 23:05:55 Step 11/36 : COPY . . 23:05:56 ---> 2824e6ab7d84 23:05:56 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:05:56 ---> Running in 94c3d96167e9 23:05:56  % Total % Received % Xferd Average Speed Time Time  Time Current 23:05:56   Dload Upload Total  Spent Left Speed 23:05:57 0  0  0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1253 100 1253 0 0 3960 0 --:--:-- --:--:-- --:--:-- 3965 23:05:57 Removing intermediate container 94c3d96167e9 23:05:57 ---> e60594257266 23:05:57 Step 13/36 : RUN ${MAKE} 23:05:58 ---> Running in 472925d2fc09 23:05:59 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 23:08:35 Removing intermediate container 472925d2fc09 23:08:35 ---> afef5d0f24a2 23:08:35 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 23:08:35 v0.21.6: Pulling from aler9/rtsp-simple-server 23:08:35 8766b47fe142: Pulling fs layer 23:08:35 8766b47fe142: Verifying Checksum 23:08:35 8766b47fe142: Download complete 23:08:35 8766b47fe142: Pull complete 23:08:35 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 23:08:35 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 23:08:35 ---> 69d40e2cb93c 23:08:35 Step 15/36 : FROM alpine:3.17 23:08:35 3.17: Pulling from library/alpine 23:08:35 4060ece20d7a: Pulling fs layer 23:08:35 4060ece20d7a: Verifying Checksum 23:08:35 4060ece20d7a: Download complete 23:08:35 4060ece20d7a: Pull complete 23:08:35 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 23:08:35 Status: Downloaded newer image for alpine:3.17 23:08:35 ---> 8650cd65339b 23:08:35 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:08:35 ---> Running in 72201d0b4104 23:08:35 Removing intermediate container 72201d0b4104 23:08:35 ---> 247bb6b4ca30 23:08:35 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 23:08:35 ---> Running in d7e72124abd6 23:08:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:08:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:08:35 (1/83) Installing dumb-init (1.2.5-r2) 23:08:35 (2/83) Installing sdl2 (2.26.5-r0) 23:08:35 (3/83) Installing libxau (1.0.10-r0) 23:08:35 (4/83) Installing libmd (1.0.4-r0) 23:08:35 (5/83) Installing libbsd (0.11.7-r0) 23:08:35 (6/83) Installing libxdmcp (1.1.4-r0) 23:08:35 (7/83) Installing libxcb (1.15-r0) 23:08:35 (8/83) Installing libx11 (1.8.4-r1) 23:08:35 (9/83) Installing aom-libs (3.5.0-r0) 23:08:35 (10/83) Installing alsa-lib (1.2.8-r0) 23:08:35 (11/83) Installing libexpat (2.5.0-r0) 23:08:35 (12/83) Installing brotli-libs (1.0.9-r9) 23:08:35 (13/83) Installing libbz2 (1.0.8-r4) 23:08:35 (14/83) Installing libpng (1.6.39-r0) 23:08:35 (15/83) Installing freetype (2.12.1-r0) 23:08:35 (16/83) Installing fontconfig (2.14.1-r0) 23:08:35 (17/83) Installing fribidi (1.0.12-r0) 23:08:35 (18/83) Installing libffi (3.4.4-r0) 23:08:35 (19/83) Installing libintl (0.21.1-r1) 23:08:35 (20/83) Installing libblkid (2.38.1-r1) 23:08:35 (21/83) Installing libmount (2.38.1-r1) 23:08:35 (22/83) Installing pcre2 (10.42-r0) 23:08:35 (23/83) Installing glib (2.74.7-r0) 23:08:35 (24/83) Installing graphite2 (1.3.14-r2) 23:08:35 (25/83) Installing harfbuzz (5.3.1-r1) 23:08:35 (26/83) Installing libass (0.16.0-r1) 23:08:35 (27/83) Installing libdav1d (1.0.0-r2) 23:08:35 (28/83) Installing libdrm (2.4.114-r0) 23:08:35 (29/83) Installing gmp (6.2.1-r2) 23:08:35 (30/83) Installing nettle (3.8.1-r0) 23:08:35 (31/83) Installing p11-kit (0.24.1-r1) 23:08:35 (32/83) Installing libtasn1 (4.19.0-r0) 23:08:35 (33/83) Installing libunistring (1.1-r0) 23:08:35 (34/83) Installing gnutls (3.7.8-r3) 23:08:35 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 23:08:35 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 23:08:35 (37/83) Installing lame (3.100-r2) 23:08:35 (38/83) Installing opus (1.3.1-r1) 23:08:35 (39/83) Installing libasyncns (0.8-r1) 23:08:35 (40/83) Installing dbus-libs (1.14.8-r0) 23:08:35 (41/83) Installing libltdl (2.4.7-r1) 23:08:35 (42/83) Installing orc (0.4.33-r0) 23:08:35 (43/83) Installing libgcc (12.2.1_git20220924-r4) 23:08:35 (44/83) Installing libogg (1.3.5-r2) 23:08:35 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 23:08:35 (46/83) Installing flac-libs (1.4.2-r0) 23:08:35 (47/83) Installing libvorbis (1.3.7-r0) 23:08:35 (48/83) Installing libsndfile (1.1.0-r2) 23:08:35 (49/83) Installing libgomp (12.2.1_git20220924-r4) 23:08:35 (50/83) Installing soxr (0.1.3-r3) 23:08:35 (51/83) Installing speexdsp (1.2.1-r0) 23:08:35 (52/83) Installing tdb-libs (1.4.6-r0) 23:08:35 (53/83) Installing libpulse (16.1-r6) 23:08:35 (54/83) Installing cjson (1.7.15-r3) 23:08:35 (55/83) Installing mbedtls (2.28.4-r0) 23:08:35 (56/83) Installing librist (0.2.7-r0) 23:08:35 (57/83) Installing libsrt (1.5.1-r0) 23:08:35 (58/83) Installing libssh (0.10.5-r0) 23:08:35 (59/83) Installing libtheora (1.1.1-r16) 23:08:35 (60/83) Installing libjpeg-turbo (2.1.4-r0) 23:08:35 (61/83) Installing v4l-utils-libs (1.22.1-r2) 23:08:35 (62/83) Installing libxext (1.3.5-r0) 23:08:35 (63/83) Installing libxfixes (6.0.0-r0) 23:08:35 (64/83) Installing wayland-libs-client (1.21.0-r1) 23:08:35 (65/83) Installing libva (2.16.0-r0) 23:08:35 (66/83) Installing libvdpau (1.5-r0) 23:08:35 (67/83) Installing vidstab (1.1.0-r2) 23:08:35 (68/83) Installing libvpx (1.12.0-r1) 23:08:35 (69/83) Installing libwebp (1.2.4-r2) 23:08:35 (70/83) Installing x264-libs (0.164_git20220602-r0) 23:08:35 (71/83) Installing numactl (2.0.16-r1) 23:08:35 (72/83) Installing x265-libs (3.5-r3) 23:08:35 (73/83) Installing xvidcore (1.3.7-r1) 23:08:35 (74/83) Installing libsodium (1.0.18-r2) 23:08:35 (75/83) Installing libzmq (4.3.4-r1) 23:08:35 (76/83) Installing ffmpeg-libs (5.1.3-r0) 23:08:35 (77/83) Installing ffmpeg (5.1.3-r0) 23:08:35 (78/83) Installing udev-init-scripts (35-r1) 23:08:35 (79/83) Installing eudev-libs (3.2.11-r4) 23:08:35 (80/83) Installing xz-libs (5.2.9-r0) 23:08:35 (81/83) Installing zstd-libs (1.5.5-r0) 23:08:35 (82/83) Installing kmod-libs (30-r1) 23:08:35 (83/83) Installing eudev (3.2.11-r4) 23:08:35 Executing busybox-1.35.0-r29.trigger 23:08:35 Executing eudev-3.2.11-r4.trigger 23:08:35 OK: 86 MiB in 98 packages 23:08:37 Removing intermediate container d7e72124abd6 23:08:37 ---> 1dfb363ebb07 23:08:37 Step 18/36 : WORKDIR / 23:08:37 ---> Running in 36b9792e29cd 23:08:37 Removing intermediate container 36b9792e29cd 23:08:37 ---> d7bd956907fb 23:08:37 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 23:08:38 ---> 69a336a13a78 23:08:38 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 23:08:39 ---> c833489f5438 23:08:39 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 23:08:40 ---> cc9f14902a94 23:08:40 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 23:08:40 ---> 8161b14fe868 23:08:40 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 23:08:41 ---> da955fb548df 23:08:41 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 23:08:41 ---> 32438e018d47 23:08:41 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 23:08:43 ---> 23ce749df213 23:08:43 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 23:08:43 ---> Running in 88cec66f468e 23:08:44 Removing intermediate container 88cec66f468e 23:08:44 ---> 302177dab71a 23:08:44 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 23:08:44 ---> Running in 484094c64257 23:08:48 Removing intermediate container 484094c64257 23:08:48 ---> 5689559689e9 23:08:48 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 23:08:48 ---> Running in b2ad575c7bb9 23:08:49 Removing intermediate container b2ad575c7bb9 23:08:49 ---> 2c6363b292b1 23:08:49 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 23:08:49 ---> Running in b96ea57b851d 23:08:51 Removing intermediate container b96ea57b851d 23:08:51 ---> ff56b8a32948 23:08:51 Step 30/36 : EXPOSE 59983 23:08:51 ---> Running in 903bc2074173 23:08:51 Removing intermediate container 903bc2074173 23:08:51 ---> 97f5e1c1441c 23:08:51 Step 31/36 : EXPOSE 8554 23:08:51 ---> Running in 63e236411279 23:08:51 Removing intermediate container 63e236411279 23:08:51 ---> a59377b38bd8 23:08:51 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 23:08:51 ---> Running in adec3beec266 23:08:51 Removing intermediate container adec3beec266 23:08:51 ---> a317c0eed397 23:08:51 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 23:08:52 ---> Running in 5f149c5732a6 23:08:52 Removing intermediate container 5f149c5732a6 23:08:52 ---> f27f9fd076d0 23:08:52 Step 34/36 : LABEL arch=arm64 23:08:52 ---> Running in 39ab9950b895 23:08:52 Removing intermediate container 39ab9950b895 23:08:52 ---> afdf14146ede 23:08:52 Step 35/36 : LABEL git_sha=9499fb83fe6abb5e78a80dfbc2a979056a706d6a 23:08:52 ---> Running in 23d5f7357a48 23:08:52 Removing intermediate container 23d5f7357a48 23:08:52 ---> 4a976cb97b46 23:08:52 Step 36/36 : LABEL version=0.0.0 23:08:52 ---> Running in 1dd948e0290e 23:08:53 Removing intermediate container 1dd948e0290e 23:08:53 ---> 60883f072a42 23:08:53 [Warning] One or more build-args [ARCH] were not consumed 23:08:53 Successfully built 60883f072a42 23:08:53 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 23:08:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:08:53 23:08:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:08:54 arm64: Pulling from edgex-lftools-log-publisher 23:08:54 8998bd30e6a1: Pulling fs layer 23:08:54 04944245beec: Pulling fs layer 23:08:54 699f458cf7ca: Pulling fs layer 23:08:54 765212b225bb: Pulling fs layer 23:08:54 f23df028b6ca: Pulling fs layer 23:08:54 d65c8cfc05b1: Pulling fs layer 23:08:54 2437ff75d9bd: Pulling fs layer 23:08:54 f23df028b6ca: Waiting 23:08:54 d65c8cfc05b1: Waiting 23:08:54 2437ff75d9bd: Waiting 23:08:54 765212b225bb: Waiting 23:08:54 04944245beec: Verifying Checksum 23:08:54 04944245beec: Download complete 23:08:54 765212b225bb: Verifying Checksum 23:08:54 765212b225bb: Download complete 23:08:54 f23df028b6ca: Verifying Checksum 23:08:54 f23df028b6ca: Download complete 23:08:54 d65c8cfc05b1: Verifying Checksum 23:08:54 d65c8cfc05b1: Download complete 23:08:54 699f458cf7ca: Verifying Checksum 23:08:54 699f458cf7ca: Download complete 23:08:55 8998bd30e6a1: Verifying Checksum 23:08:55 8998bd30e6a1: Download complete 23:08:56 2437ff75d9bd: Verifying Checksum 23:08:58 8998bd30e6a1: Pull complete 23:08:59 04944245beec: Pull complete 23:09:00 699f458cf7ca: Pull complete 23:09:00 765212b225bb: Pull complete 23:09:01 f23df028b6ca: Pull complete 23:09:01 d65c8cfc05b1: Pull complete 23:09:16 2437ff75d9bd: Pull complete 23:09:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:09:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:09:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:16 prd-ubuntu20.04-docker-arm64-4c-16g-4601 does not seem to be running inside a container 23:09:16 $ 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/7 -v /w/workspace/device-usb-camera/7:/w/workspace/device-usb-camera/7:rw,z -v /w/workspace/device-usb-camera/7@tmp:/w/workspace/device-usb-camera/7@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 23:09:19 $ docker top e197924fd8c3eab8afa8ca4a34d8212aa4e0042cd4786b8ec0ad4689101ac2e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:09:19 ---> job-cost.sh 23:09:20 lf-activate-venv: SKIPPING 23:09:20 INFO: No Stack... 23:09:20 INFO: Retrieving Pricing Info for: v3-standard-4 23:09:21 INFO: Archiving Costs [Pipeline] sh 23:09:21 + cat /w/workspace/device-usb-camera/7/archives/cost.csv 23:09:21 + cut -d, -f6 [Pipeline] lock 23:09:21 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] 23:09:21 Resource [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] did not exist. Created. 23:09:21 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:09:21 /w/workspace/device-usb-camera/7@tmp/durable-b31bdcdf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:09:22 + echo total: 0.10999999940395355 [Pipeline] stash 23:09:22 Warning: overwriting stash ‘stack-cost’ 23:09:22 Stashed 1 file(s) [Pipeline] } 23:09:22 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-270-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:09:22 $ docker stop --time=1 e197924fd8c3eab8afa8ca4a34d8212aa4e0042cd4786b8ec0ad4689101ac2e1 23:09:23 $ docker rm -f --volumes e197924fd8c3eab8afa8ca4a34d8212aa4e0042cd4786b8ec0ad4689101ac2e1 [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 23:09:24 provisioning config files... 23:09:24 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config17782463998454168004tmp [Pipeline] { [Pipeline] sh 23:09:24 + set +x 23:09:24 + curl -s https://codecov.io/bash 23:09:24 + bash -s -- 23:09:24 23:09:24 _____ _ 23:09:24 / ____| | | 23:09:24 | | ___ __| | ___ ___ _____ __ 23:09:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:09:24 | |___| (_) | (_| | __/ (_| (_) \ V / 23:09:24 \_____\___/ \__,_|\___|\___\___/ \_/ 23:09:24 Bash-1.0.6 23:09:24 23:09:24 23:09:24 ==> git version 2.25.1 found 23:09:24 ==> 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 23:09:24 Release-Date: 2020-01-08 23:09:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:09:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:09:24 ==> Jenkins CI detected. 23:09:24 current dir:  /w/workspace/foundry_device-usb-camera_PR-270 23:09:24 project root: . 23:09:24 --> token set from env 23:09:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:09:24 ==> Running gcov in . (disable via -X gcov) 23:09:24 ==> Python coveragepy not found 23:09:24 ==> Searching for coverage reports in: 23:09:24 + . 23:09:24 -> Found 1 reports 23:09:24 ==> Detecting git/mercurial file structure 23:09:24 ==> Reading reports 23:09:24 + ./coverage.out bytes=54289 23:09:24 ==> Appending adjustments 23:09:24 https://docs.codecov.io/docs/fixing-reports 23:09:24 + Found adjustments 23:09:24 ==> Gzipping contents 23:09:24 8.0K /tmp/codecov.rTn0Qi.gz 23:09:24 ==> Uploading reports 23:09:24 url: https://codecov.io 23:09:24 query: branch=PR-270&commit=d50a08cd35ef33f35101904a56e129cbc2c80d52&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-270%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=270&job=&cmd_args= 23:09:24 -> Pinging Codecov 23:09:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-270&commit=d50a08cd35ef33f35101904a56e129cbc2c80d52&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-270%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=270&job=&cmd_args= 23:09:25 -> Uploading to 23:09:25 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/73D8F5FF140700D3E01443B452E23636/d50a08cd35ef33f35101904a56e129cbc2c80d52/fd6d1684-55fd-4980-b3f0-0d5b1629fc1c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T230924Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=45240a7e747e7a7d34689b663f9fb380e55f2e2ff3b31de45b00892f32408ce3 23:09:25 % Total % Received % Xferd Average Speed Time Time Time Current 23:09:25 Dload Upload Total Spent Left Speed 23:09:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6907 0 0 100 6907 0 34883 --:--:-- --:--:-- --:--:-- 34883 23:09:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/d50a08cd35ef33f35101904a56e129cbc2c80d52 [Pipeline] } 23:09:25 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 23:09:25 + [ -d /w/workspace/foundry_device-usb-camera_PR-270/archives ] 23:09:25 + ls -al /w/workspace/foundry_device-usb-camera_PR-270/archives 23:09:25 total 16 23:09:25 drwxr-xr-x 3 root root 4096 Aug 25 23:00 . 23:09:25 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 23:00 .. 23:09:25 drwxr-xr-x 2 root root 4096 Aug 25 23:00 cost 23:09:25 -rw-r--r-- 1 root root 89 Aug 25 23:00 cost.csv 23:09:25 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-270/archives 23:09:25 + ls -al /w/workspace/foundry_device-usb-camera_PR-270/archives 23:09:25 total 16 23:09:25 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 23:00 . 23:09:25 drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 23:00 .. 23:09:25 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 23:00 cost 23:09:25 -rw-r--r-- 1 jenkins jenkins 89 Aug 25 23:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:09:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:09:26 ---> package-listing.sh 23:09:26 ++ facter osfamily 23:09:26 ++ tr '[:upper:]' '[:lower:]' 23:09:27 + OS_FAMILY=debian 23:09:27 + workspace=/w/workspace/foundry_device-usb-camera_PR-270 23:09:27 + START_PACKAGES=/tmp/packages_start.txt 23:09:27 + END_PACKAGES=/tmp/packages_end.txt 23:09:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:09:27 + PACKAGES=/tmp/packages_start.txt 23:09:27 + '[' /w/workspace/foundry_device-usb-camera_PR-270 ']' 23:09:27 + PACKAGES=/tmp/packages_end.txt 23:09:27 + case "${OS_FAMILY}" in 23:09:27 + dpkg -l 23:09:27 + grep '^ii' 23:09:27 + '[' -f /tmp/packages_start.txt ']' 23:09:27 + '[' -f /tmp/packages_end.txt ']' 23:09:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:09:27 + '[' /w/workspace/foundry_device-usb-camera_PR-270 ']' 23:09:27 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-270/archives/ 23:09:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-270/archives/ [Pipeline] echo 23:09:27 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-270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:09:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:09:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:29 prd-ubuntu20.04-docker-8c-8g-4599 does not seem to be running inside a container 23:09:29 $ 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-270/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-270 -v /w/workspace/foundry_device-usb-camera_PR-270:/w/workspace/foundry_device-usb-camera_PR-270:rw,z -v /w/workspace/foundry_device-usb-camera_PR-270@tmp:/w/workspace/foundry_device-usb-camera_PR-270@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 23:09:29 $ docker top 915b987f229b6bc1dd66673f7cf7c885645781108ab17570e2caf3a33a00532e -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:30 + touch /tmp/pre-build-complete [Pipeline] sh 23:09:30 + mkdir -p /var/log/sysstat [Pipeline] sh 23:09:30 + ls /var/log/sa-host 23:09:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:09:30 provisioning config files... 23:09:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-270@tmp/config13309458528464604929tmp [Pipeline] { [Pipeline] echo 23:09:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:09:31 ---> create-netrc.sh [Pipeline] } 23:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:09:31 ---> python-tools-install.sh [Pipeline] echo 23:09:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:09:31 ---> sudo-logs.sh 23:09:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:09:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:09:32 ---> job-cost.sh 23:09:32 lf-activate-venv: SKIPPING 23:09:32 DEBUG: total: 0.2199999988079071 23:09:32 INFO: Retrieving Stack Cost... 23:09:32 INFO: Retrieving Pricing Info for: v3-standard-8 23:09:32 INFO: Archiving Costs [Pipeline] echo 23:09:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:09:33 ---> logs-deploy.sh 23:09:33 lf-activate-venv: SKIPPING 23:09:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-270/7 23:09:33 INFO: archiving workspace using pattern(s): 23:09:34 Archives upload complete. 23:09:34 INFO: archiving logs to Nexus