Pull request #276 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b6266381633cf05817f88d0271b1e95973e672df+a0fd57abbf79406ca3a821838202456f9ee8499c (1080c77bde6b7bf2137479e07698bbc87f3aee04) 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-ssh12961903543878238187.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh15707644524014805404.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9113693791696369629.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3091620741517165898.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16543612421829945201.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-276/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-276/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1470500232269502458.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4335 in /w/workspace/undry_device-onvif-camera_PR-276 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-276 # 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/276/head:refs/remotes/origin/PR-276 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a0fd57abbf79406ca3a821838202456f9ee8499c into PR head commit b6266381633cf05817f88d0271b1e95973e672df Merge succeeded, producing b6266381633cf05817f88d0271b1e95973e672df Checking out Revision b6266381633cf05817f88d0271b1e95973e672df (PR-276) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-17T04:03:20.282Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b6266381633cf05817f88d0271b1e95973e672df # 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 a0fd57abbf79406ca3a821838202456f9ee8499c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6266381633cf05817f88d0271b1e95973e672df # timeout=10 [Pipeline] withCredentials [2023-03-17T04:03:20.483Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T04:03:20.578Z] ========================================================= [2023-03-17T04:03:20.578Z] EdgeX Global Pipelines Version Info [2023-03-17T04:03:20.578Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:03:21.314Z] ------------------- [2023-03-17T04:03:21.314Z] stable info: [2023-03-17T04:03:21.314Z] ------------------- [2023-03-17T04:03:21.314Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T04:03:21.314Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T04:03:21.314Z] Message: update stable to v1.0.245 [2023-03-17T04:03:21.887Z] ------------------- [2023-03-17T04:03:21.887Z] experimental info: [2023-03-17T04:03:21.887Z] ------------------- [2023-03-17T04:03:21.887Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T04:03:21.887Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T04:03:21.887Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T04:03:22.174Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-17T04:03:22.215Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-17T04:03:22.263Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T04:03:22.307Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T04:03:22.351Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T04:03:22.390Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T04:03:22.427Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T04:03:22.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-17T04:03:22.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T04:03:22.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T04:03:22.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T04:03:22.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-17T04:03:22.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T04:03:22.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T04:03:22.747Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T04:03:22.789Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T04:03:22.832Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T04:03:22.877Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T04:03:22.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T04:03:22.962Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T04:03:23.005Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-17T04:03:23.043Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-17T04:03:23.082Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T04:03:23.123Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T04:03:23.165Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T04:03:23.210Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T04:03:23.255Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T04:03:23.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-276 [Pipeline] echo [2023-03-17T04:03:23.337Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-276 [Pipeline] echo [2023-03-17T04:03:23.382Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-276 [Pipeline] echo [2023-03-17T04:03:23.425Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6266381633cf05817f88d0271b1e95973e672df [Pipeline] echo [2023-03-17T04:03:23.467Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b626638 [Pipeline] echo [2023-03-17T04:03:23.510Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T04:03:23.624Z] provisioning config files... [2023-03-17T04:03:23.646Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-276@tmp/config17395135207789163938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:03:23.978Z] ---> docker-login.sh [2023-03-17T04:03:23.978Z] nexus3.edgexfoundry.org:10001 [2023-03-17T04:03:24.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:03:24.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:03:24.238Z] Configure a credential helper to remove this warning. See [2023-03-17T04:03:24.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:03:24.238Z] [2023-03-17T04:03:24.238Z] Login Succeeded [2023-03-17T04:03:24.238Z] nexus3.edgexfoundry.org:10002 [2023-03-17T04:03:24.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:03:24.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:03:24.238Z] Configure a credential helper to remove this warning. See [2023-03-17T04:03:24.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:03:24.238Z] [2023-03-17T04:03:24.238Z] Login Succeeded [2023-03-17T04:03:24.238Z] nexus3.edgexfoundry.org:10003 [2023-03-17T04:03:24.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:03:24.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:03:24.498Z] Configure a credential helper to remove this warning. See [2023-03-17T04:03:24.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:03:24.498Z] [2023-03-17T04:03:24.498Z] Login Succeeded [2023-03-17T04:03:24.498Z] nexus3.edgexfoundry.org:10004 [2023-03-17T04:03:24.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:03:24.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:03:24.498Z] Configure a credential helper to remove this warning. See [2023-03-17T04:03:24.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:03:24.498Z] [2023-03-17T04:03:24.498Z] Login Succeeded [2023-03-17T04:03:24.498Z] docker.io [2023-03-17T04:03:24.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:03:25.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:03:25.016Z] Configure a credential helper to remove this warning. See [2023-03-17T04:03:25.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:03:25.016Z] [2023-03-17T04:03:25.016Z] Login Succeeded [2023-03-17T04:03:25.016Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T04:03:25.042Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T04:03:25.642Z] + git rev-list -1 --merges b6266381633cf05817f88d0271b1e95973e672df~1..b6266381633cf05817f88d0271b1e95973e672df [Pipeline] echo [2023-03-17T04:03:25.700Z] -----------> git rev-list -1 --merges b6266381633cf05817f88d0271b1e95973e672df~1..b6266381633cf05817f88d0271b1e95973e672df b6266381633cf05817f88d0271b1e95973e672df [false] [Pipeline] sh [2023-03-17T04:03:26.008Z] + git log --format=format:%s -1 b6266381633cf05817f88d0271b1e95973e672df [Pipeline] echo [2023-03-17T04:03:26.041Z] ========================================================= [2023-03-17T04:03:26.042Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T04:03:26.042Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T04:03:26.472Z] + git log --format=format:%s -1 b6266381633cf05817f88d0271b1e95973e672df [Pipeline] echo [2023-03-17T04:03:26.502Z] [semverPrep] GIT_COMMIT: b6266381633cf05817f88d0271b1e95973e672df, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-17T04:03:26.528Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T04:03:26.903Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T04:03:26.903Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T04:03:26.903Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T04:03:26.903Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T04:03:26.903Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-17T04:03:26.903Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T04:03:26.903Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:03:27.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T04:03:27.321Z] [2023-03-17T04:03:27.321Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:03:27.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T04:03:27.691Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T04:03:27.691Z] b85a868b505f: Pulling fs layer [2023-03-17T04:03:27.691Z] e2be974225ed: Pulling fs layer [2023-03-17T04:03:27.691Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T04:03:27.691Z] 988bab9f4d93: Pulling fs layer [2023-03-17T04:03:27.691Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T04:03:27.691Z] eaf3925da568: Pulling fs layer [2023-03-17T04:03:27.691Z] bab4dde63d76: Pulling fs layer [2023-03-17T04:03:27.691Z] bde34c3a00c8: Pulling fs layer [2023-03-17T04:03:27.691Z] b352a97aabf1: Pulling fs layer [2023-03-17T04:03:27.691Z] 4872d77fe225: Pulling fs layer [2023-03-17T04:03:27.691Z] 5851b861e8e6: Pulling fs layer [2023-03-17T04:03:27.691Z] 1469e6f7b9e6: Waiting [2023-03-17T04:03:27.691Z] b352a97aabf1: Waiting [2023-03-17T04:03:27.691Z] eaf3925da568: Waiting [2023-03-17T04:03:27.691Z] 988bab9f4d93: Waiting [2023-03-17T04:03:27.691Z] 4872d77fe225: Waiting [2023-03-17T04:03:27.691Z] bde34c3a00c8: Waiting [2023-03-17T04:03:27.691Z] 5851b861e8e6: Waiting [2023-03-17T04:03:27.691Z] e2be974225ed: Download complete [2023-03-17T04:03:27.691Z] 988bab9f4d93: Verifying Checksum [2023-03-17T04:03:27.691Z] 988bab9f4d93: Download complete [2023-03-17T04:03:27.952Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T04:03:27.952Z] 1469e6f7b9e6: Download complete [2023-03-17T04:03:27.952Z] eaf3925da568: Verifying Checksum [2023-03-17T04:03:27.952Z] eaf3925da568: Download complete [2023-03-17T04:03:27.952Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T04:03:27.952Z] 339a4e72a1f5: Download complete [2023-03-17T04:03:27.952Z] bde34c3a00c8: Verifying Checksum [2023-03-17T04:03:27.952Z] bde34c3a00c8: Download complete [2023-03-17T04:03:27.952Z] b352a97aabf1: Download complete [2023-03-17T04:03:27.952Z] 4872d77fe225: Verifying Checksum [2023-03-17T04:03:27.952Z] 4872d77fe225: Download complete [2023-03-17T04:03:27.952Z] 5851b861e8e6: Verifying Checksum [2023-03-17T04:03:27.952Z] 5851b861e8e6: Download complete [2023-03-17T04:03:27.952Z] b85a868b505f: Verifying Checksum [2023-03-17T04:03:27.952Z] b85a868b505f: Download complete [2023-03-17T04:03:28.211Z] bab4dde63d76: Verifying Checksum [2023-03-17T04:03:28.211Z] bab4dde63d76: Download complete [2023-03-17T04:03:29.602Z] b85a868b505f: Pull complete [2023-03-17T04:03:29.602Z] e2be974225ed: Pull complete [2023-03-17T04:03:30.173Z] 339a4e72a1f5: Pull complete [2023-03-17T04:03:30.173Z] 988bab9f4d93: Pull complete [2023-03-17T04:03:30.433Z] 1469e6f7b9e6: Pull complete [2023-03-17T04:03:30.433Z] eaf3925da568: Pull complete [2023-03-17T04:03:32.337Z] bab4dde63d76: Pull complete [2023-03-17T04:03:32.337Z] bde34c3a00c8: Pull complete [2023-03-17T04:03:32.597Z] b352a97aabf1: Pull complete [2023-03-17T04:03:32.598Z] 4872d77fe225: Pull complete [2023-03-17T04:03:32.856Z] 5851b861e8e6: Pull complete [2023-03-17T04:03:32.856Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T04:03:32.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T04:03:32.856Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:03:33.083Z] prd-ubuntu20.04-docker-8c-8g-4335 does not seem to be running inside a container [2023-03-17T04:03:33.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-276 -v /w/workspace/undry_device-onvif-camera_PR-276:/w/workspace/undry_device-onvif-camera_PR-276:rw,z -v /w/workspace/undry_device-onvif-camera_PR-276@tmp:/w/workspace/undry_device-onvif-camera_PR-276@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-17T04:03:34.624Z] $ docker top 31f409b99bab75b4865aac5ec974ecacccf0dc4844206eae82e97d4d7a98fa2f -eo pid,comm [2023-03-17T04:03:34.690Z] 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). [2023-03-17T04:03:34.690Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T04:03:34.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T04:03:34.815Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T04:03:34.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T04:03:34.934Z] $ docker exec 31f409b99bab75b4865aac5ec974ecacccf0dc4844206eae82e97d4d7a98fa2f ssh-agent [2023-03-17T04:03:35.047Z] SSH_AUTH_SOCK=/tmp/ssh-lMlZX91SPsSB/agent.33 [2023-03-17T04:03:35.047Z] SSH_AGENT_PID=39 [2023-03-17T04:03:35.055Z] Running ssh-add (command line suppressed) [2023-03-17T04:03:35.154Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-276@tmp/private_key_6151701159505415085.key (/w/workspace/undry_device-onvif-camera_PR-276@tmp/private_key_6151701159505415085.key) [2023-03-17T04:03:35.171Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T04:03:35.499Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T04:03:35.521Z] $ docker exec --env ******** --env ******** 31f409b99bab75b4865aac5ec974ecacccf0dc4844206eae82e97d4d7a98fa2f ssh-agent -k [2023-03-17T04:03:35.634Z] unset SSH_AUTH_SOCK; [2023-03-17T04:03:35.634Z] unset SSH_AGENT_PID; [2023-03-17T04:03:35.634Z] echo Agent pid 39 killed; [2023-03-17T04:03:35.647Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T04:03:35.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T04:03:35.738Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T04:03:35.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T04:03:35.854Z] $ docker exec 31f409b99bab75b4865aac5ec974ecacccf0dc4844206eae82e97d4d7a98fa2f ssh-agent [2023-03-17T04:03:35.978Z] SSH_AUTH_SOCK=/tmp/ssh-ppNxKkGOtr3z/agent.71 [2023-03-17T04:03:35.978Z] SSH_AGENT_PID=77 [2023-03-17T04:03:35.983Z] Running ssh-add (command line suppressed) [2023-03-17T04:03:36.086Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-276@tmp/private_key_9176097838487910908.key (/w/workspace/undry_device-onvif-camera_PR-276@tmp/private_key_9176097838487910908.key) [2023-03-17T04:03:36.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T04:03:36.438Z] + git semver init [2023-03-17T04:03:36.697Z] 2023-03-17 04:03:36,634 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T04:03:36.697Z] 2023-03-17 04:03:36,635 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-276/.semver [2023-03-17T04:03:36.697Z] 2023-03-17 04:03:36,636 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-276/.semver [2023-03-17T04:03:36.697Z] 2023-03-17 04:03:36,636 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-276/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-276, universal_newlines=False, shell=None, istream=None) [2023-03-17T04:03:37.636Z] 2023-03-17 04:03:37,522 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-276/.git/info/exclude [2023-03-17T04:03:37.636Z] 2023-03-17 04:03:37,523 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-276/.semver/PR-276 with force:False [2023-03-17T04:03:37.636Z] 2023-03-17 04:03:37,523 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-276/.semver/PR-276 [2023-03-17T04:03:37.636Z] 2023-03-17 04:03:37,528 [execute] INFO git cat-file --batch-check [2023-03-17T04:03:37.636Z] 2023-03-17 04:03:37,529 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-276/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T04:03:37.636Z] 2023-03-17 04:03:37,535 [execute] INFO git cat-file --batch [2023-03-17T04:03:37.636Z] 2023-03-17 04:03:37,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-276/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T04:03:37.636Z] 2023-03-17 04:03:37,543 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-276/.semver/PR-276 [2023-03-17T04:03:37.636Z] 0.0.0 [Pipeline] } [2023-03-17T04:03:37.661Z] $ docker exec --env ******** --env ******** 31f409b99bab75b4865aac5ec974ecacccf0dc4844206eae82e97d4d7a98fa2f ssh-agent -k [2023-03-17T04:03:37.767Z] unset SSH_AUTH_SOCK; [2023-03-17T04:03:37.768Z] unset SSH_AGENT_PID; [2023-03-17T04:03:37.768Z] echo Agent pid 77 killed; [2023-03-17T04:03:37.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T04:03:38.203Z] + git semver [Pipeline] } [2023-03-17T04:03:38.483Z] $ docker stop --time=1 31f409b99bab75b4865aac5ec974ecacccf0dc4844206eae82e97d4d7a98fa2f [2023-03-17T04:03:39.804Z] $ docker rm -f --volumes 31f409b99bab75b4865aac5ec974ecacccf0dc4844206eae82e97d4d7a98fa2f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T04:03:40.208Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T04:03:40.477Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T04:03:40.499Z] [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 [2023-03-17T04:03:41.055Z] provisioning config files... [2023-03-17T04:03:41.063Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-276@tmp/config16965080176342807608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:03:41.404Z] ---> docker-login.sh [2023-03-17T04:03:41.404Z] nexus3.edgexfoundry.org:10001 [2023-03-17T04:03:41.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:03:41.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:03:41.404Z] Configure a credential helper to remove this warning. See [2023-03-17T04:03:41.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:03:41.404Z] [2023-03-17T04:03:41.404Z] Login Succeeded [2023-03-17T04:03:41.404Z] nexus3.edgexfoundry.org:10002 [2023-03-17T04:03:41.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:03:41.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:03:41.404Z] Configure a credential helper to remove this warning. See [2023-03-17T04:03:41.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:03:41.404Z] [2023-03-17T04:03:41.404Z] Login Succeeded [2023-03-17T04:03:41.404Z] nexus3.edgexfoundry.org:10003 [2023-03-17T04:03:41.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:03:41.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:03:41.666Z] Configure a credential helper to remove this warning. See [2023-03-17T04:03:41.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:03:41.666Z] [2023-03-17T04:03:41.666Z] Login Succeeded [2023-03-17T04:03:41.666Z] nexus3.edgexfoundry.org:10004 [2023-03-17T04:03:41.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:03:41.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:03:41.666Z] Configure a credential helper to remove this warning. See [2023-03-17T04:03:41.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:03:41.666Z] [2023-03-17T04:03:41.666Z] Login Succeeded [2023-03-17T04:03:41.666Z] docker.io [2023-03-17T04:03:41.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:03:41.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:03:41.926Z] Configure a credential helper to remove this warning. See [2023-03-17T04:03:41.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:03:41.926Z] [2023-03-17T04:03:41.926Z] Login Succeeded [2023-03-17T04:03:41.926Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T04:03:41.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T04:03:42.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T04:03:42.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T04:03:42.215Z] ========================================================= [2023-03-17T04:03:42.215Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T04:03:42.215Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:03:42.682Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T04:03:42.682Z] Sending build context to Docker daemon 27.9MB [2023-03-17T04:03:42.682Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T04:03:42.682Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T04:03:42.943Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T04:03:42.943Z] 63b65145d645: Pulling fs layer [2023-03-17T04:03:42.943Z] a2d21d5440eb: Pulling fs layer [2023-03-17T04:03:42.943Z] 935e6c44a52c: Pulling fs layer [2023-03-17T04:03:42.943Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T04:03:42.943Z] 30dea6a524f1: Pulling fs layer [2023-03-17T04:03:42.943Z] a2aff8979fd8: Pulling fs layer [2023-03-17T04:03:42.943Z] 6808be2612f2: Pulling fs layer [2023-03-17T04:03:42.943Z] f25807f1079a: Pulling fs layer [2023-03-17T04:03:42.943Z] 30dea6a524f1: Waiting [2023-03-17T04:03:42.943Z] a2aff8979fd8: Waiting [2023-03-17T04:03:42.943Z] f25807f1079a: Waiting [2023-03-17T04:03:42.943Z] 94cc34f8dd06: Waiting [2023-03-17T04:03:42.943Z] a2d21d5440eb: Verifying Checksum [2023-03-17T04:03:42.943Z] a2d21d5440eb: Download complete [2023-03-17T04:03:42.943Z] 94cc34f8dd06: Verifying Checksum [2023-03-17T04:03:42.943Z] 94cc34f8dd06: Download complete [2023-03-17T04:03:42.943Z] 30dea6a524f1: Verifying Checksum [2023-03-17T04:03:42.943Z] 30dea6a524f1: Download complete [2023-03-17T04:03:42.943Z] 63b65145d645: Verifying Checksum [2023-03-17T04:03:42.943Z] 63b65145d645: Download complete [2023-03-17T04:03:42.943Z] a2aff8979fd8: Verifying Checksum [2023-03-17T04:03:42.943Z] a2aff8979fd8: Download complete [2023-03-17T04:03:43.206Z] 63b65145d645: Pull complete [2023-03-17T04:03:43.206Z] a2d21d5440eb: Pull complete [2023-03-17T04:03:43.468Z] f25807f1079a: Verifying Checksum [2023-03-17T04:03:43.468Z] f25807f1079a: Download complete [2023-03-17T04:03:43.727Z] 935e6c44a52c: Verifying Checksum [2023-03-17T04:03:43.727Z] 935e6c44a52c: Download complete [2023-03-17T04:03:43.727Z] 6808be2612f2: Verifying Checksum [2023-03-17T04:03:43.727Z] 6808be2612f2: Download complete [2023-03-17T04:03:47.909Z] 935e6c44a52c: Pull complete [2023-03-17T04:03:47.909Z] 94cc34f8dd06: Pull complete [2023-03-17T04:03:47.909Z] 30dea6a524f1: Pull complete [2023-03-17T04:03:47.909Z] a2aff8979fd8: Pull complete [2023-03-17T04:03:50.440Z] 6808be2612f2: Pull complete [2023-03-17T04:03:51.009Z] f25807f1079a: Pull complete [2023-03-17T04:03:51.270Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T04:03:51.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T04:03:51.270Z] ---> 3b553350e43f [2023-03-17T04:03:51.270Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T04:03:53.181Z] ---> Running in 1ac45028a144 [2023-03-17T04:03:53.181Z] Removing intermediate container 1ac45028a144 [2023-03-17T04:03:53.181Z] ---> b9193cc0502f [2023-03-17T04:03:53.181Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T04:03:53.181Z] ---> Running in 79c673bc5bb9 [2023-03-17T04:03:53.181Z] Removing intermediate container 79c673bc5bb9 [2023-03-17T04:03:53.181Z] ---> aa34d05bad54 [2023-03-17T04:03:53.181Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T04:03:53.181Z] ---> Running in 94ee2dd4eefe [2023-03-17T04:03:53.440Z] Removing intermediate container 94ee2dd4eefe [2023-03-17T04:03:53.440Z] ---> 1db94880399f [2023-03-17T04:03:53.440Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T04:03:53.440Z] ---> Running in 19562ca7d726 [2023-03-17T04:03:53.440Z] Removing intermediate container 19562ca7d726 [2023-03-17T04:03:53.440Z] ---> 99dd4602bccb [2023-03-17T04:03:53.440Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-17T04:03:53.440Z] ---> Running in 6b8d961219b1 [2023-03-17T04:03:53.700Z] Removing intermediate container 6b8d961219b1 [2023-03-17T04:03:53.700Z] ---> 3fbd0d8872e1 [2023-03-17T04:03:53.700Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T04:03:53.700Z] ---> Running in fecb5124842b [2023-03-17T04:03:53.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T04:03:54.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T04:03:54.479Z] OK: 265 MiB in 53 packages [2023-03-17T04:03:54.738Z] Removing intermediate container fecb5124842b [2023-03-17T04:03:54.738Z] ---> 19df161a2866 [2023-03-17T04:03:54.738Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-17T04:03:54.738Z] ---> Running in bb409ad650ef [2023-03-17T04:03:54.998Z] Removing intermediate container bb409ad650ef [2023-03-17T04:03:54.999Z] ---> c1454c531d44 [2023-03-17T04:03:54.999Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-17T04:03:54.999Z] ---> 120d12f44250 [2023-03-17T04:03:54.999Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T04:03:55.259Z] ---> Running in 427c07c997a7 [2023-03-17T04:03:55.885Z] Still waiting to schedule task [2023-03-17T04:03:55.885Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4336’ is offline [2023-03-17T04:04:17.270Z] Removing intermediate container 427c07c997a7 [2023-03-17T04:04:17.270Z] ---> edfa6c584ad6 [2023-03-17T04:04:17.270Z] Step 12/13 : COPY . . [2023-03-17T04:04:17.839Z] ---> bd68bb89c827 [2023-03-17T04:04:17.839Z] Step 13/13 : RUN ${MAKE} [2023-03-17T04:04:17.839Z] ---> Running in 88cc63f9e989 [2023-03-17T04:04:18.107Z] noop [2023-03-17T04:04:18.365Z] Removing intermediate container 88cc63f9e989 [2023-03-17T04:04:18.365Z] ---> ccebc9b361e4 [2023-03-17T04:04:18.365Z] Successfully built ccebc9b361e4 [2023-03-17T04:04:18.365Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:04:18.814Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T04:04:18.814Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:04:18.961Z] prd-ubuntu20.04-docker-8c-8g-4335 does not seem to be running inside a container [2023-03-17T04:04:18.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-276 -v /w/workspace/undry_device-onvif-camera_PR-276:/w/workspace/undry_device-onvif-camera_PR-276:rw,z -v /w/workspace/undry_device-onvif-camera_PR-276@tmp:/w/workspace/undry_device-onvif-camera_PR-276@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 ******** ci-base-image-x86_64 cat [2023-03-17T04:04:19.431Z] $ docker top cb7455d3e34f73bdc47b390d888aad561d201a7982b1b9a5db433c07ef42d898 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T04:04:19.810Z] + go version [2023-03-17T04:04:19.810Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T04:04:19.848Z] $ docker stop --time=1 cb7455d3e34f73bdc47b390d888aad561d201a7982b1b9a5db433c07ef42d898 [2023-03-17T04:04:21.137Z] $ docker rm -f --volumes cb7455d3e34f73bdc47b390d888aad561d201a7982b1b9a5db433c07ef42d898 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:04:21.837Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T04:04:21.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:04:21.981Z] prd-ubuntu20.04-docker-8c-8g-4335 does not seem to be running inside a container [2023-03-17T04:04:22.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-276 -v /w/workspace/undry_device-onvif-camera_PR-276:/w/workspace/undry_device-onvif-camera_PR-276:rw,z -v /w/workspace/undry_device-onvif-camera_PR-276@tmp:/w/workspace/undry_device-onvif-camera_PR-276@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 ******** ci-base-image-x86_64 cat [2023-03-17T04:04:22.382Z] $ docker top 58180fdc22becc810bae47f40b73ece98535ec23d68d2879517c9a99b5a64f09 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T04:04:22.762Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-276 [Pipeline] fileExists [Pipeline] sh [2023-03-17T04:04:23.115Z] + make test [2023-03-17T04:04:23.115Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T04:04:28.377Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-17T04:04:40.574Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-17T04:04:40.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-17T04:04:40.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-17T04:04:40.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-17T04:04:40.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-17T04:04:40.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-17T04:04:40.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-17T04:04:40.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-17T04:04:40.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-17T04:04:40.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-17T04:04:40.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-17T04:04:40.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors [2023-03-17T04:04:40.574Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-17T04:04:40.574Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-17T04:04:41.510Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.479s coverage: 86.5% of statements [2023-03-17T04:04:41.510Z] FAIL [2023-03-17T04:04:41.510Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-17T04:04:41.560Z] $ docker stop --time=1 58180fdc22becc810bae47f40b73ece98535ec23d68d2879517c9a99b5a64f09 [2023-03-17T04:04:44.118Z] $ docker rm -f --volumes 58180fdc22becc810bae47f40b73ece98535ec23d68d2879517c9a99b5a64f09 [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 [2023-03-17T04:04:45.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T04:04:45.294Z] [2023-03-17T04:04:45.294Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:04:45.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T04:04:45.670Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T04:04:45.670Z] 5eb5b503b376: Pulling fs layer [2023-03-17T04:04:45.670Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T04:04:45.670Z] ec43610c2a17: Pulling fs layer [2023-03-17T04:04:45.670Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T04:04:45.670Z] 33b1e0a273af: Pulling fs layer [2023-03-17T04:04:45.670Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T04:04:45.670Z] 2f39f015ded8: Pulling fs layer [2023-03-17T04:04:45.670Z] 3a2ae6a8a46f: Waiting [2023-03-17T04:04:45.670Z] 33b1e0a273af: Waiting [2023-03-17T04:04:45.670Z] 5d3b04190fa2: Waiting [2023-03-17T04:04:45.670Z] 2f39f015ded8: Waiting [2023-03-17T04:04:45.670Z] 5c69ac0246d0: Verifying Checksum [2023-03-17T04:04:45.670Z] 5c69ac0246d0: Download complete [2023-03-17T04:04:45.670Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-17T04:04:45.670Z] 3a2ae6a8a46f: Download complete [2023-03-17T04:04:45.930Z] 33b1e0a273af: Verifying Checksum [2023-03-17T04:04:45.930Z] 33b1e0a273af: Download complete [2023-03-17T04:04:45.930Z] 5d3b04190fa2: Verifying Checksum [2023-03-17T04:04:45.930Z] 5d3b04190fa2: Download complete [2023-03-17T04:04:45.930Z] ec43610c2a17: Download complete [2023-03-17T04:04:46.188Z] 5eb5b503b376: Download complete [2023-03-17T04:04:46.755Z] 2f39f015ded8: Download complete [2023-03-17T04:04:47.322Z] 5eb5b503b376: Pull complete [2023-03-17T04:04:47.581Z] 5c69ac0246d0: Pull complete [2023-03-17T04:04:48.148Z] ec43610c2a17: Pull complete [2023-03-17T04:04:48.148Z] 3a2ae6a8a46f: Pull complete [2023-03-17T04:04:48.407Z] 33b1e0a273af: Pull complete [2023-03-17T04:04:48.407Z] 5d3b04190fa2: Pull complete [2023-03-17T04:04:53.672Z] 2f39f015ded8: Pull complete [2023-03-17T04:04:53.672Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T04:04:53.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T04:04:53.672Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:04:53.881Z] prd-ubuntu20.04-docker-8c-8g-4335 does not seem to be running inside a container [2023-03-17T04:04:53.917Z] $ 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/undry_device-onvif-camera_PR-276 -v /w/workspace/undry_device-onvif-camera_PR-276:/w/workspace/undry_device-onvif-camera_PR-276:rw,z -v /w/workspace/undry_device-onvif-camera_PR-276@tmp:/w/workspace/undry_device-onvif-camera_PR-276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T04:04:56.176Z] $ docker top df19380f9629b4fa67f349cbd5d538be87564387b5eb20d2c6b0f2713adf35d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:04:56.634Z] ---> job-cost.sh [2023-03-17T04:04:56.634Z] lf-activate-venv: SKIPPING [2023-03-17T04:04:56.634Z] INFO: No Stack... [2023-03-17T04:04:56.892Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T04:04:57.153Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T04:04:57.469Z] + cat /w/workspace/undry_device-onvif-camera_PR-276/archives/cost.csv [2023-03-17T04:04:57.469Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T04:04:57.505Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-276-1-stack-cost] [2023-03-17T04:04:57.509Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-276-1-stack-cost] did not exist. Created. [2023-03-17T04:04:57.510Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-276-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T04:04:57.896Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T04:04:57.954Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T04:04:57.970Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-276-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T04:04:58.045Z] $ docker stop --time=1 df19380f9629b4fa67f349cbd5d538be87564387b5eb20d2c6b0f2713adf35d5 [2023-03-17T04:04:59.235Z] $ docker rm -f --volumes df19380f9629b4fa67f349cbd5d538be87564387b5eb20d2c6b0f2713adf35d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T04:04:59.595Z] Failed in branch amd64 [2023-03-17T04:06:16.093Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4338 in /w/workspace/undry_device-onvif-camera_PR-276 [Pipeline] { [Pipeline] ws [2023-03-17T04:06:16.151Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-17T04:06:16.225Z] The recommended git tool is: git [2023-03-17T04:06:21.839Z] using credential edgex-jenkins-ssh [2023-03-17T04:06:21.859Z] Cloning the remote Git repository [2023-03-17T04:06:21.909Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T04:06:22.009Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-17T04:06:22.182Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T04:06:22.183Z] > git --version # timeout=10 [2023-03-17T04:06:22.206Z] > git --version # 'git version 2.25.1' [2023-03-17T04:06:22.209Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T04:06:22.374Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T04:06:23.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-17T04:06:23.805Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T04:06:24.708Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-17T04:06:24.755Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T04:06:24.756Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T04:06:24.774Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/276/head:refs/remotes/origin/PR-276 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T04:06:25.299Z] Merging remotes/origin/main commit a0fd57abbf79406ca3a821838202456f9ee8499c into PR head commit b6266381633cf05817f88d0271b1e95973e672df [2023-03-17T04:06:25.844Z] Merge succeeded, producing b6266381633cf05817f88d0271b1e95973e672df [2023-03-17T04:06:25.844Z] Checking out Revision b6266381633cf05817f88d0271b1e95973e672df (PR-276) [2023-03-17T04:06:25.323Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T04:06:25.401Z] > git checkout -f b6266381633cf05817f88d0271b1e95973e672df # timeout=10 [2023-03-17T04:06:25.744Z] > git remote # timeout=10 [2023-03-17T04:06:25.766Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T04:06:25.785Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T04:06:25.799Z] > git merge a0fd57abbf79406ca3a821838202456f9ee8499c # timeout=10 [2023-03-17T04:06:25.825Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T04:06:25.851Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T04:06:25.867Z] > git checkout -f b6266381633cf05817f88d0271b1e95973e672df # timeout=10 [2023-03-17T04:06:26.720Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-03-17T04:06:26.773Z] > git --version # timeout=10 [2023-03-17T04:06:26.789Z] > git --version # 'git version 2.25.1' [2023-03-17T04:06:26.811Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T04:06:27.954Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T04:06:27.954Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T04:06:27.954Z] Dload Upload Total Spent Left Speed [2023-03-17T04:06:27.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-03-17T04:06:28.654Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T04:06:29.001Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T04:06:29.001Z] + sudo tee /etc/docker/daemon.new [2023-03-17T04:06:29.001Z] { [2023-03-17T04:06:29.001Z] "registry-mirrors": [ [2023-03-17T04:06:29.001Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T04:06:29.001Z] ], [2023-03-17T04:06:29.001Z] "bip": "10.250.0.254/24", [2023-03-17T04:06:29.001Z] "hosts": [ [2023-03-17T04:06:29.001Z] "tcp://0.0.0.0:5555", [2023-03-17T04:06:29.001Z] "unix:///var/run/docker.sock" [2023-03-17T04:06:29.001Z] ], [2023-03-17T04:06:29.001Z] "mtu": 1458, [2023-03-17T04:06:29.001Z] "selinux-enabled": true, [2023-03-17T04:06:29.001Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T04:06:29.001Z] } [Pipeline] sh [2023-03-17T04:06:29.368Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T04:06:29.726Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T04:06:48.065Z] provisioning config files... [2023-03-17T04:06:48.092Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config12382931531429262988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:06:48.480Z] ---> docker-login.sh [2023-03-17T04:06:48.481Z] nexus3.edgexfoundry.org:10001 [2023-03-17T04:06:48.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:06:49.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:06:49.022Z] Configure a credential helper to remove this warning. See [2023-03-17T04:06:49.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:06:49.022Z] [2023-03-17T04:06:49.022Z] Login Succeeded [2023-03-17T04:06:49.022Z] nexus3.edgexfoundry.org:10002 [2023-03-17T04:06:49.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:06:49.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:06:49.291Z] Configure a credential helper to remove this warning. See [2023-03-17T04:06:49.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:06:49.291Z] [2023-03-17T04:06:49.291Z] Login Succeeded [2023-03-17T04:06:49.560Z] nexus3.edgexfoundry.org:10003 [2023-03-17T04:06:49.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:06:49.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:06:49.828Z] Configure a credential helper to remove this warning. See [2023-03-17T04:06:49.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:06:49.828Z] [2023-03-17T04:06:49.828Z] Login Succeeded [2023-03-17T04:06:49.828Z] nexus3.edgexfoundry.org:10004 [2023-03-17T04:06:50.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:06:50.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:06:50.101Z] Configure a credential helper to remove this warning. See [2023-03-17T04:06:50.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:06:50.101Z] [2023-03-17T04:06:50.101Z] Login Succeeded [2023-03-17T04:06:50.101Z] docker.io [2023-03-17T04:06:50.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:06:50.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:06:50.636Z] Configure a credential helper to remove this warning. See [2023-03-17T04:06:50.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:06:50.636Z] [2023-03-17T04:06:50.636Z] Login Succeeded [2023-03-17T04:06:50.636Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T04:06:50.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T04:06:51.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T04:06:51.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T04:06:51.091Z] ========================================================= [2023-03-17T04:06:51.091Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T04:06:51.091Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:06:51.589Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T04:06:52.179Z] Sending build context to Docker daemon 20.63MB [2023-03-17T04:06:52.179Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T04:06:52.179Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T04:06:52.179Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T04:06:52.179Z] af6eaf76a39c: Pulling fs layer [2023-03-17T04:06:52.179Z] 55522c791124: Pulling fs layer [2023-03-17T04:06:52.179Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T04:06:52.179Z] 169dfbe0d373: Pulling fs layer [2023-03-17T04:06:52.179Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T04:06:52.179Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T04:06:52.179Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T04:06:52.179Z] e1ff8fa3b103: Waiting [2023-03-17T04:06:52.179Z] 52ebb69f0ebf: Waiting [2023-03-17T04:06:52.179Z] 5abe8eddf0d5: Waiting [2023-03-17T04:06:52.179Z] 169dfbe0d373: Waiting [2023-03-17T04:06:52.179Z] 55522c791124: Verifying Checksum [2023-03-17T04:06:52.179Z] 55522c791124: Download complete [2023-03-17T04:06:52.451Z] 169dfbe0d373: Verifying Checksum [2023-03-17T04:06:52.451Z] 169dfbe0d373: Download complete [2023-03-17T04:06:52.451Z] e1ff8fa3b103: Verifying Checksum [2023-03-17T04:06:52.451Z] e1ff8fa3b103: Download complete [2023-03-17T04:06:52.451Z] af6eaf76a39c: Verifying Checksum [2023-03-17T04:06:53.420Z] af6eaf76a39c: Pull complete [2023-03-17T04:06:53.420Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T04:06:53.420Z] 5abe8eddf0d5: Download complete [2023-03-17T04:06:54.010Z] 55522c791124: Pull complete [2023-03-17T04:06:54.596Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T04:06:54.596Z] ce5c4a1c91eb: Download complete [2023-03-17T04:06:54.596Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T04:06:54.596Z] 52ebb69f0ebf: Download complete [2023-03-17T04:07:04.671Z] ce5c4a1c91eb: Pull complete [2023-03-17T04:07:04.671Z] 169dfbe0d373: Pull complete [2023-03-17T04:07:04.671Z] e1ff8fa3b103: Pull complete [2023-03-17T04:07:11.326Z] 52ebb69f0ebf: Pull complete [2023-03-17T04:07:13.981Z] 5abe8eddf0d5: Pull complete [2023-03-17T04:07:13.981Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T04:07:13.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T04:07:13.981Z] ---> 6cb57ee374ae [2023-03-17T04:07:13.981Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T04:07:15.927Z] ---> Running in 219a6e6bf58b [2023-03-17T04:07:16.193Z] Removing intermediate container 219a6e6bf58b [2023-03-17T04:07:16.193Z] ---> 061c9ba289a7 [2023-03-17T04:07:16.193Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T04:07:16.193Z] ---> Running in e16aa0502d8f [2023-03-17T04:07:16.461Z] Removing intermediate container e16aa0502d8f [2023-03-17T04:07:16.461Z] ---> a72be780bc24 [2023-03-17T04:07:16.461Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T04:07:16.461Z] ---> Running in d5830b7a2114 [2023-03-17T04:07:16.728Z] Removing intermediate container d5830b7a2114 [2023-03-17T04:07:16.728Z] ---> 682dd18664aa [2023-03-17T04:07:16.728Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T04:07:16.993Z] ---> Running in e4798c61644d [2023-03-17T04:07:17.259Z] Removing intermediate container e4798c61644d [2023-03-17T04:07:17.259Z] ---> c6d5ee3e067a [2023-03-17T04:07:17.259Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-17T04:07:17.259Z] ---> Running in 6d6eeb9c93f5 [2023-03-17T04:07:17.526Z] Removing intermediate container 6d6eeb9c93f5 [2023-03-17T04:07:17.526Z] ---> 7da48e492dce [2023-03-17T04:07:17.526Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T04:07:17.526Z] ---> Running in 7595390e3518 [2023-03-17T04:07:18.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T04:07:19.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T04:07:20.025Z] OK: 263 MiB in 53 packages [2023-03-17T04:07:20.984Z] Removing intermediate container 7595390e3518 [2023-03-17T04:07:20.984Z] ---> 60cf5e4dcacf [2023-03-17T04:07:20.984Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-17T04:07:20.984Z] ---> Running in c6b6b3b01769 [2023-03-17T04:07:21.250Z] Removing intermediate container c6b6b3b01769 [2023-03-17T04:07:21.250Z] ---> 3a4aeba250b4 [2023-03-17T04:07:21.250Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-17T04:07:21.516Z] ---> 7c4abd919365 [2023-03-17T04:07:21.516Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T04:07:21.784Z] ---> Running in 8f8943e15df0 [2023-03-17T04:08:18.183Z] Removing intermediate container 8f8943e15df0 [2023-03-17T04:08:18.183Z] ---> d30390703a99 [2023-03-17T04:08:18.183Z] Step 12/13 : COPY . . [2023-03-17T04:08:19.143Z] ---> ab827f7cfa4b [2023-03-17T04:08:19.143Z] Step 13/13 : RUN ${MAKE} [2023-03-17T04:08:19.143Z] ---> Running in bb60e6e25019 [2023-03-17T04:08:20.109Z] noop [2023-03-17T04:08:20.691Z] Removing intermediate container bb60e6e25019 [2023-03-17T04:08:20.691Z] ---> 99b6062f1d03 [2023-03-17T04:08:20.691Z] Successfully built 99b6062f1d03 [2023-03-17T04:08:20.691Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:08:21.177Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T04:08:21.177Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:08:21.443Z] prd-ubuntu20.04-docker-arm64-4c-16g-4338 does not seem to be running inside a container [2023-03-17T04:08:21.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T04:08:22.621Z] $ docker top 417e775ffbd0f44d0c6af1d78d13e21750ab5ffec217a7ab361ec8a82b73aad2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T04:08:23.479Z] + go version [2023-03-17T04:08:23.479Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T04:08:23.520Z] $ docker stop --time=1 417e775ffbd0f44d0c6af1d78d13e21750ab5ffec217a7ab361ec8a82b73aad2 [2023-03-17T04:08:25.127Z] $ docker rm -f --volumes 417e775ffbd0f44d0c6af1d78d13e21750ab5ffec217a7ab361ec8a82b73aad2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:08:26.221Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T04:08:26.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:08:26.510Z] prd-ubuntu20.04-docker-arm64-4c-16g-4338 does not seem to be running inside a container [2023-03-17T04:08:26.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T04:08:27.632Z] $ docker top 763413a978d2c61889918b29c29077c0fadc16687626aa7d3d2d36cd64b4fbc7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T04:08:28.182Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-17T04:08:28.567Z] + make test [2023-03-17T04:08:28.567Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T04:09:00.788Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-17T04:10:52.455Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-17T04:10:52.455Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-17T04:10:52.455Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-17T04:10:52.455Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-17T04:10:52.455Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-17T04:10:52.455Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-17T04:10:52.455Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-17T04:10:52.455Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-17T04:10:52.455Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-17T04:10:52.455Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-17T04:10:52.455Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-17T04:10:52.455Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors [2023-03-17T04:11:10.761Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-17T04:11:10.761Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-17T04:11:28.989Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.184s coverage: 86.5% of statements [2023-03-17T04:11:28.989Z] FAIL [2023-03-17T04:11:29.258Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-17T04:11:29.307Z] $ docker stop --time=1 763413a978d2c61889918b29c29077c0fadc16687626aa7d3d2d36cd64b4fbc7 [2023-03-17T04:11:31.188Z] $ docker rm -f --volumes 763413a978d2c61889918b29c29077c0fadc16687626aa7d3d2d36cd64b4fbc7 [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 [2023-03-17T04:11:32.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T04:11:32.904Z] [2023-03-17T04:11:32.904Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:11:33.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T04:11:33.323Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T04:11:33.323Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T04:11:33.323Z] 04944245beec: Pulling fs layer [2023-03-17T04:11:33.323Z] 699f458cf7ca: Pulling fs layer [2023-03-17T04:11:33.323Z] 765212b225bb: Pulling fs layer [2023-03-17T04:11:33.323Z] f23df028b6ca: Pulling fs layer [2023-03-17T04:11:33.323Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T04:11:33.323Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T04:11:33.323Z] f23df028b6ca: Waiting [2023-03-17T04:11:33.323Z] 765212b225bb: Waiting [2023-03-17T04:11:33.323Z] d65c8cfc05b1: Waiting [2023-03-17T04:11:33.323Z] 2437ff75d9bd: Waiting [2023-03-17T04:11:33.594Z] 04944245beec: Verifying Checksum [2023-03-17T04:11:33.594Z] 04944245beec: Download complete [2023-03-17T04:11:33.594Z] 765212b225bb: Verifying Checksum [2023-03-17T04:11:33.594Z] 765212b225bb: Download complete [2023-03-17T04:11:33.594Z] f23df028b6ca: Verifying Checksum [2023-03-17T04:11:33.594Z] f23df028b6ca: Download complete [2023-03-17T04:11:33.861Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T04:11:33.861Z] d65c8cfc05b1: Download complete [2023-03-17T04:11:33.861Z] 699f458cf7ca: Verifying Checksum [2023-03-17T04:11:33.861Z] 699f458cf7ca: Download complete [2023-03-17T04:11:34.445Z] 8998bd30e6a1: Verifying Checksum [2023-03-17T04:11:34.445Z] 8998bd30e6a1: Download complete [2023-03-17T04:11:37.064Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T04:11:37.064Z] 2437ff75d9bd: Download complete [2023-03-17T04:11:39.003Z] 8998bd30e6a1: Pull complete [2023-03-17T04:11:39.270Z] 04944245beec: Pull complete [2023-03-17T04:11:40.674Z] 699f458cf7ca: Pull complete [2023-03-17T04:11:40.674Z] 765212b225bb: Pull complete [2023-03-17T04:11:41.257Z] f23df028b6ca: Pull complete [2023-03-17T04:11:41.524Z] d65c8cfc05b1: Pull complete [2023-03-17T04:11:56.528Z] 2437ff75d9bd: Pull complete [2023-03-17T04:11:56.528Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T04:11:56.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T04:11:56.528Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:11:56.858Z] prd-ubuntu20.04-docker-arm64-4c-16g-4338 does not seem to be running inside a container [2023-03-17T04:11:56.927Z] $ 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/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-17T04:11:59.308Z] $ docker top 74b406f550eec8d98dd664be1ccf148616cbbd38d9e3b91546f4510140a4d1fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:12:00.193Z] ---> job-cost.sh [2023-03-17T04:12:00.193Z] lf-activate-venv: SKIPPING [2023-03-17T04:12:00.193Z] INFO: No Stack... [2023-03-17T04:12:00.775Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T04:12:01.358Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T04:12:01.700Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-03-17T04:12:01.700Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T04:12:02.042Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-276-1-stack-cost] [2023-03-17T04:12:02.047Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-276-1-stack-cost] did not exist. Created. [2023-03-17T04:12:02.047Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-276-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T04:12:02.452Z] /w/workspace/device-onvif-camera/1@tmp/durable-21de294e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T04:12:02.796Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T04:12:02.830Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T04:12:03.205Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T04:12:03.224Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-276-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T04:12:03.308Z] $ docker stop --time=1 74b406f550eec8d98dd664be1ccf148616cbbd38d9e3b91546f4510140a4d1fe [2023-03-17T04:12:04.747Z] $ docker rm -f --volumes 74b406f550eec8d98dd664be1ccf148616cbbd38d9e3b91546f4510140a4d1fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T04:12:05.443Z] 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 [2023-03-17T04:12:07.436Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-276/archives ] [2023-03-17T04:12:07.436Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-276/archives [2023-03-17T04:12:07.436Z] total 16 [2023-03-17T04:12:07.436Z] drwxr-xr-x 3 root root 4096 Mar 17 04:04 . [2023-03-17T04:12:07.436Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 04:04 .. [2023-03-17T04:12:07.436Z] drwxr-xr-x 2 root root 4096 Mar 17 04:04 cost [2023-03-17T04:12:07.436Z] -rw-r--r-- 1 root root 91 Mar 17 04:04 cost.csv [2023-03-17T04:12:07.436Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-276/archives [2023-03-17T04:12:07.436Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-276/archives [2023-03-17T04:12:07.436Z] total 16 [2023-03-17T04:12:07.436Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 04:04 . [2023-03-17T04:12:07.436Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 04:04 .. [2023-03-17T04:12:07.436Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 04:04 cost [2023-03-17T04:12:07.436Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 17 04:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:12:07.776Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:12:08.681Z] ---> package-listing.sh [2023-03-17T04:12:08.681Z] ++ facter osfamily [2023-03-17T04:12:08.681Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T04:12:08.681Z] + OS_FAMILY=debian [2023-03-17T04:12:08.681Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-276 [2023-03-17T04:12:08.681Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T04:12:08.681Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T04:12:08.681Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T04:12:08.681Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T04:12:08.681Z] + '[' /w/workspace/undry_device-onvif-camera_PR-276 ']' [2023-03-17T04:12:08.681Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T04:12:08.681Z] + case "${OS_FAMILY}" in [2023-03-17T04:12:08.681Z] + dpkg -l [2023-03-17T04:12:08.681Z] + grep '^ii' [2023-03-17T04:12:08.940Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T04:12:08.940Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T04:12:08.940Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T04:12:08.940Z] + '[' /w/workspace/undry_device-onvif-camera_PR-276 ']' [2023-03-17T04:12:08.940Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-276/archives/ [2023-03-17T04:12:08.940Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-276/archives/ [Pipeline] echo [2023-03-17T04:12:08.976Z] 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/undry_device-onvif-camera_PR-276/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T04:12:09.272Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:12:09.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T04:12:09.899Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:12:10.051Z] prd-ubuntu20.04-docker-8c-8g-4335 does not seem to be running inside a container [2023-03-17T04:12:10.087Z] $ 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/undry_device-onvif-camera_PR-276/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-276 -v /w/workspace/undry_device-onvif-camera_PR-276:/w/workspace/undry_device-onvif-camera_PR-276:rw,z -v /w/workspace/undry_device-onvif-camera_PR-276@tmp:/w/workspace/undry_device-onvif-camera_PR-276@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T04:12:10.302Z] $ docker top 5b351beec256e8420fe10487eb205310f741f3d2e646a1506dab1dd8a42bd72f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T04:12:10.692Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T04:12:11.007Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T04:12:11.315Z] + ls /var/log/sa-host [2023-03-17T04:12:11.315Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T04:12:11.461Z] provisioning config files... [2023-03-17T04:12:11.471Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-276@tmp/config13243376236649019536tmp [Pipeline] { [Pipeline] echo [2023-03-17T04:12:11.529Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:12:11.840Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T04:12:11.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:12:12.267Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T04:12:12.299Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:12:12.606Z] ---> sudo-logs.sh [2023-03-17T04:12:12.606Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T04:12:12.689Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:12:13.000Z] ---> job-cost.sh [2023-03-17T04:12:13.000Z] lf-activate-venv: SKIPPING [2023-03-17T04:12:13.000Z] DEBUG: total: 0.2199999988079071 [2023-03-17T04:12:13.000Z] INFO: Retrieving Stack Cost... [2023-03-17T04:12:13.262Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T04:12:13.832Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T04:12:13.912Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:12:14.224Z] ---> logs-deploy.sh [2023-03-17T04:12:14.224Z] lf-activate-venv: SKIPPING [2023-03-17T04:12:14.224Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-276/1 [2023-03-17T04:12:14.225Z] INFO: archiving workspace using pattern(s): [2023-03-17T04:12:15.166Z] Archives upload complete. [2023-03-17T04:12:15.166Z] INFO: archiving logs to Nexus