cloudxxx8 commented: recheck 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 ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 78edb2e18077c7b755f91a2667f86559cbfd1cc6+8374ad439d5c8571ae7424cc77de71a785d5a0ca (54669c8f9962e2709bb60e0cde130725cd83eef9) 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-ssh1500013031050655461.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2380996785640202573.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8547608891948802071.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh569481350634534073.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-91/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6859105066524849069.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-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-onvif-camera-settings PROJECT: device-onvif-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-onvif-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-16203 in /w/workspace/oundry_device-onvif-camera_PR-91 [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-onvif-camera.git > git init /w/workspace/oundry_device-onvif-camera_PR-91 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 78edb2e18077c7b755f91a2667f86559cbfd1cc6 Merge succeeded, producing 78edb2e18077c7b755f91a2667f86559cbfd1cc6 Checking out Revision 78edb2e18077c7b755f91a2667f86559cbfd1cc6 (PR-91) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-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-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # 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 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # timeout=10 Commit message: "fix: move device save state to top of loop" > git rev-list --no-walk 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:53:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:53:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:53:15 ========================================================= 08:53:15 EdgeX Global Pipelines Version Info 08:53:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:53:16 ------------------- 08:53:16 stable info: 08:53:16 ------------------- 08:53:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:53:16 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 08:53:16 Message: update stable to v1.0.234 08:53:16 ------------------- 08:53:16 experimental info: 08:53:16 ------------------- 08:53:16 Commited By: **** collab-it+edgex@linuxfoundation.org 08:53:16 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 08:53:16 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:53:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 08:53:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 08:53:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:53:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:53:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:53:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-91 [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-91 [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-91 [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78edb2e [Pipeline] echo 08:53:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:53:17 provisioning config files... 08:53:17 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config6563463530171940792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:53:17 ---> docker-login.sh 08:53:17 nexus3.edgexfoundry.org:10001 08:53:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:17 Configure a credential helper to remove this warning. See 08:53:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:17 08:53:17 Login Succeeded 08:53:17 nexus3.edgexfoundry.org:10002 08:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:18 Configure a credential helper to remove this warning. See 08:53:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:18 08:53:18 Login Succeeded 08:53:18 nexus3.edgexfoundry.org:10003 08:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:18 Configure a credential helper to remove this warning. See 08:53:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:18 08:53:18 Login Succeeded 08:53:18 nexus3.edgexfoundry.org:10004 08:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:18 Configure a credential helper to remove this warning. See 08:53:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:18 08:53:18 Login Succeeded 08:53:18 docker.io 08:53:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:19 Configure a credential helper to remove this warning. See 08:53:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:19 08:53:19 Login Succeeded 08:53:19 ---> docker-login.sh ends [Pipeline] } 08:53:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:53:19 + git rev-list -1 --merges 78edb2e18077c7b755f91a2667f86559cbfd1cc6~1..78edb2e18077c7b755f91a2667f86559cbfd1cc6 [Pipeline] echo 08:53:19 -----------> git rev-list -1 --merges 78edb2e18077c7b755f91a2667f86559cbfd1cc6~1..78edb2e18077c7b755f91a2667f86559cbfd1cc6 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [false] [Pipeline] sh 08:53:19 + git log --format=format:%s -1 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [Pipeline] echo 08:53:19 ========================================================= 08:53:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:53:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:53:20 + git log --format=format:%s -1 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [Pipeline] echo 08:53:20 [semverPrep] GIT_COMMIT: 78edb2e18077c7b755f91a2667f86559cbfd1cc6, Commit Message: fix: move device save state to top of loop [Pipeline] echo 08:53:20 [semverPrep] This is not a build commit. [Pipeline] sh 08:53:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:53:20 + grep -v github /etc/ssh/ssh_known_hosts 08:53:20 + [ -e /tmp/ssh_known_hosts ] 08:53:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:53:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:53:20 + sudo tee -a /etc/ssh/ssh_known_hosts 08:53:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:53:20 08:53:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:53:21 0.1.4: Pulling from edgex-devops/py-git-semver 08:53:21 42c077c10790: Pulling fs layer 08:53:21 f63e77b7563a: Pulling fs layer 08:53:21 bd5fdadae976: Pulling fs layer 08:53:21 205491f53016: Pulling fs layer 08:53:21 df18705c85c3: Pulling fs layer 08:53:21 205491f53016: Waiting 08:53:21 bdb3f477010e: Pulling fs layer 08:53:21 c8a8fc8e1c8f: Pulling fs layer 08:53:21 2c6e9b1d212d: Pulling fs layer 08:53:21 df18705c85c3: Waiting 08:53:21 bdb3f477010e: Waiting 08:53:21 c8a8fc8e1c8f: Waiting 08:53:21 bdb8f0575790: Pulling fs layer 08:53:21 2c6e9b1d212d: Waiting 08:53:21 386e3cb2ff24: Pulling fs layer 08:53:21 2343380bae48: Pulling fs layer 08:53:21 bdb8f0575790: Waiting 08:53:21 2343380bae48: Waiting 08:53:21 f63e77b7563a: Verifying Checksum 08:53:21 f63e77b7563a: Download complete 08:53:21 205491f53016: Download complete 08:53:21 df18705c85c3: Verifying Checksum 08:53:21 df18705c85c3: Download complete 08:53:21 bd5fdadae976: Verifying Checksum 08:53:21 bd5fdadae976: Download complete 08:53:21 bdb3f477010e: Download complete 08:53:21 2c6e9b1d212d: Download complete 08:53:21 bdb8f0575790: Download complete 08:53:21 386e3cb2ff24: Verifying Checksum 08:53:21 386e3cb2ff24: Download complete 08:53:21 2343380bae48: Verifying Checksum 08:53:21 2343380bae48: Download complete 08:53:21 42c077c10790: Verifying Checksum 08:53:21 42c077c10790: Download complete 08:53:21 c8a8fc8e1c8f: Download complete 08:53:22 42c077c10790: Pull complete 08:53:22 f63e77b7563a: Pull complete 08:53:23 bd5fdadae976: Pull complete 08:53:23 205491f53016: Pull complete 08:53:23 df18705c85c3: Pull complete 08:53:23 bdb3f477010e: Pull complete 08:53:25 c8a8fc8e1c8f: Pull complete 08:53:25 2c6e9b1d212d: Pull complete 08:53:25 bdb8f0575790: Pull complete 08:53:25 386e3cb2ff24: Pull complete 08:53:25 2343380bae48: Pull complete 08:53:25 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 08:53:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:53:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:53:25 prd-ubuntu20.04-docker-8c-8g-16203 does not seem to be running inside a container 08:53:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:53:27 $ docker top ced78d9dbc1a5e5279d025755f15cec84db94958a103455367e5cedacfb34646 -eo pid,comm 08:53:27 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:53:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:53:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:53:27 [ssh-agent] Looking for ssh-agent implementation... 08:53:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:53:27 $ docker exec ced78d9dbc1a5e5279d025755f15cec84db94958a103455367e5cedacfb34646 ssh-agent 08:53:27 SSH_AUTH_SOCK=/tmp/ssh-pfDkrw2IMAuy/agent.33 08:53:27 SSH_AGENT_PID=39 08:53:27 Running ssh-add (command line suppressed) 08:53:27 Identity added: /w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_8131383199327569484.key (/w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_8131383199327569484.key) 08:53:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:53:28 + git tag --points-at HEAD [Pipeline] } 08:53:28 $ docker exec --env ******** --env ******** ced78d9dbc1a5e5279d025755f15cec84db94958a103455367e5cedacfb34646 ssh-agent -k 08:53:28 unset SSH_AUTH_SOCK; 08:53:28 unset SSH_AGENT_PID; 08:53:28 echo Agent pid 39 killed; 08:53:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:53:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:53:28 [ssh-agent] Looking for ssh-agent implementation... 08:53:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:53:28 $ docker exec ced78d9dbc1a5e5279d025755f15cec84db94958a103455367e5cedacfb34646 ssh-agent 08:53:28 SSH_AUTH_SOCK=/tmp/ssh-MNVrmlJPzFzl/agent.72 08:53:28 SSH_AGENT_PID=79 08:53:28 Running ssh-add (command line suppressed) 08:53:28 Identity added: /w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_5519197217648068091.key (/w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_5519197217648068091.key) 08:53:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:53:28 + git semver init 08:53:29 2022-06-28 08:53:29,099 [run_init] DEBUG init version:0.0.0 force:False 08:53:29 2022-06-28 08:53:29,099 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-91/.semver 08:53:29 2022-06-28 08:53:29,100 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-91/.semver 08:53:29 2022-06-28 08:53:29,100 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-91/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-91, universal_newlines=False, shell=None, istream=None) 08:53:30 2022-06-28 08:53:29,789 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-91/.git/info/exclude 08:53:30 2022-06-28 08:53:29,789 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-91/.semver/PR-91 with force:False 08:53:30 2022-06-28 08:53:29,790 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-91/.semver/PR-91 08:53:30 2022-06-28 08:53:29,794 [execute] INFO git cat-file --batch-check 08:53:30 2022-06-28 08:53:29,795 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-91/.semver, universal_newlines=False, shell=None, istream=) 08:53:30 2022-06-28 08:53:29,800 [execute] INFO git cat-file --batch 08:53:30 2022-06-28 08:53:29,800 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-91/.semver, universal_newlines=False, shell=None, istream=) 08:53:30 2022-06-28 08:53:29,806 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-91/.semver/PR-91 08:53:30 0.0.0 [Pipeline] } 08:53:30 $ docker exec --env ******** --env ******** ced78d9dbc1a5e5279d025755f15cec84db94958a103455367e5cedacfb34646 ssh-agent -k 08:53:30 unset SSH_AUTH_SOCK; 08:53:30 unset SSH_AGENT_PID; 08:53:30 echo Agent pid 79 killed; 08:53:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:53:30 + git semver [Pipeline] } 08:53:30 $ docker stop --time=1 ced78d9dbc1a5e5279d025755f15cec84db94958a103455367e5cedacfb34646 08:53:32 $ docker rm -f ced78d9dbc1a5e5279d025755f15cec84db94958a103455367e5cedacfb34646 [Pipeline] // withDockerContainer [Pipeline] sh 08:53:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:53:32 Stashed 1 file(s) [Pipeline] echo 08:53:32 [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:53:32 provisioning config files... 08:53:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config2848851459659929763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:53:33 ---> docker-login.sh 08:53:33 nexus3.edgexfoundry.org:10001 08:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:33 Configure a credential helper to remove this warning. See 08:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:33 08:53:33 Login Succeeded 08:53:33 nexus3.edgexfoundry.org:10002 08:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:33 Configure a credential helper to remove this warning. See 08:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:33 08:53:33 Login Succeeded 08:53:33 nexus3.edgexfoundry.org:10003 08:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:33 Configure a credential helper to remove this warning. See 08:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:33 08:53:33 Login Succeeded 08:53:33 nexus3.edgexfoundry.org:10004 08:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:33 Configure a credential helper to remove this warning. See 08:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:33 08:53:33 Login Succeeded 08:53:33 docker.io 08:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:53:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:53:34 Configure a credential helper to remove this warning. See 08:53:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:53:34 08:53:34 Login Succeeded 08:53:34 ---> docker-login.sh ends [Pipeline] } 08:53:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:53:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:53:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:53:34 ========================================================= 08:53:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:53:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:53:34 + 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:53:34 Sending build context to Docker daemon 8.783MB 08:53:34 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 08:53:34 Step 2/13 : FROM ${BASE} AS builder 08:53:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:53:34 59bf1c3509f3: Pulling fs layer 08:53:34 666ba61612fd: Pulling fs layer 08:53:34 8ed8ca486205: Pulling fs layer 08:53:34 cc1cd167ecdc: Pulling fs layer 08:53:34 c516ae0d96e1: Pulling fs layer 08:53:34 684cea983483: Pulling fs layer 08:53:34 dd3240ac7de5: Pulling fs layer 08:53:34 b1e948a4e11c: Pulling fs layer 08:53:34 a8fd76ee1af6: Pulling fs layer 08:53:34 646ad004c059: Pulling fs layer 08:53:34 dd3240ac7de5: Waiting 08:53:34 b1e948a4e11c: Waiting 08:53:34 c516ae0d96e1: Waiting 08:53:34 a8fd76ee1af6: Waiting 08:53:34 646ad004c059: Waiting 08:53:34 684cea983483: Waiting 08:53:34 8ed8ca486205: Verifying Checksum 08:53:34 8ed8ca486205: Download complete 08:53:34 666ba61612fd: Download complete 08:53:34 c516ae0d96e1: Verifying Checksum 08:53:34 c516ae0d96e1: Download complete 08:53:35 684cea983483: Verifying Checksum 08:53:35 684cea983483: Download complete 08:53:35 59bf1c3509f3: Verifying Checksum 08:53:35 59bf1c3509f3: Download complete 08:53:35 dd3240ac7de5: Download complete 08:53:35 b1e948a4e11c: Verifying Checksum 08:53:35 b1e948a4e11c: Download complete 08:53:35 59bf1c3509f3: Pull complete 08:53:35 666ba61612fd: Pull complete 08:53:35 8ed8ca486205: Pull complete 08:53:35 646ad004c059: Verifying Checksum 08:53:35 646ad004c059: Download complete 08:53:35 a8fd76ee1af6: Verifying Checksum 08:53:35 a8fd76ee1af6: Download complete 08:53:35 cc1cd167ecdc: Verifying Checksum 08:53:35 cc1cd167ecdc: Download complete 08:53:39 cc1cd167ecdc: Pull complete 08:53:39 c516ae0d96e1: Pull complete 08:53:39 684cea983483: Pull complete 08:53:39 dd3240ac7de5: Pull complete 08:53:40 b1e948a4e11c: Pull complete 08:53:42 a8fd76ee1af6: Pull complete 08:53:43 646ad004c059: Pull complete 08:53:43 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 08:53:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:53:43 ---> 8f69c11f6b0c 08:53:43 Step 3/13 : ARG MAKE="make build" 08:53:44 ---> Running in d75d65f362f1 08:53:44 Removing intermediate container d75d65f362f1 08:53:44 ---> f83b34e774d4 08:53:44 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:53:44 ---> Running in b650b2baaf33 08:53:44 Removing intermediate container b650b2baaf33 08:53:44 ---> 33eeef7dbb09 08:53:44 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 08:53:44 ---> Running in 22fd8e299548 08:53:44 Removing intermediate container 22fd8e299548 08:53:44 ---> 19a929814b83 08:53:44 Step 6/13 : LABEL Name=edgex-device-onvif-camera 08:53:44 ---> Running in a9ab6aff5ea1 08:53:44 Removing intermediate container a9ab6aff5ea1 08:53:44 ---> 933031c7c383 08:53:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:53:45 ---> Running in 36773fc806d6 08:53:45 Removing intermediate container 36773fc806d6 08:53:45 ---> feb5d1ced9a2 08:53:45 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:53:45 ---> Running in 89ed8faa5699 08:53:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:53:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:53:47 OK: 221 MiB in 52 packages 08:53:47 Removing intermediate container 89ed8faa5699 08:53:47 ---> 6db1e01a7758 08:53:47 Step 9/13 : WORKDIR /device-onvif-camera 08:53:47 ---> Running in bb41b0cb1683 08:53:47 Removing intermediate container bb41b0cb1683 08:53:47 ---> 082f3ee2ee39 08:53:47 Step 10/13 : COPY go.mod vendor* ./ 08:53:47 ---> 1664c8e04233 08:53:47 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:53:47 ---> Running in 0ace80f76c85 08:53:47 Still waiting to schedule task 08:53:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:54:02 Removing intermediate container 0ace80f76c85 08:54:02 ---> 373264b117ca 08:54:02 Step 12/13 : COPY . . 08:54:02 ---> 3903af186764 08:54:02 Step 13/13 : RUN ${MAKE} 08:54:02 ---> Running in e71bc325fcf7 08:54:03 noop 08:54:03 Removing intermediate container e71bc325fcf7 08:54:03 ---> bfa39316575d 08:54:03 Successfully built bfa39316575d 08:54:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:03 + docker inspect -f . ci-base-image-x86_64 08:54:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:54:03 prd-ubuntu20.04-docker-8c-8g-16203 does not seem to be running inside a container 08:54:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:54:04 $ docker top 3a3f3d24fff35584ef423fbd585b2c68dc3f00dc358dfdecc2acfa7eab97b4b2 -eo pid,comm [Pipeline] { [Pipeline] sh 08:54:04 + go version 08:54:04 go version go1.17.7 linux/amd64 [Pipeline] } 08:54:04 $ docker stop --time=1 3a3f3d24fff35584ef423fbd585b2c68dc3f00dc358dfdecc2acfa7eab97b4b2 08:54:05 $ docker rm -f 3a3f3d24fff35584ef423fbd585b2c68dc3f00dc358dfdecc2acfa7eab97b4b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:06 + docker inspect -f . ci-base-image-x86_64 08:54:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:54:06 prd-ubuntu20.04-docker-8c-8g-16203 does not seem to be running inside a container 08:54:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:54:06 $ docker top be010944b54f0f44a60d19f7f7a4025c55f8b00c7ff3161b11a50225c9b37ac7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:54:07 + make test 08:54:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:54:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:54:17 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 08:54:17 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.015s coverage: 1.2% of statements 08:54:20 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.716s coverage: 13.8% of statements 08:54:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:54:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:54:32 ./internal/driver/checkstatuses.go 08:54:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:54:32 make: *** [Makefile:57: test] Error 1 [Pipeline] } 08:54:32 $ docker stop --time=1 be010944b54f0f44a60d19f7f7a4025c55f8b00c7ff3161b11a50225c9b37ac7 08:54:33 $ docker rm -f be010944b54f0f44a60d19f7f7a4025c55f8b00c7ff3161b11a50225c9b37ac7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:54:34 08:54:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:54:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:54:34 latest: Pulling from edgex-lftools-log-publisher 08:54:34 5eb5b503b376: Pulling fs layer 08:54:34 5c69ac0246d0: Pulling fs layer 08:54:34 ec43610c2a17: Pulling fs layer 08:54:34 3a2ae6a8a46f: Pulling fs layer 08:54:34 33b1e0a273af: Pulling fs layer 08:54:34 5d3b04190fa2: Pulling fs layer 08:54:34 2f39f015ded8: Pulling fs layer 08:54:34 33b1e0a273af: Waiting 08:54:34 5d3b04190fa2: Waiting 08:54:34 2f39f015ded8: Waiting 08:54:34 3a2ae6a8a46f: Waiting 08:54:34 5c69ac0246d0: Download complete 08:54:34 3a2ae6a8a46f: Verifying Checksum 08:54:34 3a2ae6a8a46f: Download complete 08:54:34 33b1e0a273af: Verifying Checksum 08:54:34 33b1e0a273af: Download complete 08:54:34 ec43610c2a17: Verifying Checksum 08:54:34 ec43610c2a17: Download complete 08:54:34 5d3b04190fa2: Verifying Checksum 08:54:34 5d3b04190fa2: Download complete 08:54:34 5eb5b503b376: Verifying Checksum 08:54:34 5eb5b503b376: Download complete 08:54:35 2f39f015ded8: Download complete 08:54:36 5eb5b503b376: Pull complete 08:54:36 5c69ac0246d0: Pull complete 08:54:36 ec43610c2a17: Pull complete 08:54:36 3a2ae6a8a46f: Pull complete 08:54:37 33b1e0a273af: Pull complete 08:54:37 5d3b04190fa2: Pull complete 08:54:41 2f39f015ded8: Pull complete 08:54:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:54:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:54:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:54:41 prd-ubuntu20.04-docker-8c-8g-16203 does not seem to be running inside a container 08:54:41 $ 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/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:54:43 $ docker top 83c827218a5fa173e88758f1d564d4942cd3a1c39ca6996c1639489703c8c59d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:54:43 ---> job-cost.sh 08:54:43 lf-activate-venv: SKIPPING 08:54:43 INFO: No Stack... 08:54:43 INFO: Retrieving Pricing Info for: v3-standard-8 08:54:44 INFO: Archiving Costs [Pipeline] sh 08:54:44 + cat /w/workspace/oundry_device-onvif-camera_PR-91/archives/cost.csv 08:54:44 + cut -d, -f6 [Pipeline] lock 08:54:44 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-91-3-stack-cost] 08:54:44 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-3-stack-cost] did not exist. Created. 08:54:44 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-91-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:54:45 + echo total: 0.2199999988079071 [Pipeline] stash 08:54:45 Stashed 1 file(s) [Pipeline] } 08:54:45 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:54:45 $ docker stop --time=1 83c827218a5fa173e88758f1d564d4942cd3a1c39ca6996c1639489703c8c59d 08:54:46 $ docker rm -f 83c827218a5fa173e88758f1d564d4942cd3a1c39ca6996c1639489703c8c59d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:54:46 Failed in branch amd64 08:55:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16204 in /w/workspace/oundry_device-onvif-camera_PR-91 [Pipeline] { [Pipeline] ws 08:55:30 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 08:55:30 Selected Git installation does not exist. Using Default 08:55:30 The recommended git tool is: NONE 08:55:37 using credential edgex-jenkins-ssh 08:55:37 Cloning the remote Git repository 08:55:37 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 08:55:37 > git init /w/workspace/device-onvif-camera/3 # timeout=10 08:55:38 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:55:38 > git --version # timeout=10 08:55:38 > git --version # 'git version 2.25.1' 08:55:38 using GIT_SSH to set credentials SSH Credentials for GitHub 08:55:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:55:39 Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 78edb2e18077c7b755f91a2667f86559cbfd1cc6 08:55:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:55:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:55:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:55:39 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:55:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:55:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:55:39 > git config core.sparsecheckout # timeout=10 08:55:39 > git checkout -f 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # timeout=10 08:55:40 Merge succeeded, producing 78edb2e18077c7b755f91a2667f86559cbfd1cc6 08:55:40 Checking out Revision 78edb2e18077c7b755f91a2667f86559cbfd1cc6 (PR-91) 08:55:39 > git remote # timeout=10 08:55:39 > git config --get remote.origin.url # timeout=10 08:55:39 using GIT_SSH to set credentials SSH Credentials for GitHub 08:55:39 > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 08:55:39 > git rev-parse HEAD^{commit} # timeout=10 08:55:40 > git config core.sparsecheckout # timeout=10 08:55:40 > git checkout -f 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # timeout=10 08:55:44 Commit message: "fix: move device save state to top of loop" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:55:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:55:45 % Total % Received % Xferd Average Speed Time Time Time Current 08:55:45 Dload Upload Total Spent Left Speed 08:55:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12253 86 10504 0 0 84709 0 --:--:-- --:--:-- --:--:-- 84709 100 12253 100 12253 0 0 98024 0 --:--:-- --:--:-- --:--:-- 97246 [Pipeline] sh 08:55:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:55:46 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 08:55:46 /etc/docker/daemon.new 08:55:46 { 08:55:46 "registry-mirrors": [ 08:55:46 "https://nexus3.edgexfoundry.org:10001" 08:55:46 ], 08:55:46 "bip": "10.250.0.254/24", 08:55:46 "hosts": [ 08:55:46 "tcp://0.0.0.0:5555", 08:55:46 "unix:///var/run/docker.sock" 08:55:46 ], 08:55:46 "mtu": 1458, 08:55:46 "selinux-enabled": true, 08:55:46 "seccomp-profile": "/etc/docker/seccomp.json" 08:55:46 } [Pipeline] sh 08:55:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:55:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:56:05 provisioning config files... 08:56:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config3414596395751948562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:56:06 ---> docker-login.sh 08:56:06 nexus3.edgexfoundry.org:10001 08:56:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:06 Configure a credential helper to remove this warning. See 08:56:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:06 08:56:06 Login Succeeded 08:56:06 nexus3.edgexfoundry.org:10002 08:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:07 Configure a credential helper to remove this warning. See 08:56:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:07 08:56:07 Login Succeeded 08:56:07 nexus3.edgexfoundry.org:10003 08:56:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:07 Configure a credential helper to remove this warning. See 08:56:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:07 08:56:07 Login Succeeded 08:56:07 nexus3.edgexfoundry.org:10004 08:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:08 Configure a credential helper to remove this warning. See 08:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:08 08:56:08 Login Succeeded 08:56:08 docker.io 08:56:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:08 Configure a credential helper to remove this warning. See 08:56:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:08 08:56:08 Login Succeeded 08:56:08 ---> docker-login.sh ends [Pipeline] } 08:56:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:56:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:56:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:56:09 ========================================================= 08:56:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:56:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:09 + 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:56:09 Sending build context to Docker daemon 5.991MB 08:56:09 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 08:56:09 Step 2/13 : FROM ${BASE} AS builder 08:56:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:56:10 9b3977197b4f: Pulling fs layer 08:56:10 1a89e8eeedd5: Pulling fs layer 08:56:10 94645a83ff95: Pulling fs layer 08:56:10 e6fb740bc735: Pulling fs layer 08:56:10 3a77bd46dcc9: Pulling fs layer 08:56:10 355e64cbe906: Pulling fs layer 08:56:10 63ab81a10011: Pulling fs layer 08:56:10 555d1d1c4555: Pulling fs layer 08:56:10 7d9057610161: Pulling fs layer 08:56:10 355e64cbe906: Waiting 08:56:10 63ab81a10011: Waiting 08:56:10 555d1d1c4555: Waiting 08:56:10 7d9057610161: Waiting 08:56:10 3a77bd46dcc9: Waiting 08:56:10 e6fb740bc735: Waiting 08:56:10 94645a83ff95: Verifying Checksum 08:56:10 94645a83ff95: Download complete 08:56:10 1a89e8eeedd5: Verifying Checksum 08:56:10 1a89e8eeedd5: Download complete 08:56:10 3a77bd46dcc9: Verifying Checksum 08:56:10 3a77bd46dcc9: Download complete 08:56:10 355e64cbe906: Verifying Checksum 08:56:10 355e64cbe906: Download complete 08:56:10 9b3977197b4f: Verifying Checksum 08:56:10 9b3977197b4f: Download complete 08:56:10 63ab81a10011: Verifying Checksum 08:56:10 63ab81a10011: Download complete 08:56:11 7d9057610161: Verifying Checksum 08:56:11 7d9057610161: Download complete 08:56:11 9b3977197b4f: Pull complete 08:56:11 1a89e8eeedd5: Pull complete 08:56:11 94645a83ff95: Pull complete 08:56:12 555d1d1c4555: Verifying Checksum 08:56:12 555d1d1c4555: Download complete 08:56:12 e6fb740bc735: Verifying Checksum 08:56:12 e6fb740bc735: Download complete 08:56:25 e6fb740bc735: Pull complete 08:56:25 3a77bd46dcc9: Pull complete 08:56:25 355e64cbe906: Pull complete 08:56:25 63ab81a10011: Pull complete 08:56:31 555d1d1c4555: Pull complete 08:56:33 7d9057610161: Pull complete 08:56:33 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 08:56:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:56:33 ---> 819e984ddca1 08:56:33 Step 3/13 : ARG MAKE="make build" 08:56:35 ---> Running in 05f445e77119 08:56:35 Removing intermediate container 05f445e77119 08:56:35 ---> 4da2ab3daee6 08:56:35 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:56:35 ---> Running in 2c7648df0926 08:56:35 Removing intermediate container 2c7648df0926 08:56:35 ---> 3b33c0149a14 08:56:35 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 08:56:35 ---> Running in 7e3921e1370e 08:56:35 Removing intermediate container 7e3921e1370e 08:56:35 ---> 140e86d25305 08:56:35 Step 6/13 : LABEL Name=edgex-device-onvif-camera 08:56:36 ---> Running in e5b81129261b 08:56:36 Removing intermediate container e5b81129261b 08:56:36 ---> bfe00109c619 08:56:36 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:56:36 ---> Running in a8849be13fc6 08:56:39 Removing intermediate container a8849be13fc6 08:56:39 ---> 3e15baf14f8d 08:56:39 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:56:39 ---> Running in e0635f79ae26 08:56:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:56:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:56:42 OK: 220 MiB in 52 packages 08:56:43 Removing intermediate container e0635f79ae26 08:56:43 ---> 89d9327af790 08:56:43 Step 9/13 : WORKDIR /device-onvif-camera 08:56:43 ---> Running in c26d4471f572 08:56:43 Removing intermediate container c26d4471f572 08:56:43 ---> f05aab4349a9 08:56:43 Step 10/13 : COPY go.mod vendor* ./ 08:56:43 ---> de1c12d6807b 08:56:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:56:43 ---> Running in 073d42347c16 08:57:30 Removing intermediate container 073d42347c16 08:57:30 ---> 9218bcf23efe 08:57:30 Step 12/13 : COPY . . 08:57:30 ---> 02776d788527 08:57:30 Step 13/13 : RUN ${MAKE} 08:57:30 ---> Running in af995df72744 08:57:30 noop 08:57:31 Removing intermediate container af995df72744 08:57:31 ---> 939536456e42 08:57:31 Successfully built 939536456e42 08:57:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:31 + docker inspect -f . ci-base-image-arm64 08:57:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:57:32 prd-ubuntu20.04-docker-arm64-4c-16g-16204 does not seem to be running inside a container 08:57:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:57:33 $ docker top acc2a2674fc0f8911e7757cb15799764515f4f91655a07ef780128a84e6fff75 -eo pid,comm [Pipeline] { [Pipeline] sh 08:57:34 + go version 08:57:34 go version go1.17.7 linux/arm64 [Pipeline] } 08:57:34 $ docker stop --time=1 acc2a2674fc0f8911e7757cb15799764515f4f91655a07ef780128a84e6fff75 08:57:36 $ docker rm -f acc2a2674fc0f8911e7757cb15799764515f4f91655a07ef780128a84e6fff75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:36 + docker inspect -f . ci-base-image-arm64 08:57:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:57:37 prd-ubuntu20.04-docker-arm64-4c-16g-16204 does not seem to be running inside a container 08:57:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:57:38 $ docker top 49652914f242a542dc37caa323bab5a4c61b6f2e66518b480919c5a1441a1bff -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:57:39 + make test 08:57:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:57:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:59:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 08:59:18 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.087s coverage: 1.2% of statements 08:59:36 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 35.342s coverage: 13.8% of statements 08:59:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:59:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:00:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:00:03 ./internal/driver/checkstatuses.go 09:00:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:00:03 make: *** [Makefile:57: test] Error 1 [Pipeline] } 09:00:03 $ docker stop --time=1 49652914f242a542dc37caa323bab5a4c61b6f2e66518b480919c5a1441a1bff 09:00:05 $ docker rm -f 49652914f242a542dc37caa323bab5a4c61b6f2e66518b480919c5a1441a1bff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:00:06 09:00:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:00:07 arm64: Pulling from edgex-lftools-log-publisher 09:00:07 8998bd30e6a1: Pulling fs layer 09:00:07 04944245beec: Pulling fs layer 09:00:07 699f458cf7ca: Pulling fs layer 09:00:07 765212b225bb: Pulling fs layer 09:00:07 f23df028b6ca: Pulling fs layer 09:00:07 d65c8cfc05b1: Pulling fs layer 09:00:07 2437ff75d9bd: Pulling fs layer 09:00:07 765212b225bb: Waiting 09:00:07 d65c8cfc05b1: Waiting 09:00:07 f23df028b6ca: Waiting 09:00:07 2437ff75d9bd: Waiting 09:00:07 04944245beec: Verifying Checksum 09:00:07 04944245beec: Download complete 09:00:07 765212b225bb: Verifying Checksum 09:00:07 765212b225bb: Download complete 09:00:07 f23df028b6ca: Verifying Checksum 09:00:07 f23df028b6ca: Download complete 09:00:07 d65c8cfc05b1: Verifying Checksum 09:00:07 d65c8cfc05b1: Download complete 09:00:07 699f458cf7ca: Verifying Checksum 09:00:07 699f458cf7ca: Download complete 09:00:07 8998bd30e6a1: Verifying Checksum 09:00:07 8998bd30e6a1: Download complete 09:00:10 2437ff75d9bd: Verifying Checksum 09:00:10 2437ff75d9bd: Download complete 09:00:12 8998bd30e6a1: Pull complete 09:00:12 04944245beec: Pull complete 09:00:13 699f458cf7ca: Pull complete 09:00:14 765212b225bb: Pull complete 09:00:14 f23df028b6ca: Pull complete 09:00:15 d65c8cfc05b1: Pull complete 09:00:30 2437ff75d9bd: Pull complete 09:00:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:00:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:00:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:30 prd-ubuntu20.04-docker-arm64-4c-16g-16204 does not seem to be running inside a container 09:00: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-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:00:33 $ docker top fbb4eab1289a8ed3331bc7aa74bbfe6c8eb12b50f02e94cdb17c34b583f1b368 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:00:34 ---> job-cost.sh 09:00:34 lf-activate-venv: SKIPPING 09:00:34 INFO: No Stack... 09:00:34 INFO: Retrieving Pricing Info for: v3-standard-4 09:00:35 INFO: Archiving Costs [Pipeline] sh 09:00:36 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 09:00:36 + cut -d, -f6 [Pipeline] lock 09:00:36 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-91-3-stack-cost] 09:00:36 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-3-stack-cost] did not exist. Created. 09:00:36 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-91-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:00:36 /w/workspace/device-onvif-camera/3@tmp/durable-e897a7ac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:00:37 + echo total: 0.10999999940395355 [Pipeline] stash 09:00:37 Warning: overwriting stash ‘stack-cost’ 09:00:38 Stashed 1 file(s) [Pipeline] } 09:00:38 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:00:38 $ docker stop --time=1 fbb4eab1289a8ed3331bc7aa74bbfe6c8eb12b50f02e94cdb17c34b583f1b368 09:00:39 $ docker rm -f fbb4eab1289a8ed3331bc7aa74bbfe6c8eb12b50f02e94cdb17c34b583f1b368 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:00:39 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:00:40 + [ -d /w/workspace/oundry_device-onvif-camera_PR-91/archives ] 09:00:40 + ls -al /w/workspace/oundry_device-onvif-camera_PR-91/archives 09:00:40 total 16 09:00:40 drwxr-xr-x 3 root root 4096 Jun 28 08:54 . 09:00:40 drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 08:54 .. 09:00:40 drwxr-xr-x 2 root root 4096 Jun 28 08:54 cost 09:00:40 -rw-r--r-- 1 root root 89 Jun 28 08:54 cost.csv 09:00:40 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-91/archives 09:00:40 + ls -al /w/workspace/oundry_device-onvif-camera_PR-91/archives 09:00:40 total 16 09:00:40 drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 08:54 . 09:00:40 drwxrwxr-x 10 jenkins jenkins 4096 Jun 28 08:54 .. 09:00:40 drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 08:54 cost 09:00:40 -rw-r--r-- 1 jenkins jenkins 89 Jun 28 08:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:00:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:00:41 ---> package-listing.sh 09:00:41 ++ tr '[:upper:]' '[:lower:]' 09:00:41 ++ facter osfamily 09:00:42 + OS_FAMILY=debian 09:00:42 + workspace=/w/workspace/oundry_device-onvif-camera_PR-91 09:00:42 + START_PACKAGES=/tmp/packages_start.txt 09:00:42 + END_PACKAGES=/tmp/packages_end.txt 09:00:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:00:42 + PACKAGES=/tmp/packages_start.txt 09:00:42 + '[' /w/workspace/oundry_device-onvif-camera_PR-91 ']' 09:00:42 + PACKAGES=/tmp/packages_end.txt 09:00:42 + case "${OS_FAMILY}" in 09:00:42 + dpkg -l 09:00:42 + grep '^ii' 09:00:42 + '[' -f /tmp/packages_start.txt ']' 09:00:42 + '[' -f /tmp/packages_end.txt ']' 09:00:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:00:42 + '[' /w/workspace/oundry_device-onvif-camera_PR-91 ']' 09:00:42 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-91/archives/ 09:00:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-91/archives/ [Pipeline] echo 09:00:42 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/oundry_device-onvif-camera_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:00:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:00:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:43 prd-ubuntu20.04-docker-8c-8g-16203 does not seem to be running inside a container 09:00:43 $ 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/oundry_device-onvif-camera_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:00:43 $ docker top c2eca4f3ae6cf41d9457705263434fc4d3f2e82efc6b19e287821ecf5c108d9c -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:43 + touch /tmp/pre-build-complete [Pipeline] sh 09:00:43 + mkdir -p /var/log/sysstat [Pipeline] sh 09:00:44 + ls /var/log/sa-host 09:00:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:00:44 provisioning config files... 09:00:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config7138886245052160900tmp [Pipeline] { [Pipeline] echo 09:00:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:00:44 ---> create-netrc.sh [Pipeline] } 09:00:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:00:44 ---> python-tools-install.sh [Pipeline] echo 09:00:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:00:45 ---> sudo-logs.sh 09:00:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:00:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:00:45 ---> job-cost.sh 09:00:45 lf-activate-venv: SKIPPING 09:00:45 DEBUG: total: 0.2199999988079071 09:00:45 INFO: Retrieving Stack Cost... 09:00:45 INFO: Retrieving Pricing Info for: v3-standard-8 09:00:46 INFO: Archiving Costs [Pipeline] echo 09:00:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:00:46 ---> logs-deploy.sh 09:00:46 lf-activate-venv: SKIPPING 09:00:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-91/3 09:00:46 INFO: archiving workspace using pattern(s): 09:00:47 Archives upload complete. 09:00:47 INFO: archiving logs to Nexus