Pull request #221 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c+a96d24b1846f601a5cabef5dd86be8ade2ea54c6 (f52ce9a615cd98a225e99c309fe0c7c79192d547) 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-ssh9173932752775625768.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4647997950034112504.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-221/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-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10090804076764258801.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh11689586927212774241.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-221/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-221/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh324744686076289836.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 ‘prd-centos7-blackbox-4c-2g-9351’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-9352’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-9292’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9416’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9417’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9426’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9427’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9428’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-9418’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-9419’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9429 in /w/workspace/foundry_device-usb-camera_PR-221 [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-221 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a96d24b1846f601a5cabef5dd86be8ade2ea54c6 into PR head commit 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c Merge succeeded, producing 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c Checking out Revision 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c (PR-221) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:33:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:33:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:33:11 ========================================================= 01:33:11 EdgeX Global Pipelines Version Info 01:33:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c # 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 a96d24b1846f601a5cabef5dd86be8ade2ea54c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c # timeout=10 > git rev-list --no-walk 03b1ea673bd3f60b5f9f41ecea7a2fc77e3a63dd # timeout=10 01:33:12 ------------------- 01:33:12 stable info: 01:33:12 ------------------- 01:33:12 Commited By: Bill Mahoney bill.mahoney@intel.com 01:33:12 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:33:12 Message: update stable to v1.0.248 01:33:12 ------------------- 01:33:12 experimental info: 01:33:12 ------------------- 01:33:12 Commited By: **** collab-it+edgex@linuxfoundation.org 01:33:12 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:33:12 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:33:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 01:33:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 01:33:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:33:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-221 [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-221 [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-221 [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1712ad8 [Pipeline] echo 01:33:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:33:13 provisioning config files... 01:33:13 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-221@tmp/config9010389698567727929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:13 ---> docker-login.sh 01:33:13 nexus3.edgexfoundry.org:10001 01:33:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:14 Configure a credential helper to remove this warning. See 01:33:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:14 01:33:14 Login Succeeded 01:33:14 nexus3.edgexfoundry.org:10002 01:33:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:14 Configure a credential helper to remove this warning. See 01:33:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:14 01:33:14 Login Succeeded 01:33:14 nexus3.edgexfoundry.org:10003 01:33:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:14 Configure a credential helper to remove this warning. See 01:33:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:14 01:33:14 Login Succeeded 01:33:14 nexus3.edgexfoundry.org:10004 01:33:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:14 Configure a credential helper to remove this warning. See 01:33:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:14 01:33:14 Login Succeeded 01:33:14 docker.io 01:33:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:14 Configure a credential helper to remove this warning. See 01:33:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:14 01:33:14 Login Succeeded 01:33:14 ---> docker-login.sh ends [Pipeline] } 01:33:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:33:14 + git rev-list -1 --merges 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c~1..1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [Pipeline] echo 01:33:15 -----------> git rev-list -1 --merges 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c~1..1712ad8aa23467b9ad8e76847b9cb93e6ae1509c 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [false] [Pipeline] sh 01:33:15 + git log --format=format:%s -1 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [Pipeline] echo 01:33:15 ========================================================= 01:33:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:33:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:33:15 + git log --format=format:%s -1 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [Pipeline] echo 01:33:15 [semverPrep] GIT_COMMIT: 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 01:33:15 [semverPrep] This is not a build commit. [Pipeline] sh 01:33:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:33:16 + grep -v github /etc/ssh/ssh_known_hosts 01:33:16 + [ -e /tmp/ssh_known_hosts ] 01:33:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:33:16 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 01:33:16 -a /etc/ssh/ssh_known_hosts 01:33:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:16 01:33:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:17 0.1.4: Pulling from edgex-devops/py-git-semver 01:33:17 b85a868b505f: Pulling fs layer 01:33:17 e2be974225ed: Pulling fs layer 01:33:17 339a4e72a1f5: Pulling fs layer 01:33:17 988bab9f4d93: Pulling fs layer 01:33:17 1469e6f7b9e6: Pulling fs layer 01:33:17 eaf3925da568: Pulling fs layer 01:33:17 bab4dde63d76: Pulling fs layer 01:33:17 bde34c3a00c8: Pulling fs layer 01:33:17 b352a97aabf1: Pulling fs layer 01:33:17 4872d77fe225: Pulling fs layer 01:33:17 5851b861e8e6: Pulling fs layer 01:33:17 bab4dde63d76: Waiting 01:33:17 bde34c3a00c8: Waiting 01:33:17 b352a97aabf1: Waiting 01:33:17 5851b861e8e6: Waiting 01:33:17 4872d77fe225: Waiting 01:33:17 988bab9f4d93: Waiting 01:33:17 1469e6f7b9e6: Waiting 01:33:17 eaf3925da568: Waiting 01:33:17 e2be974225ed: Verifying Checksum 01:33:17 e2be974225ed: Download complete 01:33:17 1469e6f7b9e6: Verifying Checksum 01:33:17 1469e6f7b9e6: Download complete 01:33:17 339a4e72a1f5: Verifying Checksum 01:33:17 339a4e72a1f5: Download complete 01:33:17 eaf3925da568: Verifying Checksum 01:33:17 eaf3925da568: Download complete 01:33:17 bde34c3a00c8: Verifying Checksum 01:33:17 bde34c3a00c8: Download complete 01:33:17 b352a97aabf1: Verifying Checksum 01:33:17 b352a97aabf1: Download complete 01:33:17 4872d77fe225: Download complete 01:33:17 5851b861e8e6: Download complete 01:33:17 b85a868b505f: Verifying Checksum 01:33:17 b85a868b505f: Download complete 01:33:17 bab4dde63d76: Verifying Checksum 01:33:17 bab4dde63d76: Download complete 01:33:18 b85a868b505f: Pull complete 01:33:18 e2be974225ed: Pull complete 01:33:19 339a4e72a1f5: Pull complete 01:33:19 988bab9f4d93: Pull complete 01:33:20 1469e6f7b9e6: Pull complete 01:33:20 eaf3925da568: Pull complete 01:33:22 bab4dde63d76: Pull complete 01:33:22 bde34c3a00c8: Pull complete 01:33:22 b352a97aabf1: Pull complete 01:33:22 4872d77fe225: Pull complete 01:33:22 5851b861e8e6: Pull complete 01:33:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:33:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:22 prd-ubuntu20.04-docker-8c-8g-9429 does not seem to be running inside a container 01:33:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-221 -v /w/workspace/foundry_device-usb-camera_PR-221:/w/workspace/foundry_device-usb-camera_PR-221:rw,z -v /w/workspace/foundry_device-usb-camera_PR-221@tmp:/w/workspace/foundry_device-usb-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:33:24 $ docker top 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 -eo pid,comm 01:33:24 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). 01:33:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:33:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:33:24 [ssh-agent] Looking for ssh-agent implementation... 01:33:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:33:25 $ docker exec 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 ssh-agent 01:33:25 SSH_AUTH_SOCK=/tmp/ssh-eooYyfek3X26/agent.31 01:33:25 SSH_AGENT_PID=37 01:33:25 Running ssh-add (command line suppressed) 01:33:25 Identity added: /w/workspace/foundry_device-usb-camera_PR-221@tmp/private_key_9896803084659426654.key (/w/workspace/foundry_device-usb-camera_PR-221@tmp/private_key_9896803084659426654.key) 01:33:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:33:25 + git tag --points-at HEAD [Pipeline] } 01:33:25 $ docker exec --env ******** --env ******** 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 ssh-agent -k 01:33:25 unset SSH_AUTH_SOCK; 01:33:25 unset SSH_AGENT_PID; 01:33:25 echo Agent pid 37 killed; 01:33:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:33:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:33:25 [ssh-agent] Looking for ssh-agent implementation... 01:33:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:33:25 $ docker exec 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 ssh-agent 01:33:26 SSH_AUTH_SOCK=/tmp/ssh-jpxbUoaV7xMm/agent.69 01:33:26 SSH_AGENT_PID=75 01:33:26 Running ssh-add (command line suppressed) 01:33:26 Identity added: /w/workspace/foundry_device-usb-camera_PR-221@tmp/private_key_12386594261977310196.key (/w/workspace/foundry_device-usb-camera_PR-221@tmp/private_key_12386594261977310196.key) 01:33:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:33:26 + git semver init 01:33:26 2023-04-24 01:33:26,694 [run_init] DEBUG init version:0.0.0 force:False 01:33:26 2023-04-24 01:33:26,695 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-221/.semver 01:33:26 2023-04-24 01:33:26,695 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-221/.semver 01:33:26 2023-04-24 01:33:26,695 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-221/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-221, universal_newlines=False, shell=None, istream=None) 01:33:27 2023-04-24 01:33:27,373 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-221/.git/info/exclude 01:33:27 2023-04-24 01:33:27,374 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-221/.semver/PR-221 with force:False 01:33:27 2023-04-24 01:33:27,374 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-221/.semver/PR-221 01:33:27 2023-04-24 01:33:27,379 [execute] INFO git cat-file --batch-check 01:33:27 2023-04-24 01:33:27,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-221/.semver, universal_newlines=False, shell=None, istream=) 01:33:27 2023-04-24 01:33:27,385 [execute] INFO git cat-file --batch 01:33:27 2023-04-24 01:33:27,385 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-221/.semver, universal_newlines=False, shell=None, istream=) 01:33:27 2023-04-24 01:33:27,388 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-221/.semver/PR-221 01:33:27 0.0.0 [Pipeline] } 01:33:27 $ docker exec --env ******** --env ******** 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 ssh-agent -k 01:33:27 unset SSH_AUTH_SOCK; 01:33:27 unset SSH_AGENT_PID; 01:33:27 echo Agent pid 75 killed; 01:33:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:33:28 + git semver [Pipeline] } 01:33:28 $ docker stop --time=1 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 01:33:29 $ docker rm -f --volumes 00328c6d26a2867f71a0928131f36a6d89ca8998ff91cc9659fb6e0fdbe24f06 [Pipeline] // withDockerContainer [Pipeline] sh 01:33:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:33:30 Stashed 1 file(s) [Pipeline] echo 01:33:30 [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 01:33:30 provisioning config files... 01:33:30 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-221@tmp/config13993252036765801287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:30 ---> docker-login.sh 01:33:30 nexus3.edgexfoundry.org:10001 01:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:30 Configure a credential helper to remove this warning. See 01:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:30 01:33:30 Login Succeeded 01:33:30 nexus3.edgexfoundry.org:10002 01:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:30 Configure a credential helper to remove this warning. See 01:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:30 01:33:30 Login Succeeded 01:33:30 nexus3.edgexfoundry.org:10003 01:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:30 Configure a credential helper to remove this warning. See 01:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:30 01:33:30 Login Succeeded 01:33:30 nexus3.edgexfoundry.org:10004 01:33:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:30 Configure a credential helper to remove this warning. See 01:33:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:30 01:33:30 Login Succeeded 01:33:30 docker.io 01:33:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:31 Configure a credential helper to remove this warning. See 01:33:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:31 01:33:31 Login Succeeded 01:33:31 ---> docker-login.sh ends [Pipeline] } 01:33:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:33:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:33:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:33:31 ========================================================= 01:33:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:33:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:31 + 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 . 01:33:31 Sending build context to Docker daemon 1.918MB 01:33:31 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 01:33:31 Step 2/13 : FROM ${BASE} AS builder 01:33:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:33:31 63b65145d645: Pulling fs layer 01:33:31 a2d21d5440eb: Pulling fs layer 01:33:31 935e6c44a52c: Pulling fs layer 01:33:31 94cc34f8dd06: Pulling fs layer 01:33:31 30dea6a524f1: Pulling fs layer 01:33:31 a2aff8979fd8: Pulling fs layer 01:33:31 6808be2612f2: Pulling fs layer 01:33:31 f25807f1079a: Pulling fs layer 01:33:31 30dea6a524f1: Waiting 01:33:31 a2aff8979fd8: Waiting 01:33:31 6808be2612f2: Waiting 01:33:31 f25807f1079a: Waiting 01:33:31 94cc34f8dd06: Waiting 01:33:31 a2d21d5440eb: Verifying Checksum 01:33:31 a2d21d5440eb: Download complete 01:33:31 94cc34f8dd06: Verifying Checksum 01:33:31 94cc34f8dd06: Download complete 01:33:31 30dea6a524f1: Verifying Checksum 01:33:31 30dea6a524f1: Download complete 01:33:31 63b65145d645: Verifying Checksum 01:33:31 63b65145d645: Download complete 01:33:31 a2aff8979fd8: Verifying Checksum 01:33:31 a2aff8979fd8: Download complete 01:33:31 63b65145d645: Pull complete 01:33:32 a2d21d5440eb: Pull complete 01:33:32 f25807f1079a: Verifying Checksum 01:33:32 f25807f1079a: Download complete 01:33:32 935e6c44a52c: Verifying Checksum 01:33:32 935e6c44a52c: Download complete 01:33:32 6808be2612f2: Verifying Checksum 01:33:32 6808be2612f2: Download complete 01:33:35 935e6c44a52c: Pull complete 01:33:35 94cc34f8dd06: Pull complete 01:33:35 30dea6a524f1: Pull complete 01:33:36 a2aff8979fd8: Pull complete 01:33:39 6808be2612f2: Pull complete 01:33:39 f25807f1079a: Pull complete 01:33:39 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 01:33:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:33:39 ---> 3b553350e43f 01:33:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:33:42 ---> Running in c9a986a8547d 01:33:42 Removing intermediate container c9a986a8547d 01:33:42 ---> 75a92db12341 01:33:42 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:33:42 ---> Running in a807b1b32c18 01:33:43 Removing intermediate container a807b1b32c18 01:33:43 ---> 09337089d4c8 01:33:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:33:43 ---> Running in ff114e2ff266 01:33:43 Removing intermediate container ff114e2ff266 01:33:43 ---> f2b95d3347f7 01:33:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:33:43 ---> Running in a5a75972fba2 01:33:43 Removing intermediate container a5a75972fba2 01:33:43 ---> 07345c098bfa 01:33:43 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:33:43 ---> Running in da592b11f4cc 01:33:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:33:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:33:43 (1/14) Installing libintl (0.21.1-r1) 01:33:43 (2/14) Installing eudev-libs (3.2.11-r4) 01:33:43 (3/14) Installing libjpeg-turbo (2.1.4-r0) 01:33:43 (4/14) Installing v4l-utils-libs (1.22.1-r2) 01:33:43 (5/14) Installing v4l-utils (1.22.1-r2) 01:33:43 (6/14) Installing udev-init-scripts (35-r1) 01:33:43 (7/14) Installing libblkid (2.38.1-r1) 01:33:43 (8/14) Installing xz-libs (5.2.9-r0) 01:33:44 (9/14) Installing zstd-libs (1.5.5-r0) 01:33:44 (10/14) Installing kmod-libs (30-r1) 01:33:44 (11/14) Installing eudev (3.2.11-r4) 01:33:44 (12/14) Installing eudev-dev (3.2.11-r4) 01:33:44 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 01:33:44 (14/14) Installing v4l-utils-dev (1.22.1-r2) 01:33:44 Executing busybox-1.35.0-r29.trigger 01:33:44 Executing eudev-3.2.11-r4.trigger 01:33:44 OK: 272 MiB in 67 packages 01:33:44 Removing intermediate container da592b11f4cc 01:33:44 ---> 8efd8b7eb50c 01:33:44 Step 8/13 : WORKDIR /device-usb-camera 01:33:44 ---> Running in 4142322b9b03 01:33:44 Removing intermediate container 4142322b9b03 01:33:44 ---> 1c13990ba1d9 01:33:44 Step 9/13 : COPY go.mod vendor* ./ 01:33:45 ---> 4548a58a7ca6 01:33:45 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:33:45 ---> Running in ff5c3f8dbd2a 01:33:45 Still waiting to schedule task 01:33:45 ‘prd-centos7-blackbox-4c-2g-9351’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:33:45 ‘prd-centos7-blackbox-4c-2g-9352’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:33:45 ‘prd-ubuntu18.04-docker-8c-8g-9292’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:33:45 ‘prd-ubuntu20.04-docker-8c-8g-9416’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:33:45 ‘prd-ubuntu20.04-docker-8c-8g-9417’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:33:45 ‘prd-ubuntu20.04-docker-8c-8g-9422’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:33:45 ‘prd-ubuntu20.04-docker-8c-8g-9430’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:33:45 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9418’ is offline 01:33:45 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9419’ is offline 01:33:45 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9432’ is offline 01:34:11 Removing intermediate container ff5c3f8dbd2a 01:34:11 ---> 88ba9546f66d 01:34:11 Step 11/13 : COPY . . 01:34:11 ---> d711ca0eeb96 01:34:11 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:34:11 ---> Running in 356687222e2e 01:34:11  % Total % Received % Xferd Average Speed Time Time Time Current 01:34:11 Dload Upload Total Spent Left Speed 01:34:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 17400 0 --:--:-- --:--:-- --:--:-- 17700 01:34:11 Removing intermediate container 356687222e2e 01:34:11 ---> 44a534c10e4a 01:34:11 Step 13/13 : RUN ${MAKE} 01:34:11 ---> Running in c162fbcfe0af 01:34:11 noop 01:34:11 Removing intermediate container c162fbcfe0af 01:34:11 ---> 094d47ad4e32 01:34:11 Successfully built 094d47ad4e32 01:34:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:11 + docker inspect -f . ci-base-image-x86_64 01:34:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:11 prd-ubuntu20.04-docker-8c-8g-9429 does not seem to be running inside a container 01:34:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-221 -v /w/workspace/foundry_device-usb-camera_PR-221:/w/workspace/foundry_device-usb-camera_PR-221:rw,z -v /w/workspace/foundry_device-usb-camera_PR-221@tmp:/w/workspace/foundry_device-usb-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:34:12 $ docker top dfb16446b752d692b90a40e0b207c1d898304c39c5f8355dde444bdb642f9953 -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:12 + go version 01:34:12 go version go1.20.2 linux/amd64 [Pipeline] } 01:34:12 $ docker stop --time=1 dfb16446b752d692b90a40e0b207c1d898304c39c5f8355dde444bdb642f9953 01:34:13 $ docker rm -f --volumes dfb16446b752d692b90a40e0b207c1d898304c39c5f8355dde444bdb642f9953 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:14 + docker inspect -f . ci-base-image-x86_64 01:34:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:14 prd-ubuntu20.04-docker-8c-8g-9429 does not seem to be running inside a container 01:34:14 $ 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-221 -v /w/workspace/foundry_device-usb-camera_PR-221:/w/workspace/foundry_device-usb-camera_PR-221:rw,z -v /w/workspace/foundry_device-usb-camera_PR-221@tmp:/w/workspace/foundry_device-usb-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:34:14 $ docker top 6301a381ff2ae9e312fcf0c22274acf8b7ec2568264980ed4784beffa15df59a -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:15 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-221 [Pipeline] fileExists [Pipeline] sh 01:34:15 + make test 01:34:15 go test ./... -coverprofile=coverage.out ./... 01:34:20 ? github.com/edgexfoundry/device-usb-camera [no test files] 01:34:32 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 01:34:32 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 2.0% of statements 01:34:38 go vet ./... 01:34:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:34:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:34:42 ./bin/test-attribution-txt.sh [Pipeline] echo 01:34:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:34:42 $ docker stop --time=1 6301a381ff2ae9e312fcf0c22274acf8b7ec2568264980ed4784beffa15df59a 01:34:45 $ docker rm -f --volumes 6301a381ff2ae9e312fcf0c22274acf8b7ec2568264980ed4784beffa15df59a [Pipeline] // withDockerContainer [Pipeline] sh 01:34:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:34:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:34:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:34:46 + ls -al . 01:34:46 total 192 01:34:46 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 01:34 . 01:34:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:33 .. 01:34:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 01:33 .git 01:34:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:33 .github 01:34:46 -rw-rw-r-- 1 jenkins jenkins 414 Apr 24 01:33 .gitignore 01:34:46 -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 01:33 .golangci.yml 01:34:46 -rw-rw-r-- 1 jenkins jenkins 77 Apr 24 01:33 .hadolint.yml 01:34:46 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 01:33 .semver 01:34:46 -rw-rw-r-- 1 jenkins jenkins 9665 Apr 24 01:33 Attribution.txt 01:34:46 -rw-rw-r-- 1 jenkins jenkins 6219 Apr 24 01:33 CHANGELOG.md 01:34:46 -rw-rw-r-- 1 jenkins jenkins 2328 Apr 24 01:33 Dockerfile 01:34:46 -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 01:33 GOVERNANCE.md 01:34:46 -rw-rw-r-- 1 jenkins jenkins 659 Apr 24 01:33 Jenkinsfile 01:34:46 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 01:33 LICENSE 01:34:46 -rw-rw-r-- 1 jenkins jenkins 2364 Apr 24 01:33 Makefile 01:34:46 -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 01:33 OWNERS.md 01:34:46 -rw-rw-r-- 1 jenkins jenkins 5681 Apr 24 01:33 README.md 01:34:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 01:33 VERSION 01:34:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 01:33 bin 01:34:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:33 cmd 01:34:46 -rw-r--r-- 1 jenkins jenkins 28693 Apr 24 01:34 coverage.out 01:34:46 -rwxrwxr-x 1 jenkins jenkins 140 Apr 24 01:33 docker-entrypoint.sh 01:34:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:33 docs 01:34:46 -rw-rw-r-- 1 jenkins jenkins 3443 Apr 24 01:33 go.mod 01:34:46 -rw-rw-r-- 1 jenkins jenkins 31603 Apr 24 01:33 go.sum 01:34:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:33 internal 01:34:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:33 snap 01:34:46 -rw-rw-r-- 1 jenkins jenkins 231 Apr 24 01:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:46 + 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=1712ad8aa23467b9ad8e76847b9cb93e6ae1509c --label arch=amd64 --label version=0.0.0 . 01:34:46 Sending build context to Docker daemon 1.948MB 01:34:46 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 01:34:46 Step 2/35 : FROM ${BASE} AS builder 01:34:46 ---> 094d47ad4e32 01:34:46 Step 3/35 : ARG ADD_BUILD_TAGS="" 01:34:46 ---> Running in 05531220f5a9 01:34:46 Removing intermediate container 05531220f5a9 01:34:46 ---> cf9b00365e93 01:34:46 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:34:47 ---> Running in 4174d20f536d 01:34:47 Removing intermediate container 4174d20f536d 01:34:47 ---> 7104174ad57f 01:34:47 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:34:47 ---> Running in dce19dda8ae0 01:34:47 Removing intermediate container dce19dda8ae0 01:34:47 ---> 5870cb0e1fdf 01:34:47 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:34:47 ---> Running in 0396ff7166cd 01:34:47 Removing intermediate container 0396ff7166cd 01:34:47 ---> ac139c918756 01:34:47 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:34:47 ---> Running in 4ff8d3e76b66 01:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:34:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:34:48 OK: 272 MiB in 67 packages 01:34:48 Removing intermediate container 4ff8d3e76b66 01:34:48 ---> 92143d0dfc85 01:34:48 Step 8/35 : WORKDIR /device-usb-camera 01:34:48 ---> Running in 0da83127129e 01:34:48 Removing intermediate container 0da83127129e 01:34:48 ---> 34f69ed224f3 01:34:48 Step 9/35 : COPY go.mod vendor* ./ 01:34:48 ---> 9d41cb28d2a5 01:34:48 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:34:48 ---> Running in 450abebafc9d 01:34:49 Removing intermediate container 450abebafc9d 01:34:49 ---> d0f05e1d5d9c 01:34:49 Step 11/35 : COPY . . 01:34:49 ---> 1eab10a68b91 01:34:49 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:34:49 ---> Running in 836fc7565bca 01:34:49  % Total % Received % Xferd Average Speed Time Time Time Current 01:34:49 Dload Upload Total Spent Left Speed 01:34:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21761 0 --:--:-- --:--:-- --:--:-- 22125 01:34:50 Removing intermediate container 836fc7565bca 01:34:50 ---> c2744fb8a433 01:34:50 Step 13/35 : RUN ${MAKE} 01:34:50 ---> Running in 43120d2ea68f 01:34:50 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 01:35:12 Removing intermediate container 43120d2ea68f 01:35:12 ---> a392b142c719 01:35:12 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 01:35:12 v0.21.6: Pulling from aler9/rtsp-simple-server 01:35:12 4acc49c71d14: Pulling fs layer 01:35:12 4acc49c71d14: Verifying Checksum 01:35:12 4acc49c71d14: Download complete 01:35:12 4acc49c71d14: Pull complete 01:35:12 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 01:35:12 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 01:35:12 ---> 01a2bd3e5fff 01:35:12 Step 15/35 : FROM alpine:3.17 01:35:12 3.17: Pulling from library/alpine 01:35:12 f56be85fc22e: Pulling fs layer 01:35:12 f56be85fc22e: Verifying Checksum 01:35:12 f56be85fc22e: Pull complete 01:35:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:35:12 Status: Downloaded newer image for alpine:3.17 01:35:12 ---> 9ed4aefc74f6 01:35:12 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:35:13 ---> Running in 9e249ad6fc88 01:35:13 Removing intermediate container 9e249ad6fc88 01:35:13 ---> 95ec273c1d21 01:35:13 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 01:35:13 ---> Running in 7a78f1341011 01:35:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:35:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:35:13 (1/86) Installing dumb-init (1.2.5-r2) 01:35:13 (2/86) Installing sdl2 (2.26.5-r0) 01:35:13 (3/86) Installing svt-av1-libs (1.3.0-r0) 01:35:13 (4/86) Installing libxau (1.0.10-r0) 01:35:13 (5/86) Installing libmd (1.0.4-r0) 01:35:13 (6/86) Installing libbsd (0.11.7-r0) 01:35:13 (7/86) Installing libxdmcp (1.1.4-r0) 01:35:13 (8/86) Installing libxcb (1.15-r0) 01:35:13 (9/86) Installing libx11 (1.8.4-r0) 01:35:13 (10/86) Installing aom-libs (3.5.0-r0) 01:35:13 (11/86) Installing alsa-lib (1.2.8-r0) 01:35:13 (12/86) Installing libexpat (2.5.0-r0) 01:35:14 (13/86) Installing brotli-libs (1.0.9-r9) 01:35:14 (14/86) Installing libbz2 (1.0.8-r4) 01:35:14 (15/86) Installing libpng (1.6.38-r0) 01:35:14 (16/86) Installing freetype (2.12.1-r0) 01:35:14 (17/86) Installing fontconfig (2.14.1-r0) 01:35:14 (18/86) Installing fribidi (1.0.12-r0) 01:35:14 (19/86) Installing libffi (3.4.4-r0) 01:35:14 (20/86) Installing libintl (0.21.1-r1) 01:35:14 (21/86) Installing libblkid (2.38.1-r1) 01:35:14 (22/86) Installing libmount (2.38.1-r1) 01:35:14 (23/86) Installing pcre2 (10.42-r0) 01:35:14 (24/86) Installing glib (2.74.6-r0) 01:35:14 (25/86) Installing graphite2 (1.3.14-r2) 01:35:14 (26/86) Installing harfbuzz (5.3.1-r1) 01:35:14 (27/86) Installing libass (0.16.0-r1) 01:35:14 (28/86) Installing libdav1d (1.0.0-r2) 01:35:14 (29/86) Installing hwdata-pci (0.364-r0) 01:35:14 (30/86) Installing libpciaccess (0.17-r0) 01:35:14 (31/86) Installing libdrm (2.4.114-r0) 01:35:14 (32/86) Installing gmp (6.2.1-r2) 01:35:14 (33/86) Installing nettle (3.8.1-r0) 01:35:14 (34/86) Installing p11-kit (0.24.1-r1) 01:35:14 (35/86) Installing libtasn1 (4.19.0-r0) 01:35:14 (36/86) Installing libunistring (1.1-r0) 01:35:14 (37/86) Installing gnutls (3.7.8-r3) 01:35:14 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 01:35:14 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 01:35:14 (40/86) Installing lame (3.100-r2) 01:35:14 (41/86) Installing opus (1.3.1-r1) 01:35:14 (42/86) Installing libasyncns (0.8-r1) 01:35:14 (43/86) Installing dbus-libs (1.14.4-r0) 01:35:14 (44/86) Installing libltdl (2.4.7-r1) 01:35:14 (45/86) Installing orc (0.4.33-r0) 01:35:14 (46/86) Installing libgcc (12.2.1_git20220924-r4) 01:35:14 (47/86) Installing libogg (1.3.5-r2) 01:35:14 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 01:35:14 (49/86) Installing flac-libs (1.4.2-r0) 01:35:14 (50/86) Installing libvorbis (1.3.7-r0) 01:35:14 (51/86) Installing libsndfile (1.1.0-r2) 01:35:14 (52/86) Installing libgomp (12.2.1_git20220924-r4) 01:35:14 (53/86) Installing soxr (0.1.3-r3) 01:35:14 (54/86) Installing speexdsp (1.2.1-r0) 01:35:14 (55/86) Installing tdb-libs (1.4.6-r0) 01:35:14 (56/86) Installing libpulse (16.1-r6) 01:35:14 (57/86) Installing cjson (1.7.15-r3) 01:35:15 (58/86) Installing mbedtls (2.28.3-r0) 01:35:15 (59/86) Installing librist (0.2.7-r0) 01:35:15 (60/86) Installing libsrt (1.5.1-r0) 01:35:15 (61/86) Installing libssh (0.10.4-r0) 01:35:15 (62/86) Installing libtheora (1.1.1-r16) 01:35:15 (63/86) Installing libjpeg-turbo (2.1.4-r0) 01:35:15 (64/86) Installing v4l-utils-libs (1.22.1-r2) 01:35:15 (65/86) Installing libxext (1.3.5-r0) 01:35:15 (66/86) Installing libxfixes (6.0.0-r0) 01:35:15 (67/86) Installing wayland-libs-client (1.21.0-r1) 01:35:15 (68/86) Installing libva (2.16.0-r0) 01:35:15 (69/86) Installing libvdpau (1.5-r0) 01:35:15 (70/86) Installing vidstab (1.1.0-r2) 01:35:15 (71/86) Installing libvpx (1.12.0-r1) 01:35:15 (72/86) Installing libwebp (1.2.4-r1) 01:35:15 (73/86) Installing x264-libs (0.164_git20220602-r0) 01:35:15 (74/86) Installing numactl (2.0.16-r1) 01:35:15 (75/86) Installing x265-libs (3.5-r3) 01:35:15 (76/86) Installing xvidcore (1.3.7-r1) 01:35:15 (77/86) Installing libsodium (1.0.18-r2) 01:35:15 (78/86) Installing libzmq (4.3.4-r1) 01:35:15 (79/86) Installing ffmpeg-libs (5.1.3-r0) 01:35:15 (80/86) Installing ffmpeg (5.1.3-r0) 01:35:15 (81/86) Installing udev-init-scripts (35-r1) 01:35:15 (82/86) Installing eudev-libs (3.2.11-r4) 01:35:15 (83/86) Installing xz-libs (5.2.9-r0) 01:35:15 (84/86) Installing zstd-libs (1.5.5-r0) 01:35:15 (85/86) Installing kmod-libs (30-r1) 01:35:15 (86/86) Installing eudev (3.2.11-r4) 01:35:15 Executing busybox-1.35.0-r29.trigger 01:35:15 Executing eudev-3.2.11-r4.trigger 01:35:15 OK: 112 MiB in 101 packages 01:35:18 Removing intermediate container 7a78f1341011 01:35:18 ---> 93bfb29d1a5a 01:35:18 Step 18/35 : WORKDIR / 01:35:18 ---> Running in 953995344fc3 01:35:18 Removing intermediate container 953995344fc3 01:35:18 ---> 9b1fa230d417 01:35:18 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 01:35:18 ---> 646d37b6d07e 01:35:18 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 01:35:18 ---> fa32aa2f8be1 01:35:18 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 01:35:18 ---> 18b6bc6c44b8 01:35:18 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 01:35:18 ---> fbbac3d4a425 01:35:18 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 01:35:18 ---> 14f77a5dcb14 01:35:18 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 01:35:19 ---> 3a108927c297 01:35:19 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 01:35:19 ---> ea314610de45 01:35:19 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 01:35:19 ---> Running in 0c1e62b95d73 01:35:20 Removing intermediate container 0c1e62b95d73 01:35:20 ---> 6f9220ab0ec3 01:35:20 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 01:35:20 ---> Running in 369ad55ea755 01:35:20 Removing intermediate container 369ad55ea755 01:35:20 ---> ba7e875f6cbe 01:35:20 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 01:35:20 ---> Running in 8f6eace1246e 01:35:21 Removing intermediate container 8f6eace1246e 01:35:21 ---> a09081ce683f 01:35:21 Step 29/35 : EXPOSE 59983 01:35:21 ---> Running in fd24f92bf15e 01:35:21 Removing intermediate container fd24f92bf15e 01:35:21 ---> 7416d0ba55fa 01:35:21 Step 30/35 : EXPOSE 8554 01:35:21 ---> Running in 2131ef548464 01:35:21 Removing intermediate container 2131ef548464 01:35:21 ---> 0716e405b77d 01:35:21 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 01:35:21 ---> Running in 5bf10e388dbc 01:35:21 Removing intermediate container 5bf10e388dbc 01:35:21 ---> 35ecc710e91a 01:35:21 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 01:35:21 ---> Running in 09d7e98e4a4b 01:35:21 Removing intermediate container 09d7e98e4a4b 01:35:21 ---> a30d36e7ffdd 01:35:21 Step 33/35 : LABEL arch=amd64 01:35:21 ---> Running in b31b78332543 01:35:22 Removing intermediate container b31b78332543 01:35:22 ---> 2c4593c85abc 01:35:22 Step 34/35 : LABEL git_sha=1712ad8aa23467b9ad8e76847b9cb93e6ae1509c 01:35:22 ---> Running in 27e7405fcccf 01:35:22 Removing intermediate container 27e7405fcccf 01:35:22 ---> 6969ecc61887 01:35:22 Step 35/35 : LABEL version=0.0.0 01:35:22 ---> Running in bc6fd0c37cc1 01:35:22 Removing intermediate container bc6fd0c37cc1 01:35:22 ---> f9c71dfe5352 01:35:22 [Warning] One or more build-args [ARCH] were not consumed 01:35:22 Successfully built f9c71dfe5352 01:35:22 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:22 01:35:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:22 latest: Pulling from edgex-lftools-log-publisher 01:35:22 5eb5b503b376: Pulling fs layer 01:35:22 5c69ac0246d0: Pulling fs layer 01:35:22 ec43610c2a17: Pulling fs layer 01:35:22 3a2ae6a8a46f: Pulling fs layer 01:35:22 33b1e0a273af: Pulling fs layer 01:35:22 5d3b04190fa2: Pulling fs layer 01:35:22 2f39f015ded8: Pulling fs layer 01:35:22 3a2ae6a8a46f: Waiting 01:35:22 33b1e0a273af: Waiting 01:35:22 5d3b04190fa2: Waiting 01:35:22 2f39f015ded8: Waiting 01:35:22 5c69ac0246d0: Verifying Checksum 01:35:22 5c69ac0246d0: Download complete 01:35:22 3a2ae6a8a46f: Download complete 01:35:22 33b1e0a273af: Verifying Checksum 01:35:22 33b1e0a273af: Download complete 01:35:22 5d3b04190fa2: Download complete 01:35:22 ec43610c2a17: Verifying Checksum 01:35:22 ec43610c2a17: Download complete 01:35:23 5eb5b503b376: Verifying Checksum 01:35:23 5eb5b503b376: Download complete 01:35:23 2f39f015ded8: Download complete 01:35:24 5eb5b503b376: Pull complete 01:35:24 5c69ac0246d0: Pull complete 01:35:24 ec43610c2a17: Pull complete 01:35:24 3a2ae6a8a46f: Pull complete 01:35:24 33b1e0a273af: Pull complete 01:35:24 5d3b04190fa2: Pull complete 01:35:29 2f39f015ded8: Pull complete 01:35:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:35:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:29 prd-ubuntu20.04-docker-8c-8g-9429 does not seem to be running inside a container 01:35:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-221 -v /w/workspace/foundry_device-usb-camera_PR-221:/w/workspace/foundry_device-usb-camera_PR-221:rw,z -v /w/workspace/foundry_device-usb-camera_PR-221@tmp:/w/workspace/foundry_device-usb-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:35:31 $ docker top 335ecc639be66bcdecd24d04d383e27015f18cca195e550dfc07f3f7a1ecbcb8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:32 ---> job-cost.sh 01:35:32 lf-activate-venv: SKIPPING 01:35:32 INFO: No Stack... 01:35:32 INFO: Retrieving Pricing Info for: v3-standard-8 01:35:32 INFO: Archiving Costs [Pipeline] sh 01:35:33 + cat /w/workspace/foundry_device-usb-camera_PR-221/archives/cost.csv 01:35:33 + cut -d, -f6 [Pipeline] lock 01:35:33 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] 01:35:33 Resource [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] did not exist. Created. 01:35:33 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:35:33 + echo total: 0.2199999988079071 [Pipeline] stash 01:35:33 Stashed 1 file(s) [Pipeline] } 01:35:33 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:35:33 $ docker stop --time=1 335ecc639be66bcdecd24d04d383e27015f18cca195e550dfc07f3f7a1ecbcb8 01:35:34 $ docker rm -f --volumes 335ecc639be66bcdecd24d04d383e27015f18cca195e550dfc07f3f7a1ecbcb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:37:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9449 in /w/workspace/foundry_device-usb-camera_PR-221 [Pipeline] { [Pipeline] ws 01:37:37 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 01:37:37 Selected Git installation does not exist. Using Default 01:37:37 The recommended git tool is: NONE 01:37:46 using credential edgex-jenkins-ssh 01:37:46 Cloning the remote Git repository 01:37:46 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 01:37:47 > git init /w/workspace/device-usb-camera/2 # timeout=10 01:37:47 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 01:37:47 > git --version # timeout=10 01:37:47 > git --version # 'git version 2.25.1' 01:37:47 using GIT_SSH to set credentials SSH Credentials for GitHub 01:37:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:37:48 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 01:37:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:37:49 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 01:37:49 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 01:37:49 using GIT_SSH to set credentials SSH Credentials for GitHub 01:37:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:37:50 Merging remotes/origin/main commit a96d24b1846f601a5cabef5dd86be8ade2ea54c6 into PR head commit 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c 01:37:50 Merge succeeded, producing 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c 01:37:50 Checking out Revision 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c (PR-221) 01:37:51 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" 01:37:50 > git config core.sparsecheckout # timeout=10 01:37:50 > git checkout -f 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c # timeout=10 01:37:50 > git remote # timeout=10 01:37:50 > git config --get remote.origin.url # timeout=10 01:37:50 using GIT_SSH to set credentials SSH Credentials for GitHub 01:37:50 > git merge a96d24b1846f601a5cabef5dd86be8ade2ea54c6 # timeout=10 01:37:50 > git rev-parse HEAD^{commit} # timeout=10 01:37:50 > git config core.sparsecheckout # timeout=10 01:37:50 > git checkout -f 1712ad8aa23467b9ad8e76847b9cb93e6ae1509c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:37:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:37:52 % Total % Received % Xferd Average Speed Time Time Time Current 01:37:52 Dload Upload Total Spent Left Speed 01:37:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 01:37:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:37:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:37:53 + sudo tee /etc/docker/daemon.new 01:37:53 { 01:37:53 "registry-mirrors": [ 01:37:53 "https://nexus3.edgexfoundry.org:10001" 01:37:53 ], 01:37:53 "bip": "10.250.0.254/24", 01:37:53 "hosts": [ 01:37:53 "tcp://0.0.0.0:5555", 01:37:53 "unix:///var/run/docker.sock" 01:37:53 ], 01:37:53 "mtu": 1458, 01:37:53 "selinux-enabled": true, 01:37:53 "seccomp-profile": "/etc/docker/seccomp.json" 01:37:53 } [Pipeline] sh 01:37:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:37:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:38:12 provisioning config files... 01:38:12 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config13812459487161450069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:38:13 ---> docker-login.sh 01:38:13 nexus3.edgexfoundry.org:10001 01:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:14 Configure a credential helper to remove this warning. See 01:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:14 01:38:14 Login Succeeded 01:38:14 nexus3.edgexfoundry.org:10002 01:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:14 Configure a credential helper to remove this warning. See 01:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:14 01:38:14 Login Succeeded 01:38:14 nexus3.edgexfoundry.org:10003 01:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:14 Configure a credential helper to remove this warning. See 01:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:14 01:38:14 Login Succeeded 01:38:14 nexus3.edgexfoundry.org:10004 01:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:15 Configure a credential helper to remove this warning. See 01:38:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:15 01:38:15 Login Succeeded 01:38:15 docker.io 01:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:15 Configure a credential helper to remove this warning. See 01:38:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:15 01:38:15 Login Succeeded 01:38:15 ---> docker-login.sh ends [Pipeline] } 01:38:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:38:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:38:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:38:16 ========================================================= 01:38:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:38:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:16 + 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 . 01:38:16 Sending build context to Docker daemon 1.224MB 01:38:16 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 01:38:16 Step 2/13 : FROM ${BASE} AS builder 01:38:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:38:17 af6eaf76a39c: Pulling fs layer 01:38:17 55522c791124: Pulling fs layer 01:38:17 ce5c4a1c91eb: Pulling fs layer 01:38:17 169dfbe0d373: Pulling fs layer 01:38:17 e1ff8fa3b103: Pulling fs layer 01:38:17 52ebb69f0ebf: Pulling fs layer 01:38:17 5abe8eddf0d5: Pulling fs layer 01:38:17 169dfbe0d373: Waiting 01:38:17 e1ff8fa3b103: Waiting 01:38:17 52ebb69f0ebf: Waiting 01:38:17 5abe8eddf0d5: Waiting 01:38:17 55522c791124: Verifying Checksum 01:38:17 55522c791124: Download complete 01:38:17 169dfbe0d373: Verifying Checksum 01:38:17 169dfbe0d373: Download complete 01:38:17 e1ff8fa3b103: Verifying Checksum 01:38:17 e1ff8fa3b103: Download complete 01:38:17 af6eaf76a39c: Verifying Checksum 01:38:17 af6eaf76a39c: Download complete 01:38:18 af6eaf76a39c: Pull complete 01:38:18 5abe8eddf0d5: Verifying Checksum 01:38:18 5abe8eddf0d5: Download complete 01:38:19 55522c791124: Pull complete 01:38:20 52ebb69f0ebf: Verifying Checksum 01:38:20 52ebb69f0ebf: Download complete 01:38:20 ce5c4a1c91eb: Verifying Checksum 01:38:20 ce5c4a1c91eb: Download complete 01:38:32 ce5c4a1c91eb: Pull complete 01:38:32 169dfbe0d373: Pull complete 01:38:32 e1ff8fa3b103: Pull complete 01:38:37 52ebb69f0ebf: Pull complete 01:38:39 5abe8eddf0d5: Pull complete 01:38:39 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 01:38:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:38:39 ---> 6cb57ee374ae 01:38:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:38:42 ---> Running in 9927c1e13f8a 01:38:42 Removing intermediate container 9927c1e13f8a 01:38:42 ---> faadcf76c8bd 01:38:42 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:38:42 ---> Running in 4b0a10049512 01:38:42 Removing intermediate container 4b0a10049512 01:38:42 ---> 7b39fc3e753b 01:38:42 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:38:42 ---> Running in fb8b29c989b5 01:38:42 Removing intermediate container fb8b29c989b5 01:38:42 ---> 487be16dcd2c 01:38:42 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:38:43 ---> Running in bb56db33568e 01:38:43 Removing intermediate container bb56db33568e 01:38:43 ---> d03c8691000d 01:38:43 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:38:43 ---> Running in 83c15c2fa1f5 01:38:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:38:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:38:47 (1/14) Installing libintl (0.21.1-r1) 01:38:47 (2/14) Installing eudev-libs (3.2.11-r4) 01:38:47 (3/14) Installing libjpeg-turbo (2.1.4-r0) 01:38:47 (4/14) Installing v4l-utils-libs (1.22.1-r2) 01:38:47 (5/14) Installing v4l-utils (1.22.1-r2) 01:38:47 (6/14) Installing udev-init-scripts (35-r1) 01:38:47 (7/14) Installing libblkid (2.38.1-r1) 01:38:47 (8/14) Installing xz-libs (5.2.9-r0) 01:38:47 (9/14) Installing zstd-libs (1.5.5-r0) 01:38:47 (10/14) Installing kmod-libs (30-r1) 01:38:47 (11/14) Installing eudev (3.2.11-r4) 01:38:47 (12/14) Installing eudev-dev (3.2.11-r4) 01:38:47 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 01:38:47 (14/14) Installing v4l-utils-dev (1.22.1-r2) 01:38:47 Executing busybox-1.35.0-r29.trigger 01:38:47 Executing eudev-3.2.11-r4.trigger 01:38:47 OK: 271 MiB in 67 packages 01:38:48 Removing intermediate container 83c15c2fa1f5 01:38:48 ---> 1417090ec591 01:38:48 Step 8/13 : WORKDIR /device-usb-camera 01:38:48 ---> Running in 1499ce61fc31 01:38:49 Removing intermediate container 1499ce61fc31 01:38:49 ---> ed07e6c5ed7d 01:38:49 Step 9/13 : COPY go.mod vendor* ./ 01:38:49 ---> 76a7be35c6ce 01:38:49 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:38:50 ---> Running in c29eac2c2f80 01:39:58 Removing intermediate container c29eac2c2f80 01:39:58 ---> 9181d0d6d784 01:39:58 Step 11/13 : COPY . . 01:39:58 ---> 2551118dfa46 01:39:58 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:39:58 ---> Running in 99ca95212834 01:39:59  % Total % Received % Xferd Average Speed Time Time Time Current 01:39:59 Dload Upload Total Spent  Left Speed 01:39:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2352 0 --:--:-- --:--:-- --:--:-- 2354 100 1062 100 1062 0 0 2348 0 --:--:-- --:--:-- --:--:-- 2349 01:40:00 Removing intermediate container 99ca95212834 01:40:00 ---> a9d44f0e002e 01:40:00 Step 13/13 : RUN ${MAKE} 01:40:00 ---> Running in 1101ff7ab38d 01:40:01 noop 01:40:02 Removing intermediate container 1101ff7ab38d 01:40:02 ---> 925b7d02f141 01:40:02 Successfully built 925b7d02f141 01:40:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:03 + docker inspect -f . ci-base-image-arm64 01:40:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:03 prd-ubuntu20.04-docker-arm64-4c-16g-9449 does not seem to be running inside a container 01:40:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:40:05 $ docker top e35eb3b4443309de0632ecd26fa02b8ee0fccb91888d13ee45c47da512a08f5e -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:05 + go version 01:40:05 go version go1.20.2 linux/arm64 [Pipeline] } 01:40:06 $ docker stop --time=1 e35eb3b4443309de0632ecd26fa02b8ee0fccb91888d13ee45c47da512a08f5e 01:40:07 $ docker rm -f --volumes e35eb3b4443309de0632ecd26fa02b8ee0fccb91888d13ee45c47da512a08f5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:08 + docker inspect -f . ci-base-image-arm64 01:40:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:08 prd-ubuntu20.04-docker-arm64-4c-16g-9449 does not seem to be running inside a container 01:40:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:40:10 $ docker top 39064c32c2c401e4519fd8247d423ff17f77bd5b874ae61434bdb026abe098f8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:11 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 01:40:12 + make test 01:40:12 go test ./... -coverprofile=coverage.out ./... 01:40:59 ? github.com/edgexfoundry/device-usb-camera [no test files] 01:43:35 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 01:43:35 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.072s coverage: 2.0% of statements 01:43:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:43:35 go vet ./... 01:44:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:44:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:44:03 ./bin/test-attribution-txt.sh [Pipeline] echo 01:44:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:44:03 $ docker stop --time=1 39064c32c2c401e4519fd8247d423ff17f77bd5b874ae61434bdb026abe098f8 01:44:05 $ docker rm -f --volumes 39064c32c2c401e4519fd8247d423ff17f77bd5b874ae61434bdb026abe098f8 [Pipeline] // withDockerContainer [Pipeline] sh 01:44:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:44:06 Warning: overwriting stash ‘coverage-report’ 01:44:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:44:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:44:07 + ls -al . 01:44:07 total 188 01:44:07 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 01:40 . 01:44:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:37 .. 01:44:07 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 01:37 .git 01:44:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:37 .github 01:44:07 -rw-rw-r-- 1 jenkins jenkins 414 Apr 24 01:37 .gitignore 01:44:07 -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 01:37 .golangci.yml 01:44:07 -rw-rw-r-- 1 jenkins jenkins 77 Apr 24 01:37 .hadolint.yml 01:44:07 -rw-rw-r-- 1 jenkins jenkins 9665 Apr 24 01:37 Attribution.txt 01:44:07 -rw-rw-r-- 1 jenkins jenkins 6219 Apr 24 01:37 CHANGELOG.md 01:44:07 -rw-rw-r-- 1 jenkins jenkins 2328 Apr 24 01:37 Dockerfile 01:44:07 -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 01:37 GOVERNANCE.md 01:44:07 -rw-rw-r-- 1 jenkins jenkins 659 Apr 24 01:37 Jenkinsfile 01:44:07 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 01:37 LICENSE 01:44:07 -rw-rw-r-- 1 jenkins jenkins 2364 Apr 24 01:37 Makefile 01:44:07 -rw-rw-r-- 1 jenkins jenkins 622 Apr 24 01:37 OWNERS.md 01:44:07 -rw-rw-r-- 1 jenkins jenkins 5681 Apr 24 01:37 README.md 01:44:07 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 01:33 VERSION 01:44:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 01:37 bin 01:44:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:37 cmd 01:44:07 -rw-r--r-- 1 jenkins jenkins 28693 Apr 24 01:43 coverage.out 01:44:07 -rwxrwxr-x 1 jenkins jenkins 140 Apr 24 01:37 docker-entrypoint.sh 01:44:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:37 docs 01:44:07 -rw-rw-r-- 1 jenkins jenkins 3443 Apr 24 01:37 go.mod 01:44:07 -rw-rw-r-- 1 jenkins jenkins 31603 Apr 24 01:37 go.sum 01:44:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:37 internal 01:44:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:37 snap 01:44:07 -rw-rw-r-- 1 jenkins jenkins 231 Apr 24 01:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:08 + 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=1712ad8aa23467b9ad8e76847b9cb93e6ae1509c --label arch=arm64 --label version=0.0.0 . 01:44:08 Sending build context to Docker daemon 1.253MB 01:44:08 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 01:44:08 Step 2/35 : FROM ${BASE} AS builder 01:44:08 ---> 925b7d02f141 01:44:08 Step 3/35 : ARG ADD_BUILD_TAGS="" 01:44:08 ---> Running in 69c3d97265e8 01:44:09 Removing intermediate container 69c3d97265e8 01:44:09 ---> ee888436e6cf 01:44:09 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:44:09 ---> Running in 92c4efbd73d0 01:44:09 Removing intermediate container 92c4efbd73d0 01:44:09 ---> 7009a578c60e 01:44:09 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 01:44:09 ---> Running in 9aa33b73947c 01:44:09 Removing intermediate container 9aa33b73947c 01:44:09 ---> 78370ef1dd3f 01:44:09 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 01:44:10 ---> Running in 7917a792f602 01:44:10 Removing intermediate container 7917a792f602 01:44:10 ---> 7408f36ff542 01:44:10 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:44:10 ---> Running in d7fc1e99bd65 01:44:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:44:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:44:13 OK: 271 MiB in 67 packages 01:44:14 Removing intermediate container d7fc1e99bd65 01:44:14 ---> ff8a895ad913 01:44:14 Step 8/35 : WORKDIR /device-usb-camera 01:44:15 ---> Running in afac82541fa3 01:44:15 Removing intermediate container afac82541fa3 01:44:15 ---> 34debb89c3c9 01:44:15 Step 9/35 : COPY go.mod vendor* ./ 01:44:16 ---> 1561287387e7 01:44:16 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:44:16 ---> Running in 79dbbd5aafbf 01:44:19 Removing intermediate container 79dbbd5aafbf 01:44:19 ---> 6503670e01e9 01:44:19 Step 11/35 : COPY . . 01:44:20 ---> 19927a02e385 01:44:20 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 01:44:20 ---> Running in f795aefa07cf 01:44:21  % Total % Received % Xferd Average Speed Time Time Time Current 01:44:21 Dload Upload Total Spent Left Speed 01:44:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2986 0 --:--:-- --:--:-- --:--:-- 2991 01:44:22 Removing intermediate container f795aefa07cf 01:44:22 ---> 7a13411514fe 01:44:22 Step 13/35 : RUN ${MAKE} 01:44:22 ---> Running in ee970a3824e4 01:44:23 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 01:47:31 Removing intermediate container ee970a3824e4 01:47:31 ---> d995d5bb05a7 01:47:31 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 01:47:31 v0.21.6: Pulling from aler9/rtsp-simple-server 01:47:31 8766b47fe142: Pulling fs layer 01:47:31 8766b47fe142: Verifying Checksum 01:47:31 8766b47fe142: Download complete 01:47:31 8766b47fe142: Pull complete 01:47:31 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 01:47:31 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 01:47:31 ---> 69d40e2cb93c 01:47:31 Step 15/35 : FROM alpine:3.17 01:47:31 3.17: Pulling from library/alpine 01:47:31 c41833b44d91: Pulling fs layer 01:47:31 c41833b44d91: Verifying Checksum 01:47:31 c41833b44d91: Download complete 01:47:31 c41833b44d91: Pull complete 01:47:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:47:31 Status: Downloaded newer image for alpine:3.17 01:47:31 ---> 51e60588ff2c 01:47:31 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 01:47:31 ---> Running in dc54a05e6d91 01:47:31 Removing intermediate container dc54a05e6d91 01:47:31 ---> 312e563997c4 01:47:31 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 01:47:31 ---> Running in e00775e19fc1 01:47:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:47:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:47:31 (1/83) Installing dumb-init (1.2.5-r2) 01:47:31 (2/83) Installing sdl2 (2.26.5-r0) 01:47:31 (3/83) Installing libxau (1.0.10-r0) 01:47:31 (4/83) Installing libmd (1.0.4-r0) 01:47:31 (5/83) Installing libbsd (0.11.7-r0) 01:47:31 (6/83) Installing libxdmcp (1.1.4-r0) 01:47:31 (7/83) Installing libxcb (1.15-r0) 01:47:31 (8/83) Installing libx11 (1.8.4-r0) 01:47:31 (9/83) Installing aom-libs (3.5.0-r0) 01:47:31 (10/83) Installing alsa-lib (1.2.8-r0) 01:47:31 (11/83) Installing libexpat (2.5.0-r0) 01:47:31 (12/83) Installing brotli-libs (1.0.9-r9) 01:47:31 (13/83) Installing libbz2 (1.0.8-r4) 01:47:31 (14/83) Installing libpng (1.6.38-r0) 01:47:31 (15/83) Installing freetype (2.12.1-r0) 01:47:31 (16/83) Installing fontconfig (2.14.1-r0) 01:47:31 (17/83) Installing fribidi (1.0.12-r0) 01:47:31 (18/83) Installing libffi (3.4.4-r0) 01:47:31 (19/83) Installing libintl (0.21.1-r1) 01:47:31 (20/83) Installing libblkid (2.38.1-r1) 01:47:31 (21/83) Installing libmount (2.38.1-r1) 01:47:31 (22/83) Installing pcre2 (10.42-r0) 01:47:31 (23/83) Installing glib (2.74.6-r0) 01:47:31 (24/83) Installing graphite2 (1.3.14-r2) 01:47:31 (25/83) Installing harfbuzz (5.3.1-r1) 01:47:31 (26/83) Installing libass (0.16.0-r1) 01:47:31 (27/83) Installing libdav1d (1.0.0-r2) 01:47:31 (28/83) Installing libdrm (2.4.114-r0) 01:47:31 (29/83) Installing gmp (6.2.1-r2) 01:47:31 (30/83) Installing nettle (3.8.1-r0) 01:47:31 (31/83) Installing p11-kit (0.24.1-r1) 01:47:31 (32/83) Installing libtasn1 (4.19.0-r0) 01:47:31 (33/83) Installing libunistring (1.1-r0) 01:47:31 (34/83) Installing gnutls (3.7.8-r3) 01:47:31 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 01:47:31 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 01:47:31 (37/83) Installing lame (3.100-r2) 01:47:31 (38/83) Installing opus (1.3.1-r1) 01:47:31 (39/83) Installing libasyncns (0.8-r1) 01:47:31 (40/83) Installing dbus-libs (1.14.4-r0) 01:47:31 (41/83) Installing libltdl (2.4.7-r1) 01:47:31 (42/83) Installing orc (0.4.33-r0) 01:47:31 (43/83) Installing libgcc (12.2.1_git20220924-r4) 01:47:31 (44/83) Installing libogg (1.3.5-r2) 01:47:31 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 01:47:31 (46/83) Installing flac-libs (1.4.2-r0) 01:47:31 (47/83) Installing libvorbis (1.3.7-r0) 01:47:31 (48/83) Installing libsndfile (1.1.0-r2) 01:47:31 (49/83) Installing libgomp (12.2.1_git20220924-r4) 01:47:31 (50/83) Installing soxr (0.1.3-r3) 01:47:31 (51/83) Installing speexdsp (1.2.1-r0) 01:47:31 (52/83) Installing tdb-libs (1.4.6-r0) 01:47:31 (53/83) Installing libpulse (16.1-r6) 01:47:31 (54/83) Installing cjson (1.7.15-r3) 01:47:31 (55/83) Installing mbedtls (2.28.3-r0) 01:47:31 (56/83) Installing librist (0.2.7-r0) 01:47:31 (57/83) Installing libsrt (1.5.1-r0) 01:47:31 (58/83) Installing libssh (0.10.4-r0) 01:47:31 (59/83) Installing libtheora (1.1.1-r16) 01:47:31 (60/83) Installing libjpeg-turbo (2.1.4-r0) 01:47:31 (61/83) Installing v4l-utils-libs (1.22.1-r2) 01:47:31 (62/83) Installing libxext (1.3.5-r0) 01:47:31 (63/83) Installing libxfixes (6.0.0-r0) 01:47:31 (64/83) Installing wayland-libs-client (1.21.0-r1) 01:47:31 (65/83) Installing libva (2.16.0-r0) 01:47:31 (66/83) Installing libvdpau (1.5-r0) 01:47:31 (67/83) Installing vidstab (1.1.0-r2) 01:47:31 (68/83) Installing libvpx (1.12.0-r1) 01:47:31 (69/83) Installing libwebp (1.2.4-r1) 01:47:31 (70/83) Installing x264-libs (0.164_git20220602-r0) 01:47:31 (71/83) Installing numactl (2.0.16-r1) 01:47:31 (72/83) Installing x265-libs (3.5-r3) 01:47:31 (73/83) Installing xvidcore (1.3.7-r1) 01:47:31 (74/83) Installing libsodium (1.0.18-r2) 01:47:31 (75/83) Installing libzmq (4.3.4-r1) 01:47:31 (76/83) Installing ffmpeg-libs (5.1.3-r0) 01:47:31 (77/83) Installing ffmpeg (5.1.3-r0) 01:47:31 (78/83) Installing udev-init-scripts (35-r1) 01:47:31 (79/83) Installing eudev-libs (3.2.11-r4) 01:47:31 (80/83) Installing xz-libs (5.2.9-r0) 01:47:31 (81/83) Installing zstd-libs (1.5.5-r0) 01:47:31 (82/83) Installing kmod-libs (30-r1) 01:47:31 (83/83) Installing eudev (3.2.11-r4) 01:47:31 Executing busybox-1.35.0-r29.trigger 01:47:31 Executing eudev-3.2.11-r4.trigger 01:47:31 OK: 86 MiB in 98 packages 01:47:34 Removing intermediate container e00775e19fc1 01:47:34 ---> 21b546587865 01:47:34 Step 18/35 : WORKDIR / 01:47:34 ---> Running in d00afc4a5f28 01:47:35 Removing intermediate container d00afc4a5f28 01:47:35 ---> 495ec1dc3b8d 01:47:35 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 01:47:36 ---> 40e713e30247 01:47:36 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 01:47:37 ---> 546079a6948a 01:47:37 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 01:47:37 ---> 2e95e1ef0110 01:47:37 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 01:47:38 ---> 8f99a5d0a730 01:47:38 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 01:47:39 ---> 3e223f0bea8a 01:47:39 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 01:47:39 ---> 5d1b44aef424 01:47:39 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 01:47:41 ---> 882ae2e43c4d 01:47:41 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 01:47:41 ---> Running in 7bcc89f7f9ac 01:47:43 Removing intermediate container 7bcc89f7f9ac 01:47:43 ---> 283da1aa8309 01:47:43 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 01:47:43 ---> Running in cc0370f9e612 01:47:45 Removing intermediate container cc0370f9e612 01:47:45 ---> f2197fc6a8c3 01:47:45 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 01:47:45 ---> Running in 81d0c6ae44b3 01:47:47 Removing intermediate container 81d0c6ae44b3 01:47:47 ---> 6a774f99ef08 01:47:47 Step 29/35 : EXPOSE 59983 01:47:47 ---> Running in ebd5031d826e 01:47:47 Removing intermediate container ebd5031d826e 01:47:47 ---> d69a13de5694 01:47:47 Step 30/35 : EXPOSE 8554 01:47:47 ---> Running in 86df2557ba0a 01:47:47 Removing intermediate container 86df2557ba0a 01:47:47 ---> 58ac05e0767f 01:47:47 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 01:47:47 ---> Running in 442e406a055f 01:47:48 Removing intermediate container 442e406a055f 01:47:48 ---> c424d25c1296 01:47:48 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 01:47:48 ---> Running in f3066a17c386 01:47:48 Removing intermediate container f3066a17c386 01:47:48 ---> 118fa7400eeb 01:47:48 Step 33/35 : LABEL arch=arm64 01:47:48 ---> Running in 8dcb76015c16 01:47:48 Removing intermediate container 8dcb76015c16 01:47:48 ---> 58b607a31271 01:47:48 Step 34/35 : LABEL git_sha=1712ad8aa23467b9ad8e76847b9cb93e6ae1509c 01:47:49 ---> Running in 560fafb50fac 01:47:49 Removing intermediate container 560fafb50fac 01:47:49 ---> 7fccf8c666d7 01:47:49 Step 35/35 : LABEL version=0.0.0 01:47:49 ---> Running in 9d3505fdbfb3 01:47:49 Removing intermediate container 9d3505fdbfb3 01:47:49 ---> 80df8f59efe6 01:47:49 [Warning] One or more build-args [ARCH] were not consumed 01:47:49 Successfully built 80df8f59efe6 01:47:50 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 01:47:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:50 01:47:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:51 arm64: Pulling from edgex-lftools-log-publisher 01:47:51 8998bd30e6a1: Pulling fs layer 01:47:51 04944245beec: Pulling fs layer 01:47:51 699f458cf7ca: Pulling fs layer 01:47:51 765212b225bb: Pulling fs layer 01:47:51 f23df028b6ca: Pulling fs layer 01:47:51 d65c8cfc05b1: Pulling fs layer 01:47:51 2437ff75d9bd: Pulling fs layer 01:47:51 765212b225bb: Waiting 01:47:51 f23df028b6ca: Waiting 01:47:51 d65c8cfc05b1: Waiting 01:47:51 2437ff75d9bd: Waiting 01:47:51 04944245beec: Verifying Checksum 01:47:51 04944245beec: Download complete 01:47:51 765212b225bb: Verifying Checksum 01:47:51 765212b225bb: Download complete 01:47:51 f23df028b6ca: Download complete 01:47:51 d65c8cfc05b1: Verifying Checksum 01:47:51 d65c8cfc05b1: Download complete 01:47:51 699f458cf7ca: Verifying Checksum 01:47:51 699f458cf7ca: Download complete 01:47:51 8998bd30e6a1: Verifying Checksum 01:47:51 8998bd30e6a1: Download complete 01:47:54 2437ff75d9bd: Verifying Checksum 01:47:54 2437ff75d9bd: Download complete 01:47:56 8998bd30e6a1: Pull complete 01:47:56 04944245beec: Pull complete 01:47:58 699f458cf7ca: Pull complete 01:47:58 765212b225bb: Pull complete 01:47:59 f23df028b6ca: Pull complete 01:47:59 d65c8cfc05b1: Pull complete 01:48:14 2437ff75d9bd: Pull complete 01:48:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:48:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:14 prd-ubuntu20.04-docker-arm64-4c-16g-9449 does not seem to be running inside a container 01:48:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:48:18 $ docker top 07f086b7eeba1bb6663a253a793169cde67d0c368daccad098ac327ed9022642 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:19 ---> job-cost.sh 01:48:19 lf-activate-venv: SKIPPING 01:48:19 INFO: No Stack... 01:48:20 INFO: Retrieving Pricing Info for: v3-standard-4 01:48:20 INFO: Archiving Costs [Pipeline] sh 01:48:21 + cat /w/workspace/device-usb-camera/2/archives/cost.csv 01:48:21 + cut -d, -f6 [Pipeline] lock 01:48:21 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] 01:48:21 Resource [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] did not exist. Created. 01:48:21 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:48:22 /w/workspace/device-usb-camera/2@tmp/durable-ed3546af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:48:23 + echo total: 0.10999999940395355 [Pipeline] stash 01:48:23 Warning: overwriting stash ‘stack-cost’ 01:48:23 Stashed 1 file(s) [Pipeline] } 01:48:23 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-221-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:48:23 $ docker stop --time=1 07f086b7eeba1bb6663a253a793169cde67d0c368daccad098ac327ed9022642 01:48:24 $ docker rm -f --volumes 07f086b7eeba1bb6663a253a793169cde67d0c368daccad098ac327ed9022642 [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 01:48:25 provisioning config files... 01:48:25 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-221@tmp/config3371428407473381112tmp [Pipeline] { [Pipeline] sh 01:48:25 + set +x 01:48:25 + curl -s https://codecov.io/bash 01:48:25 + bash -s -- 01:48:25 01:48:25 _____ _ 01:48:25 / ____| | | 01:48:25 | | ___ __| | ___ ___ _____ __ 01:48:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:48:25 | |___| (_) | (_| | __/ (_| (_) \ V / 01:48:25 \_____\___/ \__,_|\___|\___\___/ \_/ 01:48:25 Bash-1.0.6 01:48:25 01:48:25 01:48:25 ==> git version 2.25.1 found 01:48:25 ==> 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 01:48:25 Release-Date: 2020-01-08 01:48:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:48:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:48:25 ==> Jenkins CI detected. 01:48:25 current dir:  /w/workspace/foundry_device-usb-camera_PR-221 01:48:25 project root: . 01:48:25 --> token set from env 01:48:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:48:25 ==> Running gcov in . (disable via -X gcov) 01:48:25 ==> Python coveragepy not found 01:48:25 ==> Searching for coverage reports in: 01:48:25 + . 01:48:25 -> Found 1 reports 01:48:25 ==> Detecting git/mercurial file structure 01:48:25 ==> Reading reports 01:48:25 + ./coverage.out bytes=28693 01:48:25 ==> Appending adjustments 01:48:25 https://docs.codecov.io/docs/fixing-reports 01:48:25 + Found adjustments 01:48:25 ==> Gzipping contents 01:48:25 4.0K /tmp/codecov.URVKUK.gz 01:48:25 ==> Uploading reports 01:48:25 url: https://codecov.io 01:48:25 query: branch=PR-221&commit=1712ad8aa23467b9ad8e76847b9cb93e6ae1509c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-221%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=221&job=&cmd_args= 01:48:25 -> Pinging Codecov 01:48:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-221&commit=1712ad8aa23467b9ad8e76847b9cb93e6ae1509c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-221%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=221&job=&cmd_args= 01:48:25 -> Uploading to 01:48:25 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/73D8F5FF140700D3E01443B452E23636/1712ad8aa23467b9ad8e76847b9cb93e6ae1509c/72a4b3e1-6d33-4418-ab73-573abadd4a3b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T014825Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5eb157c94879a5c72cb048c296147f77752193cba600ee203e5f3f3df4acad64 01:48:25 % Total % Received % Xferd Average Speed Time Time Time Current 01:48:25 Dload Upload Total Spent Left Speed 01:48:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 15228 --:--:-- --:--:-- --:--:-- 15287 01:48:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/1712ad8aa23467b9ad8e76847b9cb93e6ae1509c [Pipeline] } 01:48:26 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 01:48:26 + [ -d /w/workspace/foundry_device-usb-camera_PR-221/archives ] 01:48:26 + ls -al /w/workspace/foundry_device-usb-camera_PR-221/archives 01:48:26 total 16 01:48:26 drwxr-xr-x 3 root root 4096 Apr 24 01:35 . 01:48:26 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 01:35 .. 01:48:26 drwxr-xr-x 2 root root 4096 Apr 24 01:35 cost 01:48:26 -rw-r--r-- 1 root root 89 Apr 24 01:35 cost.csv 01:48:26 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-221/archives 01:48:26 + ls -al /w/workspace/foundry_device-usb-camera_PR-221/archives 01:48:26 total 16 01:48:26 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 01:35 . 01:48:26 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 01:35 .. 01:48:26 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 01:35 cost 01:48:26 -rw-r--r-- 1 jenkins jenkins 89 Apr 24 01:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:48:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:48:28 ---> package-listing.sh 01:48:28 ++ facter osfamily 01:48:28 ++ tr '[:upper:]' '[:lower:]' 01:48:28 + OS_FAMILY=debian 01:48:28 + workspace=/w/workspace/foundry_device-usb-camera_PR-221 01:48:28 + START_PACKAGES=/tmp/packages_start.txt 01:48:28 + END_PACKAGES=/tmp/packages_end.txt 01:48:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:48:28 + PACKAGES=/tmp/packages_start.txt 01:48:28 + '[' /w/workspace/foundry_device-usb-camera_PR-221 ']' 01:48:28 + PACKAGES=/tmp/packages_end.txt 01:48:28 + case "${OS_FAMILY}" in 01:48:28 + dpkg -l 01:48:28 + grep '^ii' 01:48:28 + '[' -f /tmp/packages_start.txt ']' 01:48:28 + '[' -f /tmp/packages_end.txt ']' 01:48:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:48:28 + '[' /w/workspace/foundry_device-usb-camera_PR-221 ']' 01:48:28 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-221/archives/ 01:48:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-221/archives/ [Pipeline] echo 01:48:28 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-221/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:48:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:29 prd-ubuntu20.04-docker-8c-8g-9429 does not seem to be running inside a container 01:48: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-221/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-221 -v /w/workspace/foundry_device-usb-camera_PR-221:/w/workspace/foundry_device-usb-camera_PR-221:rw,z -v /w/workspace/foundry_device-usb-camera_PR-221@tmp:/w/workspace/foundry_device-usb-camera_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:48:29 $ docker top 3cf5a8c9fa61579bf55923814fb315017294b1294dc6eb9c5fee334491c5dd60 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:29 + touch /tmp/pre-build-complete [Pipeline] sh 01:48:30 + mkdir -p /var/log/sysstat [Pipeline] sh 01:48:30 + ls /var/log/sa-host 01:48:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:30 provisioning config files... 01:48:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-221@tmp/config11913766327528465383tmp [Pipeline] { [Pipeline] echo 01:48:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:48:30 ---> create-netrc.sh [Pipeline] } 01:48:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:48:31 ---> python-tools-install.sh [Pipeline] echo 01:48:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:48:31 ---> sudo-logs.sh 01:48:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:48:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:48:31 ---> job-cost.sh 01:48:31 lf-activate-venv: SKIPPING 01:48:31 DEBUG: total: 0.2199999988079071 01:48:31 INFO: Retrieving Stack Cost... 01:48:31 INFO: Retrieving Pricing Info for: v3-standard-8 01:48:32 INFO: Archiving Costs [Pipeline] echo 01:48:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:48:32 ---> logs-deploy.sh 01:48:32 lf-activate-venv: SKIPPING 01:48:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-221/2 01:48:32 INFO: archiving workspace using pattern(s): 01:48:33 Archives upload complete. 01:48:33 INFO: archiving logs to Nexus