Pull request #194 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 MonicaisHer for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 7bed824649b0e4143032e9826de1090acf67fa57+96327e049a2d26e356251a4ee56d80af5c884d85 (530d6e3d95bfec1ba6719c86255e258466775468) 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-ssh9679059782142556804.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9761208140935161991.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-194/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-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12882151767988106705.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh77751201595102397.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-194/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-194/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17240159830103401682.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4850 in /w/workspace/foundry_device-usb-camera_PR-194 [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-194 # 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/194/head:refs/remotes/origin/PR-194 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit 7bed824649b0e4143032e9826de1090acf67fa57 Merge succeeded, producing 7bed824649b0e4143032e9826de1090acf67fa57 Checking out Revision 7bed824649b0e4143032e9826de1090acf67fa57 (PR-194) > git config core.sparsecheckout # timeout=10 > git checkout -f 7bed824649b0e4143032e9826de1090acf67fa57 # 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 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7bed824649b0e4143032e9826de1090acf67fa57 # timeout=10 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" First time build. Skipping changelog. > git rev-list --no-walk d609568808c5c08a1736f0b625e2d3a8099fc41c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:51:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:51:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:51:35 ========================================================= 12:51:35 EdgeX Global Pipelines Version Info 12:51:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:51:36 ------------------- 12:51:36 stable info: 12:51:36 ------------------- 12:51:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:51:36 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 12:51:36 Message: update stable to v1.0.245 12:51:36 ------------------- 12:51:36 experimental info: 12:51:36 ------------------- 12:51:36 Commited By: **** collab-it+edgex@linuxfoundation.org 12:51:36 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 12:51:36 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:51:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 12:51:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-194 [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-194 [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-194 [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7bed824649b0e4143032e9826de1090acf67fa57 [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7bed824 [Pipeline] echo 12:51:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:51:37 provisioning config files... 12:51:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-194@tmp/config14904711102255447778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:51:37 ---> docker-login.sh 12:51:37 nexus3.edgexfoundry.org:10001 12:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:38 Configure a credential helper to remove this warning. See 12:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:38 12:51:38 Login Succeeded 12:51:38 nexus3.edgexfoundry.org:10002 12:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:38 Configure a credential helper to remove this warning. See 12:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:38 12:51:38 Login Succeeded 12:51:38 nexus3.edgexfoundry.org:10003 12:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:38 Configure a credential helper to remove this warning. See 12:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:38 12:51:38 Login Succeeded 12:51:38 nexus3.edgexfoundry.org:10004 12:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:38 Configure a credential helper to remove this warning. See 12:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:38 12:51:38 Login Succeeded 12:51:38 docker.io 12:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:38 Configure a credential helper to remove this warning. See 12:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:38 12:51:38 Login Succeeded 12:51:38 ---> docker-login.sh ends [Pipeline] } 12:51:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:51:38 + git rev-list -1 --merges 7bed824649b0e4143032e9826de1090acf67fa57~1..7bed824649b0e4143032e9826de1090acf67fa57 [Pipeline] echo 12:51:38 -----------> git rev-list -1 --merges 7bed824649b0e4143032e9826de1090acf67fa57~1..7bed824649b0e4143032e9826de1090acf67fa57 7bed824649b0e4143032e9826de1090acf67fa57 [false] [Pipeline] sh 12:51:39 + git log --format=format:%s -1 7bed824649b0e4143032e9826de1090acf67fa57 [Pipeline] echo 12:51:39 ========================================================= 12:51:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:51:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:51:39 + git log --format=format:%s -1 7bed824649b0e4143032e9826de1090acf67fa57 [Pipeline] echo 12:51:39 [semverPrep] GIT_COMMIT: 7bed824649b0e4143032e9826de1090acf67fa57, Commit Message: fix(snap): Refactor to avoid conflicts with readonly config provider directory [Pipeline] echo 12:51:39 [semverPrep] This is not a build commit. [Pipeline] sh 12:51:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:51:39 + grep -v github /etc/ssh/ssh_known_hosts 12:51:39 + [ -e /tmp/ssh_known_hosts ] 12:51:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:51:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:51:39 + sudo tee -a /etc/ssh/ssh_known_hosts 12:51:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:51:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:51:40 12:51:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:51:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:51:40 0.1.4: Pulling from edgex-devops/py-git-semver 12:51:40 b85a868b505f: Pulling fs layer 12:51:40 e2be974225ed: Pulling fs layer 12:51:40 339a4e72a1f5: Pulling fs layer 12:51:40 988bab9f4d93: Pulling fs layer 12:51:40 1469e6f7b9e6: Pulling fs layer 12:51:40 eaf3925da568: Pulling fs layer 12:51:40 988bab9f4d93: Waiting 12:51:40 bab4dde63d76: Pulling fs layer 12:51:40 bde34c3a00c8: Pulling fs layer 12:51:40 b352a97aabf1: Pulling fs layer 12:51:40 4872d77fe225: Pulling fs layer 12:51:40 5851b861e8e6: Pulling fs layer 12:51:40 1469e6f7b9e6: Waiting 12:51:40 bab4dde63d76: Waiting 12:51:40 eaf3925da568: Waiting 12:51:40 bde34c3a00c8: Waiting 12:51:40 4872d77fe225: Waiting 12:51:40 e2be974225ed: Download complete 12:51:40 988bab9f4d93: Download complete 12:51:40 1469e6f7b9e6: Verifying Checksum 12:51:40 1469e6f7b9e6: Download complete 12:51:40 eaf3925da568: Verifying Checksum 12:51:40 eaf3925da568: Download complete 12:51:40 339a4e72a1f5: Verifying Checksum 12:51:40 339a4e72a1f5: Download complete 12:51:40 bde34c3a00c8: Verifying Checksum 12:51:40 bde34c3a00c8: Download complete 12:51:40 b352a97aabf1: Verifying Checksum 12:51:40 b352a97aabf1: Download complete 12:51:40 4872d77fe225: Verifying Checksum 12:51:40 4872d77fe225: Download complete 12:51:40 5851b861e8e6: Verifying Checksum 12:51:40 5851b861e8e6: Download complete 12:51:40 b85a868b505f: Verifying Checksum 12:51:40 b85a868b505f: Download complete 12:51:41 bab4dde63d76: Verifying Checksum 12:51:41 bab4dde63d76: Download complete 12:51:42 b85a868b505f: Pull complete 12:51:42 e2be974225ed: Pull complete 12:51:42 339a4e72a1f5: Pull complete 12:51:43 988bab9f4d93: Pull complete 12:51:43 1469e6f7b9e6: Pull complete 12:51:43 eaf3925da568: Pull complete 12:51:45 bab4dde63d76: Pull complete 12:51:45 bde34c3a00c8: Pull complete 12:51:45 b352a97aabf1: Pull complete 12:51:45 4872d77fe225: Pull complete 12:51:45 5851b861e8e6: Pull complete 12:51:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:51:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:51:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:51:45 prd-ubuntu20.04-docker-8c-8g-4850 does not seem to be running inside a container 12:51:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:51:48 $ docker top 047342d75c4b657c75b04376fafb1a56245f77806fc7d670f6e9f69f371941d5 -eo pid,comm 12:51:48 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). 12:51:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:51:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:51:48 [ssh-agent] Looking for ssh-agent implementation... 12:51:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:51:48 $ docker exec 047342d75c4b657c75b04376fafb1a56245f77806fc7d670f6e9f69f371941d5 ssh-agent 12:51:48 SSH_AUTH_SOCK=/tmp/ssh-A8i0KFBnjA5e/agent.33 12:51:48 SSH_AGENT_PID=39 12:51:48 Running ssh-add (command line suppressed) 12:51:48 Identity added: /w/workspace/foundry_device-usb-camera_PR-194@tmp/private_key_10879450674467140311.key (/w/workspace/foundry_device-usb-camera_PR-194@tmp/private_key_10879450674467140311.key) 12:51:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:51:48 + git tag --points-at HEAD [Pipeline] } 12:51:48 $ docker exec --env ******** --env ******** 047342d75c4b657c75b04376fafb1a56245f77806fc7d670f6e9f69f371941d5 ssh-agent -k 12:51:49 unset SSH_AUTH_SOCK; 12:51:49 unset SSH_AGENT_PID; 12:51:49 echo Agent pid 39 killed; 12:51:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:51:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:51:49 [ssh-agent] Looking for ssh-agent implementation... 12:51:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:51:49 $ docker exec 047342d75c4b657c75b04376fafb1a56245f77806fc7d670f6e9f69f371941d5 ssh-agent 12:51:49 SSH_AUTH_SOCK=/tmp/ssh-WbZ0mIJtzH6A/agent.71 12:51:49 SSH_AGENT_PID=77 12:51:49 Running ssh-add (command line suppressed) 12:51:49 Identity added: /w/workspace/foundry_device-usb-camera_PR-194@tmp/private_key_828915312074789292.key (/w/workspace/foundry_device-usb-camera_PR-194@tmp/private_key_828915312074789292.key) 12:51:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:51:49 + git semver init 12:51:49 2023-03-21 12:51:49,869 [run_init] DEBUG init version:0.0.0 force:False 12:51:49 2023-03-21 12:51:49,870 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-194/.semver 12:51:49 2023-03-21 12:51:49,871 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-194/.semver 12:51:49 2023-03-21 12:51:49,871 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-194/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-194, universal_newlines=False, shell=None, istream=None) 12:51:50 2023-03-21 12:51:50,568 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-194/.git/info/exclude 12:51:50 2023-03-21 12:51:50,568 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-194/.semver/PR-194 with force:False 12:51:50 2023-03-21 12:51:50,568 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-194/.semver/PR-194 12:51:50 2023-03-21 12:51:50,574 [execute] INFO git cat-file --batch-check 12:51:50 2023-03-21 12:51:50,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-194/.semver, universal_newlines=False, shell=None, istream=) 12:51:50 2023-03-21 12:51:50,581 [execute] INFO git cat-file --batch 12:51:50 2023-03-21 12:51:50,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-194/.semver, universal_newlines=False, shell=None, istream=) 12:51:50 2023-03-21 12:51:50,588 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-194/.semver/PR-194 12:51:50 0.0.0 [Pipeline] } 12:51:50 $ docker exec --env ******** --env ******** 047342d75c4b657c75b04376fafb1a56245f77806fc7d670f6e9f69f371941d5 ssh-agent -k 12:51:50 unset SSH_AUTH_SOCK; 12:51:50 unset SSH_AGENT_PID; 12:51:50 echo Agent pid 77 killed; 12:51:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:51:51 + git semver [Pipeline] } 12:51:51 $ docker stop --time=1 047342d75c4b657c75b04376fafb1a56245f77806fc7d670f6e9f69f371941d5 12:51:52 $ docker rm -f --volumes 047342d75c4b657c75b04376fafb1a56245f77806fc7d670f6e9f69f371941d5 [Pipeline] // withDockerContainer [Pipeline] sh 12:51:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:51:53 Stashed 1 file(s) [Pipeline] echo 12:51:53 [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 12:51:53 provisioning config files... 12:51:53 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-194@tmp/config10226615217530248408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:51:53 ---> docker-login.sh 12:51:53 nexus3.edgexfoundry.org:10001 12:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:53 Configure a credential helper to remove this warning. See 12:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:53 12:51:53 Login Succeeded 12:51:53 nexus3.edgexfoundry.org:10002 12:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:53 Configure a credential helper to remove this warning. See 12:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:53 12:51:53 Login Succeeded 12:51:53 nexus3.edgexfoundry.org:10003 12:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:54 Configure a credential helper to remove this warning. See 12:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:54 12:51:54 Login Succeeded 12:51:54 nexus3.edgexfoundry.org:10004 12:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:54 Configure a credential helper to remove this warning. See 12:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:54 12:51:54 Login Succeeded 12:51:54 docker.io 12:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:51:54 Configure a credential helper to remove this warning. See 12:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:51:54 12:51:54 Login Succeeded 12:51:54 ---> docker-login.sh ends [Pipeline] } 12:51:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:51:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:51:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:51:54 ========================================================= 12:51:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 12:51:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:51:54 + 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 . 12:51:54 Sending build context to Docker daemon 1.827MB 12:51:54 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 12:51:54 Step 2/13 : FROM ${BASE} AS builder 12:51:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 12:51:54 63b65145d645: Pulling fs layer 12:51:54 a2d21d5440eb: Pulling fs layer 12:51:54 935e6c44a52c: Pulling fs layer 12:51:54 94cc34f8dd06: Pulling fs layer 12:51:54 30dea6a524f1: Pulling fs layer 12:51:54 a2aff8979fd8: Pulling fs layer 12:51:54 6808be2612f2: Pulling fs layer 12:51:54 f25807f1079a: Pulling fs layer 12:51:54 6808be2612f2: Waiting 12:51:54 94cc34f8dd06: Waiting 12:51:54 30dea6a524f1: Waiting 12:51:54 f25807f1079a: Waiting 12:51:54 a2d21d5440eb: Download complete 12:51:54 94cc34f8dd06: Download complete 12:51:55 30dea6a524f1: Verifying Checksum 12:51:55 30dea6a524f1: Download complete 12:51:55 63b65145d645: Download complete 12:51:55 a2aff8979fd8: Verifying Checksum 12:51:55 a2aff8979fd8: Download complete 12:51:55 63b65145d645: Pull complete 12:51:55 a2d21d5440eb: Pull complete 12:51:55 f25807f1079a: Verifying Checksum 12:51:55 f25807f1079a: Download complete 12:51:55 935e6c44a52c: Verifying Checksum 12:51:55 935e6c44a52c: Download complete 12:51:56 6808be2612f2: Verifying Checksum 12:51:56 6808be2612f2: Download complete 12:51:59 935e6c44a52c: Pull complete 12:51:59 94cc34f8dd06: Pull complete 12:51:59 30dea6a524f1: Pull complete 12:51:59 a2aff8979fd8: Pull complete 12:52:02 6808be2612f2: Pull complete 12:52:02 f25807f1079a: Pull complete 12:52:02 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 12:52:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 12:52:02 ---> 3b553350e43f 12:52:02 Step 3/13 : ARG ADD_BUILD_TAGS="" 12:52:07 ---> Running in 78bd65f4387c 12:52:07 Removing intermediate container 78bd65f4387c 12:52:07 ---> 121961b54303 12:52:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:52:07 ---> Running in cd586054694d 12:52:07 Removing intermediate container cd586054694d 12:52:07 ---> 3ff9d3d6dc43 12:52:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 12:52:07 ---> Running in bb366b261750 12:52:07 Removing intermediate container bb366b261750 12:52:07 ---> 97233ceabf4a 12:52:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 12:52:07 ---> Running in 236947c37ce0 12:52:07 Removing intermediate container 236947c37ce0 12:52:07 ---> a443459badea 12:52:07 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:52:07 ---> Running in cf1a96d5b29a 12:52:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:52:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:52:07 (1/14) Installing libintl (0.21.1-r1) 12:52:07 (2/14) Installing eudev-libs (3.2.11-r4) 12:52:07 (3/14) Installing libjpeg-turbo (2.1.4-r0) 12:52:07 (4/14) Installing v4l-utils-libs (1.22.1-r2) 12:52:07 (5/14) Installing v4l-utils (1.22.1-r2) 12:52:07 (6/14) Installing udev-init-scripts (35-r1) 12:52:07 (7/14) Installing libblkid (2.38.1-r1) 12:52:07 (8/14) Installing xz-libs (5.2.9-r0) 12:52:07 (9/14) Installing zstd-libs (1.5.2-r9) 12:52:07 (10/14) Installing kmod-libs (30-r1) 12:52:08 (11/14) Installing eudev (3.2.11-r4) 12:52:08 (12/14) Installing eudev-dev (3.2.11-r4) 12:52:08 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 12:52:08 (14/14) Installing v4l-utils-dev (1.22.1-r2) 12:52:08 Executing busybox-1.35.0-r29.trigger 12:52:08 Executing eudev-3.2.11-r4.trigger 12:52:08 OK: 272 MiB in 67 packages 12:52:08 Still waiting to schedule task 12:52:08 ‘prd-centos7-blackbox-4c-2g-4488’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 12:52:08 ‘prd-ubuntu20.04-docker-8c-8g-4845’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 12:52:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4846’ is offline 12:52:08 ‘prd-ubuntu20.04-docker-arm64-4c-16g-4851’ is offline 12:52:08 Removing intermediate container cf1a96d5b29a 12:52:08 ---> df879c5c067d 12:52:08 Step 8/13 : WORKDIR /device-usb-camera 12:52:08 ---> Running in dbd15d4a73d8 12:52:08 Removing intermediate container dbd15d4a73d8 12:52:08 ---> 674dad0e168c 12:52:08 Step 9/13 : COPY go.mod vendor* ./ 12:52:08 ---> 21e5349403d5 12:52:08 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:52:08 ---> Running in ae6727164de5 12:52:41 Removing intermediate container ae6727164de5 12:52:41 ---> c0815cb69a8a 12:52:41 Step 11/13 : COPY . . 12:52:41 ---> d7d430ed8576 12:52:41 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 12:52:41 ---> Running in 9483a4f3fbf2 12:52:41  % Total % Received % Xferd Average Speed Time Time Time Current 12:52:41 Dload Upload Total Spent Left Speed 12:52:41 0 0 0 0 0 0   0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8337 0 --:--:-- --:--:-- --:--:-- 8362 12:52:41 Removing intermediate container 9483a4f3fbf2 12:52:41 ---> 8f6c6559d47c 12:52:41 Step 13/13 : RUN ${MAKE} 12:52:41 ---> Running in 0e3644049afb 12:52:41 noop 12:52:41 Removing intermediate container 0e3644049afb 12:52:41 ---> 50cab1cc9309 12:52:41 Successfully built 50cab1cc9309 12:52:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:52:41 + docker inspect -f . ci-base-image-x86_64 12:52:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:52:41 prd-ubuntu20.04-docker-8c-8g-4850 does not seem to be running inside a container 12:52:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:52:41 $ docker top 061598c85efecba5520cd1ea2121eb18b1410a43952c8d0beeefcdecf4dd8097 -eo pid,comm [Pipeline] { [Pipeline] sh 12:52:42 + go version 12:52:42 go version go1.20.2 linux/amd64 [Pipeline] } 12:52:42 $ docker stop --time=1 061598c85efecba5520cd1ea2121eb18b1410a43952c8d0beeefcdecf4dd8097 12:52:43 $ docker rm -f --volumes 061598c85efecba5520cd1ea2121eb18b1410a43952c8d0beeefcdecf4dd8097 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:52:43 + docker inspect -f . ci-base-image-x86_64 12:52:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:52:44 prd-ubuntu20.04-docker-8c-8g-4850 does not seem to be running inside a container 12:52:44 $ 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-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:52:44 $ docker top ea8725eabfd468c2051cc376efeda5ec01fb6b84109b0d7dec233dd5e01cd27e -eo pid,comm [Pipeline] { [Pipeline] sh 12:52:44 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-194 [Pipeline] fileExists [Pipeline] sh 12:52:45 + make test 12:52:45 go test ./... -coverprofile=coverage.out ./... 12:52:50 ? github.com/edgexfoundry/device-usb-camera [no test files] 12:53:00 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 12:53:01 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.016s coverage: 2.0% of statements 12:53:07 go vet ./... 12:53:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:53:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:53:11 ./bin/test-attribution-txt.sh [Pipeline] echo 12:53:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:53:12 $ docker stop --time=1 ea8725eabfd468c2051cc376efeda5ec01fb6b84109b0d7dec233dd5e01cd27e 12:53:15 $ docker rm -f --volumes ea8725eabfd468c2051cc376efeda5ec01fb6b84109b0d7dec233dd5e01cd27e [Pipeline] // withDockerContainer [Pipeline] sh 12:53:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:53:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:53:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:53:16 + ls -al . 12:53:16 total 188 12:53:16 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 12:52 . 12:53:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:51 .. 12:53:16 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 12:51 .git 12:53:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:51 .github 12:53:16 -rw-rw-r-- 1 jenkins jenkins 414 Mar 21 12:51 .gitignore 12:53:16 -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 12:51 .golangci.yml 12:53:16 -rw-rw-r-- 1 jenkins jenkins 77 Mar 21 12:51 .hadolint.yml 12:53:16 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 12:51 .semver 12:53:16 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 21 12:51 Attribution.txt 12:53:16 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 21 12:51 CHANGELOG.md 12:53:16 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 21 12:51 Dockerfile 12:53:16 -rw-rw-r-- 1 jenkins jenkins 678 Mar 21 12:51 GOVERNANCE.md 12:53:16 -rw-rw-r-- 1 jenkins jenkins 659 Mar 21 12:51 Jenkinsfile 12:53:16 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 12:51 LICENSE 12:53:16 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 21 12:51 Makefile 12:53:16 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 12:51 OWNERS.md 12:53:16 -rw-rw-r-- 1 jenkins jenkins 5681 Mar 21 12:51 README.md 12:53:16 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 12:51 VERSION 12:53:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 12:51 bin 12:53:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:51 cmd 12:53:16 -rw-r--r-- 1 jenkins jenkins 28352 Mar 21 12:53 coverage.out 12:53:16 -rwxrwxr-x 1 jenkins jenkins 140 Mar 21 12:51 docker-entrypoint.sh 12:53:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:51 docs 12:53:16 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 21 12:51 go.mod 12:53:16 -rw-rw-r-- 1 jenkins jenkins 31546 Mar 21 12:51 go.sum 12:53:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:51 internal 12:53:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:51 snap 12:53:16 -rw-rw-r-- 1 jenkins jenkins 231 Mar 21 12:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:17 + 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=7bed824649b0e4143032e9826de1090acf67fa57 --label arch=amd64 --label version=0.0.0 . 12:53:17 Sending build context to Docker daemon 1.856MB 12:53:17 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 12:53:17 Step 2/35 : FROM ${BASE} AS builder 12:53:17 ---> 50cab1cc9309 12:53:17 Step 3/35 : ARG ADD_BUILD_TAGS="" 12:53:17 ---> Running in 7cc662969b08 12:53:17 Removing intermediate container 7cc662969b08 12:53:17 ---> 56021f0feefa 12:53:17 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:53:17 ---> Running in cd33d137516c 12:53:17 Removing intermediate container cd33d137516c 12:53:17 ---> 8b07616ee591 12:53:17 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 12:53:17 ---> Running in ba66ac2ab32d 12:53:17 Removing intermediate container ba66ac2ab32d 12:53:17 ---> 559e8a6a0ee8 12:53:17 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 12:53:17 ---> Running in 728c0459b605 12:53:17 Removing intermediate container 728c0459b605 12:53:17 ---> a1792f00339f 12:53:17 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:53:17 ---> Running in af116fef8d87 12:53:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:53:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:53:18 OK: 272 MiB in 67 packages 12:53:18 Removing intermediate container af116fef8d87 12:53:18 ---> be6c652bcf73 12:53:18 Step 8/35 : WORKDIR /device-usb-camera 12:53:18 ---> Running in 77b42537595b 12:53:18 Removing intermediate container 77b42537595b 12:53:18 ---> 75a5fed0fffc 12:53:18 Step 9/35 : COPY go.mod vendor* ./ 12:53:18 ---> d2d0879ac5bc 12:53:18 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:53:19 ---> Running in 14eb723ec428 12:53:19 Removing intermediate container 14eb723ec428 12:53:19 ---> 127310666981 12:53:19 Step 11/35 : COPY . . 12:53:19 ---> 164c6c919f4d 12:53:19 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 12:53:19 ---> Running in 212c83327ce4 12:53:20  % Total % Received % Xferd Average Speed Time Time Time Current 12:53:20 Dload Upload Total Spent Left Speed 12:53:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21330 0 --:--:-- --:--:-- --:--:-- 21673 12:53:20 Removing intermediate container 212c83327ce4 12:53:20 ---> 7cd84a5d141b 12:53:20 Step 13/35 : RUN ${MAKE} 12:53:20 ---> Running in e9dcc0d9e80e 12:53:21 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 12:53:42 Removing intermediate container e9dcc0d9e80e 12:53:42 ---> 9df6093c1b5d 12:53:42 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 12:53:42 v0.21.6: Pulling from aler9/rtsp-simple-server 12:53:42 4acc49c71d14: Pulling fs layer 12:53:42 4acc49c71d14: Download complete 12:53:42 4acc49c71d14: Pull complete 12:53:42 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 12:53:42 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 12:53:42 ---> 01a2bd3e5fff 12:53:42 Step 15/35 : FROM alpine:3.17 12:53:42 3.17: Pulling from library/alpine 12:53:43 63b65145d645: Already exists 12:53:43 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 12:53:43 Status: Downloaded newer image for alpine:3.17 12:53:43 ---> b2aa39c304c2 12:53:43 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 12:53:43 ---> Running in 09ffcb4e7b65 12:53:43 Removing intermediate container 09ffcb4e7b65 12:53:43 ---> 0007b4888eba 12:53:43 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 12:53:43 ---> Running in 861eeba9886c 12:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:53:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:53:43 (1/86) Installing dumb-init (1.2.5-r2) 12:53:43 (2/86) Installing sdl2 (2.26.3-r0) 12:53:43 (3/86) Installing svt-av1-libs (1.3.0-r0) 12:53:44 (4/86) Installing libxau (1.0.10-r0) 12:53:44 (5/86) Installing libmd (1.0.4-r0) 12:53:44 (6/86) Installing libbsd (0.11.7-r0) 12:53:44 (7/86) Installing libxdmcp (1.1.4-r0) 12:53:44 (8/86) Installing libxcb (1.15-r0) 12:53:44 (9/86) Installing libx11 (1.8.4-r0) 12:53:44 (10/86) Installing aom-libs (3.5.0-r0) 12:53:44 (11/86) Installing alsa-lib (1.2.8-r0) 12:53:44 (12/86) Installing libexpat (2.5.0-r0) 12:53:44 (13/86) Installing brotli-libs (1.0.9-r9) 12:53:44 (14/86) Installing libbz2 (1.0.8-r4) 12:53:44 (15/86) Installing libpng (1.6.38-r0) 12:53:44 (16/86) Installing freetype (2.12.1-r0) 12:53:44 (17/86) Installing fontconfig (2.14.1-r0) 12:53:44 (18/86) Installing fribidi (1.0.12-r0) 12:53:44 (19/86) Installing libffi (3.4.4-r0) 12:53:44 (20/86) Installing libintl (0.21.1-r1) 12:53:44 (21/86) Installing libblkid (2.38.1-r1) 12:53:44 (22/86) Installing libmount (2.38.1-r1) 12:53:44 (23/86) Installing pcre2 (10.42-r0) 12:53:44 (24/86) Installing glib (2.74.6-r0) 12:53:44 (25/86) Installing graphite2 (1.3.14-r2) 12:53:44 (26/86) Installing harfbuzz (5.3.1-r1) 12:53:44 (27/86) Installing libass (0.16.0-r1) 12:53:44 (28/86) Installing libdav1d (1.0.0-r2) 12:53:44 (29/86) Installing hwdata-pci (0.364-r0) 12:53:44 (30/86) Installing libpciaccess (0.17-r0) 12:53:44 (31/86) Installing libdrm (2.4.114-r0) 12:53:44 (32/86) Installing gmp (6.2.1-r2) 12:53:44 (33/86) Installing nettle (3.8.1-r0) 12:53:44 (34/86) Installing p11-kit (0.24.1-r1) 12:53:44 (35/86) Installing libtasn1 (4.19.0-r0) 12:53:44 (36/86) Installing libunistring (1.1-r0) 12:53:44 (37/86) Installing gnutls (3.7.8-r3) 12:53:44 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 12:53:44 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 12:53:44 (40/86) Installing lame (3.100-r2) 12:53:44 (41/86) Installing opus (1.3.1-r1) 12:53:44 (42/86) Installing libasyncns (0.8-r1) 12:53:44 (43/86) Installing dbus-libs (1.14.4-r0) 12:53:44 (44/86) Installing libltdl (2.4.7-r1) 12:53:44 (45/86) Installing orc (0.4.33-r0) 12:53:44 (46/86) Installing libgcc (12.2.1_git20220924-r4) 12:53:44 (47/86) Installing libogg (1.3.5-r2) 12:53:44 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 12:53:44 (49/86) Installing flac-libs (1.4.2-r0) 12:53:44 (50/86) Installing libvorbis (1.3.7-r0) 12:53:44 (51/86) Installing libsndfile (1.1.0-r2) 12:53:44 (52/86) Installing libgomp (12.2.1_git20220924-r4) 12:53:44 (53/86) Installing soxr (0.1.3-r3) 12:53:44 (54/86) Installing speexdsp (1.2.1-r0) 12:53:44 (55/86) Installing tdb-libs (1.4.7-r0) 12:53:44 (56/86) Installing libpulse (16.1-r6) 12:53:44 (57/86) Installing cjson (1.7.15-r3) 12:53:44 (58/86) Installing mbedtls (2.28.2-r0) 12:53:44 (59/86) Installing librist (0.2.7-r0) 12:53:44 (60/86) Installing libsrt (1.5.1-r0) 12:53:44 (61/86) Installing libssh (0.10.4-r0) 12:53:44 (62/86) Installing libtheora (1.1.1-r16) 12:53:44 (63/86) Installing libjpeg-turbo (2.1.4-r0) 12:53:44 (64/86) Installing v4l-utils-libs (1.22.1-r2) 12:53:44 (65/86) Installing libxext (1.3.5-r0) 12:53:44 (66/86) Installing libxfixes (6.0.0-r0) 12:53:44 (67/86) Installing wayland-libs-client (1.21.0-r1) 12:53:44 (68/86) Installing libva (2.16.0-r0) 12:53:44 (69/86) Installing libvdpau (1.5-r0) 12:53:44 (70/86) Installing vidstab (1.1.0-r2) 12:53:44 (71/86) Installing libvpx (1.12.0-r1) 12:53:44 (72/86) Installing libwebp (1.2.4-r1) 12:53:44 (73/86) Installing x264-libs (0.164_git20220602-r0) 12:53:44 (74/86) Installing numactl (2.0.16-r1) 12:53:44 (75/86) Installing x265-libs (3.5-r3) 12:53:45 (76/86) Installing xvidcore (1.3.7-r1) 12:53:45 (77/86) Installing libsodium (1.0.18-r2) 12:53:45 (78/86) Installing libzmq (4.3.4-r1) 12:53:45 (79/86) Installing ffmpeg-libs (5.1.2-r1) 12:53:45 (80/86) Installing ffmpeg (5.1.2-r1) 12:53:45 (81/86) Installing udev-init-scripts (35-r1) 12:53:45 (82/86) Installing eudev-libs (3.2.11-r4) 12:53:45 (83/86) Installing xz-libs (5.2.9-r0) 12:53:45 (84/86) Installing zstd-libs (1.5.2-r9) 12:53:45 (85/86) Installing kmod-libs (30-r1) 12:53:45 (86/86) Installing eudev (3.2.11-r4) 12:53:45 Executing busybox-1.35.0-r29.trigger 12:53:45 Executing eudev-3.2.11-r4.trigger 12:53:45 OK: 111 MiB in 101 packages 12:53:47 Removing intermediate container 861eeba9886c 12:53:47 ---> 75b9c9af1182 12:53:47 Step 18/35 : WORKDIR / 12:53:47 ---> Running in 092b6f3fae1e 12:53:47 Removing intermediate container 092b6f3fae1e 12:53:47 ---> a0140dee0486 12:53:47 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 12:53:48 ---> 8faf01618c09 12:53:48 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 12:53:48 ---> 5c8001807f9b 12:53:48 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 12:53:48 ---> fac3e4c06519 12:53:48 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 12:53:48 ---> a7be6fbbec44 12:53:48 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 12:53:48 ---> 008aa022b44f 12:53:48 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 12:53:49 ---> 3820acaecd99 12:53:49 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 12:53:50 ---> d98f00e43852 12:53:50 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 12:53:50 ---> Running in 043c3540fa4c 12:53:50 Removing intermediate container 043c3540fa4c 12:53:50 ---> a7b1f593f469 12:53:50 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 12:53:50 ---> Running in 3e3af1e80996 12:53:51 Removing intermediate container 3e3af1e80996 12:53:51 ---> caf325703be4 12:53:51 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 12:53:51 ---> Running in a6e23d030b07 12:53:51 Removing intermediate container a6e23d030b07 12:53:51 ---> 9c37b10b0ac1 12:53:51 Step 29/35 : EXPOSE 59983 12:53:51 ---> Running in 9aafcdbe6721 12:53:51 Removing intermediate container 9aafcdbe6721 12:53:51 ---> e718117d4095 12:53:51 Step 30/35 : EXPOSE 8554 12:53:51 ---> Running in 9a7f47cdd703 12:53:51 Removing intermediate container 9a7f47cdd703 12:53:51 ---> 142b8813e806 12:53:51 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 12:53:51 ---> Running in 280f69a7161c 12:53:51 Removing intermediate container 280f69a7161c 12:53:51 ---> 2a1a8c4304cc 12:53:51 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 12:53:51 ---> Running in 753bcea45a1a 12:53:52 Removing intermediate container 753bcea45a1a 12:53:52 ---> a76260aa49e2 12:53:52 Step 33/35 : LABEL arch=amd64 12:53:52 ---> Running in 19ffea2af249 12:53:52 Removing intermediate container 19ffea2af249 12:53:52 ---> 1a9fe7f7748b 12:53:52 Step 34/35 : LABEL git_sha=7bed824649b0e4143032e9826de1090acf67fa57 12:53:52 ---> Running in 2f1b3e9c9896 12:53:52 Removing intermediate container 2f1b3e9c9896 12:53:52 ---> 0ee7958a19c9 12:53:52 Step 35/35 : LABEL version=0.0.0 12:53:52 ---> Running in 581d85eb3f2d 12:53:52 Removing intermediate container 581d85eb3f2d 12:53:52 ---> 10e599517aa0 12:53:52 [Warning] One or more build-args [ARCH] were not consumed 12:53:52 Successfully built 10e599517aa0 12:53:52 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 12:53:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:53:52 12:53:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:53:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:53:53 latest: Pulling from edgex-lftools-log-publisher 12:53:53 5eb5b503b376: Pulling fs layer 12:53:53 5c69ac0246d0: Pulling fs layer 12:53:53 ec43610c2a17: Pulling fs layer 12:53:53 3a2ae6a8a46f: Pulling fs layer 12:53:53 33b1e0a273af: Pulling fs layer 12:53:53 5d3b04190fa2: Pulling fs layer 12:53:53 2f39f015ded8: Pulling fs layer 12:53:53 3a2ae6a8a46f: Waiting 12:53:53 5d3b04190fa2: Waiting 12:53:53 33b1e0a273af: Waiting 12:53:53 2f39f015ded8: Waiting 12:53:53 5c69ac0246d0: Verifying Checksum 12:53:53 5c69ac0246d0: Download complete 12:53:53 3a2ae6a8a46f: Verifying Checksum 12:53:53 3a2ae6a8a46f: Download complete 12:53:53 33b1e0a273af: Verifying Checksum 12:53:53 33b1e0a273af: Download complete 12:53:53 5d3b04190fa2: Verifying Checksum 12:53:53 5d3b04190fa2: Download complete 12:53:53 ec43610c2a17: Verifying Checksum 12:53:53 ec43610c2a17: Download complete 12:53:53 5eb5b503b376: Verifying Checksum 12:53:53 5eb5b503b376: Download complete 12:53:53 2f39f015ded8: Download complete 12:53:54 5eb5b503b376: Pull complete 12:53:54 5c69ac0246d0: Pull complete 12:53:55 ec43610c2a17: Pull complete 12:53:55 3a2ae6a8a46f: Pull complete 12:53:55 33b1e0a273af: Pull complete 12:53:55 5d3b04190fa2: Pull complete 12:53:59 2f39f015ded8: Pull complete 12:53:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:53:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:53:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:53:59 prd-ubuntu20.04-docker-8c-8g-4850 does not seem to be running inside a container 12:53:59 $ 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-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@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 12:54:03 $ docker top b099ec3fb220b4f152ab2b42b07a6137a6732a44d63f116a51c62671604fb9a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:54:04 ---> job-cost.sh 12:54:04 lf-activate-venv: SKIPPING 12:54:04 INFO: No Stack... 12:54:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4853 in /w/workspace/foundry_device-usb-camera_PR-194 [Pipeline] { [Pipeline] ws 12:54:04 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 12:54:04 Selected Git installation does not exist. Using Default 12:54:04 The recommended git tool is: NONE 12:54:05 INFO: Retrieving Pricing Info for: v3-standard-8 12:54:05 INFO: Archiving Costs [Pipeline] sh 12:54:05 + cat /w/workspace/foundry_device-usb-camera_PR-194/archives/cost.csv 12:54:05 + cut -d, -f6 [Pipeline] lock 12:54:05 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-194-2-stack-cost] 12:54:05 Resource [jenkins-edgexfoundry-device-usb-camera-PR-194-2-stack-cost] did not exist. Created. 12:54:05 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-194-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:54:06 + echo total: 0.2199999988079071 [Pipeline] stash 12:54:06 Stashed 1 file(s) [Pipeline] } 12:54:06 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-194-2-stack-cost] [Pipeline] // lock [Pipeline] } 12:54:06 $ docker stop --time=1 b099ec3fb220b4f152ab2b42b07a6137a6732a44d63f116a51c62671604fb9a2 12:54:07 $ docker rm -f --volumes b099ec3fb220b4f152ab2b42b07a6137a6732a44d63f116a51c62671604fb9a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:54:10 using credential edgex-jenkins-ssh 12:54:10 Cloning the remote Git repository 12:54:10 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 12:54:10 > git init /w/workspace/device-usb-camera/2 # timeout=10 12:54:10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 12:54:10 > git --version # timeout=10 12:54:11 > git --version # 'git version 2.25.1' 12:54:11 using GIT_SSH to set credentials SSH Credentials for GitHub 12:54:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:54:11 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 12:54:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:54:13 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 12:54:13 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 12:54:13 using GIT_SSH to set credentials SSH Credentials for GitHub 12:54:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/194/head:refs/remotes/origin/PR-194 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:54:13 Merging remotes/origin/main commit 96327e049a2d26e356251a4ee56d80af5c884d85 into PR head commit 7bed824649b0e4143032e9826de1090acf67fa57 12:54:14 Merge succeeded, producing 7bed824649b0e4143032e9826de1090acf67fa57 12:54:14 Checking out Revision 7bed824649b0e4143032e9826de1090acf67fa57 (PR-194) 12:54:13 > git config core.sparsecheckout # timeout=10 12:54:13 > git checkout -f 7bed824649b0e4143032e9826de1090acf67fa57 # timeout=10 12:54:13 > git remote # timeout=10 12:54:13 > git config --get remote.origin.url # timeout=10 12:54:13 using GIT_SSH to set credentials SSH Credentials for GitHub 12:54:14 > git merge 96327e049a2d26e356251a4ee56d80af5c884d85 # timeout=10 12:54:14 > git rev-parse HEAD^{commit} # timeout=10 12:54:14 > git config core.sparsecheckout # timeout=10 12:54:14 > git checkout -f 7bed824649b0e4143032e9826de1090acf67fa57 # timeout=10 12:54:17 Commit message: "fix(snap): Refactor to avoid conflicts with readonly config provider directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:54:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:54:18 % Total % Received % Xferd Average Speed Time Time Time Current 12:54:18 Dload Upload Total Spent Left Speed 12:54:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 12:54:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:54:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:54:19 + sudo tee /etc/docker/daemon.new 12:54:19 { 12:54:19 "registry-mirrors": [ 12:54:19 "https://nexus3.edgexfoundry.org:10001" 12:54:19 ], 12:54:19 "bip": "10.250.0.254/24", 12:54:19 "hosts": [ 12:54:19 "tcp://0.0.0.0:5555", 12:54:19 "unix:///var/run/docker.sock" 12:54:19 ], 12:54:19 "mtu": 1458, 12:54:19 "selinux-enabled": true, 12:54:19 "seccomp-profile": "/etc/docker/seccomp.json" 12:54:19 } [Pipeline] sh 12:54:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:54:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:54:38 provisioning config files... 12:54:38 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config4817281242902487273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:54:39 ---> docker-login.sh 12:54:39 nexus3.edgexfoundry.org:10001 12:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:39 Configure a credential helper to remove this warning. See 12:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:39 12:54:39 Login Succeeded 12:54:39 nexus3.edgexfoundry.org:10002 12:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:40 Configure a credential helper to remove this warning. See 12:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:40 12:54:40 Login Succeeded 12:54:40 nexus3.edgexfoundry.org:10003 12:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:40 Configure a credential helper to remove this warning. See 12:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:40 12:54:40 Login Succeeded 12:54:40 nexus3.edgexfoundry.org:10004 12:54:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:40 Configure a credential helper to remove this warning. See 12:54:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:40 12:54:40 Login Succeeded 12:54:40 docker.io 12:54:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:41 Configure a credential helper to remove this warning. See 12:54:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:41 12:54:41 Login Succeeded 12:54:41 ---> docker-login.sh ends [Pipeline] } 12:54:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:54:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:54:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:54:41 ========================================================= 12:54:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:54:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54: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 . 12:54:42 Sending build context to Docker daemon 1.178MB 12:54:42 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 12:54:42 Step 2/13 : FROM ${BASE} AS builder 12:54:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:54:42 af6eaf76a39c: Pulling fs layer 12:54:42 55522c791124: Pulling fs layer 12:54:42 ce5c4a1c91eb: Pulling fs layer 12:54:42 169dfbe0d373: Pulling fs layer 12:54:42 e1ff8fa3b103: Pulling fs layer 12:54:42 52ebb69f0ebf: Pulling fs layer 12:54:42 5abe8eddf0d5: Pulling fs layer 12:54:42 169dfbe0d373: Waiting 12:54:42 e1ff8fa3b103: Waiting 12:54:42 5abe8eddf0d5: Waiting 12:54:42 52ebb69f0ebf: Waiting 12:54:42 55522c791124: Download complete 12:54:42 169dfbe0d373: Verifying Checksum 12:54:42 169dfbe0d373: Download complete 12:54:42 e1ff8fa3b103: Verifying Checksum 12:54:42 e1ff8fa3b103: Download complete 12:54:42 af6eaf76a39c: Verifying Checksum 12:54:42 af6eaf76a39c: Download complete 12:54:43 af6eaf76a39c: Pull complete 12:54:43 5abe8eddf0d5: Verifying Checksum 12:54:43 5abe8eddf0d5: Download complete 12:54:44 55522c791124: Pull complete 12:54:45 ce5c4a1c91eb: Download complete 12:54:45 52ebb69f0ebf: Verifying Checksum 12:54:45 52ebb69f0ebf: Download complete 12:54:55 ce5c4a1c91eb: Pull complete 12:54:55 169dfbe0d373: Pull complete 12:54:55 e1ff8fa3b103: Pull complete 12:55:01 52ebb69f0ebf: Pull complete 12:55:02 5abe8eddf0d5: Pull complete 12:55:02 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 12:55:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:55:02 ---> 6cb57ee374ae 12:55:02 Step 3/13 : ARG ADD_BUILD_TAGS="" 12:55:04 ---> Running in d1ff59a41e60 12:55:05 Removing intermediate container d1ff59a41e60 12:55:05 ---> 2b5a02a9e3ec 12:55:05 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:55:05 ---> Running in ca2b3c9fa224 12:55:05 Removing intermediate container ca2b3c9fa224 12:55:05 ---> 6355a825f58b 12:55:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 12:55:05 ---> Running in 7a40e853ccee 12:55:05 Removing intermediate container 7a40e853ccee 12:55:05 ---> 9551f39fce27 12:55:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 12:55:06 ---> Running in 2436053ba908 12:55:06 Removing intermediate container 2436053ba908 12:55:06 ---> cddc351df8c8 12:55:06 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:55:06 ---> Running in 6d179f6f4b75 12:55:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:55:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:55:09 (1/14) Installing libintl (0.21.1-r1) 12:55:09 (2/14) Installing eudev-libs (3.2.11-r4) 12:55:09 (3/14) Installing libjpeg-turbo (2.1.4-r0) 12:55:09 (4/14) Installing v4l-utils-libs (1.22.1-r2) 12:55:09 (5/14) Installing v4l-utils (1.22.1-r2) 12:55:09 (6/14) Installing udev-init-scripts (35-r1) 12:55:09 (7/14) Installing libblkid (2.38.1-r1) 12:55:09 (8/14) Installing xz-libs (5.2.9-r0) 12:55:09 (9/14) Installing zstd-libs (1.5.2-r9) 12:55:09 (10/14) Installing kmod-libs (30-r1) 12:55:09 (11/14) Installing eudev (3.2.11-r4) 12:55:09 (12/14) Installing eudev-dev (3.2.11-r4) 12:55:09 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 12:55:09 (14/14) Installing v4l-utils-dev (1.22.1-r2) 12:55:09 Executing busybox-1.35.0-r29.trigger 12:55:09 Executing eudev-3.2.11-r4.trigger 12:55:09 OK: 271 MiB in 67 packages 12:55:11 Removing intermediate container 6d179f6f4b75 12:55:11 ---> 7bc646d421a9 12:55:11 Step 8/13 : WORKDIR /device-usb-camera 12:55:11 ---> Running in d1798f6e68b3 12:55:11 Removing intermediate container d1798f6e68b3 12:55:11 ---> 09938d072a10 12:55:11 Step 9/13 : COPY go.mod vendor* ./ 12:55:13 ---> 2302ee0dcb46 12:55:13 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:55:13 ---> Running in 970064b0dc68 12:56:21 Removing intermediate container 970064b0dc68 12:56:21 ---> 08d0ec637810 12:56:21 Step 11/13 : COPY . . 12:56:21 ---> 80e13c6587c5 12:56:21 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 12:56:21 ---> Running in 12f60b206c7b 12:56:21  % Total % Received % Xferd Average Speed Time Time Time Current 12:56:21 Dload Upload Total Spent Left Speed 12:56:21 0 0 0 0 0 0 0  0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3718 0 --:--:-- --:--:-- --:--:-- 3726 12:56:21 Removing intermediate container 12f60b206c7b 12:56:21 ---> bbde6224725c 12:56:21 Step 13/13 : RUN ${MAKE} 12:56:21 ---> Running in b5806bdc53c5 12:56:21 noop 12:56:21 Removing intermediate container b5806bdc53c5 12:56:21 ---> edfb44b9ea71 12:56:21 Successfully built edfb44b9ea71 12:56:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:21 + docker inspect -f . ci-base-image-arm64 12:56:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:56:21 prd-ubuntu20.04-docker-arm64-4c-16g-4853 does not seem to be running inside a container 12:56:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:56:23 $ docker top a125647d4ae8c5df99db727f40083dc0e0b5ea6e619a324923c623bb4a3946e9 -eo pid,comm [Pipeline] { [Pipeline] sh 12:56:23 + go version 12:56:23 go version go1.20.2 linux/arm64 [Pipeline] } 12:56:23 $ docker stop --time=1 a125647d4ae8c5df99db727f40083dc0e0b5ea6e619a324923c623bb4a3946e9 12:56:25 $ docker rm -f --volumes a125647d4ae8c5df99db727f40083dc0e0b5ea6e619a324923c623bb4a3946e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:56:26 + docker inspect -f . ci-base-image-arm64 12:56:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:56:26 prd-ubuntu20.04-docker-arm64-4c-16g-4853 does not seem to be running inside a container 12:56:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:56:27 $ docker top 9a36716293097b06a490fdd55c1a540678126288395b434a75782e6a3ed3f0f3 -eo pid,comm [Pipeline] { [Pipeline] sh 12:56:28 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 12:56:28 + make test 12:56:28 go test ./... -coverprofile=coverage.out ./... 12:57:00 ? github.com/edgexfoundry/device-usb-camera [no test files] 12:59:10 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 12:59:10 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.068s coverage: 2.0% of statements 12:59:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:59:10 go vet ./... 12:59:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:59:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:59:37 ./bin/test-attribution-txt.sh [Pipeline] echo 12:59:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:59:37 $ docker stop --time=1 9a36716293097b06a490fdd55c1a540678126288395b434a75782e6a3ed3f0f3 12:59:39 $ docker rm -f --volumes 9a36716293097b06a490fdd55c1a540678126288395b434a75782e6a3ed3f0f3 [Pipeline] // withDockerContainer [Pipeline] sh 12:59:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:59:40 Warning: overwriting stash ‘coverage-report’ 12:59:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:59:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:59:41 + ls -al . 12:59:41 total 184 12:59:41 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 12:56 . 12:59:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:54 .. 12:59:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 12:54 .git 12:59:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:54 .github 12:59:41 -rw-rw-r-- 1 jenkins jenkins 414 Mar 21 12:54 .gitignore 12:59:41 -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 12:54 .golangci.yml 12:59:41 -rw-rw-r-- 1 jenkins jenkins 77 Mar 21 12:54 .hadolint.yml 12:59:41 -rw-rw-r-- 1 jenkins jenkins 9660 Mar 21 12:54 Attribution.txt 12:59:41 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 21 12:54 CHANGELOG.md 12:59:41 -rw-rw-r-- 1 jenkins jenkins 2328 Mar 21 12:54 Dockerfile 12:59:41 -rw-rw-r-- 1 jenkins jenkins 678 Mar 21 12:54 GOVERNANCE.md 12:59:41 -rw-rw-r-- 1 jenkins jenkins 659 Mar 21 12:54 Jenkinsfile 12:59:41 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 12:54 LICENSE 12:59:41 -rw-rw-r-- 1 jenkins jenkins 2364 Mar 21 12:54 Makefile 12:59:41 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 12:54 OWNERS.md 12:59:41 -rw-rw-r-- 1 jenkins jenkins 5681 Mar 21 12:54 README.md 12:59:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 12:51 VERSION 12:59:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 12:54 bin 12:59:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:54 cmd 12:59:41 -rw-r--r-- 1 jenkins jenkins 28352 Mar 21 12:59 coverage.out 12:59:41 -rwxrwxr-x 1 jenkins jenkins 140 Mar 21 12:54 docker-entrypoint.sh 12:59:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:54 docs 12:59:41 -rw-rw-r-- 1 jenkins jenkins 3487 Mar 21 12:54 go.mod 12:59:41 -rw-rw-r-- 1 jenkins jenkins 31546 Mar 21 12:54 go.sum 12:59:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 12:54 internal 12:59:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 12:54 snap 12:59:41 -rw-rw-r-- 1 jenkins jenkins 231 Mar 21 12:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:59:42 + 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=7bed824649b0e4143032e9826de1090acf67fa57 --label arch=arm64 --label version=0.0.0 . 12:59:42 Sending build context to Docker daemon 1.207MB 12:59:42 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 12:59:42 Step 2/35 : FROM ${BASE} AS builder 12:59:42 ---> edfb44b9ea71 12:59:42 Step 3/35 : ARG ADD_BUILD_TAGS="" 12:59:42 ---> Running in d949d2df9e3f 12:59:42 Removing intermediate container d949d2df9e3f 12:59:42 ---> ee8d9c23154b 12:59:42 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:59:42 ---> Running in c361bbc3f63c 12:59:43 Removing intermediate container c361bbc3f63c 12:59:43 ---> 223480f9ca3b 12:59:43 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 12:59:43 ---> Running in e44957059d6b 12:59:43 Removing intermediate container e44957059d6b 12:59:43 ---> c083ccdca832 12:59:43 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 12:59:43 ---> Running in e4533f26ab91 12:59:44 Removing intermediate container e4533f26ab91 12:59:44 ---> 1757d9b73aab 12:59:44 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:59:44 ---> Running in b839029dc6e7 12:59:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:59:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:59:47 OK: 271 MiB in 67 packages 12:59:48 Removing intermediate container b839029dc6e7 12:59:48 ---> 03294f3fd9d5 12:59:48 Step 8/35 : WORKDIR /device-usb-camera 12:59:48 ---> Running in d6a50ecc4831 12:59:51 Removing intermediate container d6a50ecc4831 12:59:51 ---> 315601a84d8c 12:59:51 Step 9/35 : COPY go.mod vendor* ./ 12:59:52 ---> 461739e922ac 12:59:52 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:59:52 ---> Running in 2236ec7dc6e0 12:59:55 Removing intermediate container 2236ec7dc6e0 12:59:55 ---> 046375a2a9c9 12:59:55 Step 11/35 : COPY . . 12:59:56 ---> 44bcf76ecaac 12:59:56 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 12:59:56 ---> Running in eb617240de31 12:59:57  % Total % Received % Xferd Average Speed Time Time Time Current 12:59:57 Dload Upload Total Spent Left Speed 12:59:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062  100 1062 0 0 2359 0 --:--:-- --:--:-- --:--:-- 2360 12:59:58 Removing intermediate container eb617240de31 12:59:58 ---> 0af75cf49a0e 12:59:58 Step 13/35 : RUN ${MAKE} 12:59:58 ---> Running in 095badf34415 12:59:59 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 13:02:36 Removing intermediate container 095badf34415 13:02:36 ---> e6dde7062c5b 13:02:36 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 13:02:36 v0.21.6: Pulling from aler9/rtsp-simple-server 13:02:36 8766b47fe142: Pulling fs layer 13:02:36 8766b47fe142: Verifying Checksum 13:02:36 8766b47fe142: Download complete 13:02:36 8766b47fe142: Pull complete 13:02:36 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 13:02:36 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 13:02:36 ---> 69d40e2cb93c 13:02:36 Step 15/35 : FROM alpine:3.17 13:02:36 3.17: Pulling from library/alpine 13:02:36 af6eaf76a39c: Already exists 13:02:36 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:02:36 Status: Downloaded newer image for alpine:3.17 13:02:36 ---> d74e625d9115 13:02:36 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 13:02:36 ---> Running in 6d2bf0ac17ed 13:02:36 Removing intermediate container 6d2bf0ac17ed 13:02:36 ---> adb2e8d98111 13:02:36 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 13:02:36 ---> Running in 92b0b862363d 13:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:02:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:02:36 (1/83) Installing dumb-init (1.2.5-r2) 13:02:36 (2/83) Installing sdl2 (2.26.3-r0) 13:02:36 (3/83) Installing libxau (1.0.10-r0) 13:02:36 (4/83) Installing libmd (1.0.4-r0) 13:02:36 (5/83) Installing libbsd (0.11.7-r0) 13:02:36 (6/83) Installing libxdmcp (1.1.4-r0) 13:02:36 (7/83) Installing libxcb (1.15-r0) 13:02:36 (8/83) Installing libx11 (1.8.4-r0) 13:02:36 (9/83) Installing aom-libs (3.5.0-r0) 13:02:36 (10/83) Installing alsa-lib (1.2.8-r0) 13:02:36 (11/83) Installing libexpat (2.5.0-r0) 13:02:36 (12/83) Installing brotli-libs (1.0.9-r9) 13:02:36 (13/83) Installing libbz2 (1.0.8-r4) 13:02:36 (14/83) Installing libpng (1.6.38-r0) 13:02:36 (15/83) Installing freetype (2.12.1-r0) 13:02:36 (16/83) Installing fontconfig (2.14.1-r0) 13:02:36 (17/83) Installing fribidi (1.0.12-r0) 13:02:36 (18/83) Installing libffi (3.4.4-r0) 13:02:36 (19/83) Installing libintl (0.21.1-r1) 13:02:36 (20/83) Installing libblkid (2.38.1-r1) 13:02:36 (21/83) Installing libmount (2.38.1-r1) 13:02:36 (22/83) Installing pcre2 (10.42-r0) 13:02:36 (23/83) Installing glib (2.74.6-r0) 13:02:36 (24/83) Installing graphite2 (1.3.14-r2) 13:02:36 (25/83) Installing harfbuzz (5.3.1-r1) 13:02:36 (26/83) Installing libass (0.16.0-r1) 13:02:36 (27/83) Installing libdav1d (1.0.0-r2) 13:02:36 (28/83) Installing libdrm (2.4.114-r0) 13:02:36 (29/83) Installing gmp (6.2.1-r2) 13:02:36 (30/83) Installing nettle (3.8.1-r0) 13:02:36 (31/83) Installing p11-kit (0.24.1-r1) 13:02:36 (32/83) Installing libtasn1 (4.19.0-r0) 13:02:36 (33/83) Installing libunistring (1.1-r0) 13:02:36 (34/83) Installing gnutls (3.7.8-r3) 13:02:36 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 13:02:36 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 13:02:36 (37/83) Installing lame (3.100-r2) 13:02:36 (38/83) Installing opus (1.3.1-r1) 13:02:36 (39/83) Installing libasyncns (0.8-r1) 13:02:36 (40/83) Installing dbus-libs (1.14.4-r0) 13:02:36 (41/83) Installing libltdl (2.4.7-r1) 13:02:36 (42/83) Installing orc (0.4.33-r0) 13:02:36 (43/83) Installing libgcc (12.2.1_git20220924-r4) 13:02:36 (44/83) Installing libogg (1.3.5-r2) 13:02:36 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 13:02:36 (46/83) Installing flac-libs (1.4.2-r0) 13:02:36 (47/83) Installing libvorbis (1.3.7-r0) 13:02:36 (48/83) Installing libsndfile (1.1.0-r2) 13:02:36 (49/83) Installing libgomp (12.2.1_git20220924-r4) 13:02:36 (50/83) Installing soxr (0.1.3-r3) 13:02:36 (51/83) Installing speexdsp (1.2.1-r0) 13:02:36 (52/83) Installing tdb-libs (1.4.7-r0) 13:02:36 (53/83) Installing libpulse (16.1-r6) 13:02:36 (54/83) Installing cjson (1.7.15-r3) 13:02:36 (55/83) Installing mbedtls (2.28.2-r0) 13:02:36 (56/83) Installing librist (0.2.7-r0) 13:02:36 (57/83) Installing libsrt (1.5.1-r0) 13:02:36 (58/83) Installing libssh (0.10.4-r0) 13:02:36 (59/83) Installing libtheora (1.1.1-r16) 13:02:36 (60/83) Installing libjpeg-turbo (2.1.4-r0) 13:02:36 (61/83) Installing v4l-utils-libs (1.22.1-r2) 13:02:36 (62/83) Installing libxext (1.3.5-r0) 13:02:36 (63/83) Installing libxfixes (6.0.0-r0) 13:02:36 (64/83) Installing wayland-libs-client (1.21.0-r1) 13:02:36 (65/83) Installing libva (2.16.0-r0) 13:02:36 (66/83) Installing libvdpau (1.5-r0) 13:02:36 (67/83) Installing vidstab (1.1.0-r2) 13:02:36 (68/83) Installing libvpx (1.12.0-r1) 13:02:36 (69/83) Installing libwebp (1.2.4-r1) 13:02:36 (70/83) Installing x264-libs (0.164_git20220602-r0) 13:02:36 (71/83) Installing numactl (2.0.16-r1) 13:02:36 (72/83) Installing x265-libs (3.5-r3) 13:02:36 (73/83) Installing xvidcore (1.3.7-r1) 13:02:36 (74/83) Installing libsodium (1.0.18-r2) 13:02:36 (75/83) Installing libzmq (4.3.4-r1) 13:02:36 (76/83) Installing ffmpeg-libs (5.1.2-r1) 13:02:36 (77/83) Installing ffmpeg (5.1.2-r1) 13:02:36 (78/83) Installing udev-init-scripts (35-r1) 13:02:36 (79/83) Installing eudev-libs (3.2.11-r4) 13:02:36 (80/83) Installing xz-libs (5.2.9-r0) 13:02:36 (81/83) Installing zstd-libs (1.5.2-r9) 13:02:36 (82/83) Installing kmod-libs (30-r1) 13:02:36 (83/83) Installing eudev (3.2.11-r4) 13:02:36 Executing busybox-1.35.0-r29.trigger 13:02:36 Executing eudev-3.2.11-r4.trigger 13:02:36 OK: 86 MiB in 98 packages 13:02:36 Removing intermediate container 92b0b862363d 13:02:36 ---> 050cab44847d 13:02:36 Step 18/35 : WORKDIR / 13:02:37 ---> Running in f62031f5505a 13:02:37 Removing intermediate container f62031f5505a 13:02:37 ---> edc650aa80b8 13:02:37 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 13:02:38 ---> d810db9ef5f8 13:02:38 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 13:02:39 ---> 5245d7a847b3 13:02:39 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 13:02:40 ---> 40eb5fd9c2a1 13:02:40 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 13:02:40 ---> d53bd01bdf35 13:02:40 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 13:02:40 ---> 9fcbc4519422 13:02:40 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 13:02:41 ---> 094c6a82382f 13:02:41 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 13:02:44 ---> 73c4e7de5cb3 13:02:44 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 13:02:44 ---> Running in 9864d42b1b36 13:02:45 Removing intermediate container 9864d42b1b36 13:02:45 ---> 81fba2cc2836 13:02:45 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 13:02:45 ---> Running in 34dc0e89f951 13:02:47 Removing intermediate container 34dc0e89f951 13:02:47 ---> b8233b54c259 13:02:47 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 13:02:47 ---> Running in 31ba92f36886 13:02:48 Removing intermediate container 31ba92f36886 13:02:48 ---> eaf3766b9030 13:02:48 Step 29/35 : EXPOSE 59983 13:02:49 ---> Running in d84ed585cc0c 13:02:49 Removing intermediate container d84ed585cc0c 13:02:49 ---> 995da6ee7a8d 13:02:49 Step 30/35 : EXPOSE 8554 13:02:49 ---> Running in 8d1417858485 13:02:49 Removing intermediate container 8d1417858485 13:02:49 ---> e36d0fe84792 13:02:49 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 13:02:49 ---> Running in 42bc1ccce92f 13:02:49 Removing intermediate container 42bc1ccce92f 13:02:49 ---> 4505dd690d2a 13:02:49 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 13:02:50 ---> Running in ca8a5e896e02 13:02:50 Removing intermediate container ca8a5e896e02 13:02:50 ---> 90b7168fe890 13:02:50 Step 33/35 : LABEL arch=arm64 13:02:50 ---> Running in 9222df452800 13:02:50 Removing intermediate container 9222df452800 13:02:50 ---> b824f6627a7c 13:02:50 Step 34/35 : LABEL git_sha=7bed824649b0e4143032e9826de1090acf67fa57 13:02:50 ---> Running in e45267d7a40e 13:02:51 Removing intermediate container e45267d7a40e 13:02:51 ---> bc8838593bea 13:02:51 Step 35/35 : LABEL version=0.0.0 13:02:51 ---> Running in 4599f3f6f327 13:02:51 Removing intermediate container 4599f3f6f327 13:02:51 ---> de8338c34931 13:02:51 [Warning] One or more build-args [ARCH] were not consumed 13:02:51 Successfully built de8338c34931 13:02:51 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 13:02:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:02:52 13:02:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:02:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:02:52 arm64: Pulling from edgex-lftools-log-publisher 13:02:52 8998bd30e6a1: Pulling fs layer 13:02:52 04944245beec: Pulling fs layer 13:02:52 699f458cf7ca: Pulling fs layer 13:02:52 765212b225bb: Pulling fs layer 13:02:52 f23df028b6ca: Pulling fs layer 13:02:52 d65c8cfc05b1: Pulling fs layer 13:02:52 2437ff75d9bd: Pulling fs layer 13:02:52 f23df028b6ca: Waiting 13:02:52 d65c8cfc05b1: Waiting 13:02:52 2437ff75d9bd: Waiting 13:02:52 765212b225bb: Waiting 13:02:52 04944245beec: Verifying Checksum 13:02:52 04944245beec: Download complete 13:02:52 765212b225bb: Verifying Checksum 13:02:52 765212b225bb: Download complete 13:02:52 f23df028b6ca: Verifying Checksum 13:02:52 f23df028b6ca: Download complete 13:02:52 d65c8cfc05b1: Verifying Checksum 13:02:52 d65c8cfc05b1: Download complete 13:02:52 699f458cf7ca: Verifying Checksum 13:02:52 699f458cf7ca: Download complete 13:02:53 8998bd30e6a1: Verifying Checksum 13:02:55 2437ff75d9bd: Verifying Checksum 13:02:55 2437ff75d9bd: Download complete 13:02:57 8998bd30e6a1: Pull complete 13:02:57 04944245beec: Pull complete 13:02:58 699f458cf7ca: Pull complete 13:02:59 765212b225bb: Pull complete 13:03:00 f23df028b6ca: Pull complete 13:03:00 d65c8cfc05b1: Pull complete 13:03:15 2437ff75d9bd: Pull complete 13:03:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:03:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:03:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:15 prd-ubuntu20.04-docker-arm64-4c-16g-4853 does not seem to be running inside a container 13:03:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:03:17 $ docker top eca47e0485ae0d551fa55af93294b0ef6c50da6acb96638e6b3bcb8f3bf1766e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:03:18 ---> job-cost.sh 13:03:18 lf-activate-venv: SKIPPING 13:03:18 INFO: No Stack... 13:03:18 INFO: Retrieving Pricing Info for: v3-standard-4 13:03:19 INFO: Archiving Costs [Pipeline] sh 13:03:20 + cat /w/workspace/device-usb-camera/2/archives/cost.csv 13:03:20 + cut -d, -f6 [Pipeline] lock 13:03:20 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-194-2-stack-cost] 13:03:20 Resource [jenkins-edgexfoundry-device-usb-camera-PR-194-2-stack-cost] did not exist. Created. 13:03:20 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-194-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:03:20 /w/workspace/device-usb-camera/2@tmp/durable-69b79d3d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:03:20 + echo total: 0.10999999940395355 [Pipeline] stash 13:03:20 Warning: overwriting stash ‘stack-cost’ 13:03:20 Stashed 1 file(s) [Pipeline] } 13:03:20 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-194-2-stack-cost] [Pipeline] // lock [Pipeline] } 13:03:20 $ docker stop --time=1 eca47e0485ae0d551fa55af93294b0ef6c50da6acb96638e6b3bcb8f3bf1766e 13:03:22 $ docker rm -f --volumes eca47e0485ae0d551fa55af93294b0ef6c50da6acb96638e6b3bcb8f3bf1766e [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 13:03:22 provisioning config files... 13:03:22 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_PR-194@tmp/config11390037011352155299tmp [Pipeline] { [Pipeline] sh 13:03:22 + set +x 13:03:22 + bash -s -- 13:03:22 + curl -s https://codecov.io/bash 13:03:22 13:03:22 _____ _ 13:03:22 / ____| | | 13:03:22 | | ___ __| | ___ ___ _____ __ 13:03:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:03:22 | |___| (_) | (_| | __/ (_| (_) \ V / 13:03:22 \_____\___/ \__,_|\___|\___\___/ \_/ 13:03:22 Bash-1.0.6 13:03:22 13:03:22 13:03:22 ==> git version 2.25.1 found 13:03:22 ==> 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 13:03:22 Release-Date: 2020-01-08 13:03:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:03:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:03:22 ==> Jenkins CI detected. 13:03:22 current dir:  /w/workspace/foundry_device-usb-camera_PR-194 13:03:22 project root: . 13:03:22 --> token set from env 13:03:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:03:22 ==> Running gcov in . (disable via -X gcov) 13:03:22 ==> Python coveragepy not found 13:03:22 ==> Searching for coverage reports in: 13:03:22 + . 13:03:22 -> Found 1 reports 13:03:22 ==> Detecting git/mercurial file structure 13:03:22 ==> Reading reports 13:03:22 + ./coverage.out bytes=28352 13:03:22 ==> Appending adjustments 13:03:22 https://docs.codecov.io/docs/fixing-reports 13:03:23 + Found adjustments 13:03:23 ==> Gzipping contents 13:03:23 4.0K /tmp/codecov.sbhAFw.gz 13:03:23 ==> Uploading reports 13:03:23 url: https://codecov.io 13:03:23 query: branch=PR-194&commit=7bed824649b0e4143032e9826de1090acf67fa57&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-194%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=194&job=&cmd_args= 13:03:23 -> Pinging Codecov 13:03:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-194&commit=7bed824649b0e4143032e9826de1090acf67fa57&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-194%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=194&job=&cmd_args= 13:03:23 -> Uploading to 13:03:23 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/73D8F5FF140700D3E01443B452E23636/7bed824649b0e4143032e9826de1090acf67fa57/ce1a71fa-e2a4-47f7-a7cc-2abfdc2b2f7a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T130323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b64a7ba19920814cb39f678d4777c05c286e6ec1726b47d68935e92dd09460a 13:03:23 % Total % Received % Xferd Average Speed Time Time Time Current 13:03:23 Dload Upload Total Spent Left Speed 13:03:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3933 0 0 100 3933 0 13515 --:--:-- --:--:-- --:--:-- 13515 13:03:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/7bed824649b0e4143032e9826de1090acf67fa57 [Pipeline] } 13:03:23 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 13:03:24 + [ -d /w/workspace/foundry_device-usb-camera_PR-194/archives ] 13:03:24 + ls -al /w/workspace/foundry_device-usb-camera_PR-194/archives 13:03:24 total 16 13:03:24 drwxr-xr-x 3 root root 4096 Mar 21 12:54 . 13:03:24 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 12:54 .. 13:03:24 drwxr-xr-x 2 root root 4096 Mar 21 12:54 cost 13:03:24 -rw-r--r-- 1 root root 89 Mar 21 12:54 cost.csv 13:03:24 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-194/archives 13:03:24 + ls -al /w/workspace/foundry_device-usb-camera_PR-194/archives 13:03:24 total 16 13:03:24 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 12:54 . 13:03:24 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 12:54 .. 13:03:24 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 12:54 cost 13:03:24 -rw-r--r-- 1 jenkins jenkins 89 Mar 21 12:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:03:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:03:25 ---> package-listing.sh 13:03:25 ++ facter osfamily 13:03:25 ++ tr '[:upper:]' '[:lower:]' 13:03:25 + OS_FAMILY=debian 13:03:25 + workspace=/w/workspace/foundry_device-usb-camera_PR-194 13:03:25 + START_PACKAGES=/tmp/packages_start.txt 13:03:25 + END_PACKAGES=/tmp/packages_end.txt 13:03:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:03:25 + PACKAGES=/tmp/packages_start.txt 13:03:25 + '[' /w/workspace/foundry_device-usb-camera_PR-194 ']' 13:03:25 + PACKAGES=/tmp/packages_end.txt 13:03:25 + case "${OS_FAMILY}" in 13:03:25 + dpkg -l 13:03:25 + grep '^ii' 13:03:25 + '[' -f /tmp/packages_start.txt ']' 13:03:25 + '[' -f /tmp/packages_end.txt ']' 13:03:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:03:25 + '[' /w/workspace/foundry_device-usb-camera_PR-194 ']' 13:03:25 + mkdir -p /w/workspace/foundry_device-usb-camera_PR-194/archives/ 13:03:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-194/archives/ [Pipeline] echo 13:03:25 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-194/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:03:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:03:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:03:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:03:26 prd-ubuntu20.04-docker-8c-8g-4850 does not seem to be running inside a container 13:03:26 $ 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-194/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-194 -v /w/workspace/foundry_device-usb-camera_PR-194:/w/workspace/foundry_device-usb-camera_PR-194:rw,z -v /w/workspace/foundry_device-usb-camera_PR-194@tmp:/w/workspace/foundry_device-usb-camera_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:03:27 $ docker top 493cf3417ae4a9b46d81709c55174715ef9600270f965020f6bb9b4152abf1b5 -eo pid,comm [Pipeline] { [Pipeline] sh 13:03:27 + touch /tmp/pre-build-complete [Pipeline] sh 13:03:27 + mkdir -p /var/log/sysstat [Pipeline] sh 13:03:27 + ls /var/log/sa-host 13:03:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:03:28 provisioning config files... 13:03:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-194@tmp/config8011708809414237900tmp [Pipeline] { [Pipeline] echo 13:03:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:03:28 ---> create-netrc.sh [Pipeline] } 13:03:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:03:28 ---> python-tools-install.sh [Pipeline] echo 13:03:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:03:28 ---> sudo-logs.sh 13:03:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:03:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:03:29 ---> job-cost.sh 13:03:29 lf-activate-venv: SKIPPING 13:03:29 DEBUG: total: 0.2199999988079071 13:03:29 INFO: Retrieving Stack Cost... 13:03:29 INFO: Retrieving Pricing Info for: v3-standard-8 13:03:30 INFO: Archiving Costs [Pipeline] echo 13:03:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:03:30 ---> logs-deploy.sh 13:03:30 lf-activate-venv: SKIPPING 13:03:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-194/2 13:03:30 INFO: archiving workspace using pattern(s): 13:03:31 Archives upload complete. 13:03:31 INFO: archiving logs to Nexus