Pull request #218 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 48f6d718639dd3efff29721b1202f4dcb7e1dd07+f433dd4a7f716b42d434c791f0c601cda98ab1b1 (c1adf039bae0d5e52c139de895dc751154231968) 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-ssh17512821154362247550.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-ssh11644550677562303451.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-218/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-218/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4756554301843593968.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-ssh1615648507801938657.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-218/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-218/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh505897987302828040.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-8594’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8595’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9032’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9034’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-9033’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9035 in /w/workspace/foundry_device-usb-camera_PR-218 [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-218 # 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/218/head:refs/remotes/origin/PR-218 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f433dd4a7f716b42d434c791f0c601cda98ab1b1 into PR head commit 48f6d718639dd3efff29721b1202f4dcb7e1dd07 Merge succeeded, producing 48f6d718639dd3efff29721b1202f4dcb7e1dd07 Checking out Revision 48f6d718639dd3efff29721b1202f4dcb7e1dd07 (PR-218) > git config core.sparsecheckout # timeout=10 > git checkout -f 48f6d718639dd3efff29721b1202f4dcb7e1dd07 # 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 f433dd4a7f716b42d434c791f0c601cda98ab1b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48f6d718639dd3efff29721b1202f4dcb7e1dd07 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. > git rev-list --no-walk 74cbd3401001c125d0c72a8ef20bd6601a5fffe1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:39:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:39:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:39:20 ========================================================= 02:39:20 EdgeX Global Pipelines Version Info 02:39:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:39:21 ------------------- 02:39:21 stable info: 02:39:21 ------------------- 02:39:21 Commited By: Bill Mahoney bill.mahoney@intel.com 02:39:21 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:39:21 Message: update stable to v1.0.248 02:39:22 ------------------- 02:39:22 experimental info: 02:39:22 ------------------- 02:39:22 Commited By: **** collab-it+edgex@linuxfoundation.org 02:39:22 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:39:22 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-218 [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-218 [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-218 [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48f6d718639dd3efff29721b1202f4dcb7e1dd07 [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48f6d71 [Pipeline] echo 02:39:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:23 provisioning config files... 02:39:23 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-218@tmp/config5275183827995375961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:23 ---> docker-login.sh 02:39:23 nexus3.edgexfoundry.org:10001 02:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:23 Configure a credential helper to remove this warning. See 02:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:23 02:39:23 Login Succeeded 02:39:23 nexus3.edgexfoundry.org:10002 02:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:23 Configure a credential helper to remove this warning. See 02:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:23 02:39:23 Login Succeeded 02:39:23 nexus3.edgexfoundry.org:10003 02:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:23 Configure a credential helper to remove this warning. See 02:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:23 02:39:23 Login Succeeded 02:39:23 nexus3.edgexfoundry.org:10004 02:39:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:23 Configure a credential helper to remove this warning. See 02:39:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:23 02:39:23 Login Succeeded 02:39:23 docker.io 02:39:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:24 Configure a credential helper to remove this warning. See 02:39:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:24 02:39:24 Login Succeeded 02:39:24 ---> docker-login.sh ends [Pipeline] } 02:39:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:39:24 + git rev-list -1 --merges 48f6d718639dd3efff29721b1202f4dcb7e1dd07~1..48f6d718639dd3efff29721b1202f4dcb7e1dd07 [Pipeline] echo 02:39:24 -----------> git rev-list -1 --merges 48f6d718639dd3efff29721b1202f4dcb7e1dd07~1..48f6d718639dd3efff29721b1202f4dcb7e1dd07 48f6d718639dd3efff29721b1202f4dcb7e1dd07 [false] [Pipeline] sh 02:39:24 + git log --format=format:%s -1 48f6d718639dd3efff29721b1202f4dcb7e1dd07 [Pipeline] echo 02:39:24 ========================================================= 02:39:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:39:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:39:25 + git log --format=format:%s -1 48f6d718639dd3efff29721b1202f4dcb7e1dd07 [Pipeline] echo 02:39:25 [semverPrep] GIT_COMMIT: 48f6d718639dd3efff29721b1202f4dcb7e1dd07, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 02:39:25 [semverPrep] This is not a build commit. [Pipeline] sh 02:39:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:39:25 + grep -v github /etc/ssh/ssh_known_hosts 02:39:25 + [ -e /tmp/ssh_known_hosts ] 02:39:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:39:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:39:25 + sudo tee -a /etc/ssh/ssh_known_hosts 02:39:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:25 02:39:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:26 0.1.4: Pulling from edgex-devops/py-git-semver 02:39:26 b85a868b505f: Pulling fs layer 02:39:26 e2be974225ed: Pulling fs layer 02:39:26 339a4e72a1f5: Pulling fs layer 02:39:26 988bab9f4d93: Pulling fs layer 02:39:26 1469e6f7b9e6: Pulling fs layer 02:39:26 eaf3925da568: Pulling fs layer 02:39:26 bab4dde63d76: Pulling fs layer 02:39:26 bde34c3a00c8: Pulling fs layer 02:39:26 b352a97aabf1: Pulling fs layer 02:39:26 4872d77fe225: Pulling fs layer 02:39:26 5851b861e8e6: Pulling fs layer 02:39:26 eaf3925da568: Waiting 02:39:26 988bab9f4d93: Waiting 02:39:26 bab4dde63d76: Waiting 02:39:26 1469e6f7b9e6: Waiting 02:39:26 bde34c3a00c8: Waiting 02:39:26 b352a97aabf1: Waiting 02:39:26 4872d77fe225: Waiting 02:39:26 5851b861e8e6: Waiting 02:39:26 e2be974225ed: Verifying Checksum 02:39:26 e2be974225ed: Download complete 02:39:26 988bab9f4d93: Verifying Checksum 02:39:26 988bab9f4d93: Download complete 02:39:26 339a4e72a1f5: Verifying Checksum 02:39:26 339a4e72a1f5: Download complete 02:39:26 1469e6f7b9e6: Verifying Checksum 02:39:26 1469e6f7b9e6: Download complete 02:39:26 eaf3925da568: Verifying Checksum 02:39:26 eaf3925da568: Download complete 02:39:26 bde34c3a00c8: Verifying Checksum 02:39:26 bde34c3a00c8: Download complete 02:39:26 b352a97aabf1: Verifying Checksum 02:39:26 b352a97aabf1: Download complete 02:39:26 4872d77fe225: Download complete 02:39:26 5851b861e8e6: Download complete 02:39:26 b85a868b505f: Verifying Checksum 02:39:26 b85a868b505f: Download complete 02:39:26 bab4dde63d76: Verifying Checksum 02:39:26 bab4dde63d76: Download complete 02:39:27 b85a868b505f: Pull complete 02:39:27 e2be974225ed: Pull complete 02:39:28 339a4e72a1f5: Pull complete 02:39:28 988bab9f4d93: Pull complete 02:39:28 1469e6f7b9e6: Pull complete 02:39:29 eaf3925da568: Pull complete 02:39:30 bab4dde63d76: Pull complete 02:39:31 bde34c3a00c8: Pull complete 02:39:31 b352a97aabf1: Pull complete 02:39:31 4872d77fe225: Pull complete 02:39:31 5851b861e8e6: Pull complete 02:39:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:39:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:39:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:32 prd-ubuntu20.04-docker-8c-8g-9035 does not seem to be running inside a container 02:39:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-218 -v /w/workspace/foundry_device-usb-camera_PR-218:/w/workspace/foundry_device-usb-camera_PR-218:rw,z -v /w/workspace/foundry_device-usb-camera_PR-218@tmp:/w/workspace/foundry_device-usb-camera_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:39:37 $ docker top e39831ccf8cfe1a39e7666c0a72759319c55cbafc726f25a0d2d490426a481cb -eo pid,comm 02:39:37 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). 02:39:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:39:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:37 [ssh-agent] Looking for ssh-agent implementation... 02:39:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:37 $ docker exec e39831ccf8cfe1a39e7666c0a72759319c55cbafc726f25a0d2d490426a481cb ssh-agent 02:39:37 SSH_AUTH_SOCK=/tmp/ssh-WIFGikQVPqSK/agent.13 02:39:37 SSH_AGENT_PID=26 02:39:37 Running ssh-add (command line suppressed) 02:39:37 Identity added: /w/workspace/foundry_device-usb-camera_PR-218@tmp/private_key_17635301114283392799.key (/w/workspace/foundry_device-usb-camera_PR-218@tmp/private_key_17635301114283392799.key) 02:39:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:38 + git tag --points-at HEAD [Pipeline] } 02:39:38 $ docker exec --env ******** --env ******** e39831ccf8cfe1a39e7666c0a72759319c55cbafc726f25a0d2d490426a481cb ssh-agent -k 02:39:38 unset SSH_AUTH_SOCK; 02:39:38 unset SSH_AGENT_PID; 02:39:38 echo Agent pid 26 killed; 02:39:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:39:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:39:38 [ssh-agent] Looking for ssh-agent implementation... 02:39:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:39:38 $ docker exec e39831ccf8cfe1a39e7666c0a72759319c55cbafc726f25a0d2d490426a481cb ssh-agent 02:39:38 SSH_AUTH_SOCK=/tmp/ssh-R4sHOAEQtSFA/agent.70 02:39:38 SSH_AGENT_PID=76 02:39:38 Running ssh-add (command line suppressed) 02:39:38 Identity added: /w/workspace/foundry_device-usb-camera_PR-218@tmp/private_key_548268334564828225.key (/w/workspace/foundry_device-usb-camera_PR-218@tmp/private_key_548268334564828225.key) 02:39:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:39:38 + git semver init 02:39:39 2023-04-19 02:39:39,305 [run_init] DEBUG init version:0.0.0 force:False 02:39:39 2023-04-19 02:39:39,306 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-218/.semver 02:39:39 2023-04-19 02:39:39,307 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-218/.semver 02:39:39 2023-04-19 02:39:39,307 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-218/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-218, universal_newlines=False, shell=None, istream=None) 02:39:40 2023-04-19 02:39:40,048 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-218/.git/info/exclude 02:39:40 2023-04-19 02:39:40,049 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-218/.semver/PR-218 with force:False 02:39:40 2023-04-19 02:39:40,049 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-218/.semver/PR-218 02:39:40 2023-04-19 02:39:40,051 [execute] INFO git cat-file --batch-check 02:39:40 2023-04-19 02:39:40,052 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-218/.semver, universal_newlines=False, shell=None, istream=) 02:39:40 2023-04-19 02:39:40,059 [execute] INFO git cat-file --batch 02:39:40 2023-04-19 02:39:40,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-218/.semver, universal_newlines=False, shell=None, istream=) 02:39:40 2023-04-19 02:39:40,065 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-218/.semver/PR-218 02:39:40 0.0.0 [Pipeline] } 02:39:40 $ docker exec --env ******** --env ******** e39831ccf8cfe1a39e7666c0a72759319c55cbafc726f25a0d2d490426a481cb ssh-agent -k 02:39:40 unset SSH_AUTH_SOCK; 02:39:40 unset SSH_AGENT_PID; 02:39:40 echo Agent pid 76 killed; 02:39:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:39:40 + git semver [Pipeline] } 02:39:41 $ docker stop --time=1 e39831ccf8cfe1a39e7666c0a72759319c55cbafc726f25a0d2d490426a481cb 02:39:42 $ docker rm -f --volumes e39831ccf8cfe1a39e7666c0a72759319c55cbafc726f25a0d2d490426a481cb [Pipeline] // withDockerContainer [Pipeline] sh 02:39:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:39:43 Stashed 1 file(s) [Pipeline] echo 02:39:43 [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 02:39:43 provisioning config files... 02:39:43 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-218@tmp/config16808303509995702642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:43 ---> docker-login.sh 02:39:43 nexus3.edgexfoundry.org:10001 02:39:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:43 Configure a credential helper to remove this warning. See 02:39:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:43 02:39:43 Login Succeeded 02:39:43 nexus3.edgexfoundry.org:10002 02:39:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:43 Configure a credential helper to remove this warning. See 02:39:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:43 02:39:43 Login Succeeded 02:39:43 nexus3.edgexfoundry.org:10003 02:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:44 Configure a credential helper to remove this warning. See 02:39:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:44 02:39:44 Login Succeeded 02:39:44 nexus3.edgexfoundry.org:10004 02:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:44 Configure a credential helper to remove this warning. See 02:39:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:44 02:39:44 Login Succeeded 02:39:44 docker.io 02:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:44 Configure a credential helper to remove this warning. See 02:39:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:44 02:39:44 Login Succeeded 02:39:44 ---> docker-login.sh ends [Pipeline] } 02:39:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:39:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:44 ========================================================= 02:39:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:39:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:44 + 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 . 02:39:44 Sending build context to Docker daemon 1.926MB 02:39:44 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 02:39:44 Step 2/13 : FROM ${BASE} AS builder 02:39:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:39:45 63b65145d645: Pulling fs layer 02:39:45 a2d21d5440eb: Pulling fs layer 02:39:45 935e6c44a52c: Pulling fs layer 02:39:45 94cc34f8dd06: Pulling fs layer 02:39:45 30dea6a524f1: Pulling fs layer 02:39:45 a2aff8979fd8: Pulling fs layer 02:39:45 6808be2612f2: Pulling fs layer 02:39:45 f25807f1079a: Pulling fs layer 02:39:45 30dea6a524f1: Waiting 02:39:45 94cc34f8dd06: Waiting 02:39:45 6808be2612f2: Waiting 02:39:45 a2aff8979fd8: Waiting 02:39:45 a2d21d5440eb: Verifying Checksum 02:39:45 a2d21d5440eb: Download complete 02:39:45 94cc34f8dd06: Download complete 02:39:45 30dea6a524f1: Verifying Checksum 02:39:45 30dea6a524f1: Download complete 02:39:45 63b65145d645: Verifying Checksum 02:39:45 63b65145d645: Download complete 02:39:45 a2aff8979fd8: Verifying Checksum 02:39:45 a2aff8979fd8: Download complete 02:39:45 63b65145d645: Pull complete 02:39:45 f25807f1079a: Verifying Checksum 02:39:45 f25807f1079a: Download complete 02:39:45 a2d21d5440eb: Pull complete 02:39:45 935e6c44a52c: Verifying Checksum 02:39:45 935e6c44a52c: Download complete 02:39:45 6808be2612f2: Verifying Checksum 02:39:45 6808be2612f2: Download complete 02:39:49 935e6c44a52c: Pull complete 02:39:49 94cc34f8dd06: Pull complete 02:39:49 30dea6a524f1: Pull complete 02:39:49 a2aff8979fd8: Pull complete 02:39:52 6808be2612f2: Pull complete 02:39:53 f25807f1079a: Pull complete 02:39:53 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:39:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:39:53 ---> 3b553350e43f 02:39:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:39:58 Still waiting to schedule task 02:39:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:40:01 ---> Running in 087194623dab 02:40:01 Removing intermediate container 087194623dab 02:40:01 ---> b5b0c3e3fca2 02:40:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:40:01 ---> Running in 58dadb8b2e26 02:40:01 Removing intermediate container 58dadb8b2e26 02:40:01 ---> 96019d10048c 02:40:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 02:40:01 ---> Running in 9f82041a12d2 02:40:01 Removing intermediate container 9f82041a12d2 02:40:01 ---> af75774eda18 02:40:01 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 02:40:01 ---> Running in db1ec51d8e70 02:40:01 Removing intermediate container db1ec51d8e70 02:40:01 ---> efe9da0d7908 02:40:01 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:40:01 ---> Running in d3c3f1d7fd66 02:40:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:40:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:40:02 (1/14) Installing libintl (0.21.1-r1) 02:40:02 (2/14) Installing eudev-libs (3.2.11-r4) 02:40:02 (3/14) Installing libjpeg-turbo (2.1.4-r0) 02:40:02 (4/14) Installing v4l-utils-libs (1.22.1-r2) 02:40:02 (5/14) Installing v4l-utils (1.22.1-r2) 02:40:02 (6/14) Installing udev-init-scripts (35-r1) 02:40:02 (7/14) Installing libblkid (2.38.1-r1) 02:40:02 (8/14) Installing xz-libs (5.2.9-r0) 02:40:02 (9/14) Installing zstd-libs (1.5.5-r0) 02:40:02 (10/14) Installing kmod-libs (30-r1) 02:40:02 (11/14) Installing eudev (3.2.11-r4) 02:40:02 (12/14) Installing eudev-dev (3.2.11-r4) 02:40:02 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 02:40:02 (14/14) Installing v4l-utils-dev (1.22.1-r2) 02:40:02 Executing busybox-1.35.0-r29.trigger 02:40:02 Executing eudev-3.2.11-r4.trigger 02:40:02 OK: 272 MiB in 67 packages 02:40:03 Removing intermediate container d3c3f1d7fd66 02:40:03 ---> cfb97f92ff16 02:40:03 Step 8/13 : WORKDIR /device-usb-camera 02:40:03 ---> Running in 1e20b250ec70 02:40:03 Removing intermediate container 1e20b250ec70 02:40:03 ---> ada0909b6551 02:40:03 Step 9/13 : COPY go.mod vendor* ./ 02:40:03 ---> 3b705083e525 02:40:03 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:40:03 ---> Running in 264f9cdbd59f 02:40:35 Removing intermediate container 264f9cdbd59f 02:40:35 ---> 864d51ffa6d7 02:40:35 Step 11/13 : COPY . . 02:40:35 ---> 0966ddc9fded 02:40:35 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 02:40:35 ---> Running in 8d8e4f8bfc16 02:40:36  % Total % Received % Xferd Average Speed Time Time Time Current 02:40:36 Dload Upload Total Spent Left Speed 02:40:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7861 0 --:--:-- --:--:-- --:--:-- 7925 02:40:36 Removing intermediate container 8d8e4f8bfc16 02:40:36 ---> 3453c7595c16 02:40:36 Step 13/13 : RUN ${MAKE} 02:40:36 ---> Running in c95cc469e4f5 02:40:37 noop 02:40:37 Removing intermediate container c95cc469e4f5 02:40:37 ---> fab46ee0d7df 02:40:37 Successfully built fab46ee0d7df 02:40:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:38 + docker inspect -f . ci-base-image-x86_64 02:40:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:38 prd-ubuntu20.04-docker-8c-8g-9035 does not seem to be running inside a container 02:40:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-218 -v /w/workspace/foundry_device-usb-camera_PR-218:/w/workspace/foundry_device-usb-camera_PR-218:rw,z -v /w/workspace/foundry_device-usb-camera_PR-218@tmp:/w/workspace/foundry_device-usb-camera_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:40:38 $ docker top 037f909005092848ef073c199a0a87aaf279b41ee7162ad9b64866b857a4b621 -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:39 + go version 02:40:39 go version go1.20.2 linux/amd64 [Pipeline] } 02:40:39 $ docker stop --time=1 037f909005092848ef073c199a0a87aaf279b41ee7162ad9b64866b857a4b621 02:40:40 $ docker rm -f --volumes 037f909005092848ef073c199a0a87aaf279b41ee7162ad9b64866b857a4b621 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:40 + docker inspect -f . ci-base-image-x86_64 02:40:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:40 prd-ubuntu20.04-docker-8c-8g-9035 does not seem to be running inside a container 02:40:41 $ 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-218 -v /w/workspace/foundry_device-usb-camera_PR-218:/w/workspace/foundry_device-usb-camera_PR-218:rw,z -v /w/workspace/foundry_device-usb-camera_PR-218@tmp:/w/workspace/foundry_device-usb-camera_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:40:41 $ docker top f4b35ad42bed4c3e9bfc89946e57780afa1da5f68de5e6733e6dff0661bb14dc -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:41 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-218 [Pipeline] fileExists [Pipeline] sh 02:40:42 + make test 02:40:42 go test ./... -coverprofile=coverage.out ./... 02:40:47 ? github.com/edgexfoundry/device-usb-camera [no test files] 02:40:59 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 02:40:59 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.079s coverage: 2.0% of statements 02:41:04 go vet ./... 02:41:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:41:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:41:09 ./bin/test-attribution-txt.sh [Pipeline] echo 02:41:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:41:09 $ docker stop --time=1 f4b35ad42bed4c3e9bfc89946e57780afa1da5f68de5e6733e6dff0661bb14dc 02:41:14 $ docker rm -f --volumes f4b35ad42bed4c3e9bfc89946e57780afa1da5f68de5e6733e6dff0661bb14dc [Pipeline] // withDockerContainer [Pipeline] sh 02:41:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:41:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:41:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:41:15 + ls -al . 02:41:15 total 192 02:41:15 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 02:40 . 02:41:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:39 .. 02:41:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 02:39 .git 02:41:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:39 .github 02:41:15 -rw-rw-r-- 1 jenkins jenkins 414 Apr 19 02:39 .gitignore 02:41:15 -rw-rw-r-- 1 jenkins jenkins 42 Apr 19 02:39 .golangci.yml 02:41:15 -rw-rw-r-- 1 jenkins jenkins 77 Apr 19 02:39 .hadolint.yml 02:41:15 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 02:39 .semver 02:41:15 -rw-rw-r-- 1 jenkins jenkins 9665 Apr 19 02:39 Attribution.txt 02:41:15 -rw-rw-r-- 1 jenkins jenkins 6219 Apr 19 02:39 CHANGELOG.md 02:41:15 -rw-rw-r-- 1 jenkins jenkins 2328 Apr 19 02:39 Dockerfile 02:41:15 -rw-rw-r-- 1 jenkins jenkins 678 Apr 19 02:39 GOVERNANCE.md 02:41:15 -rw-rw-r-- 1 jenkins jenkins 659 Apr 19 02:39 Jenkinsfile 02:41:15 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 19 02:39 LICENSE 02:41:15 -rw-rw-r-- 1 jenkins jenkins 2364 Apr 19 02:39 Makefile 02:41:15 -rw-rw-r-- 1 jenkins jenkins 622 Apr 19 02:39 OWNERS.md 02:41:15 -rw-rw-r-- 1 jenkins jenkins 5681 Apr 19 02:39 README.md 02:41:15 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 02:39 VERSION 02:41:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 02:39 bin 02:41:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:39 cmd 02:41:15 -rw-r--r-- 1 jenkins jenkins 28863 Apr 19 02:40 coverage.out 02:41:15 -rwxrwxr-x 1 jenkins jenkins 140 Apr 19 02:39 docker-entrypoint.sh 02:41:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:39 docs 02:41:15 -rw-rw-r-- 1 jenkins jenkins 3443 Apr 19 02:39 go.mod 02:41:15 -rw-rw-r-- 1 jenkins jenkins 31713 Apr 19 02:39 go.sum 02:41:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:39 internal 02:41:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:39 snap 02:41:15 -rw-rw-r-- 1 jenkins jenkins 231 Apr 19 02:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:16 + 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=48f6d718639dd3efff29721b1202f4dcb7e1dd07 --label arch=amd64 --label version=0.0.0 . 02:41:16 Sending build context to Docker daemon 1.955MB 02:41:16 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 02:41:16 Step 2/35 : FROM ${BASE} AS builder 02:41:16 ---> fab46ee0d7df 02:41:16 Step 3/35 : ARG ADD_BUILD_TAGS="" 02:41:16 ---> Running in f7164212fbbf 02:41:16 Removing intermediate container f7164212fbbf 02:41:16 ---> 8ce719925bb6 02:41:16 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:41:16 ---> Running in cf50f5a2c035 02:41:17 Removing intermediate container cf50f5a2c035 02:41:17 ---> 5d3c7f8c4302 02:41:17 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 02:41:17 ---> Running in ba8e9f2aec5e 02:41:17 Removing intermediate container ba8e9f2aec5e 02:41:17 ---> 708ea39f710d 02:41:17 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 02:41:17 ---> Running in c442d18bf301 02:41:17 Removing intermediate container c442d18bf301 02:41:17 ---> 08093277f434 02:41:17 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:41:17 ---> Running in 95c450d372ef 02:41:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:41:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:41:18 OK: 272 MiB in 67 packages 02:41:18 Removing intermediate container 95c450d372ef 02:41:18 ---> 6abfc7adb1bf 02:41:18 Step 8/35 : WORKDIR /device-usb-camera 02:41:19 ---> Running in 51079d1f1024 02:41:19 Removing intermediate container 51079d1f1024 02:41:19 ---> b6e114d674d1 02:41:19 Step 9/35 : COPY go.mod vendor* ./ 02:41:19 ---> 23fc242df143 02:41:19 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:41:19 ---> Running in 2473dc6068c4 02:41:20 Removing intermediate container 2473dc6068c4 02:41:20 ---> 128c32223a0d 02:41:20 Step 11/35 : COPY . . 02:41:20 ---> f505ad216898 02:41:20 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 02:41:21 ---> Running in 8a03b52e0c81 02:41:21  % Total % Received % Xferd Average Speed Time Time Time Current 02:41:21 Dload Upload Total Spent Left Speed 02:41:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 16042 0 --:--:-- --:--:-- --:--:-- 16338 02:41:21 Removing intermediate container 8a03b52e0c81 02:41:21 ---> 1f7b7b741988 02:41:21 Step 13/35 : RUN ${MAKE} 02:41:21 ---> Running in b4d76b553913 02:41:22 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 02:41:49 Removing intermediate container b4d76b553913 02:41:49 ---> fad45dba64ed 02:41:49 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 02:41:49 v0.21.6: Pulling from aler9/rtsp-simple-server 02:41:49 4acc49c71d14: Pulling fs layer 02:41:49 4acc49c71d14: Verifying Checksum 02:41:49 4acc49c71d14: Download complete 02:41:49 4acc49c71d14: Pull complete 02:41:49 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 02:41:49 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 02:41:49 ---> 01a2bd3e5fff 02:41:49 Step 15/35 : FROM alpine:3.17 02:41:49 3.17: Pulling from library/alpine 02:41:49 f56be85fc22e: Pulling fs layer 02:41:49 f56be85fc22e: Download complete 02:41:49 f56be85fc22e: Pull complete 02:41:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:41:49 Status: Downloaded newer image for alpine:3.17 02:41:49 ---> 9ed4aefc74f6 02:41:49 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:41:49 ---> Running in 8183aa093b22 02:41:50 Removing intermediate container 8183aa093b22 02:41:50 ---> fcd4bfdc8a4b 02:41:50 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 02:41:50 ---> Running in 80c442db8c3b 02:41:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:41:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:41:50 (1/86) Installing dumb-init (1.2.5-r2) 02:41:50 (2/86) Installing sdl2 (2.26.5-r0) 02:41:50 (3/86) Installing svt-av1-libs (1.3.0-r0) 02:41:51 (4/86) Installing libxau (1.0.10-r0) 02:41:51 (5/86) Installing libmd (1.0.4-r0) 02:41:51 (6/86) Installing libbsd (0.11.7-r0) 02:41:51 (7/86) Installing libxdmcp (1.1.4-r0) 02:41:51 (8/86) Installing libxcb (1.15-r0) 02:41:51 (9/86) Installing libx11 (1.8.4-r0) 02:41:51 (10/86) Installing aom-libs (3.5.0-r0) 02:41:51 (11/86) Installing alsa-lib (1.2.8-r0) 02:41:51 (12/86) Installing libexpat (2.5.0-r0) 02:41:51 (13/86) Installing brotli-libs (1.0.9-r9) 02:41:51 (14/86) Installing libbz2 (1.0.8-r4) 02:41:51 (15/86) Installing libpng (1.6.38-r0) 02:41:51 (16/86) Installing freetype (2.12.1-r0) 02:41:51 (17/86) Installing fontconfig (2.14.1-r0) 02:41:51 (18/86) Installing fribidi (1.0.12-r0) 02:41:51 (19/86) Installing libffi (3.4.4-r0) 02:41:51 (20/86) Installing libintl (0.21.1-r1) 02:41:51 (21/86) Installing libblkid (2.38.1-r1) 02:41:51 (22/86) Installing libmount (2.38.1-r1) 02:41:51 (23/86) Installing pcre2 (10.42-r0) 02:41:51 (24/86) Installing glib (2.74.6-r0) 02:41:51 (25/86) Installing graphite2 (1.3.14-r2) 02:41:51 (26/86) Installing harfbuzz (5.3.1-r1) 02:41:51 (27/86) Installing libass (0.16.0-r1) 02:41:51 (28/86) Installing libdav1d (1.0.0-r2) 02:41:51 (29/86) Installing hwdata-pci (0.364-r0) 02:41:51 (30/86) Installing libpciaccess (0.17-r0) 02:41:51 (31/86) Installing libdrm (2.4.114-r0) 02:41:51 (32/86) Installing gmp (6.2.1-r2) 02:41:51 (33/86) Installing nettle (3.8.1-r0) 02:41:51 (34/86) Installing p11-kit (0.24.1-r1) 02:41:51 (35/86) Installing libtasn1 (4.19.0-r0) 02:41:51 (36/86) Installing libunistring (1.1-r0) 02:41:51 (37/86) Installing gnutls (3.7.8-r3) 02:41:51 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 02:41:51 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 02:41:51 (40/86) Installing lame (3.100-r2) 02:41:51 (41/86) Installing opus (1.3.1-r1) 02:41:51 (42/86) Installing libasyncns (0.8-r1) 02:41:51 (43/86) Installing dbus-libs (1.14.4-r0) 02:41:51 (44/86) Installing libltdl (2.4.7-r1) 02:41:51 (45/86) Installing orc (0.4.33-r0) 02:41:51 (46/86) Installing libgcc (12.2.1_git20220924-r4) 02:41:51 (47/86) Installing libogg (1.3.5-r2) 02:41:51 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 02:41:51 (49/86) Installing flac-libs (1.4.2-r0) 02:41:51 (50/86) Installing libvorbis (1.3.7-r0) 02:41:51 (51/86) Installing libsndfile (1.1.0-r2) 02:41:51 (52/86) Installing libgomp (12.2.1_git20220924-r4) 02:41:51 (53/86) Installing soxr (0.1.3-r3) 02:41:51 (54/86) Installing speexdsp (1.2.1-r0) 02:41:51 (55/86) Installing tdb-libs (1.4.6-r0) 02:41:51 (56/86) Installing libpulse (16.1-r6) 02:41:51 (57/86) Installing cjson (1.7.15-r3) 02:41:51 (58/86) Installing mbedtls (2.28.3-r0) 02:41:51 (59/86) Installing librist (0.2.7-r0) 02:41:51 (60/86) Installing libsrt (1.5.1-r0) 02:41:51 (61/86) Installing libssh (0.10.4-r0) 02:41:51 (62/86) Installing libtheora (1.1.1-r16) 02:41:51 (63/86) Installing libjpeg-turbo (2.1.4-r0) 02:41:51 (64/86) Installing v4l-utils-libs (1.22.1-r2) 02:41:51 (65/86) Installing libxext (1.3.5-r0) 02:41:51 (66/86) Installing libxfixes (6.0.0-r0) 02:41:51 (67/86) Installing wayland-libs-client (1.21.0-r1) 02:41:51 (68/86) Installing libva (2.16.0-r0) 02:41:51 (69/86) Installing libvdpau (1.5-r0) 02:41:51 (70/86) Installing vidstab (1.1.0-r2) 02:41:51 (71/86) Installing libvpx (1.12.0-r1) 02:41:52 (72/86) Installing libwebp (1.2.4-r1) 02:41:52 (73/86) Installing x264-libs (0.164_git20220602-r0) 02:41:52 (74/86) Installing numactl (2.0.16-r1) 02:41:52 (75/86) Installing x265-libs (3.5-r3) 02:41:52 (76/86) Installing xvidcore (1.3.7-r1) 02:41:52 (77/86) Installing libsodium (1.0.18-r2) 02:41:52 (78/86) Installing libzmq (4.3.4-r1) 02:41:52 (79/86) Installing ffmpeg-libs (5.1.3-r0) 02:41:52 (80/86) Installing ffmpeg (5.1.3-r0) 02:41:52 (81/86) Installing udev-init-scripts (35-r1) 02:41:52 (82/86) Installing eudev-libs (3.2.11-r4) 02:41:52 (83/86) Installing xz-libs (5.2.9-r0) 02:41:52 (84/86) Installing zstd-libs (1.5.5-r0) 02:41:52 (85/86) Installing kmod-libs (30-r1) 02:41:52 (86/86) Installing eudev (3.2.11-r4) 02:41:52 Executing busybox-1.35.0-r29.trigger 02:41:52 Executing eudev-3.2.11-r4.trigger 02:41:52 OK: 112 MiB in 101 packages 02:41:57 Removing intermediate container 80c442db8c3b 02:41:57 ---> 0543e19341dd 02:41:57 Step 18/35 : WORKDIR / 02:41:57 ---> Running in 86e2d5e60493 02:41:57 Removing intermediate container 86e2d5e60493 02:41:57 ---> 8099ad8215db 02:41:57 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 02:41:57 ---> de12f6986cb8 02:41:57 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 02:41:58 ---> 5f706d924a3f 02:41:58 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 02:41:58 ---> a023c81ad399 02:41:58 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 02:41:58 ---> 5d40daa6304e 02:41:58 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 02:41:59 ---> b1bb87969505 02:41:59 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 02:41:59 ---> 00643f89881f 02:41:59 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 02:42:00 ---> b7adf51b8014 02:42:00 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 02:42:00 ---> Running in 8a739e2e0a65 02:42:01 Removing intermediate container 8a739e2e0a65 02:42:01 ---> b89b9bea2415 02:42:01 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 02:42:01 ---> Running in ff95ed55d910 02:42:02 Removing intermediate container ff95ed55d910 02:42:02 ---> 5b4f7c261708 02:42:02 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 02:42:02 ---> Running in acf55d1a127a 02:42:03 Removing intermediate container acf55d1a127a 02:42:03 ---> 699ab1692ce4 02:42:03 Step 29/35 : EXPOSE 59983 02:42:03 ---> Running in 755e9c1f83b0 02:42:03 Removing intermediate container 755e9c1f83b0 02:42:03 ---> 35e2b85fe921 02:42:03 Step 30/35 : EXPOSE 8554 02:42:03 ---> Running in d811ee830d6d 02:42:04 Removing intermediate container d811ee830d6d 02:42:04 ---> 30b0b2c0d295 02:42:04 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 02:42:04 ---> Running in af308f026316 02:42:04 Removing intermediate container af308f026316 02:42:04 ---> 276cf26c08c0 02:42:04 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 02:42:04 ---> Running in feb7ad2a10d2 02:42:04 Removing intermediate container feb7ad2a10d2 02:42:04 ---> 0bef0c77bf16 02:42:04 Step 33/35 : LABEL arch=amd64 02:42:04 ---> Running in c10c26ba17ba 02:42:04 Removing intermediate container c10c26ba17ba 02:42:04 ---> 5baa637d9d85 02:42:04 Step 34/35 : LABEL git_sha=48f6d718639dd3efff29721b1202f4dcb7e1dd07 02:42:04 ---> Running in 4feeb81746b6 02:42:04 Removing intermediate container 4feeb81746b6 02:42:04 ---> 11d28e7f98a2 02:42:04 Step 35/35 : LABEL version=0.0.0 02:42:05 ---> Running in 4399ee6c242a 02:42:05 Removing intermediate container 4399ee6c242a 02:42:05 ---> e7e6169d364f 02:42:05 [Warning] One or more build-args [ARCH] were not consumed 02:42:05 Successfully built e7e6169d364f 02:42:05 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 02:42:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:42:05 02:42:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:42:06 latest: Pulling from edgex-lftools-log-publisher 02:42:06 5eb5b503b376: Pulling fs layer 02:42:06 5c69ac0246d0: Pulling fs layer 02:42:06 ec43610c2a17: Pulling fs layer 02:42:06 3a2ae6a8a46f: Pulling fs layer 02:42:06 33b1e0a273af: Pulling fs layer 02:42:06 5d3b04190fa2: Pulling fs layer 02:42:06 2f39f015ded8: Pulling fs layer 02:42:06 3a2ae6a8a46f: Waiting 02:42:06 33b1e0a273af: Waiting 02:42:06 5d3b04190fa2: Waiting 02:42:06 2f39f015ded8: Waiting 02:42:06 5c69ac0246d0: Verifying Checksum 02:42:06 5c69ac0246d0: Download complete 02:42:06 3a2ae6a8a46f: Verifying Checksum 02:42:06 3a2ae6a8a46f: Download complete 02:42:06 33b1e0a273af: Verifying Checksum 02:42:06 33b1e0a273af: Download complete 02:42:06 5d3b04190fa2: Verifying Checksum 02:42:06 5d3b04190fa2: Download complete 02:42:06 ec43610c2a17: Verifying Checksum 02:42:06 ec43610c2a17: Download complete 02:42:06 5eb5b503b376: Verifying Checksum 02:42:06 5eb5b503b376: Download complete 02:42:07 2f39f015ded8: Download complete 02:42:07 5eb5b503b376: Pull complete 02:42:07 5c69ac0246d0: Pull complete 02:42:08 ec43610c2a17: Pull complete 02:42:08 3a2ae6a8a46f: Pull complete 02:42:08 33b1e0a273af: Pull complete 02:42:08 5d3b04190fa2: Pull complete 02:42:12 2f39f015ded8: Pull complete 02:42:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:42:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:42:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:12 prd-ubuntu20.04-docker-8c-8g-9035 does not seem to be running inside a container 02:42:13 $ 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-218 -v /w/workspace/foundry_device-usb-camera_PR-218:/w/workspace/foundry_device-usb-camera_PR-218:rw,z -v /w/workspace/foundry_device-usb-camera_PR-218@tmp:/w/workspace/foundry_device-usb-camera_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:42:18 $ docker top c3f70bfd5427d27e66d7cd645f7876dfdfe7c03fb8f95a7fc0ec452cab55d7ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:18 ---> job-cost.sh 02:42:18 lf-activate-venv: SKIPPING 02:42:18 INFO: No Stack... 02:42:19 INFO: Retrieving Pricing Info for: v3-standard-8 02:42:19 INFO: Archiving Costs [Pipeline] sh 02:42:19 + cut -d, -f6 02:42:19 + cat /w/workspace/foundry_device-usb-camera_PR-218/archives/cost.csv [Pipeline] lock 02:42:19 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-218-3-stack-cost] 02:42:19 Resource [jenkins-edgexfoundry-device-usb-camera-PR-218-3-stack-cost] did not exist. Created. 02:42:19 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-218-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:42:20 + echo total: 0.2199999988079071 [Pipeline] stash 02:42:20 Stashed 1 file(s) [Pipeline] } 02:42:20 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-218-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:42:20 $ docker stop --time=1 c3f70bfd5427d27e66d7cd645f7876dfdfe7c03fb8f95a7fc0ec452cab55d7ea 02:42:21 $ docker rm -f --volumes c3f70bfd5427d27e66d7cd645f7876dfdfe7c03fb8f95a7fc0ec452cab55d7ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:43:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9037 in /w/workspace/foundry_device-usb-camera_PR-218 [Pipeline] { [Pipeline] ws 02:43:04 Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout 02:43:04 Selected Git installation does not exist. Using Default 02:43:04 The recommended git tool is: NONE 02:43:10 using credential edgex-jenkins-ssh 02:43:10 Cloning the remote Git repository 02:43:10 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 02:43:10 > git init /w/workspace/device-usb-camera/3 # timeout=10 02:43:10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 02:43:10 > git --version # timeout=10 02:43:10 > git --version # 'git version 2.25.1' 02:43:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:11 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 02:43:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:43:12 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 02:43:12 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 02:43:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/218/head:refs/remotes/origin/PR-218 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:43:13 Merging remotes/origin/main commit f433dd4a7f716b42d434c791f0c601cda98ab1b1 into PR head commit 48f6d718639dd3efff29721b1202f4dcb7e1dd07 02:43:13 Merge succeeded, producing 48f6d718639dd3efff29721b1202f4dcb7e1dd07 02:43:13 Checking out Revision 48f6d718639dd3efff29721b1202f4dcb7e1dd07 (PR-218) 02:43:13 > git config core.sparsecheckout # timeout=10 02:43:13 > git checkout -f 48f6d718639dd3efff29721b1202f4dcb7e1dd07 # timeout=10 02:43:13 > git remote # timeout=10 02:43:13 > git config --get remote.origin.url # timeout=10 02:43:13 using GIT_SSH to set credentials SSH Credentials for GitHub 02:43:13 > git merge f433dd4a7f716b42d434c791f0c601cda98ab1b1 # timeout=10 02:43:13 > git rev-parse HEAD^{commit} # timeout=10 02:43:13 > git config core.sparsecheckout # timeout=10 02:43:13 > git checkout -f 48f6d718639dd3efff29721b1202f4dcb7e1dd07 # timeout=10 02:43:17 Commit message: "feat!: Consume SDK interface changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:43:18 % Total % Received % Xferd Average Speed Time Time Time Current 02:43:18 Dload Upload Total Spent Left Speed 02:43:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 02:43:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:43:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:43:19 + sudo tee /etc/docker/daemon.new 02:43:19 { 02:43:19 "registry-mirrors": [ 02:43:19 "https://nexus3.edgexfoundry.org:10001" 02:43:19 ], 02:43:19 "bip": "10.250.0.254/24", 02:43:19 "hosts": [ 02:43:19 "tcp://0.0.0.0:5555", 02:43:19 "unix:///var/run/docker.sock" 02:43:19 ], 02:43:19 "mtu": 1458, 02:43:19 "selinux-enabled": true, 02:43:19 "seccomp-profile": "/etc/docker/seccomp.json" 02:43:19 } [Pipeline] sh 02:43:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:43:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:43:38 provisioning config files... 02:43:38 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config6756575029460046925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:38 ---> docker-login.sh 02:43:38 nexus3.edgexfoundry.org:10001 02:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:39 Configure a credential helper to remove this warning. See 02:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:39 02:43:39 Login Succeeded 02:43:39 nexus3.edgexfoundry.org:10002 02:43:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:39 Configure a credential helper to remove this warning. See 02:43:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:39 02:43:39 Login Succeeded 02:43:39 nexus3.edgexfoundry.org:10003 02:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:40 Configure a credential helper to remove this warning. See 02:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:40 02:43:40 Login Succeeded 02:43:40 nexus3.edgexfoundry.org:10004 02:43:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:40 Configure a credential helper to remove this warning. See 02:43:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:40 02:43:40 Login Succeeded 02:43:40 docker.io 02:43:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:41 Configure a credential helper to remove this warning. See 02:43:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:41 02:43:41 Login Succeeded 02:43:41 ---> docker-login.sh ends [Pipeline] } 02:43:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:43:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:43:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:43:41 ========================================================= 02:43:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:43:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:42 + 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 . 02:43:42 Sending build context to Docker daemon 1.224MB 02:43:42 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 02:43:42 Step 2/13 : FROM ${BASE} AS builder 02:43:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:43:42 af6eaf76a39c: Pulling fs layer 02:43:42 55522c791124: Pulling fs layer 02:43:42 ce5c4a1c91eb: Pulling fs layer 02:43:42 169dfbe0d373: Pulling fs layer 02:43:42 e1ff8fa3b103: Pulling fs layer 02:43:42 52ebb69f0ebf: Pulling fs layer 02:43:42 5abe8eddf0d5: Pulling fs layer 02:43:42 e1ff8fa3b103: Waiting 02:43:42 52ebb69f0ebf: Waiting 02:43:42 5abe8eddf0d5: Waiting 02:43:42 169dfbe0d373: Waiting 02:43:42 55522c791124: Verifying Checksum 02:43:42 55522c791124: Download complete 02:43:42 169dfbe0d373: Verifying Checksum 02:43:42 169dfbe0d373: Download complete 02:43:42 e1ff8fa3b103: Download complete 02:43:42 af6eaf76a39c: Download complete 02:43:43 af6eaf76a39c: Pull complete 02:43:44 5abe8eddf0d5: Verifying Checksum 02:43:44 5abe8eddf0d5: Download complete 02:43:45 ce5c4a1c91eb: Verifying Checksum 02:43:45 ce5c4a1c91eb: Download complete 02:43:45 52ebb69f0ebf: Verifying Checksum 02:43:45 52ebb69f0ebf: Download complete 02:43:46 55522c791124: Pull complete 02:44:01 ce5c4a1c91eb: Pull complete 02:44:01 169dfbe0d373: Pull complete 02:44:01 e1ff8fa3b103: Pull complete 02:44:06 52ebb69f0ebf: Pull complete 02:44:08 5abe8eddf0d5: Pull complete 02:44:08 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:44:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:44:08 ---> 6cb57ee374ae 02:44:08 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:44:10 ---> Running in 45af4bdd18de 02:44:10 Removing intermediate container 45af4bdd18de 02:44:10 ---> 43e092c0d544 02:44:10 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:44:10 ---> Running in 6a01070d7f9e 02:44:10 Removing intermediate container 6a01070d7f9e 02:44:10 ---> 2c34b9af5a40 02:44:10 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 02:44:11 ---> Running in e4d19a1231df 02:44:11 Removing intermediate container e4d19a1231df 02:44:11 ---> 19ef3fb98de7 02:44:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 02:44:11 ---> Running in 2d6c0354b90c 02:44:11 Removing intermediate container 2d6c0354b90c 02:44:11 ---> cc57140c14f8 02:44:11 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:44:11 ---> Running in 59b636a2b7d5 02:44:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:44:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:44:14 (1/14) Installing libintl (0.21.1-r1) 02:44:14 (2/14) Installing eudev-libs (3.2.11-r4) 02:44:14 (3/14) Installing libjpeg-turbo (2.1.4-r0) 02:44:14 (4/14) Installing v4l-utils-libs (1.22.1-r2) 02:44:14 (5/14) Installing v4l-utils (1.22.1-r2) 02:44:14 (6/14) Installing udev-init-scripts (35-r1) 02:44:14 (7/14) Installing libblkid (2.38.1-r1) 02:44:14 (8/14) Installing xz-libs (5.2.9-r0) 02:44:14 (9/14) Installing zstd-libs (1.5.5-r0) 02:44:14 (10/14) Installing kmod-libs (30-r1) 02:44:14 (11/14) Installing eudev (3.2.11-r4) 02:44:14 (12/14) Installing eudev-dev (3.2.11-r4) 02:44:14 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 02:44:14 (14/14) Installing v4l-utils-dev (1.22.1-r2) 02:44:14 Executing busybox-1.35.0-r29.trigger 02:44:14 Executing eudev-3.2.11-r4.trigger 02:44:14 OK: 271 MiB in 67 packages 02:44:16 Removing intermediate container 59b636a2b7d5 02:44:16 ---> 1175f4b1b594 02:44:16 Step 8/13 : WORKDIR /device-usb-camera 02:44:16 ---> Running in 23d338ece506 02:44:16 Removing intermediate container 23d338ece506 02:44:16 ---> b6a324265371 02:44:16 Step 9/13 : COPY go.mod vendor* ./ 02:44:17 ---> 514fb20f3e39 02:44:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:44:17 ---> Running in f62df87573bc 02:45:25 Removing intermediate container f62df87573bc 02:45:25 ---> d6f3331ba0d5 02:45:25 Step 11/13 : COPY . . 02:45:25 ---> bc1d3ed24c4b 02:45:25 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 02:45:25 ---> Running in 00f0c4076cbb 02:45:25  % Total % Received % Xferd Average Speed Time Time Time Current 02:45:25 Dload Upload Total Spent Left Speed 02:45:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0  0 3850 0 --:--:-- --:--:-- --:--:-- 3861 02:45:25 Removing intermediate container 00f0c4076cbb 02:45:25 ---> 50d4ac0fd419 02:45:25 Step 13/13 : RUN ${MAKE} 02:45:25 ---> Running in cb1181dd7ded 02:45:25 noop 02:45:25 Removing intermediate container cb1181dd7ded 02:45:25 ---> 6723722a033d 02:45:25 Successfully built 6723722a033d 02:45:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:25 + docker inspect -f . ci-base-image-arm64 02:45:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:25 prd-ubuntu20.04-docker-arm64-4c-16g-9037 does not seem to be running inside a container 02:45:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:27 $ docker top ee7159e74cbace1f029726651243ef27cb3f0bc9d51e7623a4db48085b88d8cb -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:28 + go version 02:45:28 go version go1.20.2 linux/arm64 [Pipeline] } 02:45:28 $ docker stop --time=1 ee7159e74cbace1f029726651243ef27cb3f0bc9d51e7623a4db48085b88d8cb 02:45:29 $ docker rm -f --volumes ee7159e74cbace1f029726651243ef27cb3f0bc9d51e7623a4db48085b88d8cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:30 + docker inspect -f . ci-base-image-arm64 02:45:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:30 prd-ubuntu20.04-docker-arm64-4c-16g-9037 does not seem to be running inside a container 02:45:30 $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:32 $ docker top 45ed1831fc16fe6c8174a6ffc4edbd50758a527eed2410680a450cbd3feeaa46 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:33 + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh 02:45:33 + make test 02:45:33 go test ./... -coverprofile=coverage.out ./... 02:46:12 ? github.com/edgexfoundry/device-usb-camera [no test files] 02:48:34 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 02:48:34 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.069s coverage: 2.0% of statements 02:48:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:48:34 go vet ./... 02:48:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:48:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:48:56 ./bin/test-attribution-txt.sh [Pipeline] echo 02:48:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:48:56 $ docker stop --time=1 45ed1831fc16fe6c8174a6ffc4edbd50758a527eed2410680a450cbd3feeaa46 02:48:58 $ docker rm -f --volumes 45ed1831fc16fe6c8174a6ffc4edbd50758a527eed2410680a450cbd3feeaa46 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:00 Warning: overwriting stash ‘coverage-report’ 02:49:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:01 + ls -al . 02:49:01 total 188 02:49:01 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 02:45 . 02:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:43 .. 02:49:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 02:43 .git 02:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:43 .github 02:49:01 -rw-rw-r-- 1 jenkins jenkins 414 Apr 19 02:43 .gitignore 02:49:01 -rw-rw-r-- 1 jenkins jenkins 42 Apr 19 02:43 .golangci.yml 02:49:01 -rw-rw-r-- 1 jenkins jenkins 77 Apr 19 02:43 .hadolint.yml 02:49:01 -rw-rw-r-- 1 jenkins jenkins 9665 Apr 19 02:43 Attribution.txt 02:49:01 -rw-rw-r-- 1 jenkins jenkins 6219 Apr 19 02:43 CHANGELOG.md 02:49:01 -rw-rw-r-- 1 jenkins jenkins 2328 Apr 19 02:43 Dockerfile 02:49:01 -rw-rw-r-- 1 jenkins jenkins 678 Apr 19 02:43 GOVERNANCE.md 02:49:01 -rw-rw-r-- 1 jenkins jenkins 659 Apr 19 02:43 Jenkinsfile 02:49:01 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 19 02:43 LICENSE 02:49:01 -rw-rw-r-- 1 jenkins jenkins 2364 Apr 19 02:43 Makefile 02:49:01 -rw-rw-r-- 1 jenkins jenkins 622 Apr 19 02:43 OWNERS.md 02:49:01 -rw-rw-r-- 1 jenkins jenkins 5681 Apr 19 02:43 README.md 02:49:01 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 02:39 VERSION 02:49:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 02:43 bin 02:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:43 cmd 02:49:01 -rw-r--r-- 1 jenkins jenkins 28863 Apr 19 02:48 coverage.out 02:49:01 -rwxrwxr-x 1 jenkins jenkins 140 Apr 19 02:43 docker-entrypoint.sh 02:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:43 docs 02:49:01 -rw-rw-r-- 1 jenkins jenkins 3443 Apr 19 02:43 go.mod 02:49:01 -rw-rw-r-- 1 jenkins jenkins 31713 Apr 19 02:43 go.sum 02:49:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 02:43 internal 02:49:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 02:43 snap 02:49:01 -rw-rw-r-- 1 jenkins jenkins 231 Apr 19 02:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:01 + 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=48f6d718639dd3efff29721b1202f4dcb7e1dd07 --label arch=arm64 --label version=0.0.0 . 02:49:02 Sending build context to Docker daemon 1.254MB 02:49:02 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 02:49:02 Step 2/35 : FROM ${BASE} AS builder 02:49:02 ---> 6723722a033d 02:49:02 Step 3/35 : ARG ADD_BUILD_TAGS="" 02:49:02 ---> Running in e938520fa923 02:49:02 Removing intermediate container e938520fa923 02:49:02 ---> 2b89e79a0d89 02:49:02 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:49:02 ---> Running in 9f701049c275 02:49:02 Removing intermediate container 9f701049c275 02:49:02 ---> 75544f45bf17 02:49:02 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 02:49:03 ---> Running in 1496100c9462 02:49:03 Removing intermediate container 1496100c9462 02:49:03 ---> 293f3acce3dc 02:49:03 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 02:49:03 ---> Running in 58cce4a7cb25 02:49:03 Removing intermediate container 58cce4a7cb25 02:49:03 ---> df929ccd1128 02:49:03 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:49:04 ---> Running in 8b70943ae3ff 02:49:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:49:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:49:06 OK: 271 MiB in 67 packages 02:49:07 Removing intermediate container 8b70943ae3ff 02:49:07 ---> b6fbd4536889 02:49:07 Step 8/35 : WORKDIR /device-usb-camera 02:49:07 ---> Running in d656ce1f0426 02:49:08 Removing intermediate container d656ce1f0426 02:49:08 ---> 5046076eb494 02:49:08 Step 9/35 : COPY go.mod vendor* ./ 02:49:08 ---> 95c557e1891c 02:49:08 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:49:08 ---> Running in e1d5b2e2466d 02:49:11 Removing intermediate container e1d5b2e2466d 02:49:11 ---> 38d688a2ec7b 02:49:11 Step 11/35 : COPY . . 02:49:12 ---> 95846dfb5d26 02:49:12 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 02:49:12 ---> Running in f693ef37ba59 02:49:13  % Total % Received % Xferd Average Speed Time Time Time Current 02:49:13 Dload Upload Total Spent Left Speed 02:49:13 0  0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2982 0 --:--:-- --:--:-- --:--:-- 2983 02:49:14 Removing intermediate container f693ef37ba59 02:49:14 ---> de42ca025484 02:49:14 Step 13/35 : RUN ${MAKE} 02:49:14 ---> Running in 954b0f98e6a9 02:49:15 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 02:52:06 Removing intermediate container 954b0f98e6a9 02:52:06 ---> 70f2f16be3d3 02:52:06 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 02:52:06 v0.21.6: Pulling from aler9/rtsp-simple-server 02:52:06 8766b47fe142: Pulling fs layer 02:52:06 8766b47fe142: Verifying Checksum 02:52:06 8766b47fe142: Download complete 02:52:06 8766b47fe142: Pull complete 02:52:06 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 02:52:06 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 02:52:06 ---> 69d40e2cb93c 02:52:06 Step 15/35 : FROM alpine:3.17 02:52:06 3.17: Pulling from library/alpine 02:52:06 c41833b44d91: Pulling fs layer 02:52:06 c41833b44d91: Verifying Checksum 02:52:06 c41833b44d91: Download complete 02:52:06 c41833b44d91: Pull complete 02:52:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:52:06 Status: Downloaded newer image for alpine:3.17 02:52:06 ---> 51e60588ff2c 02:52:06 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:52:06 ---> Running in 2245de5e7f9d 02:52:06 Removing intermediate container 2245de5e7f9d 02:52:06 ---> 29d6e22baf41 02:52:06 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 02:52:06 ---> Running in 7016cc110491 02:52:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:52:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:52:06 (1/83) Installing dumb-init (1.2.5-r2) 02:52:06 (2/83) Installing sdl2 (2.26.5-r0) 02:52:06 (3/83) Installing libxau (1.0.10-r0) 02:52:06 (4/83) Installing libmd (1.0.4-r0) 02:52:06 (5/83) Installing libbsd (0.11.7-r0) 02:52:06 (6/83) Installing libxdmcp (1.1.4-r0) 02:52:06 (7/83) Installing libxcb (1.15-r0) 02:52:06 (8/83) Installing libx11 (1.8.4-r0) 02:52:06 (9/83) Installing aom-libs (3.5.0-r0) 02:52:06 (10/83) Installing alsa-lib (1.2.8-r0) 02:52:06 (11/83) Installing libexpat (2.5.0-r0) 02:52:06 (12/83) Installing brotli-libs (1.0.9-r9) 02:52:06 (13/83) Installing libbz2 (1.0.8-r4) 02:52:06 (14/83) Installing libpng (1.6.38-r0) 02:52:06 (15/83) Installing freetype (2.12.1-r0) 02:52:06 (16/83) Installing fontconfig (2.14.1-r0) 02:52:06 (17/83) Installing fribidi (1.0.12-r0) 02:52:06 (18/83) Installing libffi (3.4.4-r0) 02:52:06 (19/83) Installing libintl (0.21.1-r1) 02:52:06 (20/83) Installing libblkid (2.38.1-r1) 02:52:06 (21/83) Installing libmount (2.38.1-r1) 02:52:06 (22/83) Installing pcre2 (10.42-r0) 02:52:06 (23/83) Installing glib (2.74.6-r0) 02:52:06 (24/83) Installing graphite2 (1.3.14-r2) 02:52:06 (25/83) Installing harfbuzz (5.3.1-r1) 02:52:06 (26/83) Installing libass (0.16.0-r1) 02:52:06 (27/83) Installing libdav1d (1.0.0-r2) 02:52:06 (28/83) Installing libdrm (2.4.114-r0) 02:52:06 (29/83) Installing gmp (6.2.1-r2) 02:52:06 (30/83) Installing nettle (3.8.1-r0) 02:52:06 (31/83) Installing p11-kit (0.24.1-r1) 02:52:06 (32/83) Installing libtasn1 (4.19.0-r0) 02:52:06 (33/83) Installing libunistring (1.1-r0) 02:52:06 (34/83) Installing gnutls (3.7.8-r3) 02:52:06 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 02:52:06 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 02:52:06 (37/83) Installing lame (3.100-r2) 02:52:06 (38/83) Installing opus (1.3.1-r1) 02:52:06 (39/83) Installing libasyncns (0.8-r1) 02:52:06 (40/83) Installing dbus-libs (1.14.4-r0) 02:52:06 (41/83) Installing libltdl (2.4.7-r1) 02:52:06 (42/83) Installing orc (0.4.33-r0) 02:52:06 (43/83) Installing libgcc (12.2.1_git20220924-r4) 02:52:06 (44/83) Installing libogg (1.3.5-r2) 02:52:06 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 02:52:06 (46/83) Installing flac-libs (1.4.2-r0) 02:52:06 (47/83) Installing libvorbis (1.3.7-r0) 02:52:06 (48/83) Installing libsndfile (1.1.0-r2) 02:52:06 (49/83) Installing libgomp (12.2.1_git20220924-r4) 02:52:06 (50/83) Installing soxr (0.1.3-r3) 02:52:06 (51/83) Installing speexdsp (1.2.1-r0) 02:52:06 (52/83) Installing tdb-libs (1.4.6-r0) 02:52:06 (53/83) Installing libpulse (16.1-r6) 02:52:06 (54/83) Installing cjson (1.7.15-r3) 02:52:06 (55/83) Installing mbedtls (2.28.3-r0) 02:52:06 (56/83) Installing librist (0.2.7-r0) 02:52:06 (57/83) Installing libsrt (1.5.1-r0) 02:52:06 (58/83) Installing libssh (0.10.4-r0) 02:52:06 (59/83) Installing libtheora (1.1.1-r16) 02:52:06 (60/83) Installing libjpeg-turbo (2.1.4-r0) 02:52:06 (61/83) Installing v4l-utils-libs (1.22.1-r2) 02:52:06 (62/83) Installing libxext (1.3.5-r0) 02:52:06 (63/83) Installing libxfixes (6.0.0-r0) 02:52:06 (64/83) Installing wayland-libs-client (1.21.0-r1) 02:52:06 (65/83) Installing libva (2.16.0-r0) 02:52:06 (66/83) Installing libvdpau (1.5-r0) 02:52:06 (67/83) Installing vidstab (1.1.0-r2) 02:52:06 (68/83) Installing libvpx (1.12.0-r1) 02:52:06 (69/83) Installing libwebp (1.2.4-r1) 02:52:06 (70/83) Installing x264-libs (0.164_git20220602-r0) 02:52:06 (71/83) Installing numactl (2.0.16-r1) 02:52:06 (72/83) Installing x265-libs (3.5-r3) 02:52:06 (73/83) Installing xvidcore (1.3.7-r1) 02:52:06 (74/83) Installing libsodium (1.0.18-r2) 02:52:06 (75/83) Installing libzmq (4.3.4-r1) 02:52:06 (76/83) Installing ffmpeg-libs (5.1.3-r0) 02:52:06 (77/83) Installing ffmpeg (5.1.3-r0) 02:52:06 (78/83) Installing udev-init-scripts (35-r1) 02:52:06 (79/83) Installing eudev-libs (3.2.11-r4) 02:52:06 (80/83) Installing xz-libs (5.2.9-r0) 02:52:06 (81/83) Installing zstd-libs (1.5.5-r0) 02:52:06 (82/83) Installing kmod-libs (30-r1) 02:52:06 (83/83) Installing eudev (3.2.11-r4) 02:52:06 Executing busybox-1.35.0-r29.trigger 02:52:06 Executing eudev-3.2.11-r4.trigger 02:52:06 OK: 86 MiB in 98 packages 02:52:08 Removing intermediate container 7016cc110491 02:52:08 ---> d58fc148f233 02:52:08 Step 18/35 : WORKDIR / 02:52:08 ---> Running in 2d7682dabd48 02:52:08 Removing intermediate container 2d7682dabd48 02:52:08 ---> 21314d85dad0 02:52:08 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 02:52:09 ---> 812a2f587241 02:52:09 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 02:52:10 ---> c560f9ae6899 02:52:10 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 02:52:11 ---> 86dc94d0156a 02:52:11 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 02:52:11 ---> a879099ce98c 02:52:11 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 02:52:11 ---> 48ffad7f6acb 02:52:11 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 02:52:12 ---> 7453d6a758af 02:52:12 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 02:52:13 ---> 6c9ff2645359 02:52:13 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 02:52:13 ---> Running in 927844ef96ac 02:52:15 Removing intermediate container 927844ef96ac 02:52:15 ---> 485c24f123f7 02:52:15 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 02:52:15 ---> Running in fd64d49f58cb 02:52:17 Removing intermediate container fd64d49f58cb 02:52:17 ---> 821f9d6988c9 02:52:17 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 02:52:17 ---> Running in ef8cde1abf86 02:52:19 Removing intermediate container ef8cde1abf86 02:52:19 ---> 0a7254261a0a 02:52:19 Step 29/35 : EXPOSE 59983 02:52:19 ---> Running in 8ea3c8d4de9f 02:52:19 Removing intermediate container 8ea3c8d4de9f 02:52:19 ---> d88cff325114 02:52:19 Step 30/35 : EXPOSE 8554 02:52:19 ---> Running in 56919bc4a652 02:52:19 Removing intermediate container 56919bc4a652 02:52:19 ---> cb91a32b2313 02:52:19 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 02:52:19 ---> Running in 683a8d25a8c0 02:52:20 Removing intermediate container 683a8d25a8c0 02:52:20 ---> c6b14c9494bc 02:52:20 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 02:52:20 ---> Running in f592fdcef30a 02:52:20 Removing intermediate container f592fdcef30a 02:52:20 ---> 2d1bbd436cd5 02:52:20 Step 33/35 : LABEL arch=arm64 02:52:20 ---> Running in cdfab9a4a9ee 02:52:20 Removing intermediate container cdfab9a4a9ee 02:52:20 ---> 5120432477a4 02:52:20 Step 34/35 : LABEL git_sha=48f6d718639dd3efff29721b1202f4dcb7e1dd07 02:52:20 ---> Running in b5e20c093684 02:52:21 Removing intermediate container b5e20c093684 02:52:21 ---> 411d216b8d2d 02:52:21 Step 35/35 : LABEL version=0.0.0 02:52:21 ---> Running in 549d824970c8 02:52:21 Removing intermediate container 549d824970c8 02:52:21 ---> a0d614a609f5 02:52:21 [Warning] One or more build-args [ARCH] were not consumed 02:52:21 Successfully built a0d614a609f5 02:52:21 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 02:52:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:52:22 02:52:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:52:22 arm64: Pulling from edgex-lftools-log-publisher 02:52:22 8998bd30e6a1: Pulling fs layer 02:52:22 04944245beec: Pulling fs layer 02:52:22 699f458cf7ca: Pulling fs layer 02:52:22 765212b225bb: Pulling fs layer 02:52:22 f23df028b6ca: Pulling fs layer 02:52:22 d65c8cfc05b1: Pulling fs layer 02:52:22 2437ff75d9bd: Pulling fs layer 02:52:22 f23df028b6ca: Waiting 02:52:22 d65c8cfc05b1: Waiting 02:52:22 2437ff75d9bd: Waiting 02:52:22 765212b225bb: Waiting 02:52:22 04944245beec: Verifying Checksum 02:52:22 04944245beec: Download complete 02:52:22 765212b225bb: Verifying Checksum 02:52:22 765212b225bb: Download complete 02:52:23 f23df028b6ca: Verifying Checksum 02:52:23 f23df028b6ca: Download complete 02:52:23 699f458cf7ca: Verifying Checksum 02:52:23 699f458cf7ca: Download complete 02:52:23 d65c8cfc05b1: Verifying Checksum 02:52:23 d65c8cfc05b1: Download complete 02:52:23 8998bd30e6a1: Verifying Checksum 02:52:23 8998bd30e6a1: Download complete 02:52:26 2437ff75d9bd: Verifying Checksum 02:52:26 2437ff75d9bd: Download complete 02:52:27 8998bd30e6a1: Pull complete 02:52:28 04944245beec: Pull complete 02:52:29 699f458cf7ca: Pull complete 02:52:29 765212b225bb: Pull complete 02:52:30 f23df028b6ca: Pull complete 02:52:30 d65c8cfc05b1: Pull complete 02:52:45 2437ff75d9bd: Pull complete 02:52:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:52:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:52:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:45 prd-ubuntu20.04-docker-arm64-4c-16g-9037 does not seem to be running inside a container 02:52:45 $ 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/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:52:48 $ docker top b8245b03f0fec58d2cc03d1b017f56967944510de5d51b8341ec483f2997bb9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:49 ---> job-cost.sh 02:52:49 lf-activate-venv: SKIPPING 02:52:49 INFO: No Stack... 02:52:50 INFO: Retrieving Pricing Info for: v3-standard-4 02:52:51 INFO: Archiving Costs [Pipeline] sh 02:52:51 + cat /w/workspace/device-usb-camera/3/archives/cost.csv 02:52:51 + cut -d, -f6 [Pipeline] lock 02:52:51 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-218-3-stack-cost] 02:52:51 Resource [jenkins-edgexfoundry-device-usb-camera-PR-218-3-stack-cost] did not exist. Created. 02:52:51 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-218-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:52:52 /w/workspace/device-usb-camera/3@tmp/durable-121fe631/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:52:53 + echo total: 0.10999999940395355 [Pipeline] stash 02:52:53 Warning: overwriting stash ‘stack-cost’ 02:52:53 Stashed 1 file(s) [Pipeline] } 02:52:53 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-218-3-stack-cost] [Pipeline] // lock [Pipeline] } 02:52:53 $ docker stop --time=1 b8245b03f0fec58d2cc03d1b017f56967944510de5d51b8341ec483f2997bb9e 02:52:54 $ docker rm -f --volumes b8245b03f0fec58d2cc03d1b017f56967944510de5d51b8341ec483f2997bb9e [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 02:52:55 provisioning config files... 02:52:55 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-218@tmp/config2065292465807850633tmp [Pipeline] { [Pipeline] sh 02:52:55 + set +x 02:52:55 + curl -s https://codecov.io/bash 02:52:55 + bash -s -- 02:52:55 02:52:55 _____ _ 02:52:55 / ____| | | 02:52:55 | | ___ __| | ___ ___ _____ __ 02:52:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:55 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:55 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:55 Bash-1.0.6 02:52:55 02:52:55 02:52:55 ==> git version 2.25.1 found 02:52:55 ==> 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 02:52:55 Release-Date: 2020-01-08 02:52:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:52:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:52:55 ==> Jenkins CI detected. 02:52:55 current dir:  /w/workspace/foundry_device-usb-camera_PR-218 02:52:55 project root: . 02:52:55 --> token set from env 02:52:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:55 ==> Running gcov in . (disable via -X gcov) 02:52:55 ==> Python coveragepy not found 02:52:55 ==> Searching for coverage reports in: 02:52:55 + . 02:52:55 -> Found 1 reports 02:52:55 ==> Detecting git/mercurial file structure 02:52:55 ==> Reading reports 02:52:55 + ./coverage.out bytes=28863 02:52:55 ==> Appending adjustments 02:52:55 https://docs.codecov.io/docs/fixing-reports 02:52:55 + Found adjustments 02:52:55 ==> Gzipping contents 02:52:55 4.0K /tmp/codecov.J1ugtP.gz 02:52:55 ==> Uploading reports 02:52:55 url: https://codecov.io 02:52:55 query: branch=PR-218&commit=48f6d718639dd3efff29721b1202f4dcb7e1dd07&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-218%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=218&job=&cmd_args= 02:52:55 -> Pinging Codecov 02:52:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-218&commit=48f6d718639dd3efff29721b1202f4dcb7e1dd07&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-218%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=218&job=&cmd_args= 02:52:55 -> Uploading to 02:52:55 https://storage.googleapis.com/codecov/v4/raw/2023-04-19/73D8F5FF140700D3E01443B452E23636/48f6d718639dd3efff29721b1202f4dcb7e1dd07/136c6fd1-93b7-4e32-b456-d5b2d81b2036.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230419T025255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7d0977710530d3a954fd47ff375f5bf42aa81352652f294100a2c977f4c54219 02:52:55 % Total % Received % Xferd Average Speed Time Time Time Current 02:52:55 Dload Upload Total Spent Left Speed 02:52:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3943 0 0 100 3943 0 18087 --:--:-- --:--:-- --:--:-- 18087 02:52:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/48f6d718639dd3efff29721b1202f4dcb7e1dd07 [Pipeline] } 02:52:56 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 02:52:56 + [ -d /w/workspace/foundry_device-usb-camera_PR-218/archives ] 02:52:56 + ls -al /w/workspace/foundry_device-usb-camera_PR-218/archives 02:52:56 total 16 02:52:56 drwxr-xr-x 3 root root 4096 Apr 19 02:42 . 02:52:56 drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 02:42 .. 02:52:56 drwxr-xr-x 2 root root 4096 Apr 19 02:42 cost 02:52:56 -rw-r--r-- 1 root root 89 Apr 19 02:42 cost.csv 02:52:56 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-218/archives 02:52:56 + ls -al /w/workspace/foundry_device-usb-camera_PR-218/archives 02:52:56 total 16 02:52:56 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 02:42 . 02:52:56 drwxrwxr-x 11 jenkins jenkins 4096 Apr 19 02:42 .. 02:52:56 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 02:42 cost 02:52:56 -rw-r--r-- 1 jenkins jenkins 89 Apr 19 02:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:52:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:52:57 ---> package-listing.sh 02:52:57 ++ facter osfamily 02:52:57 ++ tr '[:upper:]' '[:lower:]' 02:52:58 + OS_FAMILY=debian 02:52:58 + workspace=/w/workspace/foundry_device-usb-camera_PR-218 02:52:58 + START_PACKAGES=/tmp/packages_start.txt 02:52:58 + END_PACKAGES=/tmp/packages_end.txt 02:52:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:58 + PACKAGES=/tmp/packages_start.txt 02:52:58 + '[' /w/workspace/foundry_device-usb-camera_PR-218 ']' 02:52:58 + PACKAGES=/tmp/packages_end.txt 02:52:58 + case "${OS_FAMILY}" in 02:52:58 + dpkg -l 02:52:58 + grep '^ii' 02:52:58 + '[' -f /tmp/packages_start.txt ']' 02:52:58 + '[' -f /tmp/packages_end.txt ']' 02:52:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:58 + '[' /w/workspace/foundry_device-usb-camera_PR-218 ']' 02:52:58 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-218/archives/ 02:52:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-218/archives/ [Pipeline] echo 02:52:58 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-218/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:52:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:59 prd-ubuntu20.04-docker-8c-8g-9035 does not seem to be running inside a container 02:52:59 $ 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-218/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-218 -v /w/workspace/foundry_device-usb-camera_PR-218:/w/workspace/foundry_device-usb-camera_PR-218:rw,z -v /w/workspace/foundry_device-usb-camera_PR-218@tmp:/w/workspace/foundry_device-usb-camera_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:52:59 $ docker top 60e196441eac14ce5aa638867b197ebe232617bf6010accf5b30320127cb222d -eo pid,comm [Pipeline] { [Pipeline] sh 02:53:00 + touch /tmp/pre-build-complete [Pipeline] sh 02:53:00 + mkdir -p /var/log/sysstat [Pipeline] sh 02:53:00 + ls /var/log/sa-host 02:53:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:00 provisioning config files... 02:53:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-218@tmp/config14133132023327832093tmp [Pipeline] { [Pipeline] echo 02:53:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:53:01 ---> create-netrc.sh [Pipeline] } 02:53:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:53:01 ---> python-tools-install.sh [Pipeline] echo 02:53:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:53:01 ---> sudo-logs.sh 02:53:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:53:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:53:02 ---> job-cost.sh 02:53:02 lf-activate-venv: SKIPPING 02:53:02 DEBUG: total: 0.2199999988079071 02:53:02 INFO: Retrieving Stack Cost... 02:53:02 INFO: Retrieving Pricing Info for: v3-standard-8 02:53:02 INFO: Archiving Costs [Pipeline] echo 02:53:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:53:03 ---> logs-deploy.sh 02:53:03 lf-activate-venv: SKIPPING 02:53:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-218/3 02:53:03 INFO: archiving workspace using pattern(s): 02:53:04 Archives upload complete. 02:53:04 INFO: archiving logs to Nexus