Pull request #39 opened 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 FelixTing for edgexfoundry/device-usb-camera Obtained Jenkinsfile from ecd805a0b126482e31c3e9862fc2946ef16bb80f+4347e6326c1a67544b77e06fe92e2ddc47e6771c (7043158ff0e2bca1d18ca48bc03a1947abbb3779) 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-ssh4121009411250262915.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh10012447872854969171.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-39/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-39/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18021600902818129564.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-39/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9110203468887415768.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1870266943597500742.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-39/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-39/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14195890191600843291.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-1624 in /w/workspace/xfoundry_device-usb-camera_PR-39 [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-39 # 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/39/head:refs/remotes/origin/PR-39 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4347e6326c1a67544b77e06fe92e2ddc47e6771c into PR head commit ecd805a0b126482e31c3e9862fc2946ef16bb80f Merge succeeded, producing 5d148cccd00e9eee80bd014be5db5550d1715f28 Checking out Revision 5d148cccd00e9eee80bd014be5db5550d1715f28 (PR-39) > git config core.sparsecheckout # timeout=10 > git checkout -f ecd805a0b126482e31c3e9862fc2946ef16bb80f # 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 4347e6326c1a67544b77e06fe92e2ddc47e6771c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d148cccd00e9eee80bd014be5db5550d1715f28 # timeout=10 Commit message: "Merge commit '4347e6326c1a67544b77e06fe92e2ddc47e6771c' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:31:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:31:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:31:27 ========================================================= 08:31:27 EdgeX Global Pipelines Version Info 08:31:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:31:28 ------------------- 08:31:28 stable info: 08:31:28 ------------------- 08:31:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:31:28 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 08:31:28 Message: update stable to v1.0.232 08:31:28 ------------------- 08:31:28 experimental info: 08:31:28 ------------------- 08:31:28 Commited By: **** collab-it+edgex@linuxfoundation.org 08:31:28 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 08:31:28 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:31:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:31:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:31:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:31:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:31:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:31:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-39 [Pipeline] echo 08:31:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-39 [Pipeline] echo 08:31:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-39 [Pipeline] echo 08:31:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d148cccd00e9eee80bd014be5db5550d1715f28 [Pipeline] echo 08:31:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d148cc [Pipeline] echo 08:31:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:31:30 provisioning config files... 08:31:30 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp/config7822447612023233718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:31:30 ---> docker-login.sh 08:31:30 nexus3.edgexfoundry.org:10001 08:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:31 Configure a credential helper to remove this warning. See 08:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:31 08:31:31 Login Succeeded 08:31:31 nexus3.edgexfoundry.org:10002 08:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:31 Configure a credential helper to remove this warning. See 08:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:31 08:31:31 Login Succeeded 08:31:31 nexus3.edgexfoundry.org:10003 08:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:31 Configure a credential helper to remove this warning. See 08:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:31 08:31:31 Login Succeeded 08:31:31 nexus3.edgexfoundry.org:10004 08:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:31 Configure a credential helper to remove this warning. See 08:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:31 08:31:31 Login Succeeded 08:31:31 docker.io 08:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:31 Configure a credential helper to remove this warning. See 08:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:31 08:31:31 Login Succeeded 08:31:31 ---> docker-login.sh ends [Pipeline] } 08:31:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:31:32 + git rev-list -1 --merges 5d148cccd00e9eee80bd014be5db5550d1715f28~1..5d148cccd00e9eee80bd014be5db5550d1715f28 [Pipeline] echo 08:31:32 -----------> git rev-list -1 --merges 5d148cccd00e9eee80bd014be5db5550d1715f28~1..5d148cccd00e9eee80bd014be5db5550d1715f28 5d148cccd00e9eee80bd014be5db5550d1715f28 08:31:32 5d148cccd00e9eee80bd014be5db5550d1715f28 [false] [Pipeline] sh 08:31:32 + git log --format=format:%s -1 5d148cccd00e9eee80bd014be5db5550d1715f28 [Pipeline] echo 08:31:32 ========================================================= 08:31:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:31:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:31:33 + git log --format=format:%s -1 5d148cccd00e9eee80bd014be5db5550d1715f28 [Pipeline] echo 08:31:33 [semverPrep] GIT_COMMIT: 5d148cccd00e9eee80bd014be5db5550d1715f28, Commit Message: Merge commit '4347e6326c1a67544b77e06fe92e2ddc47e6771c' into HEAD [Pipeline] echo 08:31:33 [semverPrep] This is not a build commit. [Pipeline] sh 08:31:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:31:33 + grep -v github /etc/ssh/ssh_known_hosts 08:31:33 + [ -e /tmp/ssh_known_hosts ] 08:31:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:31:33 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:31:33 sudo tee -a /etc/ssh/ssh_known_hosts 08:31:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:31:34 08:31:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:31:34 0.1.4: Pulling from edgex-devops/py-git-semver 08:31:34 42c077c10790: Pulling fs layer 08:31:34 f63e77b7563a: Pulling fs layer 08:31:34 bd5fdadae976: Pulling fs layer 08:31:34 205491f53016: Pulling fs layer 08:31:34 df18705c85c3: Pulling fs layer 08:31:34 bdb3f477010e: Pulling fs layer 08:31:34 c8a8fc8e1c8f: Pulling fs layer 08:31:34 2c6e9b1d212d: Pulling fs layer 08:31:34 bdb8f0575790: Pulling fs layer 08:31:34 386e3cb2ff24: Pulling fs layer 08:31:34 2343380bae48: Pulling fs layer 08:31:34 bdb8f0575790: Waiting 08:31:34 c8a8fc8e1c8f: Waiting 08:31:34 2343380bae48: Waiting 08:31:34 2c6e9b1d212d: Waiting 08:31:34 205491f53016: Waiting 08:31:34 386e3cb2ff24: Waiting 08:31:34 df18705c85c3: Waiting 08:31:34 bdb3f477010e: Waiting 08:31:34 f63e77b7563a: Verifying Checksum 08:31:34 f63e77b7563a: Download complete 08:31:34 205491f53016: Verifying Checksum 08:31:34 205491f53016: Download complete 08:31:34 df18705c85c3: Verifying Checksum 08:31:34 df18705c85c3: Download complete 08:31:34 bdb3f477010e: Verifying Checksum 08:31:34 bdb3f477010e: Download complete 08:31:34 bd5fdadae976: Verifying Checksum 08:31:34 bd5fdadae976: Download complete 08:31:34 2c6e9b1d212d: Download complete 08:31:34 bdb8f0575790: Verifying Checksum 08:31:34 bdb8f0575790: Download complete 08:31:34 386e3cb2ff24: Verifying Checksum 08:31:34 386e3cb2ff24: Download complete 08:31:34 2343380bae48: Download complete 08:31:34 42c077c10790: Verifying Checksum 08:31:34 42c077c10790: Download complete 08:31:35 c8a8fc8e1c8f: Download complete 08:31:36 42c077c10790: Pull complete 08:31:36 f63e77b7563a: Pull complete 08:31:36 bd5fdadae976: Pull complete 08:31:36 205491f53016: Pull complete 08:31:37 df18705c85c3: Pull complete 08:31:37 bdb3f477010e: Pull complete 08:31:39 c8a8fc8e1c8f: Pull complete 08:31:39 2c6e9b1d212d: Pull complete 08:31:39 bdb8f0575790: Pull complete 08:31:39 386e3cb2ff24: Pull complete 08:31:39 2343380bae48: Pull complete 08:31:39 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 08:31:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:31:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:39 prd-ubuntu20.04-docker-8c-8g-1624 does not seem to be running inside a container 08:31:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-39 -v /w/workspace/xfoundry_device-usb-camera_PR-39:/w/workspace/xfoundry_device-usb-camera_PR-39:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-39@tmp:/w/workspace/xfoundry_device-usb-camera_PR-39@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:31:40 $ docker top 4a2d00b043e99806f46d74669222a025824b49398a8cbadee54487ffc0d4620c -eo pid,comm 08:31:40 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). 08:31:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:31:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:31:41 [ssh-agent] Looking for ssh-agent implementation... 08:31:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:31:41 $ docker exec 4a2d00b043e99806f46d74669222a025824b49398a8cbadee54487ffc0d4620c ssh-agent 08:31:41 SSH_AUTH_SOCK=/tmp/ssh-k7wvyTECmman/agent.33 08:31:41 SSH_AGENT_PID=40 08:31:41 Running ssh-add (command line suppressed) 08:31:41 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-39@tmp/private_key_462557911601633796.key (/w/workspace/xfoundry_device-usb-camera_PR-39@tmp/private_key_462557911601633796.key) 08:31:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:31:41 + git tag --points-at HEAD [Pipeline] } 08:31:41 $ docker exec --env ******** --env ******** 4a2d00b043e99806f46d74669222a025824b49398a8cbadee54487ffc0d4620c ssh-agent -k 08:31:41 unset SSH_AUTH_SOCK; 08:31:41 unset SSH_AGENT_PID; 08:31:41 echo Agent pid 40 killed; 08:31:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:31:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:31:42 [ssh-agent] Looking for ssh-agent implementation... 08:31:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:31:42 $ docker exec 4a2d00b043e99806f46d74669222a025824b49398a8cbadee54487ffc0d4620c ssh-agent 08:31:42 SSH_AUTH_SOCK=/tmp/ssh-axi6wqE9MUMD/agent.73 08:31:42 SSH_AGENT_PID=79 08:31:42 Running ssh-add (command line suppressed) 08:31:42 Identity added: /w/workspace/xfoundry_device-usb-camera_PR-39@tmp/private_key_4795074624570252010.key (/w/workspace/xfoundry_device-usb-camera_PR-39@tmp/private_key_4795074624570252010.key) 08:31:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:31:42 + git semver init 08:31:43 2022-06-07 08:31:42,963 [run_init] DEBUG init version:0.0.0 force:False 08:31:43 2022-06-07 08:31:42,964 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-39/.semver 08:31:43 2022-06-07 08:31:42,964 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-39/.semver 08:31:43 2022-06-07 08:31:42,965 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-39/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-39, universal_newlines=False, shell=None, istream=None) 08:31:43 2022-06-07 08:31:43,536 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-39/.git/info/exclude 08:31:43 2022-06-07 08:31:43,537 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-39/.semver/PR-39 with force:False 08:31:43 2022-06-07 08:31:43,537 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-39/.semver/PR-39 08:31:43 2022-06-07 08:31:43,541 [execute] INFO git cat-file --batch-check 08:31:43 2022-06-07 08:31:43,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-39/.semver, universal_newlines=False, shell=None, istream=) 08:31:43 2022-06-07 08:31:43,546 [execute] INFO git cat-file --batch 08:31:43 2022-06-07 08:31:43,546 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-39/.semver, universal_newlines=False, shell=None, istream=) 08:31:43 2022-06-07 08:31:43,551 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-39/.semver/PR-39 08:31:43 0.0.0 [Pipeline] } 08:31:43 $ docker exec --env ******** --env ******** 4a2d00b043e99806f46d74669222a025824b49398a8cbadee54487ffc0d4620c ssh-agent -k 08:31:43 unset SSH_AUTH_SOCK; 08:31:43 unset SSH_AGENT_PID; 08:31:43 echo Agent pid 79 killed; 08:31:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:31:44 + git semver [Pipeline] } 08:31:44 $ docker stop --time=1 4a2d00b043e99806f46d74669222a025824b49398a8cbadee54487ffc0d4620c 08:31:45 $ docker rm -f 4a2d00b043e99806f46d74669222a025824b49398a8cbadee54487ffc0d4620c [Pipeline] // withDockerContainer [Pipeline] sh 08:31:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:31:46 Stashed 1 file(s) [Pipeline] echo 08:31:46 [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 08:31:47 provisioning config files... 08:31:47 copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp/config6117501912531953106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:31:47 ---> docker-login.sh 08:31:47 nexus3.edgexfoundry.org:10001 08:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:47 Configure a credential helper to remove this warning. See 08:31:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:47 08:31:47 Login Succeeded 08:31:47 nexus3.edgexfoundry.org:10002 08:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:47 Configure a credential helper to remove this warning. See 08:31:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:47 08:31:47 Login Succeeded 08:31:47 nexus3.edgexfoundry.org:10003 08:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:47 Configure a credential helper to remove this warning. See 08:31:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:47 08:31:47 Login Succeeded 08:31:47 nexus3.edgexfoundry.org:10004 08:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:47 Configure a credential helper to remove this warning. See 08:31:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:47 08:31:47 Login Succeeded 08:31:47 docker.io 08:31:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:48 Configure a credential helper to remove this warning. See 08:31:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:48 08:31:48 Login Succeeded 08:31:48 ---> docker-login.sh ends [Pipeline] } 08:31:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:31:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:31:48 ========================================================= 08:31:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:31:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:48 + 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 . 08:31:48 Sending build context to Docker daemon 629.2kB 08:31:48 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:31:48 Step 2/12 : FROM ${BASE} AS builder 08:31:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:31:48 59bf1c3509f3: Pulling fs layer 08:31:48 666ba61612fd: Pulling fs layer 08:31:48 8ed8ca486205: Pulling fs layer 08:31:48 cc1cd167ecdc: Pulling fs layer 08:31:48 c516ae0d96e1: Pulling fs layer 08:31:48 684cea983483: Pulling fs layer 08:31:48 dd3240ac7de5: Pulling fs layer 08:31:48 b1e948a4e11c: Pulling fs layer 08:31:48 a8fd76ee1af6: Pulling fs layer 08:31:48 646ad004c059: Pulling fs layer 08:31:48 684cea983483: Waiting 08:31:48 dd3240ac7de5: Waiting 08:31:48 b1e948a4e11c: Waiting 08:31:48 a8fd76ee1af6: Waiting 08:31:48 646ad004c059: Waiting 08:31:48 cc1cd167ecdc: Waiting 08:31:48 c516ae0d96e1: Waiting 08:31:48 8ed8ca486205: Verifying Checksum 08:31:48 8ed8ca486205: Download complete 08:31:48 666ba61612fd: Download complete 08:31:48 c516ae0d96e1: Download complete 08:31:48 684cea983483: Download complete 08:31:48 59bf1c3509f3: Verifying Checksum 08:31:48 59bf1c3509f3: Download complete 08:31:48 dd3240ac7de5: Verifying Checksum 08:31:48 dd3240ac7de5: Download complete 08:31:49 b1e948a4e11c: Verifying Checksum 08:31:49 b1e948a4e11c: Download complete 08:31:49 59bf1c3509f3: Pull complete 08:31:49 666ba61612fd: Pull complete 08:31:49 8ed8ca486205: Pull complete 08:31:49 646ad004c059: Verifying Checksum 08:31:49 cc1cd167ecdc: Verifying Checksum 08:31:49 cc1cd167ecdc: Download complete 08:31:49 a8fd76ee1af6: Verifying Checksum 08:31:49 a8fd76ee1af6: Download complete 08:31:53 cc1cd167ecdc: Pull complete 08:31:53 c516ae0d96e1: Pull complete 08:31:53 684cea983483: Pull complete 08:31:53 dd3240ac7de5: Pull complete 08:31:53 b1e948a4e11c: Pull complete 08:31:55 a8fd76ee1af6: Pull complete 08:31:56 646ad004c059: Pull complete 08:31:56 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 08:31:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:31:56 ---> 8f69c11f6b0c 08:31:56 Step 3/12 : ARG MAKE="make build" 08:31:58 ---> Running in d647951b64b2 08:31:58 Removing intermediate container d647951b64b2 08:31:58 ---> 1b90b65f3b49 08:31:58 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:31:58 ---> Running in 75db3308526f 08:31:58 Removing intermediate container 75db3308526f 08:31:58 ---> 9b3e5290a7e1 08:31:58 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:31:58 ---> Running in cc4c56861454 08:31:58 Removing intermediate container cc4c56861454 08:31:58 ---> 247d27b68d8a 08:31:58 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:31:58 ---> Running in 9e71878ef483 08:31:59 Removing intermediate container 9e71878ef483 08:31:59 ---> 987dbc1643ad 08:31:59 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:31:59 ---> Running in 83cf788054f2 08:31:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:32:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:32:00 (1/81) Installing mesa (21.2.6-r0) 08:32:00 (2/81) Installing libxau (1.0.9-r0) 08:32:00 (3/81) Installing libmd (1.0.3-r0) 08:32:00 (4/81) Installing libbsd (0.11.3-r1) 08:32:01 (5/81) Installing libxdmcp (1.1.3-r0) 08:32:01 (6/81) Installing libxcb (1.14-r2) 08:32:01 (7/81) Installing libx11 (1.7.2-r0) 08:32:01 (8/81) Installing libxext (1.3.4-r0) 08:32:01 (9/81) Installing libxfixes (6.0.0-r0) 08:32:01 (10/81) Installing libxxf86vm (1.1.4-r2) 08:32:01 (11/81) Installing libpciaccess (0.16-r0) 08:32:01 (12/81) Installing libdrm (2.4.109-r0) 08:32:01 Still waiting to schedule task 08:32:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:32:01 (13/81) Installing mesa-glapi (21.2.6-r0) 08:32:01 (14/81) Installing libxshmfence (1.3-r1) 08:32:01 (15/81) Installing mesa-gl (21.2.6-r0) 08:32:02 (16/81) Installing libice (1.0.10-r0) 08:32:02 (17/81) Installing libuuid (2.37.4-r0) 08:32:02 (18/81) Installing libsm (1.2.3-r0) 08:32:02 (19/81) Installing libxt (1.2.1-r0) 08:32:02 (20/81) Installing libxmu (1.1.3-r0) 08:32:02 (21/81) Installing xset (1.2.4-r0) 08:32:02 (22/81) Installing xprop (1.2.5-r0) 08:32:02 (23/81) Installing xdg-utils (1.1.3-r0) 08:32:02 (24/81) Installing dbus-libs (1.12.20-r4) 08:32:02 (25/81) Installing libffi (3.4.2-r1) 08:32:02 (26/81) Installing libintl (0.21-r0) 08:32:03 (27/81) Installing libblkid (2.37.4-r0) 08:32:03 (28/81) Installing libmount (2.37.4-r0) 08:32:03 (29/81) Installing pcre (8.45-r1) 08:32:03 (30/81) Installing glib (2.70.1-r0) 08:32:03 (31/81) Installing icu-libs (69.1-r1) 08:32:04 (32/81) Installing libpcre2-16 (10.39-r0) 08:32:04 (33/81) Installing zstd-libs (1.5.0-r0) 08:32:04 (34/81) Installing qt5-qtbase (5.15.3_git20210713-r5) 08:32:04 (35/81) Installing hicolor-icon-theme (0.17-r1) 08:32:05 (36/81) Installing wayland-libs-server (1.19.0-r1) 08:32:05 (37/81) Installing mesa-gbm (21.2.6-r0) 08:32:05 (38/81) Installing wayland-libs-client (1.19.0-r1) 08:32:05 (39/81) Installing qt5-qtdeclarative (5.15.3_git20210531-r0) 08:32:05 (40/81) Installing libxcomposite (0.4.5-r0) 08:32:05 (41/81) Installing libbz2 (1.0.8-r1) 08:32:05 (42/81) Installing libpng (1.6.37-r1) 08:32:05 (43/81) Installing freetype (2.11.1-r2) 08:32:05 (44/81) Installing fontconfig (2.13.1-r4) 08:32:06 (45/81) Installing wayland-libs-cursor (1.19.0-r1) 08:32:06 (46/81) Installing wayland-libs-egl (1.19.0-r1) 08:32:06 (47/81) Installing xkeyboard-config (2.34-r0) 08:32:06 (48/81) Installing xz-libs (5.2.5-r1) 08:32:06 (49/81) Installing libxml2 (2.9.14-r0) 08:32:06 (50/81) Installing libxkbcommon (1.3.1-r0) 08:32:06 (51/81) Installing qt5-qtwayland (5.15.3_git20211028-r0) 08:32:07 (52/81) Installing mesa-egl (21.2.6-r0) 08:32:07 (53/81) Installing avahi-libs (0.8-r5) 08:32:07 (54/81) Installing nettle (3.7.3-r0) 08:32:07 (55/81) Installing p11-kit (0.24.0-r1) 08:32:07 (56/81) Installing libtasn1 (4.18.0-r0) 08:32:07 (57/81) Installing libunistring (0.9.10-r1) 08:32:07 (58/81) Installing gnutls (3.7.1-r0) 08:32:07 (59/81) Installing cups-libs (2.3.3-r6) 08:32:07 (60/81) Installing graphite2 (1.3.14-r0) 08:32:07 (61/81) Installing harfbuzz (3.0.0-r2) 08:32:07 (62/81) Installing libevdev (1.12.0-r0) 08:32:08 (63/81) Installing mtdev (1.1.6-r0) 08:32:08 (64/81) Installing eudev-libs (3.2.11_pre1-r0) 08:32:08 (65/81) Installing libinput-libs (1.19.4-r0) 08:32:08 (66/81) Installing libjpeg-turbo (2.1.2-r0) 08:32:08 (67/81) Installing xcb-util-wm (0.4.1-r1) 08:32:08 (68/81) Installing xcb-util (0.4.0-r3) 08:32:08 (69/81) Installing xcb-util-image (0.4.0-r1) 08:32:08 (70/81) Installing xcb-util-keysyms (0.4.0-r1) 08:32:08 (71/81) Installing xcb-util-renderutil (0.3.9-r1) 08:32:08 (72/81) Installing libxkbcommon-x11 (1.3.1-r0) 08:32:08 (73/81) Installing qt5-qtbase-x11 (5.15.3_git20210713-r5) 08:32:09 (74/81) Installing v4l-utils-libs (1.22.1-r1) 08:32:09 (75/81) Installing v4l-utils (1.22.1-r1) 08:32:09 (76/81) Installing udev-init-scripts (35-r0) 08:32:09 Executing udev-init-scripts-35-r0.post-install 08:32:09 (77/81) Installing kmod-libs (29-r2) 08:32:09 (78/81) Installing eudev (3.2.11_pre1-r0) 08:32:09 (79/81) Installing eudev-dev (3.2.11_pre1-r0) 08:32:09 (80/81) Installing v4l-utils-dvbv5 (1.22.1-r1) 08:32:10 (81/81) Installing v4l-utils-dev (1.22.1-r1) 08:32:10 Executing busybox-1.34.1-r3.trigger 08:32:10 Executing eudev-3.2.11_pre1-r0.trigger 08:32:10 OK: 335 MiB in 133 packages 08:32:12 Removing intermediate container 83cf788054f2 08:32:12 ---> b1c3350e4838 08:32:12 Step 8/12 : WORKDIR /device-usb-camera 08:32:12 ---> Running in f3f1dd6e8717 08:32:12 Removing intermediate container f3f1dd6e8717 08:32:12 ---> 88e1e0d81a9f 08:32:12 Step 9/12 : COPY go.mod vendor* ./ 08:32:12 ---> d98f8f8f8523 08:32:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:32:12 ---> Running in 989a4de2ac61 08:32:27 Removing intermediate container 989a4de2ac61 08:32:27 ---> 83296c71df94 08:32:27 Step 11/12 : COPY . . 08:32:27 ---> af23b0781ab5 08:32:27 Step 12/12 : RUN ${MAKE} 08:32:27 ---> Running in f8a1aa05f1ff 08:32:27 noop 08:32:27 Removing intermediate container f8a1aa05f1ff 08:32:27 ---> 6aa9834bbb4a 08:32:27 Successfully built 6aa9834bbb4a 08:32:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:27 + docker inspect -f . ci-base-image-x86_64 08:32:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:28 prd-ubuntu20.04-docker-8c-8g-1624 does not seem to be running inside a container 08:32:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-39 -v /w/workspace/xfoundry_device-usb-camera_PR-39:/w/workspace/xfoundry_device-usb-camera_PR-39:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-39@tmp:/w/workspace/xfoundry_device-usb-camera_PR-39@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 ******** ci-base-image-x86_64 cat 08:32:28 $ docker top d9f185e186650140c222191c4f2a1de99eb149fad70d7e126068a17a33cbc740 -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:29 + go version 08:32:29 go version go1.17.7 linux/amd64 [Pipeline] } 08:32:29 $ docker stop --time=1 d9f185e186650140c222191c4f2a1de99eb149fad70d7e126068a17a33cbc740 08:32:30 $ docker rm -f d9f185e186650140c222191c4f2a1de99eb149fad70d7e126068a17a33cbc740 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:31 + docker inspect -f . ci-base-image-x86_64 08:32:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:32:31 prd-ubuntu20.04-docker-8c-8g-1624 does not seem to be running inside a container 08:32:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-39 -v /w/workspace/xfoundry_device-usb-camera_PR-39:/w/workspace/xfoundry_device-usb-camera_PR-39:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-39@tmp:/w/workspace/xfoundry_device-usb-camera_PR-39@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 ******** ci-base-image-x86_64 cat 08:32:31 $ docker top 8e4333847b3d4c4b51b57ead210f2e98558d544d9ce861e92d5ab19d1235fbef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:32:32 + make test 08:32:32 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 08:32:32 ? github.com/edgexfoundry/device-usb-camera [no test files] 08:32:42 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 08:32:42 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 08:32:47 CGO_ENABLED=1 go vet ./... 08:32:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:32:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:32:51 ./bin/test-attribution-txt.sh [Pipeline] echo 08:32:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:32:51 $ docker stop --time=1 8e4333847b3d4c4b51b57ead210f2e98558d544d9ce861e92d5ab19d1235fbef 08:32:53 $ docker rm -f 8e4333847b3d4c4b51b57ead210f2e98558d544d9ce861e92d5ab19d1235fbef [Pipeline] // withDockerContainer [Pipeline] sh 08:32:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:32:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:32:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:32:54 + ls -al . 08:32:54 total 164 08:32:54 drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 08:32 . 08:32:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 08:31 .. 08:32:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 08:31 .git 08:32:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 08:31 .github 08:32:54 -rw-rw-r-- 1 jenkins jenkins 349 Jun 7 08:31 .gitignore 08:32:54 -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 08:31 .golangci.yml 08:32:54 -rw-rw-r-- 1 jenkins jenkins 77 Jun 7 08:31 .hadolint.yml 08:32:54 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 08:31 .semver 08:32:54 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 7 08:31 Attribution.txt 08:32:54 -rw-rw-r-- 1 jenkins jenkins 181 Jun 7 08:31 CHANGELOG.md 08:32:54 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 7 08:31 Dockerfile 08:32:54 -rw-rw-r-- 1 jenkins jenkins 678 Jun 7 08:31 GOVERNANCE.md 08:32:54 -rw-rw-r-- 1 jenkins jenkins 659 Jun 7 08:31 Jenkinsfile 08:32:54 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 08:31 LICENSE 08:32:54 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 7 08:31 Makefile 08:32:54 -rw-rw-r-- 1 jenkins jenkins 622 Jun 7 08:31 OWNERS.md 08:32:54 -rw-rw-r-- 1 jenkins jenkins 10781 Jun 7 08:31 README.md 08:32:54 -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 08:31 VERSION 08:32:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 08:31 bin 08:32:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 08:31 cmd 08:32:54 -rw-r--r-- 1 jenkins jenkins 10 Jun 7 08:32 coverage.out 08:32:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 08:31 docker-compose 08:32:54 -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 08:31 docker-entrypoint.sh 08:32:54 -rw-rw-r-- 1 jenkins jenkins 3307 Jun 7 08:31 go.mod 08:32:54 -rw-rw-r-- 1 jenkins jenkins 35656 Jun 7 08:31 go.sum 08:32:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 08:31 internal 08:32:54 -rw-rw-r-- 1 jenkins jenkins 231 Jun 7 08:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:32:55 + 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=5d148cccd00e9eee80bd014be5db5550d1715f28 --label arch=amd64 --label version=0.0.0 . 08:32:55 Sending build context to Docker daemon 630.3kB 08:32:55 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 08:32:55 Step 2/29 : FROM ${BASE} AS builder 08:32:55 ---> 6aa9834bbb4a 08:32:55 Step 3/29 : ARG MAKE="make build" 08:32:55 ---> Running in 802c876a45b2 08:32:55 Removing intermediate container 802c876a45b2 08:32:55 ---> 418a59df59b0 08:32:55 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:32:55 ---> Running in 9540ba705ccf 08:32:55 Removing intermediate container 9540ba705ccf 08:32:55 ---> 1fb4ec109db3 08:32:55 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:32:55 ---> Running in fdbac5c6b561 08:32:55 Removing intermediate container fdbac5c6b561 08:32:55 ---> c53a2f28d938 08:32:55 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:32:55 ---> Running in 3394d517f29f 08:32:56 Removing intermediate container 3394d517f29f 08:32:56 ---> 29007246d6b8 08:32:56 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:32:56 ---> Running in e48b3936e9cd 08:32:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:32:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:32:57 OK: 335 MiB in 133 packages 08:32:57 Removing intermediate container e48b3936e9cd 08:32:57 ---> 31f2f80feda4 08:32:57 Step 8/29 : WORKDIR /device-usb-camera 08:32:57 ---> Running in 934347fde18a 08:32:57 Removing intermediate container 934347fde18a 08:32:57 ---> 4fb381460bc9 08:32:57 Step 9/29 : COPY go.mod vendor* ./ 08:32:58 ---> 23bda3ae23d5 08:32:58 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:32:58 ---> Running in a90ce7c2be8f 08:32:58 Removing intermediate container a90ce7c2be8f 08:32:58 ---> 069cb9b5a8c0 08:32:58 Step 11/29 : COPY . . 08:32:58 ---> 962341ef8ade 08:32:58 Step 12/29 : RUN ${MAKE} 08:32:58 ---> Running in 062202c4ece0 08:32:59 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 08:33:21 Removing intermediate container 062202c4ece0 08:33:21 ---> f18b83f914c0 08:33:21 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 08:33:21 v0.18.4: Pulling from aler9/rtsp-simple-server 08:33:21 af6660deedbd: Pulling fs layer 08:33:21 97cd0a44c592: Pulling fs layer 08:33:21 97cd0a44c592: Download complete 08:33:21 af6660deedbd: Verifying Checksum 08:33:21 af6660deedbd: Download complete 08:33:21 af6660deedbd: Pull complete 08:33:21 97cd0a44c592: Pull complete 08:33:21 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 08:33:21 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 08:33:21 ---> fea57e182299 08:33:21 Step 14/29 : FROM alpine:3.15 08:33:21 3.15: Pulling from library/alpine 08:33:21 df9b9388f04a: Pulling fs layer 08:33:21 df9b9388f04a: Verifying Checksum 08:33:21 df9b9388f04a: Download complete 08:33:21 df9b9388f04a: Pull complete 08:33:21 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 08:33:21 Status: Downloaded newer image for alpine:3.15 08:33:21 ---> 0ac33e5f5afa 08:33:21 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:33:21 ---> Running in 8ff09baad233 08:33:21 Removing intermediate container 8ff09baad233 08:33:21 ---> 6019e8606dfd 08:33:21 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 08:33:21 ---> Running in e24fe2689bf5 08:33:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:33:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:33:21 (1/74) Installing dumb-init (1.2.5-r1) 08:33:21 (2/74) Installing sdl2 (2.0.16-r4) 08:33:21 (3/74) Installing libxau (1.0.9-r0) 08:33:21 (4/74) Installing libmd (1.0.3-r0) 08:33:21 (5/74) Installing libbsd (0.11.3-r1) 08:33:21 (6/74) Installing libxdmcp (1.1.3-r0) 08:33:21 (7/74) Installing libxcb (1.14-r2) 08:33:21 (8/74) Installing libx11 (1.7.2-r0) 08:33:21 (9/74) Installing aom-libs (3.2.0-r0) 08:33:21 (10/74) Installing alsa-lib (1.2.5.1-r1) 08:33:21 (11/74) Installing expat (2.4.7-r0) 08:33:21 (12/74) Installing brotli-libs (1.0.9-r5) 08:33:21 (13/74) Installing libbz2 (1.0.8-r1) 08:33:21 (14/74) Installing libpng (1.6.37-r1) 08:33:21 (15/74) Installing freetype (2.11.1-r2) 08:33:21 (16/74) Installing libuuid (2.37.4-r0) 08:33:21 (17/74) Installing fontconfig (2.13.1-r4) 08:33:21 (18/74) Installing fribidi (1.0.11-r0) 08:33:21 (19/74) Installing libffi (3.4.2-r1) 08:33:21 (20/74) Installing libintl (0.21-r0) 08:33:21 (21/74) Installing libblkid (2.37.4-r0) 08:33:21 (22/74) Installing libmount (2.37.4-r0) 08:33:21 (23/74) Installing pcre (8.45-r1) 08:33:21 (24/74) Installing glib (2.70.1-r0) 08:33:22 (25/74) Installing graphite2 (1.3.14-r0) 08:33:22 (26/74) Installing harfbuzz (3.0.0-r2) 08:33:22 (27/74) Installing libass (0.15.2-r0) 08:33:22 (28/74) Installing libdav1d (0.9.2-r0) 08:33:22 (29/74) Installing gmp (6.2.1-r1) 08:33:22 (30/74) Installing nettle (3.7.3-r0) 08:33:22 (31/74) Installing p11-kit (0.24.0-r1) 08:33:22 (32/74) Installing libtasn1 (4.18.0-r0) 08:33:22 (33/74) Installing libunistring (0.9.10-r1) 08:33:22 (34/74) Installing gnutls (3.7.1-r0) 08:33:22 (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r0) 08:33:22 (36/74) Installing ncurses-libs (6.3_p20211120-r0) 08:33:22 (37/74) Installing lame (3.100-r0) 08:33:22 (38/74) Installing opus (1.3.1-r1) 08:33:22 (39/74) Installing libgomp (10.3.1_git20211027-r0) 08:33:22 (40/74) Installing soxr (0.1.3-r2) 08:33:22 (41/74) Installing libgcc (10.3.1_git20211027-r0) 08:33:22 (42/74) Installing libstdc++ (10.3.1_git20211027-r0) 08:33:22 (43/74) Installing libsrt (1.4.2-r1) 08:33:22 (44/74) Installing libssh (0.9.6-r1) 08:33:22 (45/74) Installing libogg (1.3.5-r0) 08:33:22 (46/74) Installing libtheora (1.1.1-r16) 08:33:22 (47/74) Installing libjpeg-turbo (2.1.2-r0) 08:33:22 (48/74) Installing v4l-utils-libs (1.22.1-r1) 08:33:22 (49/74) Installing libxext (1.3.4-r0) 08:33:22 (50/74) Installing libxfixes (6.0.0-r0) 08:33:22 (51/74) Installing libpciaccess (0.16-r0) 08:33:22 (52/74) Installing libdrm (2.4.109-r0) 08:33:22 (53/74) Installing wayland-libs-client (1.19.0-r1) 08:33:22 (54/74) Installing libva (2.13.0-r0) 08:33:22 (55/74) Installing libvdpau (1.4-r0) 08:33:22 (56/74) Installing vidstab (1.1.0-r1) 08:33:22 (57/74) Installing libvorbis (1.3.7-r0) 08:33:22 (58/74) Installing libvpx (1.10.0-r0) 08:33:22 (59/74) Installing vulkan-loader (1.2.196-r0) 08:33:22 (60/74) Installing libwebp (1.2.2-r0) 08:33:22 (61/74) Installing x264-libs (20210613-r0) 08:33:22 (62/74) Installing x265-libs (3.5-r0) 08:33:22 (63/74) Installing xvidcore (1.3.7-r1) 08:33:22 (64/74) Installing ffmpeg-libs (4.4.1-r2) 08:33:22 (65/74) Installing ffmpeg (4.4.1-r2) 08:33:22 (66/74) Installing udev-init-scripts (35-r0) 08:33:22 Executing udev-init-scripts-35-r0.post-install 08:33:22 (67/74) Installing eudev-libs (3.2.11_pre1-r0) 08:33:22 (68/74) Installing xz-libs (5.2.5-r1) 08:33:22 (69/74) Installing zstd-libs (1.5.0-r0) 08:33:22 (70/74) Installing kmod-libs (29-r2) 08:33:22 (71/74) Installing eudev (3.2.11_pre1-r0) 08:33:22 (72/74) Installing libsodium (1.0.18-r0) 08:33:22 (73/74) Installing libzmq (4.3.4-r0) 08:33:22 (74/74) Installing zeromq (4.3.4-r0) 08:33:22 Executing busybox-1.34.1-r5.trigger 08:33:22 Executing eudev-3.2.11_pre1-r0.trigger 08:33:22 OK: 78 MiB in 88 packages 08:33:24 Removing intermediate container e24fe2689bf5 08:33:24 ---> f81f34e4437a 08:33:24 Step 17/29 : WORKDIR / 08:33:24 ---> Running in d468b0da481b 08:33:24 Removing intermediate container d468b0da481b 08:33:24 ---> 8b1f1421116f 08:33:24 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 08:33:24 ---> 8dc6f2bc9ea8 08:33:24 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 08:33:24 ---> 48fef583b506 08:33:24 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 08:33:24 ---> ef9156eae452 08:33:24 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 08:33:25 ---> 1a9f3098f36e 08:33:25 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 08:33:25 ---> 24d87e01608a 08:33:25 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 08:33:25 ---> cf76680a3384 08:33:25 Step 24/29 : EXPOSE 59983 08:33:25 ---> Running in 78a84d0e95e5 08:33:25 Removing intermediate container 78a84d0e95e5 08:33:25 ---> 93bf688c306f 08:33:25 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 08:33:25 ---> Running in 6a1b71c63612 08:33:25 Removing intermediate container 6a1b71c63612 08:33:25 ---> 3e135b82eff7 08:33:25 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 08:33:26 ---> Running in 7a87e6200a59 08:33:26 Removing intermediate container 7a87e6200a59 08:33:26 ---> 753f3aaf8daf 08:33:26 Step 27/29 : LABEL arch=amd64 08:33:26 ---> Running in dfaff39305ff 08:33:26 Removing intermediate container dfaff39305ff 08:33:26 ---> cbdbb59d576f 08:33:26 Step 28/29 : LABEL git_sha=5d148cccd00e9eee80bd014be5db5550d1715f28 08:33:26 ---> Running in 3317217e0d53 08:33:26 Removing intermediate container 3317217e0d53 08:33:26 ---> a4266e1635c1 08:33:26 Step 29/29 : LABEL version=0.0.0 08:33:26 ---> Running in 045aa3b77f8a 08:33:26 Removing intermediate container 045aa3b77f8a 08:33:26 ---> 4375e22bdab8 08:33:26 [Warning] One or more build-args [ARCH] were not consumed 08:33:26 Successfully built 4375e22bdab8 08:33:26 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 08:33:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:33:27 08:33:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:33:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:33:27 latest: Pulling from edgex-lftools-log-publisher 08:33:27 5eb5b503b376: Pulling fs layer 08:33:27 5c69ac0246d0: Pulling fs layer 08:33:27 ec43610c2a17: Pulling fs layer 08:33:27 3a2ae6a8a46f: Pulling fs layer 08:33:27 33b1e0a273af: Pulling fs layer 08:33:27 5d3b04190fa2: Pulling fs layer 08:33:27 2f39f015ded8: Pulling fs layer 08:33:27 33b1e0a273af: Waiting 08:33:27 3a2ae6a8a46f: Waiting 08:33:27 5d3b04190fa2: Waiting 08:33:27 2f39f015ded8: Waiting 08:33:27 5c69ac0246d0: Verifying Checksum 08:33:27 5c69ac0246d0: Download complete 08:33:27 3a2ae6a8a46f: Verifying Checksum 08:33:27 3a2ae6a8a46f: Download complete 08:33:27 33b1e0a273af: Verifying Checksum 08:33:27 33b1e0a273af: Download complete 08:33:27 5d3b04190fa2: Download complete 08:33:27 ec43610c2a17: Verifying Checksum 08:33:27 ec43610c2a17: Download complete 08:33:27 5eb5b503b376: Verifying Checksum 08:33:27 5eb5b503b376: Download complete 08:33:28 2f39f015ded8: Download complete 08:33:28 5eb5b503b376: Pull complete 08:33:29 5c69ac0246d0: Pull complete 08:33:29 ec43610c2a17: Pull complete 08:33:29 3a2ae6a8a46f: Pull complete 08:33:29 33b1e0a273af: Pull complete 08:33:29 5d3b04190fa2: Pull complete 08:33:34 2f39f015ded8: Pull complete 08:33:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:33:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:33:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:33:34 prd-ubuntu20.04-docker-8c-8g-1624 does not seem to be running inside a container 08:33:34 $ 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-39 -v /w/workspace/xfoundry_device-usb-camera_PR-39:/w/workspace/xfoundry_device-usb-camera_PR-39:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-39@tmp:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:33:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1625 in /w/workspace/xfoundry_device-usb-camera_PR-39 08:33:36 $ docker top 1e50cd6f2af3d5d6ea35dbc92a502e200480cf8b7ad41f5291a79b0ff5c23575 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 08:33:36 Running in /w/workspace/device-usb-camera/1 [Pipeline] { [Pipeline] checkout 08:33:36 Selected Git installation does not exist. Using Default 08:33:36 The recommended git tool is: NONE 08:33:36 ---> job-cost.sh 08:33:36 lf-activate-venv: SKIPPING 08:33:36 INFO: No Stack... 08:33:36 INFO: Retrieving Pricing Info for: v3-standard-8 08:33:37 INFO: Archiving Costs [Pipeline] sh 08:33:37 + cat /w/workspace/xfoundry_device-usb-camera_PR-39/archives/cost.csv 08:33:37 + cut -d, -f6 [Pipeline] lock 08:33:37 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-39-1-stack-cost] 08:33:37 Resource [jenkins-edgexfoundry-device-usb-camera-PR-39-1-stack-cost] did not exist. Created. 08:33:37 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-39-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:33:38 + echo total: 0.2199999988079071 [Pipeline] stash 08:33:38 Stashed 1 file(s) [Pipeline] } 08:33:38 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-39-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:33:38 $ docker stop --time=1 1e50cd6f2af3d5d6ea35dbc92a502e200480cf8b7ad41f5291a79b0ff5c23575 08:33:39 $ docker rm -f 1e50cd6f2af3d5d6ea35dbc92a502e200480cf8b7ad41f5291a79b0ff5c23575 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:33:43 using credential edgex-jenkins-ssh 08:33:43 Cloning the remote Git repository 08:33:43 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 08:33:43 > git init /w/workspace/device-usb-camera/1 # timeout=10 08:33:43 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 08:33:43 > git --version # timeout=10 08:33:43 > git --version # 'git version 2.25.1' 08:33:43 using GIT_SSH to set credentials SSH Credentials for GitHub 08:33:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:33:44 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 08:33:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:33:44 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 08:33:44 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 08:33:44 using GIT_SSH to set credentials SSH Credentials for GitHub 08:33:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/39/head:refs/remotes/origin/PR-39 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:33:45 Merging remotes/origin/main commit 4347e6326c1a67544b77e06fe92e2ddc47e6771c into PR head commit ecd805a0b126482e31c3e9862fc2946ef16bb80f 08:33:45 Merge succeeded, producing 618b4ca1ac231a60f60281618863ea8d1009d8aa 08:33:45 Checking out Revision 618b4ca1ac231a60f60281618863ea8d1009d8aa (PR-39) 08:33:45 > git config core.sparsecheckout # timeout=10 08:33:45 > git checkout -f ecd805a0b126482e31c3e9862fc2946ef16bb80f # timeout=10 08:33:45 > git remote # timeout=10 08:33:45 > git config --get remote.origin.url # timeout=10 08:33:45 using GIT_SSH to set credentials SSH Credentials for GitHub 08:33:45 > git merge 4347e6326c1a67544b77e06fe92e2ddc47e6771c # timeout=10 08:33:45 > git rev-parse HEAD^{commit} # timeout=10 08:33:45 > git config core.sparsecheckout # timeout=10 08:33:45 > git checkout -f 618b4ca1ac231a60f60281618863ea8d1009d8aa # timeout=10 08:33:49 Commit message: "Merge commit '4347e6326c1a67544b77e06fe92e2ddc47e6771c' into HEAD" 08:33:49 First time build. Skipping changelog. 08:33:50 > git --version # timeout=10 08:33:50 > git --version # 'git version 2.25.1' 08:33:50 fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:33:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:33:51 % Total % Received % Xferd Average Speed Time Time Time Current 08:33:51 Dload Upload Total Spent Left Speed 08:33:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 63 12253 63 7746 0 0 51986 0 --:--:-- --:--:-- --:--:-- 51640 100 12253 100 12253 0 0 81145 0 --:--:-- --:--:-- --:--:-- 81145 [Pipeline] sh 08:33:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:33:53 + sudo tee /etc/docker/daemon.new 08:33:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:33:53 { 08:33:53 "registry-mirrors": [ 08:33:53 "https://nexus3.edgexfoundry.org:10001" 08:33:53 ], 08:33:53 "bip": "10.250.0.254/24", 08:33:53 "hosts": [ 08:33:53 "tcp://0.0.0.0:5555", 08:33:53 "unix:///var/run/docker.sock" 08:33:53 ], 08:33:53 "mtu": 1458, 08:33:53 "selinux-enabled": true, 08:33:53 "seccomp-profile": "/etc/docker/seccomp.json" 08:33:53 } [Pipeline] sh 08:33:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:33:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:34:12 provisioning config files... 08:34:12 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/1@tmp/config8916097219734964350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:34:13 ---> docker-login.sh 08:34:13 nexus3.edgexfoundry.org:10001 08:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:14 Configure a credential helper to remove this warning. See 08:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:14 08:34:14 Login Succeeded 08:34:14 nexus3.edgexfoundry.org:10002 08:34:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:14 Configure a credential helper to remove this warning. See 08:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:14 08:34:14 Login Succeeded 08:34:14 nexus3.edgexfoundry.org:10003 08:34:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:14 Configure a credential helper to remove this warning. See 08:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:14 08:34:14 Login Succeeded 08:34:14 nexus3.edgexfoundry.org:10004 08:34:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:15 Configure a credential helper to remove this warning. See 08:34:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:15 08:34:15 Login Succeeded 08:34:15 docker.io 08:34:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:34:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:34:16 Configure a credential helper to remove this warning. See 08:34:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:34:16 08:34:16 Login Succeeded 08:34:16 ---> docker-login.sh ends [Pipeline] } 08:34:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:34:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:34:16 ========================================================= 08:34:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:34:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:34:16 + 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 . 08:34:17 Sending build context to Docker daemon 429.1kB 08:34:17 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:34:17 Step 2/12 : FROM ${BASE} AS builder 08:34:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:34:17 9b3977197b4f: Pulling fs layer 08:34:17 1a89e8eeedd5: Pulling fs layer 08:34:17 94645a83ff95: Pulling fs layer 08:34:17 e6fb740bc735: Pulling fs layer 08:34:17 3a77bd46dcc9: Pulling fs layer 08:34:17 355e64cbe906: Pulling fs layer 08:34:17 63ab81a10011: Pulling fs layer 08:34:17 555d1d1c4555: Pulling fs layer 08:34:17 7d9057610161: Pulling fs layer 08:34:17 e6fb740bc735: Waiting 08:34:17 3a77bd46dcc9: Waiting 08:34:17 355e64cbe906: Waiting 08:34:17 63ab81a10011: Waiting 08:34:17 555d1d1c4555: Waiting 08:34:17 7d9057610161: Waiting 08:34:17 94645a83ff95: Verifying Checksum 08:34:17 94645a83ff95: Download complete 08:34:17 1a89e8eeedd5: Verifying Checksum 08:34:17 1a89e8eeedd5: Download complete 08:34:17 3a77bd46dcc9: Verifying Checksum 08:34:17 3a77bd46dcc9: Download complete 08:34:17 355e64cbe906: Download complete 08:34:17 9b3977197b4f: Verifying Checksum 08:34:17 63ab81a10011: Verifying Checksum 08:34:17 63ab81a10011: Download complete 08:34:18 9b3977197b4f: Pull complete 08:34:18 7d9057610161: Verifying Checksum 08:34:18 7d9057610161: Download complete 08:34:18 1a89e8eeedd5: Pull complete 08:34:19 94645a83ff95: Pull complete 08:34:19 555d1d1c4555: Verifying Checksum 08:34:19 555d1d1c4555: Download complete 08:34:19 e6fb740bc735: Verifying Checksum 08:34:19 e6fb740bc735: Download complete 08:34:32 e6fb740bc735: Pull complete 08:34:32 3a77bd46dcc9: Pull complete 08:34:32 355e64cbe906: Pull complete 08:34:32 63ab81a10011: Pull complete 08:34:39 555d1d1c4555: Pull complete 08:34:40 7d9057610161: Pull complete 08:34:40 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 08:34:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:34:40 ---> 819e984ddca1 08:34:40 Step 3/12 : ARG MAKE="make build" 08:34:42 ---> Running in 4434d712af15 08:34:42 Removing intermediate container 4434d712af15 08:34:42 ---> cf5ff8fe5e68 08:34:42 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:34:42 ---> Running in 70a32a7d5838 08:34:43 Removing intermediate container 70a32a7d5838 08:34:43 ---> e60d107d7448 08:34:43 Step 5/12 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:34:43 ---> Running in b5d3875c09c0 08:34:43 Removing intermediate container b5d3875c09c0 08:34:43 ---> 82a44967585a 08:34:43 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:34:43 ---> Running in 5ce3ee0f8b9e 08:34:45 Removing intermediate container 5ce3ee0f8b9e 08:34:45 ---> f0c10add416e 08:34:45 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:34:45 ---> Running in a2a31bb2d420 08:34:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:34:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:34:47 (1/14) Installing libintl (0.21-r0) 08:34:48 (2/14) Installing eudev-libs (3.2.11_pre1-r0) 08:34:48 (3/14) Installing libjpeg-turbo (2.1.2-r0) 08:34:48 (4/14) Installing v4l-utils-libs (1.22.1-r1) 08:34:48 (5/14) Installing v4l-utils (1.22.1-r1) 08:34:48 (6/14) Installing udev-init-scripts (35-r0) 08:34:48 Executing udev-init-scripts-35-r0.post-install 08:34:48 (7/14) Installing libblkid (2.37.4-r0) 08:34:48 (8/14) Installing xz-libs (5.2.5-r1) 08:34:48 (9/14) Installing zstd-libs (1.5.0-r0) 08:34:48 (10/14) Installing kmod-libs (29-r2) 08:34:49 (11/14) Installing eudev (3.2.11_pre1-r0) 08:34:49 (12/14) Installing eudev-dev (3.2.11_pre1-r0) 08:34:49 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 08:34:49 (14/14) Installing v4l-utils-dev (1.22.1-r1) 08:34:49 Executing busybox-1.34.1-r3.trigger 08:34:49 Executing eudev-3.2.11_pre1-r0.trigger 08:34:49 OK: 228 MiB in 66 packages 08:34:50 Removing intermediate container a2a31bb2d420 08:34:50 ---> c19a3861c38b 08:34:50 Step 8/12 : WORKDIR /device-usb-camera 08:34:50 ---> Running in 975957a9eaa5 08:34:51 Removing intermediate container 975957a9eaa5 08:34:51 ---> d42f90cb310f 08:34:51 Step 9/12 : COPY go.mod vendor* ./ 08:34:51 ---> f2e5144b3e64 08:34:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:34:51 ---> Running in d6a92bcb6930 08:35:38 Removing intermediate container d6a92bcb6930 08:35:38 ---> 16b7111ef39c 08:35:38 Step 11/12 : COPY . . 08:35:38 ---> 5604c3d0fd8b 08:35:38 Step 12/12 : RUN ${MAKE} 08:35:38 ---> Running in bb1171e9856f 08:35:39 noop 08:35:40 Removing intermediate container bb1171e9856f 08:35:40 ---> 07a787535992 08:35:40 Successfully built 07a787535992 08:35:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:35:40 + docker inspect -f . ci-base-image-arm64 08:35:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:35:40 prd-ubuntu20.04-docker-arm64-4c-16g-1625 does not seem to be running inside a container 08:35:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat 08:35:42 $ docker top 58eb3e842808e0c69de3646ef2aeb0738a50fd65272ac3b7541323b73d9ad6ae -eo pid,comm [Pipeline] { [Pipeline] sh 08:35:43 + go version 08:35:43 go version go1.17.7 linux/arm64 [Pipeline] } 08:35:43 $ docker stop --time=1 58eb3e842808e0c69de3646ef2aeb0738a50fd65272ac3b7541323b73d9ad6ae 08:35:44 $ docker rm -f 58eb3e842808e0c69de3646ef2aeb0738a50fd65272ac3b7541323b73d9ad6ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:35:45 + docker inspect -f . ci-base-image-arm64 08:35:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:35:45 prd-ubuntu20.04-docker-arm64-4c-16g-1625 does not seem to be running inside a container 08:35:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@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 ******** ci-base-image-arm64 cat 08:35:47 $ docker top 43366212b2e81a5f9dda828549e6255438228ec1944971499312c6cb52c44f2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:35:48 + make test 08:35:48 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 08:35:49 ? github.com/edgexfoundry/device-usb-camera [no test files] 08:37:11 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 08:37:11 ? github.com/edgexfoundry/device-usb-camera/internal/driver [no test files] 08:37:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:37:11 CGO_ENABLED=1 go vet ./... 08:37:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:37:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:37:33 ./bin/test-attribution-txt.sh [Pipeline] echo 08:37:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:37:34 $ docker stop --time=1 43366212b2e81a5f9dda828549e6255438228ec1944971499312c6cb52c44f2b 08:37:36 $ docker rm -f 43366212b2e81a5f9dda828549e6255438228ec1944971499312c6cb52c44f2b [Pipeline] // withDockerContainer [Pipeline] sh 08:37:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:37:37 Warning: overwriting stash ‘coverage-report’ 08:37:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:37:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:37:38 + ls -al . 08:37:38 total 160 08:37:38 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 08:37 . 08:37:38 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 08:33 .. 08:37:38 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 08:33 .git 08:37:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 08:33 .github 08:37:38 -rw-rw-r-- 1 jenkins jenkins 349 Jun 7 08:33 .gitignore 08:37:38 -rw-rw-r-- 1 jenkins jenkins 42 Jun 7 08:33 .golangci.yml 08:37:38 -rw-rw-r-- 1 jenkins jenkins 77 Jun 7 08:33 .hadolint.yml 08:37:38 -rw-rw-r-- 1 jenkins jenkins 8706 Jun 7 08:33 Attribution.txt 08:37:38 -rw-rw-r-- 1 jenkins jenkins 181 Jun 7 08:33 CHANGELOG.md 08:37:38 -rw-rw-r-- 1 jenkins jenkins 1891 Jun 7 08:33 Dockerfile 08:37:38 -rw-rw-r-- 1 jenkins jenkins 678 Jun 7 08:33 GOVERNANCE.md 08:37:38 -rw-rw-r-- 1 jenkins jenkins 659 Jun 7 08:33 Jenkinsfile 08:37:38 -rw-rw-r-- 1 jenkins jenkins 11348 Jun 7 08:33 LICENSE 08:37:38 -rw-rw-r-- 1 jenkins jenkins 2345 Jun 7 08:33 Makefile 08:37:38 -rw-rw-r-- 1 jenkins jenkins 622 Jun 7 08:33 OWNERS.md 08:37:38 -rw-rw-r-- 1 jenkins jenkins 10781 Jun 7 08:33 README.md 08:37:38 -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 08:31 VERSION 08:37:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 08:33 bin 08:37:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 08:33 cmd 08:37:38 -rw-r--r-- 1 jenkins jenkins 10 Jun 7 08:35 coverage.out 08:37:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 08:33 docker-compose 08:37:38 -rw-rw-r-- 1 jenkins jenkins 140 Jun 7 08:33 docker-entrypoint.sh 08:37:38 -rw-rw-r-- 1 jenkins jenkins 3307 Jun 7 08:33 go.mod 08:37:38 -rw-rw-r-- 1 jenkins jenkins 35656 Jun 7 08:33 go.sum 08:37:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 08:33 internal 08:37:38 -rw-rw-r-- 1 jenkins jenkins 231 Jun 7 08:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:39 + 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=618b4ca1ac231a60f60281618863ea8d1009d8aa --label arch=arm64 --label version=0.0.0 . 08:37:39 Sending build context to Docker daemon 430.1kB 08:37:39 Step 1/29 : ARG BASE=golang:1.17-alpine3.15 08:37:39 Step 2/29 : FROM ${BASE} AS builder 08:37:39 ---> 07a787535992 08:37:39 Step 3/29 : ARG MAKE="make build" 08:37:39 ---> Running in 10a33496eb36 08:37:39 Removing intermediate container 10a33496eb36 08:37:39 ---> 7bdc61827a78 08:37:39 Step 4/29 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:37:39 ---> Running in 26e57bdd510a 08:37:40 Removing intermediate container 26e57bdd510a 08:37:40 ---> 02fdeb7834a9 08:37:40 Step 5/29 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 08:37:40 ---> Running in ba342e50d0f4 08:37:40 Removing intermediate container ba342e50d0f4 08:37:40 ---> 4031714d3645 08:37:40 Step 6/29 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:37:40 ---> Running in 876ef3d6fcec 08:37:42 Removing intermediate container 876ef3d6fcec 08:37:42 ---> de68d71a2d52 08:37:42 Step 7/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:37:42 ---> Running in 2ea4b0e6ccfa 08:37:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:37:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:37:45 OK: 228 MiB in 66 packages 08:37:45 Removing intermediate container 2ea4b0e6ccfa 08:37:45 ---> c23673bd4d6e 08:37:45 Step 8/29 : WORKDIR /device-usb-camera 08:37:45 ---> Running in c53583b47d52 08:37:45 Removing intermediate container c53583b47d52 08:37:45 ---> 3af4eedf6e67 08:37:45 Step 9/29 : COPY go.mod vendor* ./ 08:37:46 ---> 3249a27e8688 08:37:46 Step 10/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:37:46 ---> Running in f8e1c23296ca 08:37:48 Removing intermediate container f8e1c23296ca 08:37:48 ---> 92ec467b6ffa 08:37:48 Step 11/29 : COPY . . 08:37:49 ---> 4291e5f19704 08:37:49 Step 12/29 : RUN ${MAKE} 08:37:49 ---> Running in ffd7fb0333b9 08:37:50 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 08:39:57 Removing intermediate container ffd7fb0333b9 08:39:57 ---> da25d5042483 08:39:57 Step 13/29 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 08:39:57 v0.18.4: Pulling from aler9/rtsp-simple-server 08:39:57 eab2503cf8f4: Pulling fs layer 08:39:57 97cd0a44c592: Pulling fs layer 08:39:57 97cd0a44c592: Verifying Checksum 08:39:57 97cd0a44c592: Download complete 08:39:57 eab2503cf8f4: Verifying Checksum 08:39:57 eab2503cf8f4: Download complete 08:39:57 eab2503cf8f4: Pull complete 08:39:57 97cd0a44c592: Pull complete 08:39:57 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 08:39:57 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 08:39:57 ---> 7f763cca56b3 08:39:57 Step 14/29 : FROM alpine:3.15 08:39:57 3.15: Pulling from library/alpine 08:39:57 9981e73032c8: Pulling fs layer 08:39:57 9981e73032c8: Verifying Checksum 08:39:57 9981e73032c8: Download complete 08:39:57 9981e73032c8: Pull complete 08:39:57 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 08:39:57 Status: Downloaded newer image for alpine:3.15 08:39:57 ---> 3fb3c9af89a9 08:39:57 Step 15/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:39:57 ---> Running in 4d60dfe736d4 08:39:57 Removing intermediate container 4d60dfe736d4 08:39:57 ---> e6b94b1c685e 08:39:57 Step 16/29 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 08:39:57 ---> Running in b7e1ae6fc668 08:39:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:39:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:39:57 (1/73) Installing dumb-init (1.2.5-r1) 08:39:57 (2/73) Installing sdl2 (2.0.16-r4) 08:39:57 (3/73) Installing libxau (1.0.9-r0) 08:39:57 (4/73) Installing libmd (1.0.3-r0) 08:39:57 (5/73) Installing libbsd (0.11.3-r1) 08:39:57 (6/73) Installing libxdmcp (1.1.3-r0) 08:39:57 (7/73) Installing libxcb (1.14-r2) 08:39:57 (8/73) Installing libx11 (1.7.2-r0) 08:39:57 (9/73) Installing aom-libs (3.2.0-r0) 08:39:57 (10/73) Installing alsa-lib (1.2.5.1-r1) 08:39:57 (11/73) Installing expat (2.4.7-r0) 08:39:57 (12/73) Installing brotli-libs (1.0.9-r5) 08:39:57 (13/73) Installing libbz2 (1.0.8-r1) 08:39:57 (14/73) Installing libpng (1.6.37-r1) 08:39:57 (15/73) Installing freetype (2.11.1-r2) 08:39:57 (16/73) Installing libuuid (2.37.4-r0) 08:39:57 (17/73) Installing fontconfig (2.13.1-r4) 08:39:57 (18/73) Installing fribidi (1.0.11-r0) 08:39:57 (19/73) Installing libffi (3.4.2-r1) 08:39:57 (20/73) Installing libintl (0.21-r0) 08:39:57 (21/73) Installing libblkid (2.37.4-r0) 08:39:57 (22/73) Installing libmount (2.37.4-r0) 08:39:57 (23/73) Installing pcre (8.45-r1) 08:39:57 (24/73) Installing glib (2.70.1-r0) 08:39:57 (25/73) Installing graphite2 (1.3.14-r0) 08:39:57 (26/73) Installing harfbuzz (3.0.0-r2) 08:39:57 (27/73) Installing libass (0.15.2-r0) 08:39:57 (28/73) Installing libdav1d (0.9.2-r0) 08:39:57 (29/73) Installing gmp (6.2.1-r1) 08:39:57 (30/73) Installing nettle (3.7.3-r0) 08:39:57 (31/73) Installing p11-kit (0.24.0-r1) 08:39:57 (32/73) Installing libtasn1 (4.18.0-r0) 08:39:57 (33/73) Installing libunistring (0.9.10-r1) 08:39:57 (34/73) Installing gnutls (3.7.1-r0) 08:39:57 (35/73) Installing ncurses-terminfo-base (6.3_p20211120-r0) 08:39:57 (36/73) Installing ncurses-libs (6.3_p20211120-r0) 08:39:57 (37/73) Installing lame (3.100-r0) 08:39:57 (38/73) Installing opus (1.3.1-r1) 08:39:57 (39/73) Installing libgomp (10.3.1_git20211027-r0) 08:39:57 (40/73) Installing soxr (0.1.3-r2) 08:39:57 (41/73) Installing libgcc (10.3.1_git20211027-r0) 08:39:57 (42/73) Installing libstdc++ (10.3.1_git20211027-r0) 08:39:57 (43/73) Installing libsrt (1.4.2-r1) 08:39:57 (44/73) Installing libssh (0.9.6-r1) 08:39:57 (45/73) Installing libogg (1.3.5-r0) 08:39:57 (46/73) Installing libtheora (1.1.1-r16) 08:39:57 (47/73) Installing libjpeg-turbo (2.1.2-r0) 08:39:57 (48/73) Installing v4l-utils-libs (1.22.1-r1) 08:39:57 (49/73) Installing libxext (1.3.4-r0) 08:39:57 (50/73) Installing libxfixes (6.0.0-r0) 08:39:57 (51/73) Installing libdrm (2.4.109-r0) 08:39:57 (52/73) Installing wayland-libs-client (1.19.0-r1) 08:39:57 (53/73) Installing libva (2.13.0-r0) 08:39:57 (54/73) Installing libvdpau (1.4-r0) 08:39:57 (55/73) Installing vidstab (1.1.0-r1) 08:39:57 (56/73) Installing libvorbis (1.3.7-r0) 08:39:57 (57/73) Installing libvpx (1.10.0-r0) 08:39:57 (58/73) Installing vulkan-loader (1.2.196-r0) 08:39:57 (59/73) Installing libwebp (1.2.2-r0) 08:39:57 (60/73) Installing x264-libs (20210613-r0) 08:39:57 (61/73) Installing x265-libs (3.5-r0) 08:39:57 (62/73) Installing xvidcore (1.3.7-r1) 08:39:57 (63/73) Installing ffmpeg-libs (4.4.1-r2) 08:39:57 (64/73) Installing ffmpeg (4.4.1-r2) 08:39:57 (65/73) Installing udev-init-scripts (35-r0) 08:39:57 Executing udev-init-scripts-35-r0.post-install 08:39:57 (66/73) Installing eudev-libs (3.2.11_pre1-r0) 08:39:57 (67/73) Installing xz-libs (5.2.5-r1) 08:39:57 (68/73) Installing zstd-libs (1.5.0-r0) 08:39:57 (69/73) Installing kmod-libs (29-r2) 08:39:57 (70/73) Installing eudev (3.2.11_pre1-r0) 08:39:57 (71/73) Installing libsodium (1.0.18-r0) 08:39:57 (72/73) Installing libzmq (4.3.4-r0) 08:39:57 (73/73) Installing zeromq (4.3.4-r0) 08:39:57 Executing busybox-1.34.1-r5.trigger 08:39:57 Executing eudev-3.2.11_pre1-r0.trigger 08:39:57 OK: 67 MiB in 87 packages 08:39:57 Removing intermediate container b7e1ae6fc668 08:39:57 ---> 4067ed8a233d 08:39:57 Step 17/29 : WORKDIR / 08:39:57 ---> Running in 72fe993d9321 08:39:57 Removing intermediate container 72fe993d9321 08:39:57 ---> 2f924b867fbe 08:39:57 Step 18/29 : COPY --from=builder /device-usb-camera/cmd / 08:39:59 ---> f57f37e555f2 08:39:59 Step 19/29 : COPY --from=builder /device-usb-camera/LICENSE / 08:39:59 ---> b217722d9afc 08:39:59 Step 20/29 : COPY --from=builder /device-usb-camera/Attribution.txt / 08:39:59 ---> e0dc96083c89 08:39:59 Step 21/29 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 08:40:00 ---> 35bf93e6d371 08:40:00 Step 22/29 : COPY --from=rtsp /rtsp-simple-server.yml / 08:40:01 ---> c9ee65c88e0d 08:40:01 Step 23/29 : COPY --from=rtsp /rtsp-simple-server / 08:40:02 ---> 872fdac17b71 08:40:02 Step 24/29 : EXPOSE 59983 08:40:02 ---> Running in 458ea96778fd 08:40:02 Removing intermediate container 458ea96778fd 08:40:02 ---> 63e24405ad0f 08:40:02 Step 25/29 : ENTRYPOINT ["/docker-entrypoint.sh"] 08:40:02 ---> Running in 0138d2f9db59 08:40:03 Removing intermediate container 0138d2f9db59 08:40:03 ---> e5cbe43652b4 08:40:03 Step 26/29 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 08:40:03 ---> Running in aa0981f87d15 08:40:03 Removing intermediate container aa0981f87d15 08:40:03 ---> ffc1df2f3c1e 08:40:03 Step 27/29 : LABEL arch=arm64 08:40:03 ---> Running in 308a2aa89d6d 08:40:03 Removing intermediate container 308a2aa89d6d 08:40:03 ---> a255be31f618 08:40:03 Step 28/29 : LABEL git_sha=618b4ca1ac231a60f60281618863ea8d1009d8aa 08:40:03 ---> Running in cc8a6404c0ab 08:40:04 Removing intermediate container cc8a6404c0ab 08:40:04 ---> 14ee4035aea4 08:40:04 Step 29/29 : LABEL version=0.0.0 08:40:04 ---> Running in 1c8fb25922a4 08:40:04 Removing intermediate container 1c8fb25922a4 08:40:04 ---> c22a21673cf5 08:40:04 [Warning] One or more build-args [ARCH] were not consumed 08:40:04 Successfully built c22a21673cf5 08:40:04 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 08:40:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:40:05 08:40:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:40:06 arm64: Pulling from edgex-lftools-log-publisher 08:40:06 8998bd30e6a1: Pulling fs layer 08:40:06 04944245beec: Pulling fs layer 08:40:06 699f458cf7ca: Pulling fs layer 08:40:06 765212b225bb: Pulling fs layer 08:40:06 f23df028b6ca: Pulling fs layer 08:40:06 d65c8cfc05b1: Pulling fs layer 08:40:06 2437ff75d9bd: Pulling fs layer 08:40:06 f23df028b6ca: Waiting 08:40:06 d65c8cfc05b1: Waiting 08:40:06 2437ff75d9bd: Waiting 08:40:06 765212b225bb: Waiting 08:40:06 04944245beec: Verifying Checksum 08:40:06 04944245beec: Download complete 08:40:06 765212b225bb: Verifying Checksum 08:40:06 765212b225bb: Download complete 08:40:06 f23df028b6ca: Download complete 08:40:06 d65c8cfc05b1: Verifying Checksum 08:40:06 d65c8cfc05b1: Download complete 08:40:06 699f458cf7ca: Verifying Checksum 08:40:06 699f458cf7ca: Download complete 08:40:06 8998bd30e6a1: Download complete 08:40:09 2437ff75d9bd: Verifying Checksum 08:40:09 2437ff75d9bd: Download complete 08:40:11 8998bd30e6a1: Pull complete 08:40:11 04944245beec: Pull complete 08:40:12 699f458cf7ca: Pull complete 08:40:13 765212b225bb: Pull complete 08:40:14 f23df028b6ca: Pull complete 08:40:14 d65c8cfc05b1: Pull complete 08:40:29 2437ff75d9bd: Pull complete 08:40:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:40:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:40:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:40:30 prd-ubuntu20.04-docker-arm64-4c-16g-1625 does not seem to be running inside a container 08:40:30 $ 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/1 -v /w/workspace/device-usb-camera/1:/w/workspace/device-usb-camera/1:rw,z -v /w/workspace/device-usb-camera/1@tmp:/w/workspace/device-usb-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:40:32 $ docker top 7a91bfb8d6e60bc02f0877ba85fa9bf56afd051d32a291a256c9c1549de753db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:40:33 ---> job-cost.sh 08:40:33 lf-activate-venv: SKIPPING 08:40:33 INFO: No Stack... 08:40:34 INFO: Retrieving Pricing Info for: v3-standard-4 08:40:35 INFO: Archiving Costs [Pipeline] sh 08:40:35 + cat /w/workspace/device-usb-camera/1/archives/cost.csv 08:40:35 + cut -d, -f6 [Pipeline] lock 08:40:35 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-39-1-stack-cost] 08:40:35 Resource [jenkins-edgexfoundry-device-usb-camera-PR-39-1-stack-cost] did not exist. Created. 08:40:35 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-39-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:40:36 /w/workspace/device-usb-camera/1@tmp/durable-80ff12d8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:40:37 + echo total: 0.10999999940395355 [Pipeline] stash 08:40:37 Warning: overwriting stash ‘stack-cost’ 08:40:37 Stashed 1 file(s) [Pipeline] } 08:40:37 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-39-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:40:37 $ docker stop --time=1 7a91bfb8d6e60bc02f0877ba85fa9bf56afd051d32a291a256c9c1549de753db 08:40:39 $ docker rm -f 7a91bfb8d6e60bc02f0877ba85fa9bf56afd051d32a291a256c9c1549de753db [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 08:40:40 provisioning config files... 08:40:40 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp/config3800014605011861828tmp [Pipeline] { [Pipeline] sh 08:40:40 + set +x 08:40:40 + curl -s https://codecov.io/bash 08:40:40 + bash -s -- 08:40:40 08:40:40 _____ _ 08:40:40 / ____| | | 08:40:40 | | ___ __| | ___ ___ _____ __ 08:40:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:40:40 | |___| (_) | (_| | __/ (_| (_) \ V / 08:40:40 \_____\___/ \__,_|\___|\___\___/ \_/ 08:40:40 Bash-1.0.6 08:40:40 08:40:40 08:40:40 ==> git version 2.25.1 found 08:40:40 ==> 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 08:40:40 Release-Date: 2020-01-08 08:40:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:40:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:40:40 ==> Jenkins CI detected. 08:40:40 current dir:  /w/workspace/xfoundry_device-usb-camera_PR-39 08:40:40 project root: . 08:40:40 --> token set from env 08:40:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:40:40 ==> Running gcov in . (disable via -X gcov) 08:40:40 ==> Python coveragepy not found 08:40:40 ==> Searching for coverage reports in: 08:40:40 + . 08:40:40 -> Found 1 reports 08:40:40 ==> Detecting git/mercurial file structure 08:40:40 ==> Reading reports 08:40:40 + ./coverage.out bytes=10 08:40:40 ==> Appending adjustments 08:40:40 https://docs.codecov.io/docs/fixing-reports 08:40:40 + Found adjustments 08:40:40 ==> Gzipping contents 08:40:40 4.0K /tmp/codecov.caNn6I.gz 08:40:40 ==> Uploading reports 08:40:40 url: https://codecov.io 08:40:40 query: branch=PR-39&commit=5d148cccd00e9eee80bd014be5db5550d1715f28&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-39%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=39&job=&cmd_args= 08:40:40 -> Pinging Codecov 08:40:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=PR-39&commit=5d148cccd00e9eee80bd014be5db5550d1715f28&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2FPR-39%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=39&job=&cmd_args= 08:40:40 -> Uploading to 08:40:40 https://storage.googleapis.com/codecov/v4/raw/2022-06-07/73D8F5FF140700D3E01443B452E23636/5d148cccd00e9eee80bd014be5db5550d1715f28/2be855e7-4d69-43a8-b9cd-75fd1901c80c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T084040Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b01be683c792fc2daffa4376bfa69f6884714bba09262a8443fbabbf928d153 08:40:40 % Total % Received % Xferd Average Speed Time Time Time Current 08:40:40 Dload Upload Total Spent Left Speed 08:40:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1019 0 0 100 1019 0 4299 --:--:-- --:--:-- --:--:-- 4299 08:40:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-usb-camera/commit/5d148cccd00e9eee80bd014be5db5550d1715f28 [Pipeline] } 08:40:41 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 08:40:42 + [ -d /w/workspace/xfoundry_device-usb-camera_PR-39/archives ] 08:40:42 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-39/archives 08:40:42 total 16 08:40:42 drwxr-xr-x 3 root root 4096 Jun 7 08:33 . 08:40:42 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 08:33 .. 08:40:42 drwxr-xr-x 2 root root 4096 Jun 7 08:33 cost 08:40:42 -rw-r--r-- 1 root root 87 Jun 7 08:33 cost.csv 08:40:42 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-39/archives 08:40:42 + ls -al /w/workspace/xfoundry_device-usb-camera_PR-39/archives 08:40:42 total 16 08:40:42 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 08:33 . 08:40:42 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 08:33 .. 08:40:42 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 08:33 cost 08:40:42 -rw-r--r-- 1 jenkins jenkins 87 Jun 7 08:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:40:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:40:44 ---> package-listing.sh 08:40:44 ++ facter osfamily 08:40:44 ++ tr '[:upper:]' '[:lower:]' 08:40:44 + OS_FAMILY=debian 08:40:44 + workspace=/w/workspace/xfoundry_device-usb-camera_PR-39 08:40:44 + START_PACKAGES=/tmp/packages_start.txt 08:40:44 + END_PACKAGES=/tmp/packages_end.txt 08:40:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:40:44 + PACKAGES=/tmp/packages_start.txt 08:40:44 + '[' /w/workspace/xfoundry_device-usb-camera_PR-39 ']' 08:40:44 + PACKAGES=/tmp/packages_end.txt 08:40:44 + case "${OS_FAMILY}" in 08:40:44 + dpkg -l 08:40:44 + grep '^ii' 08:40:44 + '[' -f /tmp/packages_start.txt ']' 08:40:44 + '[' -f /tmp/packages_end.txt ']' 08:40:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:40:44 + '[' /w/workspace/xfoundry_device-usb-camera_PR-39 ']' 08:40:44 + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-39/archives/ 08:40:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-39/archives/ [Pipeline] echo 08:40:44 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-39/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:40:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:40:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:40:45 prd-ubuntu20.04-docker-8c-8g-1624 does not seem to be running inside a container 08:40:45 $ 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-39/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-39 -v /w/workspace/xfoundry_device-usb-camera_PR-39:/w/workspace/xfoundry_device-usb-camera_PR-39:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-39@tmp:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:40:45 $ docker top 5c34f8fb759e0fcf3369380fa3efbad7dad65be1615fcaf7ec5147e58ebe9461 -eo pid,comm [Pipeline] { [Pipeline] sh 08:40:45 + touch /tmp/pre-build-complete [Pipeline] sh 08:40:46 + mkdir -p /var/log/sysstat [Pipeline] sh 08:40:46 + ls /var/log/sa-host 08:40:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:40:46 provisioning config files... 08:40:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-39@tmp/config655059784683901073tmp [Pipeline] { [Pipeline] echo 08:40:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:40:47 ---> create-netrc.sh [Pipeline] } 08:40:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:40:47 ---> python-tools-install.sh [Pipeline] echo 08:40:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:40:47 ---> sudo-logs.sh 08:40:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:40:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:40:48 ---> job-cost.sh 08:40:48 lf-activate-venv: SKIPPING 08:40:48 DEBUG: total: 0.2199999988079071 08:40:48 INFO: Retrieving Stack Cost... 08:40:48 INFO: Retrieving Pricing Info for: v3-standard-8 08:40:49 INFO: Archiving Costs [Pipeline] echo 08:40:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:40:49 ---> logs-deploy.sh 08:40:49 lf-activate-venv: SKIPPING 08:40:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-39/1 08:40:49 INFO: archiving workspace using pattern(s): 08:40:50 Archives upload complete. 08:40:50 INFO: archiving logs to Nexus