Branch indexing 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 farshidtz for edgexfoundry/device-usb-camera Obtained Jenkinsfile from 4df80eefb8af4e7f598d31ac79e90a8636e25008+455d5982027557f38f4688dafc55c743213ab3fb (a38b9498b7d0564c4fb0b742faeaea77518cfb11) 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-ssh1281104589164615502.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh815958263607641506.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-30/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-30/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5229937811237443884.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh366997483690394003.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-30/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-30/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9981955106635022270.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1735 in /w/workspace/xfoundry_device-usb-camera_PR-30 [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/xfoundry_device-usb-camera_PR-30 # 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/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 455d5982027557f38f4688dafc55c743213ab3fb into PR head commit 4df80eefb8af4e7f598d31ac79e90a8636e25008 Merge succeeded, producing 15745afe638608ba7fcc27674c04be594227766b Checking out Revision 15745afe638608ba7fcc27674c04be594227766b (PR-30) > git config core.sparsecheckout # timeout=10 > git checkout -f 4df80eefb8af4e7f598d31ac79e90a8636e25008 # 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 455d5982027557f38f4688dafc55c743213ab3fb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 15745afe638608ba7fcc27674c04be594227766b # timeout=10 Commit message: "Merge commit '455d5982027557f38f4688dafc55c743213ab3fb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:16:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:16:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:16:18 ========================================================= 06:16:18 EdgeX Global Pipelines Version Info 06:16:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 762ace28ce448e378ec255d7f8175710ecbb282d # timeout=10 06:16:19 ------------------- 06:16:19 stable info: 06:16:19 ------------------- 06:16:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:16:19 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:16:19 Message: update stable to v1.0.234 06:16:20 ------------------- 06:16:20 experimental info: 06:16:20 ------------------- 06:16:20 Commited By: **** collab-it+edgex@linuxfoundation.org 06:16:20 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:16:20 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15745afe638608ba7fcc27674c04be594227766b [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 15745af [Pipeline] echo 06:16:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:20 provisioning config files... 06:16:20 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config6492949200715753292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:21 ---> docker-login.sh 06:16:21 nexus3.edgexfoundry.org:10001 06:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:21 Configure a credential helper to remove this warning. See 06:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:21 06:16:21 Login Succeeded 06:16:21 nexus3.edgexfoundry.org:10002 06:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:21 Configure a credential helper to remove this warning. See 06:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:21 06:16:21 Login Succeeded 06:16:21 nexus3.edgexfoundry.org:10003 06:16:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:21 Configure a credential helper to remove this warning. See 06:16:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:21 06:16:21 Login Succeeded 06:16:21 nexus3.edgexfoundry.org:10004 06:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:22 Configure a credential helper to remove this warning. See 06:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:22 06:16:22 Login Succeeded 06:16:22 docker.io 06:16:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:22 Configure a credential helper to remove this warning. See 06:16:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:22 06:16:22 Login Succeeded 06:16:22 ---> docker-login.sh ends [Pipeline] } 06:16:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:16:22 + git rev-list -1 --merges 15745afe638608ba7fcc27674c04be594227766b~1..15745afe638608ba7fcc27674c04be594227766b [Pipeline] echo 06:16:22 -----------> git rev-list -1 --merges 15745afe638608ba7fcc27674c04be594227766b~1..15745afe638608ba7fcc27674c04be594227766b 15745afe638608ba7fcc27674c04be594227766b 06:16:22 15745afe638608ba7fcc27674c04be594227766b [false] [Pipeline] sh 06:16:23 + git log --format=format:%s -1 15745afe638608ba7fcc27674c04be594227766b [Pipeline] echo 06:16:23 ========================================================= 06:16:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:16:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:23 + git log --format=format:%s -1 15745afe638608ba7fcc27674c04be594227766b [Pipeline] echo 06:16:23 [semverPrep] GIT_COMMIT: 15745afe638608ba7fcc27674c04be594227766b, Commit Message: Merge commit '455d5982027557f38f4688dafc55c743213ab3fb' into HEAD [Pipeline] echo 06:16:23 [semverPrep] This is not a build commit. [Pipeline] sh 06:16:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:16:23 + grep -v github /etc/ssh/ssh_known_hosts 06:16:23 + [ -e /tmp/ssh_known_hosts ] 06:16:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:16:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:16:23 + sudo tee -a /etc/ssh/ssh_known_hosts 06:16:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:24 06:16:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:24 0.1.4: Pulling from edgex-devops/py-git-semver 06:16:24 42c077c10790: Pulling fs layer 06:16:24 f63e77b7563a: Pulling fs layer 06:16:24 bd5fdadae976: Pulling fs layer 06:16:24 205491f53016: Pulling fs layer 06:16:24 df18705c85c3: Pulling fs layer 06:16:24 bdb3f477010e: Pulling fs layer 06:16:24 c8a8fc8e1c8f: Pulling fs layer 06:16:24 2c6e9b1d212d: Pulling fs layer 06:16:24 bdb8f0575790: Pulling fs layer 06:16:24 386e3cb2ff24: Pulling fs layer 06:16:24 2343380bae48: Pulling fs layer 06:16:24 bdb3f477010e: Waiting 06:16:24 386e3cb2ff24: Waiting 06:16:24 bdb8f0575790: Waiting 06:16:24 c8a8fc8e1c8f: Waiting 06:16:24 2343380bae48: Waiting 06:16:24 2c6e9b1d212d: Waiting 06:16:24 205491f53016: Waiting 06:16:24 df18705c85c3: Waiting 06:16:24 f63e77b7563a: Verifying Checksum 06:16:24 f63e77b7563a: Download complete 06:16:24 205491f53016: Download complete 06:16:24 df18705c85c3: Verifying Checksum 06:16:24 df18705c85c3: Download complete 06:16:24 bd5fdadae976: Verifying Checksum 06:16:24 bd5fdadae976: Download complete 06:16:24 bdb3f477010e: Download complete 06:16:24 2c6e9b1d212d: Verifying Checksum 06:16:24 2c6e9b1d212d: Download complete 06:16:24 bdb8f0575790: Verifying Checksum 06:16:24 bdb8f0575790: Download complete 06:16:24 386e3cb2ff24: Download complete 06:16:24 2343380bae48: Download complete 06:16:24 42c077c10790: Verifying Checksum 06:16:24 42c077c10790: Download complete 06:16:24 c8a8fc8e1c8f: Verifying Checksum 06:16:24 c8a8fc8e1c8f: Download complete 06:16:25 42c077c10790: Pull complete 06:16:26 f63e77b7563a: Pull complete 06:16:26 bd5fdadae976: Pull complete 06:16:26 205491f53016: Pull complete 06:16:26 df18705c85c3: Pull complete 06:16:26 bdb3f477010e: Pull complete 06:16:28 c8a8fc8e1c8f: Pull complete 06:16:28 2c6e9b1d212d: Pull complete 06:16:28 bdb8f0575790: Pull complete 06:16:29 386e3cb2ff24: Pull complete 06:16:29 2343380bae48: Pull complete 06:16:29 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 06:16:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:29 prd-ubuntu20.04-docker-8c-8g-1735 does not seem to be running inside a container 06:16:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:16:30 $ docker top 1b2c530eb861a93644e65730e2c394e00cb1fba9b5f04062e71bb0cc99ee962a -eo pid,comm 06:16:30 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). 06:16:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:30 [ssh-agent] Looking for ssh-agent implementation... 06:16:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:31 $ docker exec 1b2c530eb861a93644e65730e2c394e00cb1fba9b5f04062e71bb0cc99ee962a ssh-agent 06:16:31 SSH_AUTH_SOCK=/tmp/ssh-BcKca42y5ABS/agent.32 06:16:31 SSH_AGENT_PID=38 06:16:31 Running ssh-add (command line suppressed) 06:16:31 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_3144827371433624124.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_3144827371433624124.key) 06:16:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:31 + git tag --points-at HEAD [Pipeline] } 06:16:31 $ docker exec --env ******** --env ******** 1b2c530eb861a93644e65730e2c394e00cb1fba9b5f04062e71bb0cc99ee962a ssh-agent -k 06:16:31 unset SSH_AUTH_SOCK; 06:16:31 unset SSH_AGENT_PID; 06:16:31 echo Agent pid 38 killed; 06:16:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:16:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:31 [ssh-agent] Looking for ssh-agent implementation... 06:16:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:31 $ docker exec 1b2c530eb861a93644e65730e2c394e00cb1fba9b5f04062e71bb0cc99ee962a ssh-agent 06:16:32 SSH_AUTH_SOCK=/tmp/ssh-dfv7NGjHjNQl/agent.73 06:16:32 SSH_AGENT_PID=79 06:16:32 Running ssh-add (command line suppressed) 06:16:32 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_1530745856343922776.key (/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/private_key_1530745856343922776.key) 06:16:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:32 + git semver init 06:16:32 2022-06-08 06:16:32,746 [run_init] DEBUG init version:0.0.0 force:False 06:16:32 2022-06-08 06:16:32,747 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver 06:16:32 2022-06-08 06:16:32,747 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-30/.semver 06:16:32 2022-06-08 06:16:32,748 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-30/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30, universal_newlines=False, shell=None, istream=None) 06:16:33 2022-06-08 06:16:33,301 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.git/info/exclude 06:16:33 2022-06-08 06:16:33,302 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 with force:False 06:16:33 2022-06-08 06:16:33,302 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 06:16:33 2022-06-08 06:16:33,306 [execute] INFO git cat-file --batch-check 06:16:33 2022-06-08 06:16:33,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 06:16:33 2022-06-08 06:16:33,313 [execute] INFO git cat-file --batch 06:16:33 2022-06-08 06:16:33,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-30/.semver, universal_newlines=False, shell=None, istream=) 06:16:33 2022-06-08 06:16:33,319 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-30/.semver/PR-30 06:16:33 0.0.0 [Pipeline] } 06:16:33 $ docker exec --env ******** --env ******** 1b2c530eb861a93644e65730e2c394e00cb1fba9b5f04062e71bb0cc99ee962a ssh-agent -k 06:16:33 unset SSH_AUTH_SOCK; 06:16:33 unset SSH_AGENT_PID; 06:16:33 echo Agent pid 79 killed; 06:16:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:33 + git semver [Pipeline] } 06:16:34 $ docker stop --time=1 1b2c530eb861a93644e65730e2c394e00cb1fba9b5f04062e71bb0cc99ee962a 06:16:35 $ docker rm -f 1b2c530eb861a93644e65730e2c394e00cb1fba9b5f04062e71bb0cc99ee962a [Pipeline] // withDockerContainer [Pipeline] sh 06:16:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:16:36 Stashed 1 file(s) [Pipeline] echo 06:16:36 [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 06:16:36 provisioning config files... 06:16:36 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config3522066354206143309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:36 ---> docker-login.sh 06:16:36 nexus3.edgexfoundry.org:10001 06:16:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:36 Configure a credential helper to remove this warning. See 06:16:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:36 06:16:36 Login Succeeded 06:16:36 nexus3.edgexfoundry.org:10002 06:16:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:36 Configure a credential helper to remove this warning. See 06:16:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:36 06:16:36 Login Succeeded 06:16:36 nexus3.edgexfoundry.org:10003 06:16:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:36 Configure a credential helper to remove this warning. See 06:16:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:36 06:16:36 Login Succeeded 06:16:36 nexus3.edgexfoundry.org:10004 06:16:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:37 Configure a credential helper to remove this warning. See 06:16:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:37 06:16:37 Login Succeeded 06:16:37 docker.io 06:16:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:37 Configure a credential helper to remove this warning. See 06:16:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:37 06:16:37 Login Succeeded 06:16:37 ---> docker-login.sh ends [Pipeline] } 06:16:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:16:37 ========================================================= 06:16:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:16:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:16:37 Sending build context to Docker daemon 706kB 06:16:37 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:16:37 Step 2/12 : FROM ${BASE} AS builder 06:16:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:16:37 59bf1c3509f3: Pulling fs layer 06:16:37 666ba61612fd: Pulling fs layer 06:16:37 8ed8ca486205: Pulling fs layer 06:16:37 cc1cd167ecdc: Pulling fs layer 06:16:37 c516ae0d96e1: Pulling fs layer 06:16:37 684cea983483: Pulling fs layer 06:16:37 dd3240ac7de5: Pulling fs layer 06:16:37 b1e948a4e11c: Pulling fs layer 06:16:37 a8fd76ee1af6: Pulling fs layer 06:16:37 646ad004c059: Pulling fs layer 06:16:37 cc1cd167ecdc: Waiting 06:16:37 c516ae0d96e1: Waiting 06:16:37 684cea983483: Waiting 06:16:37 b1e948a4e11c: Waiting 06:16:37 a8fd76ee1af6: Waiting 06:16:37 646ad004c059: Waiting 06:16:37 dd3240ac7de5: Waiting 06:16:37 8ed8ca486205: Verifying Checksum 06:16:37 8ed8ca486205: Download complete 06:16:37 666ba61612fd: Download complete 06:16:37 c516ae0d96e1: Download complete 06:16:37 684cea983483: Verifying Checksum 06:16:37 684cea983483: Download complete 06:16:37 59bf1c3509f3: Verifying Checksum 06:16:37 59bf1c3509f3: Download complete 06:16:37 dd3240ac7de5: Download complete 06:16:37 b1e948a4e11c: Verifying Checksum 06:16:37 b1e948a4e11c: Download complete 06:16:37 59bf1c3509f3: Pull complete 06:16:38 666ba61612fd: Pull complete 06:16:38 8ed8ca486205: Pull complete 06:16:38 646ad004c059: Verifying Checksum 06:16:38 646ad004c059: Download complete 06:16:38 a8fd76ee1af6: Verifying Checksum 06:16:38 a8fd76ee1af6: Download complete 06:16:38 cc1cd167ecdc: Verifying Checksum 06:16:38 cc1cd167ecdc: Download complete 06:16:42 cc1cd167ecdc: Pull complete 06:16:42 c516ae0d96e1: Pull complete 06:16:42 684cea983483: Pull complete 06:16:42 dd3240ac7de5: Pull complete 06:16:42 b1e948a4e11c: Pull complete 06:16:45 a8fd76ee1af6: Pull complete 06:16:45 646ad004c059: Pull complete 06:16:45 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 06:16:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:16:45 ---> 8f69c11f6b0c 06:16:45 Step 3/12 : ARG MAKE="make build" 06:16:47 ---> Running in ba3cc78efe36 06:16:47 Removing intermediate container ba3cc78efe36 06:16:47 ---> 02fbcd92f7d0 06:16:47 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:16:47 ---> Running in 3be8f14b5a46 06:16:47 Removing intermediate container 3be8f14b5a46 06:16:47 ---> 0991a38d9f65 06:16:47 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:16:47 ---> Running in 529576ae07dc 06:16:47 Removing intermediate container 529576ae07dc 06:16:47 ---> 70465d1a86b9 06:16:47 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:47 ---> Running in e1d0d12bd95c 06:16:48 Removing intermediate container e1d0d12bd95c 06:16:48 ---> 26692d191772 06:16:48 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:48 ---> Running in 074a8567ad13 06:16:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:16:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:16:49 (1/81) Installing mesa (21.2.6-r0) 06:16:49 (2/81) Installing libxau (1.0.9-r0) 06:16:50 (3/81) Installing libmd (1.0.3-r0) 06:16:50 (4/81) Installing libbsd (0.11.3-r1) 06:16:50 (5/81) Installing libxdmcp (1.1.3-r0) 06:16:50 (6/81) Installing libxcb (1.14-r2) 06:16:50 (7/81) Installing libx11 (1.7.2-r0) 06:16:50 (8/81) Installing libxext (1.3.4-r0) 06:16:50 (9/81) Installing libxfixes (6.0.0-r0) 06:16:50 (10/81) Installing libxxf86vm (1.1.4-r2) 06:16:51 (11/81) Installing libpciaccess (0.16-r0) 06:16:51 (12/81) Installing libdrm (2.4.109-r0) 06:16:51 (13/81) Installing mesa-glapi (21.2.6-r0) 06:16:51 Still waiting to schedule task 06:16:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1736’ is offline 06:16:51 (14/81) Installing libxshmfence (1.3-r1) 06:16:51 (15/81) Installing mesa-gl (21.2.6-r0) 06:16:51 (16/81) Installing libice (1.0.10-r0) 06:16:51 (17/81) Installing libuuid (2.37.4-r0) 06:16:51 (18/81) Installing libsm (1.2.3-r0) 06:16:51 (19/81) Installing libxt (1.2.1-r0) 06:16:51 (20/81) Installing libxmu (1.1.3-r0) 06:16:51 (21/81) Installing xset (1.2.4-r0) 06:16:51 (22/81) Installing xprop (1.2.5-r0) 06:16:52 (23/81) Installing xdg-utils (1.1.3-r0) 06:16:52 (24/81) Installing dbus-libs (1.12.20-r4) 06:16:52 (25/81) Installing libffi (3.4.2-r1) 06:16:52 (26/81) Installing libintl (0.21-r0) 06:16:52 (27/81) Installing libblkid (2.37.4-r0) 06:16:52 (28/81) Installing libmount (2.37.4-r0) 06:16:52 (29/81) Installing pcre (8.45-r1) 06:16:52 (30/81) Installing glib (2.70.1-r0) 06:16:53 (31/81) Installing icu-libs (69.1-r1) 06:16:53 (32/81) Installing libpcre2-16 (10.39-r0) 06:16:53 (33/81) Installing zstd-libs (1.5.0-r0) 06:16:53 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 06:16:55 (35/81) Installing hicolor-icon-theme (0.17-r1) 06:16:55 (36/81) Installing wayland-libs-server (1.19.0-r1) 06:16:55 (37/81) Installing mesa-gbm (21.2.6-r0) 06:16:55 (38/81) Installing wayland-libs-client (1.19.0-r1) 06:16:55 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 06:16:56 (40/81) Installing libxcomposite (0.4.5-r0) 06:16:56 (41/81) Installing libbz2 (1.0.8-r1) 06:16:56 (42/81) Installing libpng (1.6.37-r1) 06:16:56 (43/81) Installing freetype (2.11.1-r2) 06:16:56 (44/81) Installing fontconfig (2.13.1-r4) 06:16:56 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 06:16:56 (46/81) Installing wayland-libs-egl (1.19.0-r1) 06:16:56 (47/81) Installing xkeyboard-config (2.34-r0) 06:16:56 (48/81) Installing xz-libs (5.2.5-r1) 06:16:56 (49/81) Installing libxml2 (2.9.14-r0) 06:16:57 (50/81) Installing libxkbcommon (1.3.1-r0) 06:16:57 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 06:16:57 (52/81) Installing mesa-egl (21.2.6-r0) 06:16:57 (53/81) Installing avahi-libs (0.8-r5) 06:16:57 (54/81) Installing nettle (3.7.3-r0) 06:16:57 (55/81) Installing p11-kit (0.24.0-r1) 06:16:57 (56/81) Installing libtasn1 (4.18.0-r0) 06:16:57 (57/81) Installing libunistring (0.9.10-r1) 06:16:57 (58/81) Installing gnutls (3.7.1-r0) 06:16:57 (59/81) Installing cups-libs (2.3.3-r6) 06:16:57 (60/81) Installing graphite2 (1.3.14-r0) 06:16:58 (61/81) Installing harfbuzz (3.0.0-r2) 06:16:58 (62/81) Installing libevdev (1.12.0-r0) 06:16:58 (63/81) Installing mtdev (1.1.6-r0) 06:16:58 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 06:16:58 (65/81) Installing libinput-libs (1.19.4-r0) 06:16:58 (66/81) Installing libjpeg-turbo (2.1.2-r0) 06:16:58 (67/81) Installing xcb-util-wm (0.4.1-r1) 06:16:58 (68/81) Installing xcb-util (0.4.0-r3) 06:16:59 (69/81) Installing xcb-util-image (0.4.0-r1) 06:16:59 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 06:16:59 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 06:16:59 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 06:16:59 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 06:16:59 (74/81) Installing v4l-utils-libs (1.22.1-r1) 06:16:59 (75/81) Installing v4l-utils (1.22.1-r1) 06:17:00 (76/81) Installing udev-init-scripts (35-r0) 06:17:00 Executing udev-init-scripts-35-r0.post-install 06:17:00 (77/81) Installing kmod-libs (29-r2) 06:17:00 (78/81) Installing eudev (3.2.11_pre1-r0) 06:17:00 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 06:17:00 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:17:00 (81/81) Installing v4l-utils-dev (1.22.1-r1) 06:17:00 Executing busybox-1.34.1-r3.trigger 06:17:00 Executing eudev-3.2.11_pre1-r0.trigger 06:17:00 OK: 335 MiB in 133 packages 06:17:03 Removing intermediate container 074a8567ad13 06:17:03 ---> ccefa1754101 06:17:03 Step 8/12 : WORKDIR /device-usb-camera 06:17:03 ---> Running in c240a8047823 06:17:03 Removing intermediate container c240a8047823 06:17:03 ---> af3c3cf34f21 06:17:03 Step 9/12 : COPY go.mod vendor* ./ 06:17:03 ---> 6faa599f95a3 06:17:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:03 ---> Running in 16a80657babe 06:17:18 Removing intermediate container 16a80657babe 06:17:18 ---> 6d95390cc0ce 06:17:18 Step 11/12 : COPY . . 06:17:18 ---> 48b0c9e65580 06:17:18 Step 12/12 : RUN ${MAKE} 06:17:18 ---> Running in 71f7eb0a2eeb 06:17:18 noop 06:17:18 Removing intermediate container 71f7eb0a2eeb 06:17:18 ---> f0f76bca3dd0 06:17:18 Successfully built f0f76bca3dd0 06:17:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:18 + docker inspect -f . ci-base-image-x86_64 06:17:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:18 prd-ubuntu20.04-docker-8c-8g-1735 does not seem to be running inside a container 06:17:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:17:19 $ docker top fc80ab4e776f8caf23022384dcb971217bb62d1f1597cf7ce45b8dcfb8a695bf -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:19 + go version 06:17:19 go version go1.17.7 linux/amd64 [Pipeline] } 06:17:19 $ docker stop --time=1 fc80ab4e776f8caf23022384dcb971217bb62d1f1597cf7ce45b8dcfb8a695bf 06:17:20 $ docker rm -f fc80ab4e776f8caf23022384dcb971217bb62d1f1597cf7ce45b8dcfb8a695bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:21 + docker inspect -f . ci-base-image-x86_64 06:17:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:21 prd-ubuntu20.04-docker-8c-8g-1735 does not seem to be running inside a container 06:17:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:17:21 $ docker top 704788042e43d09693f116b70afaf001738997c71ef6c49bcfc56dbfb8a48d18 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:17:22 + make test 06:17:22 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:17:22 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:17:32 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 06:17:32 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 06:17:38 CGO_ENABLED=1 go vet ./... 06:17:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:17:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:17:43 ./bin/test-attribution-txt.sh [Pipeline] echo 06:17:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:17:43 $ docker stop --time=1 704788042e43d09693f116b70afaf001738997c71ef6c49bcfc56dbfb8a48d18 06:17:45 $ docker rm -f 704788042e43d09693f116b70afaf001738997c71ef6c49bcfc56dbfb8a48d18 [Pipeline] // withDockerContainer [Pipeline] sh 06:17:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:17:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:17:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:17:46 + ls -al . 06:17:46 total 168 06:17:46 drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 06:17 . 06:17:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 06:16 .. 06:17:46 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 06:16 .git 06:17:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 06:16 .github 06:17:46 -rw-rw-r-- 1 jenkins jenkins 414 Jun 8 06:16 .gitignore 06:17:46 -rw-rw-r-- 1 jenkins jenkins 42 Jun 8 06:16 .golangci.yml 06:17:46 -rw-rw-r-- 1 jenkins jenkins 77 Jun 8 06:16 .hadolint.yml 06:17:46 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 06:16 .semver 06:17:46 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 8 06:16 Attribution.txt 06:17:46 -rw-rw-r-- 1 jenkins jenkins 181 Jun 8 06:16 CHANGELOG.md 06:17:46 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 8 06:16 Dockerfile 06:17:46 -rw-rw-r-- 1 jenkins jenkins 678 Jun 8 06:16 GOVERNANCE.md 06:17:46 -rw-rw-r-- 1 jenkins jenkins 659 Jun 8 06:16 Jenkinsfile 06:17:46 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 8 06:16 LICENSE 06:17:46 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 8 06:16 Makefile 06:17:46 -rw-rw-r-- 1 jenkins jenkins 622 Jun 8 06:16 OWNERS.md 06:17:46 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 8 06:16 README.md 06:17:46 -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 06:16 VERSION 06:17:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 06:16 bin 06:17:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 06:16 cmd 06:17:46 -rw-r--r-- 1 jenkins jenkins 10 Jun 8 06:17 coverage.out 06:17:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 06:16 docker-compose 06:17:46 -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 06:16 docker-entrypoint.sh 06:17:46 -rw-rw-r-- 1 jenkins jenkins 3307 Jun 8 06:16 go.mod 06:17:46 -rw-rw-r-- 1 jenkins jenkins 35656 Jun 8 06:16 go.sum 06:17:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 06:16 internal 06:17:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 06:16 snap 06:17:46 -rw-rw-r-- 1 jenkins jenkins 231 Jun 8 06:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:46 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=15745afe638608ba7fcc27674c04be594227766b --label arch=amd64 --label version=0.0.0 . 06:17:46 Sending build context to Docker daemon 707.1kB 06:17:46 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 06:17:46 Step 2/29 : FROM ${BASE} AS builder 06:17:46 ---> f0f76bca3dd0 06:17:46 Step 3/29 : ARG MAKE="make build" 06:17:46 ---> Running in d115bb8c710b 06:17:47 Removing intermediate container d115bb8c710b 06:17:47 ---> be87eec2c8e2 06:17:47 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:17:47 ---> Running in 450c2644169e 06:17:47 Removing intermediate container 450c2644169e 06:17:47 ---> 252b868ce8d5 06:17:47 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:17:47 ---> Running in dbb8222cb7e5 06:17:47 Removing intermediate container dbb8222cb7e5 06:17:47 ---> bcbd07ed1335 06:17:47 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:17:47 ---> Running in 450d67395ce7 06:17:48 Removing intermediate container 450d67395ce7 06:17:48 ---> 00ef9c9afa50 06:17:48 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:17:48 ---> Running in 3ae90774b169 06:17:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:17:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:17:49 OK: 335 MiB in 133 packages 06:17:49 Removing intermediate container 3ae90774b169 06:17:49 ---> c864ec7b3cb3 06:17:49 Step 8/29 : WORKDIR /device-usb-camera 06:17:49 ---> Running in e31efc89ac03 06:17:49 Removing intermediate container e31efc89ac03 06:17:49 ---> 1daae79e58ce 06:17:49 Step 9/29 : COPY go.mod vendor* ./ 06:17:50 ---> 6ae0d25f4a4a 06:17:50 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:17:50 ---> Running in 0e688a5a0f97 06:17:51 Removing intermediate container 0e688a5a0f97 06:17:51 ---> a207dc5fd62f 06:17:51 Step 11/29 : COPY . . 06:17:51 ---> 7fa0ce60e3f0 06:17:51 Step 12/29 : RUN ${MAKE} 06:17:51 ---> Running in a1a890665e8d 06:17:51 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 06:18:13 Removing intermediate container a1a890665e8d 06:18:13 ---> 56725625680a 06:18:13 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 06:18:13 v0.18.4: Pulling from aler9/rtsp-simple-server 06:18:13 af6660deedbd: Pulling fs layer 06:18:13 97cd0a44c592: Pulling fs layer 06:18:13 97cd0a44c592: Download complete 06:18:13 af6660deedbd: Verifying Checksum 06:18:13 af6660deedbd: Download complete 06:18:13 af6660deedbd: Pull complete 06:18:13 97cd0a44c592: Pull complete 06:18:13 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 06:18:13 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 06:18:13 ---> fea57e182299 06:18:13 Step 14/29 : FROM alpine:3.15 06:18:14 3.15: Pulling from library/alpine 06:18:14 df9b9388f04a: Pulling fs layer 06:18:14 df9b9388f04a: Verifying Checksum 06:18:14 df9b9388f04a: Pull complete 06:18:14 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 06:18:14 Status: Downloaded newer image for alpine:3.15 06:18:14 ---> 0ac33e5f5afa 06:18:14 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:18:14 ---> Running in f5aa71558864 06:18:14 Removing intermediate container f5aa71558864 06:18:14 ---> f37d3f447fb6 06:18:14 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 06:18:14 ---> Running in e09bbb40d3e4 06:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:18:15 (1/74) Installing dumb-init (1.2.5-r1) 06:18:15 (2/74) Installing sdl2 (2.0.16-r4) 06:18:15 (3/74) Installing libxau (1.0.9-r0) 06:18:15 (4/74) Installing libmd (1.0.3-r0) 06:18:15 (5/74) Installing libbsd (0.11.3-r1) 06:18:15 (6/74) Installing libxdmcp (1.1.3-r0) 06:18:15 (7/74) Installing libxcb (1.14-r2) 06:18:15 (8/74) Installing libx11 (1.7.2-r0) 06:18:15 (9/74) Installing aom-libs (3.2.0-r0) 06:18:15 (10/74) Installing alsa-lib (1.2.5.1-r1) 06:18:15 (11/74) Installing expat (2.4.7-r0) 06:18:15 (12/74) Installing brotli-libs (1.0.9-r5) 06:18:15 (13/74) Installing libbz2 (1.0.8-r1) 06:18:15 (14/74) Installing libpng (1.6.37-r1) 06:18:15 (15/74) Installing freetype (2.11.1-r2) 06:18:15 (16/74) Installing libuuid (2.37.4-r0) 06:18:15 (17/74) Installing fontconfig (2.13.1-r4) 06:18:15 (18/74) Installing fribidi (1.0.11-r0) 06:18:15 (19/74) Installing libffi (3.4.2-r1) 06:18:15 (20/74) Installing libintl (0.21-r0) 06:18:15 (21/74) Installing libblkid (2.37.4-r0) 06:18:15 (22/74) Installing libmount (2.37.4-r0) 06:18:15 (23/74) Installing pcre (8.45-r1) 06:18:15 (24/74) Installing glib (2.70.1-r0) 06:18:15 (25/74) Installing graphite2 (1.3.14-r0) 06:18:15 (26/74) Installing harfbuzz (3.0.0-r2) 06:18:15 (27/74) Installing libass (0.15.2-r0) 06:18:15 (28/74) Installing libdav1d (0.9.2-r0) 06:18:15 (29/74) Installing gmp (6.2.1-r1) 06:18:15 (30/74) Installing nettle (3.7.3-r0) 06:18:15 (31/74) Installing p11-kit (0.24.0-r1) 06:18:15 (32/74) Installing libtasn1 (4.18.0-r0) 06:18:15 (33/74) Installing libunistring (0.9.10-r1) 06:18:15 (34/74) Installing gnutls (3.7.1-r0) 06:18:15 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 06:18:15 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 06:18:15 (37/74) Installing lame (3.100-r0) 06:18:15 (38/74) Installing opus (1.3.1-r1) 06:18:15 (39/74) Installing libgomp (10.3.1_git20211027-r0) 06:18:15 (40/74) Installing soxr (0.1.3-r2) 06:18:15 (41/74) Installing libgcc (10.3.1_git20211027-r0) 06:18:15 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 06:18:15 (43/74) Installing libsrt (1.4.2-r1) 06:18:15 (44/74) Installing libssh (0.9.6-r1) 06:18:15 (45/74) Installing libogg (1.3.5-r0) 06:18:15 (46/74) Installing libtheora (1.1.1-r16) 06:18:15 (47/74) Installing libjpeg-turbo (2.1.2-r0) 06:18:15 (48/74) Installing v4l-utils-libs (1.22.1-r1) 06:18:15 (49/74) Installing libxext (1.3.4-r0) 06:18:15 (50/74) Installing libxfixes (6.0.0-r0) 06:18:15 (51/74) Installing libpciaccess (0.16-r0) 06:18:15 (52/74) Installing libdrm (2.4.109-r0) 06:18:15 (53/74) Installing wayland-libs-client (1.19.0-r1) 06:18:15 (54/74) Installing libva (2.13.0-r0) 06:18:15 (55/74) Installing libvdpau (1.4-r0) 06:18:15 (56/74) Installing vidstab (1.1.0-r1) 06:18:15 (57/74) Installing libvorbis (1.3.7-r0) 06:18:15 (58/74) Installing libvpx (1.10.0-r0) 06:18:15 (59/74) Installing vulkan-loader (1.2.196-r0) 06:18:15 (60/74) Installing libwebp (1.2.2-r0) 06:18:15 (61/74) Installing x264-libs (20210613-r0) 06:18:15 (62/74) Installing x265-libs (3.5-r0) 06:18:15 (63/74) Installing xvidcore (1.3.7-r1) 06:18:15 (64/74) Installing ffmpeg-libs (4.4.1-r2) 06:18:15 (65/74) Installing ffmpeg (4.4.1-r2) 06:18:15 (66/74) Installing udev-init-scripts (35-r0) 06:18:15 Executing udev-init-scripts-35-r0.post-install 06:18:15 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 06:18:15 (68/74) Installing xz-libs (5.2.5-r1) 06:18:15 (69/74) Installing zstd-libs (1.5.0-r0) 06:18:15 (70/74) Installing kmod-libs (29-r2) 06:18:15 (71/74) Installing eudev (3.2.11_pre1-r0) 06:18:16 (72/74) Installing libsodium (1.0.18-r0) 06:18:16 (73/74) Installing libzmq (4.3.4-r0) 06:18:16 (74/74) Installing zeromq (4.3.4-r0) 06:18:16 Executing busybox-1.34.1-r5.trigger 06:18:16 Executing eudev-3.2.11_pre1-r0.trigger 06:18:16 OK: 78 MiB in 88 packages 06:18:17 Removing intermediate container e09bbb40d3e4 06:18:17 ---> 8d9e775c32f9 06:18:17 Step 17/29 : WORKDIR / 06:18:17 ---> Running in 6d9cf9a5b38d 06:18:17 Removing intermediate container 6d9cf9a5b38d 06:18:17 ---> 58cf7dc89bee 06:18:17 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 06:18:18 ---> ff951593d93e 06:18:18 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 06:18:18 ---> f62211d8cc2a 06:18:18 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 06:18:18 ---> 93867e89dc22 06:18:18 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 06:18:18 ---> 8577be35f131 06:18:18 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 06:18:18 ---> f438795d7511 06:18:18 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 06:18:19 ---> daed0cbbcac7 06:18:19 Step 24/29 : EXPOSE 59983 06:18:19 ---> Running in d450bbff5b7c 06:18:19 Removing intermediate container d450bbff5b7c 06:18:19 ---> 7d053877b294 06:18:19 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 06:18:19 ---> Running in 3920345bdc1b 06:18:19 Removing intermediate container 3920345bdc1b 06:18:19 ---> d73d2ffa523d 06:18:19 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 06:18:19 ---> Running in b46bbaa343d3 06:18:19 Removing intermediate container b46bbaa343d3 06:18:19 ---> e0a675bf637c 06:18:19 Step 27/29 : LABEL arch=amd64 06:18:19 ---> Running in 5f633b1155f3 06:18:19 Removing intermediate container 5f633b1155f3 06:18:19 ---> a90337964e2d 06:18:19 Step 28/29 : LABEL git_sha=15745afe638608ba7fcc27674c04be594227766b 06:18:19 ---> Running in afae8d632d17 06:18:19 Removing intermediate container afae8d632d17 06:18:19 ---> ba3a1530f3e0 06:18:19 Step 29/29 : LABEL version=0.0.0 06:18:19 ---> Running in 0f77a72ce243 06:18:19 Removing intermediate container 0f77a72ce243 06:18:19 ---> c089d8c205d2 06:18:19 [Warning] One or more build-args [ARCH] were not consumed 06:18:19 Successfully built c089d8c205d2 06:18:19 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 06:18:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:20 06:18:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:20 latest: Pulling from edgex-lftools-log-publisher 06:18:20 5eb5b503b376: Pulling fs layer 06:18:20 5c69ac0246d0: Pulling fs layer 06:18:20 ec43610c2a17: Pulling fs layer 06:18:20 3a2ae6a8a46f: Pulling fs layer 06:18:20 33b1e0a273af: Pulling fs layer 06:18:20 5d3b04190fa2: Pulling fs layer 06:18:20 2f39f015ded8: Pulling fs layer 06:18:20 3a2ae6a8a46f: Waiting 06:18:20 33b1e0a273af: Waiting 06:18:20 5d3b04190fa2: Waiting 06:18:20 5c69ac0246d0: Verifying Checksum 06:18:20 5c69ac0246d0: Download complete 06:18:20 3a2ae6a8a46f: Verifying Checksum 06:18:20 3a2ae6a8a46f: Download complete 06:18:20 33b1e0a273af: Verifying Checksum 06:18:20 33b1e0a273af: Download complete 06:18:20 ec43610c2a17: Verifying Checksum 06:18:20 ec43610c2a17: Download complete 06:18:20 5d3b04190fa2: Verifying Checksum 06:18:20 5d3b04190fa2: Download complete 06:18:20 5eb5b503b376: Verifying Checksum 06:18:20 5eb5b503b376: Download complete 06:18:21 2f39f015ded8: Download complete 06:18:22 5eb5b503b376: Pull complete 06:18:22 5c69ac0246d0: Pull complete 06:18:23 ec43610c2a17: Pull complete 06:18:23 3a2ae6a8a46f: Pull complete 06:18:23 33b1e0a273af: Pull complete 06:18:23 5d3b04190fa2: Pull complete 06:18:28 2f39f015ded8: Pull complete 06:18:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:18:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:18:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:28 prd-ubuntu20.04-docker-8c-8g-1735 does not seem to be running inside a container 06:18:28 $ 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/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:18:30 $ docker top a7d235c50ef217b8dfb3c712bc04736eec117e34ff47d10718cf80c1d23cd4c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:30 ---> job-cost.sh 06:18:30 lf-activate-venv: SKIPPING 06:18:30 INFO: No Stack... 06:18:31 INFO: Retrieving Pricing Info for: v3-standard-8 06:18:31 INFO: Archiving Costs [Pipeline] sh 06:18:32 + cat /w/workspace/xfoundry_device-usb-camera_PR-30/archives/cost.csv 06:18:32 + cut -d, -f6 [Pipeline] lock 06:18:32 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-16-stack-cost] 06:18:32 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-16-stack-cost] did not exist. Created. 06:18:32 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:18:32 + echo total: 0.2199999988079071 [Pipeline] stash 06:18:32 Stashed 1 file(s) [Pipeline] } 06:18:32 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-16-stack-cost] [Pipeline] // lock [Pipeline] } 06:18:32 $ docker stop --time=1 a7d235c50ef217b8dfb3c712bc04736eec117e34ff47d10718cf80c1d23cd4c2 06:18:33 $ docker rm -f a7d235c50ef217b8dfb3c712bc04736eec117e34ff47d10718cf80c1d23cd4c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:19:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1737 in /w/workspace/xfoundry_device-usb-camera_PR-30 [Pipeline] { [Pipeline] ws 06:19:07 Running in /w/workspace/device-usb-camera/16 [Pipeline] { [Pipeline] checkout 06:19:07 Selected Git installation does not exist. Using Default 06:19:07 The recommended git tool is: NONE 06:19:12 using credential edgex-jenkins-ssh 06:19:12 Cloning the remote Git repository 06:19:12 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 06:19:12 > git init /w/workspace/device-usb-camera/16 # timeout=10 06:19:12 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:19:12 > git --version # timeout=10 06:19:12 > git --version # 'git version 2.25.1' 06:19:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:13 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:19:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:13 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 06:19:13 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 06:19:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:19:14 Merging remotes/origin/main commit 455d5982027557f38f4688dafc55c743213ab3fb into PR head commit 4df80eefb8af4e7f598d31ac79e90a8636e25008 06:19:14 Merge succeeded, producing eefd5737ee8051f605eda7d57d88305248a409a4 06:19:14 Checking out Revision eefd5737ee8051f605eda7d57d88305248a409a4 (PR-30) 06:19:14 > git config core.sparsecheckout # timeout=10 06:19:14 > git checkout -f 4df80eefb8af4e7f598d31ac79e90a8636e25008 # timeout=10 06:19:14 > git remote # timeout=10 06:19:14 > git config --get remote.origin.url # timeout=10 06:19:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:14 > git merge 455d5982027557f38f4688dafc55c743213ab3fb # timeout=10 06:19:14 > git rev-parse HEAD^{commit} # timeout=10 06:19:14 > git config core.sparsecheckout # timeout=10 06:19:14 > git checkout -f eefd5737ee8051f605eda7d57d88305248a409a4 # timeout=10 06:19:18 Commit message: "Merge commit '455d5982027557f38f4688dafc55c743213ab3fb' into HEAD" 06:19:18 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:19:18 > git rev-list --no-walk 762ace28ce448e378ec255d7f8175710ecbb282d # timeout=10 06:19:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:19:19 % Total % Received % Xferd Average Speed Time Time Time Current 06:19:19 Dload Upload Total Spent Left Speed 06:19:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh 06:19:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:19:20 + sudo tee /etc/docker/daemon.new 06:19:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:19:20 { 06:19:20 "registry-mirrors": [ 06:19:20 "https://nexus3.edgexfoundry.org:10001" 06:19:20 ], 06:19:20 "bip": "10.250.0.254/24", 06:19:20 "hosts": [ 06:19:20 "tcp://0.0.0.0:5555", 06:19:20 "unix:///var/run/docker.sock" 06:19:20 ], 06:19:20 "mtu": 1458, 06:19:20 "selinux-enabled": true, 06:19:20 "seccomp-profile": "/etc/docker/seccomp.json" 06:19:20 } [Pipeline] sh 06:19:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:19:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:19:39 provisioning config files... 06:19:39 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/16@tmp/config8624484295176043337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:19:40 ---> docker-login.sh 06:19:40 nexus3.edgexfoundry.org:10001 06:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:40 Configure a credential helper to remove this warning. See 06:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:40 06:19:40 Login Succeeded 06:19:40 nexus3.edgexfoundry.org:10002 06:19:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:41 Configure a credential helper to remove this warning. See 06:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:41 06:19:41 Login Succeeded 06:19:41 nexus3.edgexfoundry.org:10003 06:19:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:41 Configure a credential helper to remove this warning. See 06:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:41 06:19:41 Login Succeeded 06:19:41 nexus3.edgexfoundry.org:10004 06:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:42 Configure a credential helper to remove this warning. See 06:19:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:42 06:19:42 Login Succeeded 06:19:42 docker.io 06:19:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:19:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:19:43 Configure a credential helper to remove this warning. See 06:19:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:19:43 06:19:43 Login Succeeded 06:19:43 ---> docker-login.sh ends [Pipeline] } 06:19:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:19:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:19:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:19:43 ========================================================= 06:19:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:19:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:19:44 Sending build context to Docker daemon 502.3kB 06:19:44 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:19:44 Step 2/12 : FROM ${BASE} AS builder 06:19:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:19:44 9b3977197b4f: Pulling fs layer 06:19:44 1a89e8eeedd5: Pulling fs layer 06:19:44 94645a83ff95: Pulling fs layer 06:19:44 e6fb740bc735: Pulling fs layer 06:19:44 3a77bd46dcc9: Pulling fs layer 06:19:44 355e64cbe906: Pulling fs layer 06:19:44 63ab81a10011: Pulling fs layer 06:19:44 555d1d1c4555: Pulling fs layer 06:19:44 7d9057610161: Pulling fs layer 06:19:44 e6fb740bc735: Waiting 06:19:44 3a77bd46dcc9: Waiting 06:19:44 355e64cbe906: Waiting 06:19:44 63ab81a10011: Waiting 06:19:44 555d1d1c4555: Waiting 06:19:44 7d9057610161: Waiting 06:19:44 94645a83ff95: Verifying Checksum 06:19:44 94645a83ff95: Download complete 06:19:44 1a89e8eeedd5: Verifying Checksum 06:19:44 1a89e8eeedd5: Download complete 06:19:44 3a77bd46dcc9: Verifying Checksum 06:19:44 3a77bd46dcc9: Download complete 06:19:44 355e64cbe906: Verifying Checksum 06:19:44 355e64cbe906: Download complete 06:19:44 9b3977197b4f: Verifying Checksum 06:19:44 9b3977197b4f: Download complete 06:19:44 63ab81a10011: Verifying Checksum 06:19:44 63ab81a10011: Download complete 06:19:45 9b3977197b4f: Pull complete 06:19:45 7d9057610161: Verifying Checksum 06:19:45 7d9057610161: Download complete 06:19:46 1a89e8eeedd5: Pull complete 06:19:46 94645a83ff95: Pull complete 06:19:47 555d1d1c4555: Verifying Checksum 06:19:47 555d1d1c4555: Download complete 06:19:47 e6fb740bc735: Verifying Checksum 06:19:47 e6fb740bc735: Download complete 06:20:00 e6fb740bc735: Pull complete 06:20:00 3a77bd46dcc9: Pull complete 06:20:00 355e64cbe906: Pull complete 06:20:00 63ab81a10011: Pull complete 06:20:06 555d1d1c4555: Pull complete 06:20:07 7d9057610161: Pull complete 06:20:07 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 06:20:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:20:07 ---> 819e984ddca1 06:20:07 Step 3/12 : ARG MAKE="make build" 06:20:09 ---> Running in 37b06ba05106 06:20:09 Removing intermediate container 37b06ba05106 06:20:09 ---> 0811404c6f4d 06:20:09 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:20:09 ---> Running in 8409218e923b 06:20:10 Removing intermediate container 8409218e923b 06:20:10 ---> 6aa4dd649fd4 06:20:10 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:20:10 ---> Running in acc13748dd3c 06:20:10 Removing intermediate container acc13748dd3c 06:20:10 ---> da51215ba25d 06:20:10 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:20:10 ---> Running in d17cb0e4f8e5 06:20:12 Removing intermediate container d17cb0e4f8e5 06:20:12 ---> e2894b034dc6 06:20:12 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:20:12 ---> Running in a6346298af3c 06:20:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:20:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:20:15 (1/14) Installing libintl (0.21-r0) 06:20:15 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 06:20:15 (3/14) Installing libjpeg-turbo (2.1.2-r0) 06:20:15 (4/14) Installing v4l-utils-libs (1.22.1-r1) 06:20:15 (5/14) Installing v4l-utils (1.22.1-r1) 06:20:15 (6/14) Installing udev-init-scripts (35-r0) 06:20:15 Executing udev-init-scripts-35-r0.post-install 06:20:15 (7/14) Installing libblkid (2.37.4-r0) 06:20:15 (8/14) Installing xz-libs (5.2.5-r1) 06:20:15 (9/14) Installing zstd-libs (1.5.0-r0) 06:20:15 (10/14) Installing kmod-libs (29-r2) 06:20:16 (11/14) Installing eudev (3.2.11_pre1-r0) 06:20:16 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 06:20:16 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 06:20:16 (14/14) Installing v4l-utils-dev (1.22.1-r1) 06:20:16 Executing busybox-1.34.1-r3.trigger 06:20:16 Executing eudev-3.2.11_pre1-r0.trigger 06:20:16 OK: 228 MiB in 66 packages 06:20:17 Removing intermediate container a6346298af3c 06:20:17 ---> 8ff273bae73b 06:20:17 Step 8/12 : WORKDIR /device-usb-camera 06:20:17 ---> Running in 0c547e3804b3 06:20:18 Removing intermediate container 0c547e3804b3 06:20:18 ---> 0376448d9760 06:20:18 Step 9/12 : COPY go.mod vendor* ./ 06:20:18 ---> a9ce710f6cd3 06:20:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:20:18 ---> Running in 0ae0367d5edb 06:21:05 Removing intermediate container 0ae0367d5edb 06:21:05 ---> b5b2dbcb1a34 06:21:05 Step 11/12 : COPY . . 06:21:05 ---> f223e0f23a95 06:21:05 Step 12/12 : RUN ${MAKE} 06:21:05 ---> Running in e33cb576e9b7 06:21:06 noop 06:21:06 Removing intermediate container e33cb576e9b7 06:21:06 ---> b9a55882e15a 06:21:06 Successfully built b9a55882e15a 06:21:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:07 + docker inspect -f . ci-base-image-arm64 06:21:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:07 prd-ubuntu20.04-docker-arm64-4c-16g-1737 does not seem to be running inside a container 06:21:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/16 -v /w/workspace/device-usb-camera/16:/w/workspace/device-usb-camera/16:rw,z -v /w/workspace/device-usb-camera/16@tmp:/w/workspace/device-usb-camera/16@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 06:21:08 $ docker top 97ba727cf800242e5cb7f345cee58ac9b0c548706dcc508ebe7966f55f7e71fd -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:09 + go version 06:21:09 go version go1.17.7 linux/arm64 [Pipeline] } 06:21:09 $ docker stop --time=1 97ba727cf800242e5cb7f345cee58ac9b0c548706dcc508ebe7966f55f7e71fd 06:21:11 $ docker rm -f 97ba727cf800242e5cb7f345cee58ac9b0c548706dcc508ebe7966f55f7e71fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:11 + docker inspect -f . ci-base-image-arm64 06:21:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:12 prd-ubuntu20.04-docker-arm64-4c-16g-1737 does not seem to be running inside a container 06:21:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/16 -v /w/workspace/device-usb-camera/16:/w/workspace/device-usb-camera/16:rw,z -v /w/workspace/device-usb-camera/16@tmp:/w/workspace/device-usb-camera/16@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 06:21:13 $ docker top 55c3f6d8d49cad41090124a6346970f8124535aa33146466cd72dbc0af9f013c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:21:14 + make test 06:21:14 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 06:21:16 ? github.com/edgexfoundry/device-usb-camera [no test files] 06:22:52 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 06:22:52 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 06:22:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:22:52 CGO_ENABLED=1 go vet ./... 06:23:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:23:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:23:05 ./bin/test-attribution-txt.sh [Pipeline] echo 06:23:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:23:07 $ docker stop --time=1 55c3f6d8d49cad41090124a6346970f8124535aa33146466cd72dbc0af9f013c 06:23:09 $ docker rm -f 55c3f6d8d49cad41090124a6346970f8124535aa33146466cd72dbc0af9f013c [Pipeline] // withDockerContainer [Pipeline] sh 06:23:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:23:10 Warning: overwriting stash ‘coverage-report’ 06:23:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:23:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:23:12 + ls -al . 06:23:12 total 164 06:23:12 drwxrwxr-x 9 jenkins jenkins 4096 Jun 8 06:23 . 06:23:12 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 06:19 .. 06:23:12 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 06:19 .git 06:23:12 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 06:19 .github 06:23:12 -rw-rw-r-- 1 jenkins jenkins 414 Jun 8 06:19 .gitignore 06:23:12 -rw-rw-r-- 1 jenkins jenkins 42 Jun 8 06:19 .golangci.yml 06:23:12 -rw-rw-r-- 1 jenkins jenkins 77 Jun 8 06:19 .hadolint.yml 06:23:12 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 8 06:19 Attribution.txt 06:23:12 -rw-rw-r-- 1 jenkins jenkins 181 Jun 8 06:19 CHANGELOG.md 06:23:12 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 8 06:19 Dockerfile 06:23:12 -rw-rw-r-- 1 jenkins jenkins 678 Jun 8 06:19 GOVERNANCE.md 06:23:12 -rw-rw-r-- 1 jenkins jenkins 659 Jun 8 06:19 Jenkinsfile 06:23:12 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 8 06:19 LICENSE 06:23:12 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 8 06:19 Makefile 06:23:12 -rw-rw-r-- 1 jenkins jenkins 622 Jun 8 06:19 OWNERS.md 06:23:12 -rw-rw-r-- 1 jenkins jenkins 10754 Jun 8 06:19 README.md 06:23:12 -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 06:16 VERSION 06:23:12 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 06:19 bin 06:23:12 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 06:19 cmd 06:23:12 -rw-r--r-- 1 jenkins jenkins 10 Jun 8 06:21 coverage.out 06:23:12 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 06:19 docker-compose 06:23:12 -rw-rw-r-- 1 jenkins jenkins 140 Jun 8 06:19 docker-entrypoint.sh 06:23:12 -rw-rw-r-- 1 jenkins jenkins 3307 Jun 8 06:19 go.mod 06:23:12 -rw-rw-r-- 1 jenkins jenkins 35656 Jun 8 06:19 go.sum 06:23:12 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 06:19 internal 06:23:12 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 06:19 snap 06:23:12 -rw-rw-r-- 1 jenkins jenkins 231 Jun 8 06:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:12 + 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=eefd5737ee8051f605eda7d57d88305248a409a4 --label arch=arm64 --label version=0.0.0 . 06:23:12 Sending build context to Docker daemon 503.3kB 06:23:12 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 06:23:12 Step 2/29 : FROM ${BASE} AS builder 06:23:12 ---> b9a55882e15a 06:23:12 Step 3/29 : ARG MAKE="make build" 06:23:13 ---> Running in f4f06d5ed23b 06:23:13 Removing intermediate container f4f06d5ed23b 06:23:13 ---> d7d245b1f559 06:23:13 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 06:23:13 ---> Running in 8e90d6315e33 06:23:13 Removing intermediate container 8e90d6315e33 06:23:13 ---> 2f2ad29aaf0a 06:23:13 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 06:23:13 ---> Running in 2d9e9a8ebe47 06:23:14 Removing intermediate container 2d9e9a8ebe47 06:23:14 ---> 6ef03bf75ae1 06:23:14 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:23:14 ---> Running in 320722d5f60f 06:23:16 Removing intermediate container 320722d5f60f 06:23:16 ---> 4fa901af6970 06:23:16 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:23:16 ---> Running in 62beabe410a2 06:23:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:23:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:23:18 OK: 228 MiB in 66 packages 06:23:19 Removing intermediate container 62beabe410a2 06:23:19 ---> 371a243003da 06:23:19 Step 8/29 : WORKDIR /device-usb-camera 06:23:19 ---> Running in 94b996aba94a 06:23:20 Removing intermediate container 94b996aba94a 06:23:20 ---> 80f46a1c3aea 06:23:20 Step 9/29 : COPY go.mod vendor* ./ 06:23:20 ---> cf18d4faf950 06:23:20 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:23:20 ---> Running in fbd4053275a7 06:23:22 Removing intermediate container fbd4053275a7 06:23:22 ---> 323843e57950 06:23:22 Step 11/29 : COPY . . 06:23:23 ---> 3802075433ba 06:23:23 Step 12/29 : RUN ${MAKE} 06:23:23 ---> Running in 3ba787adca45 06:23:24 CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 06:25:31 Removing intermediate container 3ba787adca45 06:25:31 ---> 36662370bb71 06:25:31 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 06:25:31 v0.18.4: Pulling from aler9/rtsp-simple-server 06:25:31 eab2503cf8f4: Pulling fs layer 06:25:31 97cd0a44c592: Pulling fs layer 06:25:31 97cd0a44c592: Verifying Checksum 06:25:31 97cd0a44c592: Download complete 06:25:31 eab2503cf8f4: Verifying Checksum 06:25:31 eab2503cf8f4: Download complete 06:25:31 eab2503cf8f4: Pull complete 06:25:31 97cd0a44c592: Pull complete 06:25:31 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 06:25:31 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 06:25:31 ---> 7f763cca56b3 06:25:31 Step 14/29 : FROM alpine:3.15 06:25:31 3.15: Pulling from library/alpine 06:25:31 9981e73032c8: Pulling fs layer 06:25:31 9981e73032c8: Verifying Checksum 06:25:31 9981e73032c8: Download complete 06:25:31 9981e73032c8: Pull complete 06:25:31 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 06:25:31 Status: Downloaded newer image for alpine:3.15 06:25:31 ---> 3fb3c9af89a9 06:25:31 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:25:31 ---> Running in b6ebb4707a3e 06:25:31 Removing intermediate container b6ebb4707a3e 06:25:31 ---> abc3ad4f913d 06:25:31 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 06:25:31 ---> Running in 8f4b1c68ce46 06:25:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:25:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:25:31 (1/73) Installing dumb-init (1.2.5-r1) 06:25:31 (2/73) Installing sdl2 (2.0.16-r4) 06:25:31 (3/73) Installing libxau (1.0.9-r0) 06:25:31 (4/73) Installing libmd (1.0.3-r0) 06:25:31 (5/73) Installing libbsd (0.11.3-r1) 06:25:31 (6/73) Installing libxdmcp (1.1.3-r0) 06:25:31 (7/73) Installing libxcb (1.14-r2) 06:25:31 (8/73) Installing libx11 (1.7.2-r0) 06:25:31 (9/73) Installing aom-libs (3.2.0-r0) 06:25:31 (10/73) Installing alsa-lib (1.2.5.1-r1) 06:25:31 (11/73) Installing expat (2.4.7-r0) 06:25:31 (12/73) Installing brotli-libs (1.0.9-r5) 06:25:31 (13/73) Installing libbz2 (1.0.8-r1) 06:25:31 (14/73) Installing libpng (1.6.37-r1) 06:25:31 (15/73) Installing freetype (2.11.1-r2) 06:25:31 (16/73) Installing libuuid (2.37.4-r0) 06:25:31 (17/73) Installing fontconfig (2.13.1-r4) 06:25:31 (18/73) Installing fribidi (1.0.11-r0) 06:25:31 (19/73) Installing libffi (3.4.2-r1) 06:25:31 (20/73) Installing libintl (0.21-r0) 06:25:32 (21/73) Installing libblkid (2.37.4-r0) 06:25:32 (22/73) Installing libmount (2.37.4-r0) 06:25:32 (23/73) Installing pcre (8.45-r1) 06:25:32 (24/73) Installing glib (2.70.1-r0) 06:25:32 (25/73) Installing graphite2 (1.3.14-r0) 06:25:32 (26/73) Installing harfbuzz (3.0.0-r2) 06:25:32 (27/73) Installing libass (0.15.2-r0) 06:25:32 (28/73) Installing libdav1d (0.9.2-r0) 06:25:32 (29/73) Installing gmp (6.2.1-r1) 06:25:32 (30/73) Installing nettle (3.7.3-r0) 06:25:32 (31/73) Installing p11-kit (0.24.0-r1) 06:25:32 (32/73) Installing libtasn1 (4.18.0-r0) 06:25:32 (33/73) Installing libunistring (0.9.10-r1) 06:25:32 (34/73) Installing gnutls (3.7.1-r0) 06:25:32 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 06:25:32 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 06:25:32 (37/73) Installing lame (3.100-r0) 06:25:32 (38/73) Installing opus (1.3.1-r1) 06:25:32 (39/73) Installing libgomp (10.3.1_git20211027-r0) 06:25:32 (40/73) Installing soxr (0.1.3-r2) 06:25:32 (41/73) Installing libgcc (10.3.1_git20211027-r0) 06:25:32 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 06:25:32 (43/73) Installing libsrt (1.4.2-r1) 06:25:32 (44/73) Installing libssh (0.9.6-r1) 06:25:32 (45/73) Installing libogg (1.3.5-r0) 06:25:32 (46/73) Installing libtheora (1.1.1-r16) 06:25:32 (47/73) Installing libjpeg-turbo (2.1.2-r0) 06:25:32 (48/73) Installing v4l-utils-libs (1.22.1-r1) 06:25:32 (49/73) Installing libxext (1.3.4-r0) 06:25:32 (50/73) Installing libxfixes (6.0.0-r0) 06:25:32 (51/73) Installing libdrm (2.4.109-r0) 06:25:32 (52/73) Installing wayland-libs-client (1.19.0-r1) 06:25:32 (53/73) Installing libva (2.13.0-r0) 06:25:32 (54/73) Installing libvdpau (1.4-r0) 06:25:32 (55/73) Installing vidstab (1.1.0-r1) 06:25:32 (56/73) Installing libvorbis (1.3.7-r0) 06:25:32 (57/73) Installing libvpx (1.10.0-r0) 06:25:32 (58/73) Installing vulkan-loader (1.2.196-r0) 06:25:32 (59/73) Installing libwebp (1.2.2-r0) 06:25:32 (60/73) Installing x264-libs (20210613-r0) 06:25:32 (61/73) Installing x265-libs (3.5-r0) 06:25:33 (62/73) Installing xvidcore (1.3.7-r1) 06:25:33 (63/73) Installing ffmpeg-libs (4.4.1-r2) 06:25:33 (64/73) Installing ffmpeg (4.4.1-r2) 06:25:33 (65/73) Installing udev-init-scripts (35-r0) 06:25:33 Executing udev-init-scripts-35-r0.post-install 06:25:33 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 06:25:33 (67/73) Installing xz-libs (5.2.5-r1) 06:25:33 (68/73) Installing zstd-libs (1.5.0-r0) 06:25:33 (69/73) Installing kmod-libs (29-r2) 06:25:33 (70/73) Installing eudev (3.2.11_pre1-r0) 06:25:33 (71/73) Installing libsodium (1.0.18-r0) 06:25:33 (72/73) Installing libzmq (4.3.4-r0) 06:25:33 (73/73) Installing zeromq (4.3.4-r0) 06:25:33 Executing busybox-1.34.1-r5.trigger 06:25:33 Executing eudev-3.2.11_pre1-r0.trigger 06:25:33 OK: 67 MiB in 87 packages 06:25:36 Removing intermediate container 8f4b1c68ce46 06:25:36 ---> bda6183ca411 06:25:36 Step 17/29 : WORKDIR / 06:25:36 ---> Running in 8077b4a81ccb 06:25:36 Removing intermediate container 8077b4a81ccb 06:25:36 ---> 62acc91b2e2d 06:25:36 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 06:25:38 ---> 6bfe8ad343d5 06:25:38 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 06:25:38 ---> b6602326c2c9 06:25:38 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 06:25:39 ---> 98a9f37836d5 06:25:39 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 06:25:39 ---> 90bd6a206590 06:25:39 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 06:25:40 ---> 71aa2fe1da1a 06:25:40 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 06:25:41 ---> 0aef6ba32a5d 06:25:41 Step 24/29 : EXPOSE 59983 06:25:41 ---> Running in 18eb00262b7e 06:25:41 Removing intermediate container 18eb00262b7e 06:25:41 ---> 54cc90c378da 06:25:41 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 06:25:41 ---> Running in 190455ceeec0 06:25:42 Removing intermediate container 190455ceeec0 06:25:42 ---> f7c30904822c 06:25:42 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 06:25:42 ---> Running in 904347b820fa 06:25:42 Removing intermediate container 904347b820fa 06:25:42 ---> 1cf15b5e78e3 06:25:42 Step 27/29 : LABEL arch=arm64 06:25:42 ---> Running in 6771d85120d4 06:25:43 Removing intermediate container 6771d85120d4 06:25:43 ---> de8e48bc71bd 06:25:43 Step 28/29 : LABEL git_sha=eefd5737ee8051f605eda7d57d88305248a409a4 06:25:43 ---> Running in daac21d4a94c 06:25:43 Removing intermediate container daac21d4a94c 06:25:43 ---> ff331c2c8383 06:25:43 Step 29/29 : LABEL version=0.0.0 06:25:43 ---> Running in b0e834b60799 06:25:43 Removing intermediate container b0e834b60799 06:25:43 ---> 3cecea15e7b4 06:25:43 [Warning] One or more build-args [ARCH] were not consumed 06:25:43 Successfully built 3cecea15e7b4 06:25:43 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 06:25:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:25:44 06:25:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:25:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:25:44 arm64: Pulling from edgex-lftools-log-publisher 06:25:44 8998bd30e6a1: Pulling fs layer 06:25:44 04944245beec: Pulling fs layer 06:25:44 699f458cf7ca: Pulling fs layer 06:25:44 765212b225bb: Pulling fs layer 06:25:44 f23df028b6ca: Pulling fs layer 06:25:44 d65c8cfc05b1: Pulling fs layer 06:25:44 2437ff75d9bd: Pulling fs layer 06:25:44 f23df028b6ca: Waiting 06:25:44 d65c8cfc05b1: Waiting 06:25:44 2437ff75d9bd: Waiting 06:25:44 765212b225bb: Waiting 06:25:44 04944245beec: Verifying Checksum 06:25:44 04944245beec: Download complete 06:25:44 765212b225bb: Download complete 06:25:44 f23df028b6ca: Download complete 06:25:44 d65c8cfc05b1: Download complete 06:25:45 699f458cf7ca: Verifying Checksum 06:25:45 699f458cf7ca: Download complete 06:25:45 8998bd30e6a1: Download complete 06:25:48 2437ff75d9bd: Verifying Checksum 06:25:48 2437ff75d9bd: Download complete 06:25:49 8998bd30e6a1: Pull complete 06:25:50 04944245beec: Pull complete 06:25:51 699f458cf7ca: Pull complete 06:25:51 765212b225bb: Pull complete 06:25:52 f23df028b6ca: Pull complete 06:25:53 d65c8cfc05b1: Pull complete 06:26:08 2437ff75d9bd: Pull complete 06:26:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:26:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:26:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:08 prd-ubuntu20.04-docker-arm64-4c-16g-1737 does not seem to be running inside a container 06:26:08 $ 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/16 -v /w/workspace/device-usb-camera/16:/w/workspace/device-usb-camera/16:rw,z -v /w/workspace/device-usb-camera/16@tmp:/w/workspace/device-usb-camera/16@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 06:26:11 $ docker top 5b63ec81550155faac1c30b1b8f6631268e0188e07e03ce7e3a14601bb503b5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:11 ---> job-cost.sh 06:26:11 lf-activate-venv: SKIPPING 06:26:11 INFO: No Stack... 06:26:12 INFO: Retrieving Pricing Info for: v3-standard-4 06:26:13 INFO: Archiving Costs [Pipeline] sh 06:26:13 + cut -d, -f6 06:26:13 + cat /w/workspace/device-usb-camera/16/archives/cost.csv [Pipeline] lock 06:26:14 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-30-16-stack-cost] 06:26:14 Resource [jenkins-edgexfoundry-device-usb-camera-PR-30-16-stack-cost] did not exist. Created. 06:26:14 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-30-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:26:14 /w/workspace/device-usb-camera/16@tmp/durable-32979c04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:26:15 + echo total: 0.10999999940395355 [Pipeline] stash 06:26:15 Warning: overwriting stash ‘stack-cost’ 06:26:15 Stashed 1 file(s) [Pipeline] } 06:26:15 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-30-16-stack-cost] [Pipeline] // lock [Pipeline] } 06:26:15 $ docker stop --time=1 5b63ec81550155faac1c30b1b8f6631268e0188e07e03ce7e3a14601bb503b5a 06:26:17 $ docker rm -f 5b63ec81550155faac1c30b1b8f6631268e0188e07e03ce7e3a14601bb503b5a [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 06:26:17 provisioning config files... 06:26:17 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config2513176855199425772tmp [Pipeline] { [Pipeline] sh 06:26:17 + set +x 06:26:17 + curl -s https://codecov.io/bash 06:26:17 + bash -s -- 06:26:17 06:26:17 _____ _ 06:26:17 / ____| | | 06:26:17 | | ___ __| | ___ ___ _____ __ 06:26:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:26:17 | |___| (_) | (_| | __/ (_| (_) \ V / 06:26:17 \_____\___/ \__,_|\___|\___\___/ \_/ 06:26:17 Bash-1.0.6 06:26:17 06:26:17 06:26:17 ==> git version 2.25.1 found 06:26:17 ==> 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 06:26:17 Release-Date: 2020-01-08 06:26:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:26:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:26:17 ==> Jenkins CI detected. 06:26:17 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-30 06:26:17 project root: . 06:26:17 --> token set from env 06:26:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:26:17 ==> Running gcov in . (disable via -X gcov) 06:26:17 ==> Python coveragepy not found 06:26:17 ==> Searching for coverage reports in: 06:26:17 + . 06:26:17 -> Found 1 reports 06:26:17 ==> Detecting git/mercurial file structure 06:26:17 ==> Reading reports 06:26:17 + ./coverage.out bytes=10 06:26:17 ==> Appending adjustments 06:26:17 https://docs.codecov.io/docs/fixing-reports 06:26:18 + Found adjustments 06:26:18 ==> Gzipping contents 06:26:18 4.0K /tmp/codecov.xabm3b.gz 06:26:18 ==> Uploading reports 06:26:18 url: https://codecov.io 06:26:18 query: branch=PR-30&commit=15745afe638608ba7fcc27674c04be594227766b&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 06:26:18 -> Pinging Codecov 06:26:18 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-30&commit=15745afe638608ba7fcc27674c04be594227766b&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-30%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=30&job=&cmd_args= 06:26:18 -> Uploading to 06:26:18 https://storage.googleapis.com/codecov/v4/raw/2022-06-08/73D8F5FF140700D3E01443B452E23636/15745afe638608ba7fcc27674c04be594227766b/777c6287-11e1-4e25-80ac-32f0c76ef95a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220608T062618Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=41a6320b784ca43801090f47a12c6e0a80ce09292cc7e32b6aac8579edeae06b 06:26:18 % Total % Received % Xferd Average Speed Time Time Time Current 06:26:18 Dload Upload Total Spent Left Speed 06:26:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1201 0 0 100 1201 0 5916 --:--:-- --:--:-- --:--:-- 5887 100 1201 0 0 100 1201 0 5314 --:--:-- --:--:-- --:--:-- 5290 06:26:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/15745afe638608ba7fcc27674c04be594227766b [Pipeline] } 06:26:18 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 06:26:19 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-30/archives ] 06:26:19 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 06:26:19 total 16 06:26:19 drwxr-xr-x 3 root root 4096 Jun 8 06:18 . 06:26:19 drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 06:18 .. 06:26:19 drwxr-xr-x 2 root root 4096 Jun 8 06:18 cost 06:26:19 -rw-r--r-- 1 root root 88 Jun 8 06:18 cost.csv 06:26:19 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-30/archives 06:26:19 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-30/archives 06:26:19 total 16 06:26:19 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 06:18 . 06:26:19 drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 06:18 .. 06:26:19 drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 06:18 cost 06:26:19 -rw-r--r-- 1 jenkins jenkins 88 Jun 8 06:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:26:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:26:20 ---> package-listing.sh 06:26:20 ++ facter osfamily 06:26:20 ++ tr '[:upper:]' '[:lower:]' 06:26:20 + OS_FAMILY=debian 06:26:20 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-30 06:26:20 + START_PACKAGES=/tmp/packages_start.txt 06:26:20 + END_PACKAGES=/tmp/packages_end.txt 06:26:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:26:20 + PACKAGES=/tmp/packages_start.txt 06:26:20 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 06:26:20 + PACKAGES=/tmp/packages_end.txt 06:26:20 + case "${OS_FAMILY}" in 06:26:20 + dpkg -l 06:26:20 + grep '^ii' 06:26:20 + '[' -f /tmp/packages_start.txt ']' 06:26:20 + '[' -f /tmp/packages_end.txt ']' 06:26:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:26:20 + '[' /w/workspace/xfoundry_device-usb-camera_PR-30 ']' 06:26:20 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ 06:26:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-30/archives/ [Pipeline] echo 06:26:20 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/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:26:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:26:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:21 prd-ubuntu20.04-docker-8c-8g-1735 does not seem to be running inside a container 06:26:21 $ 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/xfoundry_device-usb-camera_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-30 -v /w/workspace/xfoundry_device-usb-camera_PR-30:/w/workspace/xfoundry_device-usb-camera_PR-30:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-30@tmp:/w/workspace/xfoundry_device-usb-camera_PR-30@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 06:26:21 $ docker top 58941f9bc18ebfd3aa5f966957551b91bdce02a5ddef98e18b8ac69a3872e681 -eo pid,comm [Pipeline] { [Pipeline] sh 06:26:22 + touch /tmp/pre-build-complete [Pipeline] sh 06:26:22 + mkdir -p /var/log/sysstat [Pipeline] sh 06:26:22 + ls /var/log/sa-host 06:26:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:26:22 provisioning config files... 06:26:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-30@tmp/config1787763726720394845tmp [Pipeline] { [Pipeline] echo 06:26:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:26:23 ---> create-netrc.sh [Pipeline] } 06:26:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:26:23 ---> python-tools-install.sh [Pipeline] echo 06:26:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:26:23 ---> sudo-logs.sh 06:26:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:26:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:26:24 ---> job-cost.sh 06:26:24 lf-activate-venv: SKIPPING 06:26:24 DEBUG: total: 0.2199999988079071 06:26:24 INFO: Retrieving Stack Cost... 06:26:24 INFO: Retrieving Pricing Info for: v3-standard-8 06:26:24 INFO: Archiving Costs [Pipeline] echo 06:26:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:26:25 ---> logs-deploy.sh 06:26:25 lf-activate-venv: SKIPPING 06:26:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-30/16 06:26:25 INFO: archiving workspace using pattern(s): 06:26:26 Archives upload complete. 06:26:26 INFO: archiving logs to Nexus