Pull request #81 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 19d22e422abd2bf1e17912171b3c0bb2febc4a3e rather than c42fd471127165706481da0ca66c467f38a127dc Obtained Jenkinsfile from 19d22e422abd2bf1e17912171b3c0bb2febc4a3e 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-ssh22284945985552649.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-ssh4765453968304037721.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-81/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-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16733228564351493367.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-ssh6600299132928938585.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-81/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-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12123883484684020260.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 ‘prd-ubuntu20.04-docker-8c-8g-1692’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1694 in /w/workspace/oundry_device-onvif-camera_PR-81 [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-81 # 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 > 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/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit c42fd471127165706481da0ca66c467f38a127dc Merge succeeded, producing bb4dceb3d03006ae68f83a2a6f71827234cbcc16 Checking out Revision bb4dceb3d03006ae68f83a2a6f71827234cbcc16 (PR-81) > git config core.sparsecheckout # timeout=10 > git checkout -f c42fd471127165706481da0ca66c467f38a127dc # 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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb4dceb3d03006ae68f83a2a6f71827234cbcc16 # timeout=10 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:41:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:41:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:28 ========================================================= 22:41:28 EdgeX Global Pipelines Version Info 22:41:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5e5f413254ceb7c751dff220c972a1e802ed8f1e # timeout=10 22:41:29 ------------------- 22:41:29 stable info: 22:41:29 ------------------- 22:41:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:29 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 22:41:29 Message: update stable to v1.0.234 22:41:30 ------------------- 22:41:30 experimental info: 22:41:30 ------------------- 22:41:30 Commited By: **** collab-it+edgex@linuxfoundation.org 22:41:30 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 22:41:30 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:41:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:41:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:41:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:41:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:41:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:41:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:41:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo 22:41:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo 22:41:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo 22:41:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb4dceb3d03006ae68f83a2a6f71827234cbcc16 [Pipeline] echo 22:41:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb4dceb [Pipeline] echo 22:41:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:41:31 provisioning config files... 22:41:31 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config1250569078443877121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:31 ---> docker-login.sh 22:41:31 nexus3.edgexfoundry.org:10001 22:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:31 Configure a credential helper to remove this warning. See 22:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:31 22:41:31 Login Succeeded 22:41:31 nexus3.edgexfoundry.org:10002 22:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:32 Configure a credential helper to remove this warning. See 22:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:32 22:41:32 Login Succeeded 22:41:32 nexus3.edgexfoundry.org:10003 22:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:32 Configure a credential helper to remove this warning. See 22:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:32 22:41:32 Login Succeeded 22:41:32 nexus3.edgexfoundry.org:10004 22:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:32 Configure a credential helper to remove this warning. See 22:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:32 22:41:32 Login Succeeded 22:41:32 docker.io 22:41:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:32 Configure a credential helper to remove this warning. See 22:41:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:32 22:41:32 Login Succeeded 22:41:32 ---> docker-login.sh ends [Pipeline] } 22:41:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:41:33 + git rev-list -1 --merges bb4dceb3d03006ae68f83a2a6f71827234cbcc16~1..bb4dceb3d03006ae68f83a2a6f71827234cbcc16 [Pipeline] echo 22:41:33 -----------> git rev-list -1 --merges bb4dceb3d03006ae68f83a2a6f71827234cbcc16~1..bb4dceb3d03006ae68f83a2a6f71827234cbcc16 bb4dceb3d03006ae68f83a2a6f71827234cbcc16 22:41:33 bb4dceb3d03006ae68f83a2a6f71827234cbcc16 [false] [Pipeline] sh 22:41:33 + git log --format=format:%s -1 bb4dceb3d03006ae68f83a2a6f71827234cbcc16 [Pipeline] echo 22:41:33 ========================================================= 22:41:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:41:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:41:33 + git log --format=format:%s -1 bb4dceb3d03006ae68f83a2a6f71827234cbcc16 [Pipeline] echo 22:41:33 [semverPrep] GIT_COMMIT: bb4dceb3d03006ae68f83a2a6f71827234cbcc16, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo 22:41:33 [semverPrep] This is not a build commit. [Pipeline] sh 22:41:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:41:34 + grep -v github /etc/ssh/ssh_known_hosts 22:41:34 + [ -e /tmp/ssh_known_hosts ] 22:41:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:41:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:41:34 + sudo tee -a /etc/ssh/ssh_known_hosts 22:41:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:41:34 22:41:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:41:35 0.1.4: Pulling from edgex-devops/py-git-semver 22:41:35 42c077c10790: Pulling fs layer 22:41:35 f63e77b7563a: Pulling fs layer 22:41:35 bd5fdadae976: Pulling fs layer 22:41:35 205491f53016: Pulling fs layer 22:41:35 df18705c85c3: Pulling fs layer 22:41:35 bdb3f477010e: Pulling fs layer 22:41:35 c8a8fc8e1c8f: Pulling fs layer 22:41:35 2c6e9b1d212d: Pulling fs layer 22:41:35 bdb8f0575790: Pulling fs layer 22:41:35 386e3cb2ff24: Pulling fs layer 22:41:35 2343380bae48: Pulling fs layer 22:41:35 df18705c85c3: Waiting 22:41:35 bdb8f0575790: Waiting 22:41:35 bdb3f477010e: Waiting 22:41:35 386e3cb2ff24: Waiting 22:41:35 c8a8fc8e1c8f: Waiting 22:41:35 205491f53016: Waiting 22:41:35 f63e77b7563a: Download complete 22:41:35 205491f53016: Verifying Checksum 22:41:35 205491f53016: Download complete 22:41:35 bd5fdadae976: Verifying Checksum 22:41:35 bd5fdadae976: Download complete 22:41:35 bdb3f477010e: Download complete 22:41:35 df18705c85c3: Verifying Checksum 22:41:35 df18705c85c3: Download complete 22:41:35 2c6e9b1d212d: Download complete 22:41:35 bdb8f0575790: Download complete 22:41:35 386e3cb2ff24: Verifying Checksum 22:41:35 386e3cb2ff24: Download complete 22:41:35 2343380bae48: Verifying Checksum 22:41:35 2343380bae48: Download complete 22:41:35 42c077c10790: Download complete 22:41:35 c8a8fc8e1c8f: Download complete 22:41:36 42c077c10790: Pull complete 22:41:36 f63e77b7563a: Pull complete 22:41:37 bd5fdadae976: Pull complete 22:41:37 205491f53016: Pull complete 22:41:37 df18705c85c3: Pull complete 22:41:37 bdb3f477010e: Pull complete 22:41:39 c8a8fc8e1c8f: Pull complete 22:41:39 2c6e9b1d212d: Pull complete 22:41:39 bdb8f0575790: Pull complete 22:41:39 386e3cb2ff24: Pull complete 22:41:40 2343380bae48: Pull complete 22:41:40 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 22:41:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:41:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:40 prd-ubuntu20.04-docker-8c-8g-1694 does not seem to be running inside a container 22:41:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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-devops/py-git-semver:0.1.4 cat 22:41:41 $ docker top 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 -eo pid,comm 22:41:41 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). 22:41:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:41:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:42 [ssh-agent] Looking for ssh-agent implementation... 22:41:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:42 $ docker exec 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 ssh-agent 22:41:42 SSH_AUTH_SOCK=/tmp/ssh-YxUqrsCPvrQc/agent.34 22:41:42 SSH_AGENT_PID=40 22:41:42 Running ssh-add (command line suppressed) 22:41:42 Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_7783581693907549222.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_7783581693907549222.key) 22:41:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:42 + git tag --points-at HEAD [Pipeline] } 22:41:42 $ docker exec --env ******** --env ******** 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 ssh-agent -k 22:41:42 unset SSH_AUTH_SOCK; 22:41:42 unset SSH_AGENT_PID; 22:41:42 echo Agent pid 40 killed; 22:41:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:41:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:42 [ssh-agent] Looking for ssh-agent implementation... 22:41:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:43 $ docker exec 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 ssh-agent 22:41:43 SSH_AUTH_SOCK=/tmp/ssh-njCm0Mvo1HVA/agent.73 22:41:43 SSH_AGENT_PID=79 22:41:43 Running ssh-add (command line suppressed) 22:41:43 Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_2814621540593180478.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_2814621540593180478.key) 22:41:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:43 + git semver init 22:41:44 2022-06-07 22:41:43,945 [run_init] DEBUG init version:0.0.0 force:False 22:41:44 2022-06-07 22:41:43,946 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver 22:41:44 2022-06-07 22:41:43,946 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-81/.semver 22:41:44 2022-06-07 22:41:43,947 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-81/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81, universal_newlines=False, shell=None, istream=None) 22:41:44 2022-06-07 22:41:44,621 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude 22:41:44 2022-06-07 22:41:44,622 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 with force:False 22:41:44 2022-06-07 22:41:44,622 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 22:41:44 2022-06-07 22:41:44,627 [execute] INFO git cat-file --batch-check 22:41:44 2022-06-07 22:41:44,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) 22:41:44 2022-06-07 22:41:44,635 [execute] INFO git cat-file --batch 22:41:44 2022-06-07 22:41:44,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) 22:41:44 2022-06-07 22:41:44,641 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 22:41:44 0.0.0 [Pipeline] } 22:41:45 $ docker exec --env ******** --env ******** 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 ssh-agent -k 22:41:45 unset SSH_AUTH_SOCK; 22:41:45 unset SSH_AGENT_PID; 22:41:45 echo Agent pid 79 killed; 22:41:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:41:45 + git semver [Pipeline] } 22:41:45 $ docker stop --time=1 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 22:41:47 $ docker rm -f 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 [Pipeline] // withDockerContainer [Pipeline] sh 22:41:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:41:47 Stashed 1 file(s) [Pipeline] echo 22:41:47 [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 22:41:48 provisioning config files... 22:41:48 copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config7207753735586896541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:48 ---> docker-login.sh 22:41:48 nexus3.edgexfoundry.org:10001 22:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:48 Configure a credential helper to remove this warning. See 22:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:48 22:41:48 Login Succeeded 22:41:48 nexus3.edgexfoundry.org:10002 22:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:48 Configure a credential helper to remove this warning. See 22:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:48 22:41:48 Login Succeeded 22:41:48 nexus3.edgexfoundry.org:10003 22:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:48 Configure a credential helper to remove this warning. See 22:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:48 22:41:48 Login Succeeded 22:41:48 nexus3.edgexfoundry.org:10004 22:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:48 Configure a credential helper to remove this warning. See 22:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:48 22:41:48 Login Succeeded 22:41:48 docker.io 22:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:49 Configure a credential helper to remove this warning. See 22:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:49 22:41:49 Login Succeeded 22:41:49 ---> docker-login.sh ends [Pipeline] } 22:41:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:41:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:41:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:41:49 ========================================================= 22:41:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:41:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:49 + 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 . 22:41:49 Sending build context to Docker daemon 8.935MB 22:41:49 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:41:49 Step 2/13 : FROM ${BASE} AS builder 22:41:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:41:50 59bf1c3509f3: Pulling fs layer 22:41:50 666ba61612fd: Pulling fs layer 22:41:50 8ed8ca486205: Pulling fs layer 22:41:50 cc1cd167ecdc: Pulling fs layer 22:41:50 c516ae0d96e1: Pulling fs layer 22:41:50 684cea983483: Pulling fs layer 22:41:50 dd3240ac7de5: Pulling fs layer 22:41:50 b1e948a4e11c: Pulling fs layer 22:41:50 a8fd76ee1af6: Pulling fs layer 22:41:50 646ad004c059: Pulling fs layer 22:41:50 dd3240ac7de5: Waiting 22:41:50 b1e948a4e11c: Waiting 22:41:50 a8fd76ee1af6: Waiting 22:41:50 646ad004c059: Waiting 22:41:50 cc1cd167ecdc: Waiting 22:41:50 c516ae0d96e1: Waiting 22:41:50 684cea983483: Waiting 22:41:50 8ed8ca486205: Verifying Checksum 22:41:50 8ed8ca486205: Download complete 22:41:50 666ba61612fd: Verifying Checksum 22:41:50 666ba61612fd: Download complete 22:41:50 c516ae0d96e1: Verifying Checksum 22:41:50 c516ae0d96e1: Download complete 22:41:50 684cea983483: Verifying Checksum 22:41:50 684cea983483: Download complete 22:41:50 dd3240ac7de5: Verifying Checksum 22:41:50 dd3240ac7de5: Download complete 22:41:50 59bf1c3509f3: Verifying Checksum 22:41:50 59bf1c3509f3: Download complete 22:41:50 59bf1c3509f3: Pull complete 22:41:50 666ba61612fd: Pull complete 22:41:50 b1e948a4e11c: Verifying Checksum 22:41:50 b1e948a4e11c: Download complete 22:41:50 8ed8ca486205: Pull complete 22:41:52 a8fd76ee1af6: Verifying Checksum 22:41:52 a8fd76ee1af6: Download complete 22:41:52 646ad004c059: Verifying Checksum 22:41:52 646ad004c059: Download complete 22:41:52 cc1cd167ecdc: Verifying Checksum 22:41:52 cc1cd167ecdc: Download complete 22:41:56 cc1cd167ecdc: Pull complete 22:41:56 c516ae0d96e1: Pull complete 22:41:56 684cea983483: Pull complete 22:41:56 dd3240ac7de5: Pull complete 22:41:56 b1e948a4e11c: Pull complete 22:41:58 a8fd76ee1af6: Pull complete 22:41:59 646ad004c059: Pull complete 22:41:59 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 22:41:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:41:59 ---> 8f69c11f6b0c 22:41:59 Step 3/13 : ARG MAKE="make build" 22:42:01 ---> Running in 8d3ed9ba861b 22:42:01 Removing intermediate container 8d3ed9ba861b 22:42:01 ---> 44c7651a602d 22:42:01 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:42:01 ---> Running in 1d498acb12b8 22:42:01 Removing intermediate container 1d498acb12b8 22:42:01 ---> dcfde3f94821 22:42:01 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 22:42:01 ---> Running in a2f2bba76f91 22:42:01 Removing intermediate container a2f2bba76f91 22:42:01 ---> 2ac7861b855b 22:42:01 Step 6/13 : LABEL Name=edgex-device-onvif-camera 22:42:01 ---> Running in 44f7424bc9ec 22:42:01 Removing intermediate container 44f7424bc9ec 22:42:01 ---> a50a54aa8d82 22:42:01 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:01 ---> Running in 297e2126a025 22:42:02 Removing intermediate container 297e2126a025 22:42:02 ---> 56874e7460bc 22:42:02 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:42:02 ---> Running in c42b3241fe1e 22:42:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:42:02 Still waiting to schedule task 22:42:02 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1693’ is offline 22:42:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:42:03 OK: 221 MiB in 52 packages 22:42:04 Removing intermediate container c42b3241fe1e 22:42:04 ---> 98f18898a274 22:42:04 Step 9/13 : WORKDIR /device-onvif-camera 22:42:04 ---> Running in af76a56ab31c 22:42:04 Removing intermediate container af76a56ab31c 22:42:04 ---> f3bc12995f9f 22:42:04 Step 10/13 : COPY go.mod vendor* ./ 22:42:04 ---> fd587b403b9b 22:42:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:04 ---> Running in f4c70dfe391d 22:42:19 Removing intermediate container f4c70dfe391d 22:42:19 ---> 76fe2729d471 22:42:19 Step 12/13 : COPY . . 22:42:19 ---> 04625ebb2a43 22:42:19 Step 13/13 : RUN ${MAKE} 22:42:19 ---> Running in 445d6e6f4c15 22:42:19 noop 22:42:19 Removing intermediate container 445d6e6f4c15 22:42:19 ---> d4184e0962f0 22:42:19 Successfully built d4184e0962f0 22:42:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:20 + docker inspect -f . ci-base-image-x86_64 22:42:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:20 prd-ubuntu20.04-docker-8c-8g-1694 does not seem to be running inside a container 22:42:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** ci-base-image-x86_64 cat 22:42:20 $ docker top 6461acbdcb4582f8e6de196b97a5f6ed9d118812aeb45b6632766c8f8ef5d113 -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:21 + go version 22:42:21 go version go1.17.7 linux/amd64 [Pipeline] } 22:42:21 $ docker stop --time=1 6461acbdcb4582f8e6de196b97a5f6ed9d118812aeb45b6632766c8f8ef5d113 22:42:22 $ docker rm -f 6461acbdcb4582f8e6de196b97a5f6ed9d118812aeb45b6632766c8f8ef5d113 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:23 + docker inspect -f . ci-base-image-x86_64 22:42:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:23 prd-ubuntu20.04-docker-8c-8g-1694 does not seem to be running inside a container 22:42:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@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 ******** ci-base-image-x86_64 cat 22:42:24 $ docker top 2757fe0bf5065cd4cec1cb09d13c7425dc47fc701848fb4de5625c3c3875fd36 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:42:24 + make test 22:42:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:42:24 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:42:34 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:42:35 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 1.2% of statements 22:42:39 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.069s coverage: 13.8% of statements 22:42:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:42:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:42:52 ./internal/driver/driver.go 22:42:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:42:52 make: *** [Makefile:57: test] Error 1 [Pipeline] } 22:42:52 $ docker stop --time=1 2757fe0bf5065cd4cec1cb09d13c7425dc47fc701848fb4de5625c3c3875fd36 22:42:54 $ docker rm -f 2757fe0bf5065cd4cec1cb09d13c7425dc47fc701848fb4de5625c3c3875fd36 [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 22:42:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:54 22:42:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:42:55 latest: Pulling from edgex-lftools-log-publisher 22:42:55 5eb5b503b376: Pulling fs layer 22:42:55 5c69ac0246d0: Pulling fs layer 22:42:55 ec43610c2a17: Pulling fs layer 22:42:55 3a2ae6a8a46f: Pulling fs layer 22:42:55 33b1e0a273af: Pulling fs layer 22:42:55 5d3b04190fa2: Pulling fs layer 22:42:55 2f39f015ded8: Pulling fs layer 22:42:55 2f39f015ded8: Waiting 22:42:55 3a2ae6a8a46f: Waiting 22:42:55 5d3b04190fa2: Waiting 22:42:55 33b1e0a273af: Waiting 22:42:55 5c69ac0246d0: Verifying Checksum 22:42:55 3a2ae6a8a46f: Verifying Checksum 22:42:55 3a2ae6a8a46f: Download complete 22:42:55 33b1e0a273af: Verifying Checksum 22:42:55 33b1e0a273af: Download complete 22:42:55 5d3b04190fa2: Verifying Checksum 22:42:55 5d3b04190fa2: Download complete 22:42:55 ec43610c2a17: Verifying Checksum 22:42:55 ec43610c2a17: Download complete 22:42:55 5eb5b503b376: Verifying Checksum 22:42:55 5eb5b503b376: Download complete 22:42:56 2f39f015ded8: Download complete 22:42:57 5eb5b503b376: Pull complete 22:42:57 5c69ac0246d0: Pull complete 22:42:57 ec43610c2a17: Pull complete 22:42:57 3a2ae6a8a46f: Pull complete 22:42:58 33b1e0a273af: Pull complete 22:42:58 5d3b04190fa2: Pull complete 22:43:03 2f39f015ded8: Pull complete 22:43:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:43:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:03 prd-ubuntu20.04-docker-8c-8g-1694 does not seem to be running inside a container 22:43:03 $ 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-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:43:05 $ docker top 996ebd250d9c651372ac97860d3484850595cf30d883bd63b95d7fe6797cf1b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:06 ---> job-cost.sh 22:43:06 lf-activate-venv: SKIPPING 22:43:06 INFO: No Stack... 22:43:06 INFO: Retrieving Pricing Info for: v3-standard-8 22:43:07 INFO: Archiving Costs [Pipeline] sh 22:43:07 + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv 22:43:07 + cut -d, -f6 [Pipeline] lock 22:43:07 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] 22:43:07 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] did not exist. Created. 22:43:07 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:43:07 + echo total: 0.2199999988079071 [Pipeline] stash 22:43:07 Stashed 1 file(s) [Pipeline] } 22:43:07 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] [Pipeline] // lock [Pipeline] } 22:43:07 $ docker stop --time=1 996ebd250d9c651372ac97860d3484850595cf30d883bd63b95d7fe6797cf1b2 22:43:09 $ docker rm -f 996ebd250d9c651372ac97860d3484850595cf30d883bd63b95d7fe6797cf1b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:43:09 Failed in branch amd64 22:43:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1695 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] ws 22:43:42 Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout 22:43:42 Selected Git installation does not exist. Using Default 22:43:42 The recommended git tool is: NONE 22:43:48 using credential edgex-jenkins-ssh 22:43:48 Cloning the remote Git repository 22:43:48 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:43:48 > git init /w/workspace/device-onvif-camera/7 # timeout=10 22:43:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:43:48 > git --version # timeout=10 22:43:48 > git --version # 'git version 2.25.1' 22:43:48 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:49 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit c42fd471127165706481da0ca66c467f38a127dc 22:43:50 Merge succeeded, producing 34550789741a4b9a815ecef927b119849de77219 22:43:50 Checking out Revision 34550789741a4b9a815ecef927b119849de77219 (PR-81) 22:43:49 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:43:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:49 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:43:49 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:43:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:43:49 > git config core.sparsecheckout # timeout=10 22:43:49 > git checkout -f c42fd471127165706481da0ca66c467f38a127dc # timeout=10 22:43:50 > git remote # timeout=10 22:43:50 > git config --get remote.origin.url # timeout=10 22:43:50 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:50 > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 22:43:50 > git rev-parse HEAD^{commit} # timeout=10 22:43:50 > git config core.sparsecheckout # timeout=10 22:43:50 > git checkout -f 34550789741a4b9a815ecef927b119849de77219 # timeout=10 22:43:54 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" 22:43:54 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:43:55 % Total % Received % Xferd Average Speed Time Time Time Current 22:43:55 Dload Upload Total Spent Left Speed 22:43:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 40572 0 --:--:-- --:--:-- --:--:-- 40572 22:43:54 > git rev-list --no-walk 5e5f413254ceb7c751dff220c972a1e802ed8f1e # timeout=10 [Pipeline] sh 22:43:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:43:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:43:56 + sudo tee /etc/docker/daemon.new 22:43:56 { 22:43:56 "registry-mirrors": [ 22:43:56 "https://nexus3.edgexfoundry.org:10001" 22:43:56 ], 22:43:56 "bip": "10.250.0.254/24", 22:43:56 "hosts": [ 22:43:56 "tcp://0.0.0.0:5555", 22:43:56 "unix:///var/run/docker.sock" 22:43:56 ], 22:43:56 "mtu": 1458, 22:43:56 "selinux-enabled": true, 22:43:56 "seccomp-profile": "/etc/docker/seccomp.json" 22:43:56 } [Pipeline] sh 22:43:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:43:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:16 provisioning config files... 22:44:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config6390999705876675356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:16 ---> docker-login.sh 22:44:16 nexus3.edgexfoundry.org:10001 22:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:17 Configure a credential helper to remove this warning. See 22:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:17 22:44:17 Login Succeeded 22:44:17 nexus3.edgexfoundry.org:10002 22:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:17 Configure a credential helper to remove this warning. See 22:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:17 22:44:17 Login Succeeded 22:44:17 nexus3.edgexfoundry.org:10003 22:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:18 Configure a credential helper to remove this warning. See 22:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:18 22:44:18 Login Succeeded 22:44:18 nexus3.edgexfoundry.org:10004 22:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:18 Configure a credential helper to remove this warning. See 22:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:18 22:44:18 Login Succeeded 22:44:18 docker.io 22:44:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:19 Configure a credential helper to remove this warning. See 22:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:19 22:44:19 Login Succeeded 22:44:19 ---> docker-login.sh ends [Pipeline] } 22:44:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:20 ========================================================= 22:44:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:44:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:20 + 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 . 22:44:20 Sending build context to Docker daemon 6.156MB 22:44:20 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 22:44:20 Step 2/13 : FROM ${BASE} AS builder 22:44:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:44:21 9b3977197b4f: Pulling fs layer 22:44:21 1a89e8eeedd5: Pulling fs layer 22:44:21 94645a83ff95: Pulling fs layer 22:44:21 e6fb740bc735: Pulling fs layer 22:44:21 3a77bd46dcc9: Pulling fs layer 22:44:21 355e64cbe906: Pulling fs layer 22:44:21 63ab81a10011: Pulling fs layer 22:44:21 555d1d1c4555: Pulling fs layer 22:44:21 7d9057610161: Pulling fs layer 22:44:21 e6fb740bc735: Waiting 22:44:21 3a77bd46dcc9: Waiting 22:44:21 355e64cbe906: Waiting 22:44:21 7d9057610161: Waiting 22:44:21 63ab81a10011: Waiting 22:44:21 555d1d1c4555: Waiting 22:44:21 94645a83ff95: Verifying Checksum 22:44:21 94645a83ff95: Download complete 22:44:21 1a89e8eeedd5: Verifying Checksum 22:44:21 1a89e8eeedd5: Download complete 22:44:21 3a77bd46dcc9: Verifying Checksum 22:44:21 3a77bd46dcc9: Download complete 22:44:21 355e64cbe906: Verifying Checksum 22:44:21 355e64cbe906: Download complete 22:44:21 63ab81a10011: Verifying Checksum 22:44:21 9b3977197b4f: Verifying Checksum 22:44:21 9b3977197b4f: Download complete 22:44:21 63ab81a10011: Download complete 22:44:22 9b3977197b4f: Pull complete 22:44:22 7d9057610161: Verifying Checksum 22:44:22 7d9057610161: Download complete 22:44:22 1a89e8eeedd5: Pull complete 22:44:23 94645a83ff95: Pull complete 22:44:23 555d1d1c4555: Verifying Checksum 22:44:23 555d1d1c4555: Download complete 22:44:23 e6fb740bc735: Verifying Checksum 22:44:23 e6fb740bc735: Download complete 22:44:36 e6fb740bc735: Pull complete 22:44:36 3a77bd46dcc9: Pull complete 22:44:36 355e64cbe906: Pull complete 22:44:36 63ab81a10011: Pull complete 22:44:43 555d1d1c4555: Pull complete 22:44:44 7d9057610161: Pull complete 22:44:44 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 22:44:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:44:44 ---> 819e984ddca1 22:44:44 Step 3/13 : ARG MAKE="make build" 22:44:45 ---> Running in 6eb1474ba444 22:44:45 Removing intermediate container 6eb1474ba444 22:44:45 ---> d7422f3d55dc 22:44:45 Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 22:44:46 ---> Running in bba702dc0c31 22:44:46 Removing intermediate container bba702dc0c31 22:44:46 ---> 6fc6d8ac7b22 22:44:46 Step 5/13 : ARG ALPINE_PKG_EXTRA="" 22:44:46 ---> Running in db349487c296 22:44:46 Removing intermediate container db349487c296 22:44:46 ---> 2f1c51896a1c 22:44:46 Step 6/13 : LABEL Name=edgex-device-onvif-camera 22:44:46 ---> Running in cf382e811061 22:44:47 Removing intermediate container cf382e811061 22:44:47 ---> 7b83f355ba9a 22:44:47 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:47 ---> Running in b82187364b91 22:44:49 Removing intermediate container b82187364b91 22:44:49 ---> b0693902e690 22:44:49 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:44:49 ---> Running in bb1982bf54db 22:44:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:44:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:44:51 OK: 220 MiB in 52 packages 22:44:52 Removing intermediate container bb1982bf54db 22:44:52 ---> 640b5931ccf2 22:44:52 Step 9/13 : WORKDIR /device-onvif-camera 22:44:52 ---> Running in 3637545d30d5 22:44:52 Removing intermediate container 3637545d30d5 22:44:52 ---> 0b2beacbc4c1 22:44:52 Step 10/13 : COPY go.mod vendor* ./ 22:44:53 ---> b4dd47a2566d 22:44:53 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:53 ---> Running in ee92b25d928d 22:45:40 Removing intermediate container ee92b25d928d 22:45:40 ---> fbd67d523c92 22:45:40 Step 12/13 : COPY . . 22:45:41 ---> 57211d94c99c 22:45:41 Step 13/13 : RUN ${MAKE} 22:45:41 ---> Running in eae8aef7a2ea 22:45:42 noop 22:45:43 Removing intermediate container eae8aef7a2ea 22:45:43 ---> 8b3a8a82cd22 22:45:43 Successfully built 8b3a8a82cd22 22:45:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:43 + docker inspect -f . ci-base-image-arm64 22:45:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:44 prd-ubuntu20.04-docker-arm64-4c-16g-1695 does not seem to be running inside a container 22:45:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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 ******** ci-base-image-arm64 cat 22:45:45 $ docker top d8c7ef1552f95766190aff20ec0c85f7d0fc75b541c058fd32c34a3e380d8b74 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:46 + go version 22:45:46 go version go1.17.7 linux/arm64 [Pipeline] } 22:45:46 $ docker stop --time=1 d8c7ef1552f95766190aff20ec0c85f7d0fc75b541c058fd32c34a3e380d8b74 22:45:48 $ docker rm -f d8c7ef1552f95766190aff20ec0c85f7d0fc75b541c058fd32c34a3e380d8b74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:48 + docker inspect -f . ci-base-image-arm64 22:45:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:48 prd-ubuntu20.04-docker-arm64-4c-16g-1695 does not seem to be running inside a container 22:45:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@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 ******** ci-base-image-arm64 cat 22:45:50 $ docker top 773021543aec08ba5eaf0309d2b5352cff701c27075e68a6b45ab76366bdd2db -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:45:51 + make test 22:45:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:45:53 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:47:15 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:47:15 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.075s coverage: 1.2% of statements 22:47:41 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.847s coverage: 13.8% of statements 22:47:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:47:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:48:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:48:04 ./internal/driver/driver.go 22:48:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:48:04 make: *** [Makefile:57: test] Error 1 [Pipeline] } 22:48:04 $ docker stop --time=1 773021543aec08ba5eaf0309d2b5352cff701c27075e68a6b45ab76366bdd2db 22:48:06 $ docker rm -f 773021543aec08ba5eaf0309d2b5352cff701c27075e68a6b45ab76366bdd2db [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 22:48:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:48:07 22:48:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:48:08 arm64: Pulling from edgex-lftools-log-publisher 22:48:08 8998bd30e6a1: Pulling fs layer 22:48:08 04944245beec: Pulling fs layer 22:48:08 699f458cf7ca: Pulling fs layer 22:48:08 765212b225bb: Pulling fs layer 22:48:08 f23df028b6ca: Pulling fs layer 22:48:08 d65c8cfc05b1: Pulling fs layer 22:48:08 2437ff75d9bd: Pulling fs layer 22:48:08 f23df028b6ca: Waiting 22:48:08 d65c8cfc05b1: Waiting 22:48:08 2437ff75d9bd: Waiting 22:48:08 765212b225bb: Waiting 22:48:08 04944245beec: Verifying Checksum 22:48:08 04944245beec: Download complete 22:48:08 765212b225bb: Verifying Checksum 22:48:08 765212b225bb: Download complete 22:48:08 f23df028b6ca: Verifying Checksum 22:48:08 f23df028b6ca: Download complete 22:48:08 d65c8cfc05b1: Verifying Checksum 22:48:08 d65c8cfc05b1: Download complete 22:48:08 699f458cf7ca: Verifying Checksum 22:48:08 699f458cf7ca: Download complete 22:48:08 8998bd30e6a1: Verifying Checksum 22:48:08 8998bd30e6a1: Download complete 22:48:10 2437ff75d9bd: Verifying Checksum 22:48:10 2437ff75d9bd: Download complete 22:48:13 8998bd30e6a1: Pull complete 22:48:14 04944245beec: Pull complete 22:48:16 699f458cf7ca: Pull complete 22:48:16 765212b225bb: Pull complete 22:48:16 f23df028b6ca: Pull complete 22:48:16 d65c8cfc05b1: Pull complete 22:48:32 2437ff75d9bd: Pull complete 22:48:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:48:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:48:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:32 prd-ubuntu20.04-docker-arm64-4c-16g-1695 does not seem to be running inside a container 22:48:32 $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:48:34 $ docker top f7fe3e802b70d5ddbcab63f48ea7e393334edf94c8187da4074e21d51e37049a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:35 ---> job-cost.sh 22:48:35 lf-activate-venv: SKIPPING 22:48:35 INFO: No Stack... 22:48:35 INFO: Retrieving Pricing Info for: v3-standard-4 22:48:36 INFO: Archiving Costs [Pipeline] sh 22:48:37 + + cat /w/workspace/device-onvif-camera/7/archives/cost.csvcut 22:48:37 -d, -f6 [Pipeline] lock 22:48:37 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] 22:48:37 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] did not exist. Created. 22:48:37 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:48:37 /w/workspace/device-onvif-camera/7@tmp/durable-f9b034ce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:48:38 + echo total: 0.10999999940395355 [Pipeline] stash 22:48:38 Warning: overwriting stash ‘stack-cost’ 22:48:38 Stashed 1 file(s) [Pipeline] } 22:48:38 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] [Pipeline] // lock [Pipeline] } 22:48:38 $ docker stop --time=1 f7fe3e802b70d5ddbcab63f48ea7e393334edf94c8187da4074e21d51e37049a 22:48:40 $ docker rm -f f7fe3e802b70d5ddbcab63f48ea7e393334edf94c8187da4074e21d51e37049a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:48:40 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 22:48:41 + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] 22:48:41 + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives 22:48:41 total 16 22:48:41 drwxr-xr-x 3 root root 4096 Jun 7 22:43 . 22:48:41 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 22:43 .. 22:48:41 drwxr-xr-x 2 root root 4096 Jun 7 22:43 cost 22:48:41 -rw-r--r-- 1 root root 89 Jun 7 22:43 cost.csv 22:48:41 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives 22:48:41 + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives 22:48:41 total 16 22:48:41 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 22:43 . 22:48:41 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 22:43 .. 22:48:41 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 22:43 cost 22:48:41 -rw-r--r-- 1 jenkins jenkins 89 Jun 7 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:48:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:48:42 ---> package-listing.sh 22:48:42 ++ facter osfamily 22:48:42 ++ tr '[:upper:]' '[:lower:]' 22:48:42 + OS_FAMILY=debian 22:48:42 + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 22:48:42 + START_PACKAGES=/tmp/packages_start.txt 22:48:42 + END_PACKAGES=/tmp/packages_end.txt 22:48:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:48:42 + PACKAGES=/tmp/packages_start.txt 22:48:42 + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' 22:48:42 + PACKAGES=/tmp/packages_end.txt 22:48:42 + case "${OS_FAMILY}" in 22:48:42 + dpkg -l 22:48:42 + grep '^ii' 22:48:42 + '[' -f /tmp/packages_start.txt ']' 22:48:42 + '[' -f /tmp/packages_end.txt ']' 22:48:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:48:42 + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' 22:48:42 + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ 22:48:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [Pipeline] echo 22:48:43 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-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:48:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:48:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:44 prd-ubuntu20.04-docker-8c-8g-1694 does not seem to be running inside a container 22:48:44 $ 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-81/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-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:48:44 $ docker top 9df29aeaf870bf55b6c345fe51ae69ebe2cef760e9ae2c5b0f80fb14622bd69a -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:44 + touch /tmp/pre-build-complete [Pipeline] sh 22:48:45 + mkdir -p /var/log/sysstat [Pipeline] sh 22:48:45 + ls /var/log/sa-host 22:48:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:48:45 provisioning config files... 22:48:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config7795657059399177638tmp [Pipeline] { [Pipeline] echo 22:48:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:48:46 ---> create-netrc.sh [Pipeline] } 22:48:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:48:46 ---> python-tools-install.sh [Pipeline] echo 22:48:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:48:47 ---> sudo-logs.sh 22:48:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:48:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:48:47 ---> job-cost.sh 22:48:47 lf-activate-venv: SKIPPING 22:48:47 DEBUG: total: 0.2199999988079071 22:48:47 INFO: Retrieving Stack Cost... 22:48:47 INFO: Retrieving Pricing Info for: v3-standard-8 22:48:48 INFO: Archiving Costs [Pipeline] echo 22:48:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:48:48 ---> logs-deploy.sh 22:48:48 lf-activate-venv: SKIPPING 22:48:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/7 22:48:48 INFO: archiving workspace using pattern(s): 22:48:49 Archives upload complete. 22:48:49 INFO: archiving logs to Nexus