Pull request #268 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ebddecf992d4cb814f495f3b075c60cc847d9e43+b19be15f1aae5ce963d99b90e51172ceff0b476d (d986eff8034dbad80f73896d9d66b0baf4f8ba82) 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-ssh17152929647315943950.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-ssh4888573998199498111.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-268/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-268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10627673177807786399.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-268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14851749172712075706.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-ssh3355865778004096724.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-268/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-268/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15582824798538121555.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2349 in /w/workspace/undry_device-onvif-camera_PR-268 [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-268 # 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/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit ebddecf992d4cb814f495f3b075c60cc847d9e43 Merge succeeded, producing ebddecf992d4cb814f495f3b075c60cc847d9e43 Checking out Revision ebddecf992d4cb814f495f3b075c60cc847d9e43 (PR-268) 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] { > git config core.sparsecheckout # timeout=10 > git checkout -f ebddecf992d4cb814f495f3b075c60cc847d9e43 # 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 b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ebddecf992d4cb814f495f3b075c60cc847d9e43 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T04:02:11.058Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T04:02:11.230Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T04:02:11.330Z] ========================================================= [2023-03-16T04:02:11.330Z] EdgeX Global Pipelines Version Info [2023-03-16T04:02:11.330Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:02:12.063Z] ------------------- [2023-03-16T04:02:12.063Z] stable info: [2023-03-16T04:02:12.063Z] ------------------- [2023-03-16T04:02:12.063Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T04:02:12.063Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T04:02:12.063Z] Message: update stable to v1.0.245 [2023-03-16T04:02:12.634Z] ------------------- [2023-03-16T04:02:12.634Z] experimental info: [2023-03-16T04:02:12.634Z] ------------------- [2023-03-16T04:02:12.634Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T04:02:12.634Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T04:02:12.634Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T04:02:12.918Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-16T04:02:12.958Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-16T04:02:12.999Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T04:02:13.039Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T04:02:13.078Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T04:02:13.117Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T04:02:13.158Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T04:02:13.201Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T04:02:13.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T04:02:13.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T04:02:13.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T04:02:13.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-16T04:02:13.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T04:02:13.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T04:02:13.462Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T04:02:13.499Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T04:02:13.533Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T04:02:13.570Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T04:02:13.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T04:02:13.656Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T04:02:13.693Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-16T04:02:13.733Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-16T04:02:13.768Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T04:02:13.807Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T04:02:13.847Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T04:02:13.889Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T04:02:13.931Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T04:02:13.978Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-268 [Pipeline] echo [2023-03-16T04:02:14.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-268 [Pipeline] echo [2023-03-16T04:02:14.065Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-268 [Pipeline] echo [2023-03-16T04:02:14.107Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ebddecf992d4cb814f495f3b075c60cc847d9e43 [Pipeline] echo [2023-03-16T04:02:14.148Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ebddecf [Pipeline] echo [2023-03-16T04:02:14.187Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T04:02:14.298Z] provisioning config files... [2023-03-16T04:02:14.312Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-268@tmp/config13798266867143214470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:02:14.654Z] ---> docker-login.sh [2023-03-16T04:02:14.654Z] nexus3.edgexfoundry.org:10001 [2023-03-16T04:02:14.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:02:15.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:02:15.179Z] Configure a credential helper to remove this warning. See [2023-03-16T04:02:15.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:02:15.179Z] [2023-03-16T04:02:15.179Z] Login Succeeded [2023-03-16T04:02:15.179Z] nexus3.edgexfoundry.org:10002 [2023-03-16T04:02:15.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:02:15.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:02:15.179Z] Configure a credential helper to remove this warning. See [2023-03-16T04:02:15.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:02:15.179Z] [2023-03-16T04:02:15.179Z] Login Succeeded [2023-03-16T04:02:15.179Z] nexus3.edgexfoundry.org:10003 [2023-03-16T04:02:15.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:02:15.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:02:15.440Z] Configure a credential helper to remove this warning. See [2023-03-16T04:02:15.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:02:15.440Z] [2023-03-16T04:02:15.440Z] Login Succeeded [2023-03-16T04:02:15.440Z] nexus3.edgexfoundry.org:10004 [2023-03-16T04:02:15.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:02:15.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:02:15.440Z] Configure a credential helper to remove this warning. See [2023-03-16T04:02:15.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:02:15.440Z] [2023-03-16T04:02:15.440Z] Login Succeeded [2023-03-16T04:02:15.440Z] docker.io [2023-03-16T04:02:15.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:02:15.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:02:15.701Z] Configure a credential helper to remove this warning. See [2023-03-16T04:02:15.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:02:15.701Z] [2023-03-16T04:02:15.701Z] Login Succeeded [2023-03-16T04:02:15.701Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T04:02:15.731Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T04:02:16.380Z] + git rev-list -1 --merges ebddecf992d4cb814f495f3b075c60cc847d9e43~1..ebddecf992d4cb814f495f3b075c60cc847d9e43 [Pipeline] echo [2023-03-16T04:02:16.446Z] -----------> git rev-list -1 --merges ebddecf992d4cb814f495f3b075c60cc847d9e43~1..ebddecf992d4cb814f495f3b075c60cc847d9e43 ebddecf992d4cb814f495f3b075c60cc847d9e43 [false] [Pipeline] sh [2023-03-16T04:02:16.757Z] + git log --format=format:%s -1 ebddecf992d4cb814f495f3b075c60cc847d9e43 [Pipeline] echo [2023-03-16T04:02:16.795Z] ========================================================= [2023-03-16T04:02:16.795Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T04:02:16.795Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T04:02:17.217Z] + git log --format=format:%s -1 ebddecf992d4cb814f495f3b075c60cc847d9e43 [Pipeline] echo [2023-03-16T04:02:17.251Z] [semverPrep] GIT_COMMIT: ebddecf992d4cb814f495f3b075c60cc847d9e43, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-16T04:02:17.280Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T04:02:17.681Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T04:02:17.681Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T04:02:17.681Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T04:02:17.681Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T04:02:17.681Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T04:02:17.681Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T04:02:17.681Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:02:18.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T04:02:18.165Z] [2023-03-16T04:02:18.165Z] 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-16T04:02:18.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T04:02:18.628Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T04:02:18.628Z] b85a868b505f: Pulling fs layer [2023-03-16T04:02:18.628Z] e2be974225ed: Pulling fs layer [2023-03-16T04:02:18.628Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T04:02:18.628Z] 988bab9f4d93: Pulling fs layer [2023-03-16T04:02:18.628Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T04:02:18.628Z] eaf3925da568: Pulling fs layer [2023-03-16T04:02:18.628Z] bab4dde63d76: Pulling fs layer [2023-03-16T04:02:18.628Z] bde34c3a00c8: Pulling fs layer [2023-03-16T04:02:18.628Z] b352a97aabf1: Pulling fs layer [2023-03-16T04:02:18.628Z] 4872d77fe225: Pulling fs layer [2023-03-16T04:02:18.628Z] 5851b861e8e6: Pulling fs layer [2023-03-16T04:02:18.628Z] 4872d77fe225: Waiting [2023-03-16T04:02:18.628Z] bab4dde63d76: Waiting [2023-03-16T04:02:18.628Z] bde34c3a00c8: Waiting [2023-03-16T04:02:18.628Z] b352a97aabf1: Waiting [2023-03-16T04:02:18.628Z] 1469e6f7b9e6: Waiting [2023-03-16T04:02:18.628Z] 5851b861e8e6: Waiting [2023-03-16T04:02:18.628Z] eaf3925da568: Waiting [2023-03-16T04:02:18.628Z] e2be974225ed: Verifying Checksum [2023-03-16T04:02:18.628Z] e2be974225ed: Download complete [2023-03-16T04:02:18.628Z] 988bab9f4d93: Download complete [2023-03-16T04:02:18.895Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T04:02:18.895Z] 1469e6f7b9e6: Download complete [2023-03-16T04:02:18.895Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T04:02:18.895Z] 339a4e72a1f5: Download complete [2023-03-16T04:02:18.895Z] eaf3925da568: Verifying Checksum [2023-03-16T04:02:18.895Z] eaf3925da568: Download complete [2023-03-16T04:02:18.895Z] bde34c3a00c8: Verifying Checksum [2023-03-16T04:02:18.895Z] bde34c3a00c8: Download complete [2023-03-16T04:02:18.895Z] b352a97aabf1: Download complete [2023-03-16T04:02:18.895Z] 4872d77fe225: Download complete [2023-03-16T04:02:18.895Z] 5851b861e8e6: Verifying Checksum [2023-03-16T04:02:18.895Z] 5851b861e8e6: Download complete [2023-03-16T04:02:18.895Z] b85a868b505f: Verifying Checksum [2023-03-16T04:02:18.895Z] b85a868b505f: Download complete [2023-03-16T04:02:19.155Z] bab4dde63d76: Verifying Checksum [2023-03-16T04:02:19.155Z] bab4dde63d76: Download complete [2023-03-16T04:02:20.532Z] b85a868b505f: Pull complete [2023-03-16T04:02:20.532Z] e2be974225ed: Pull complete [2023-03-16T04:02:21.100Z] 339a4e72a1f5: Pull complete [2023-03-16T04:02:21.100Z] 988bab9f4d93: Pull complete [2023-03-16T04:02:21.362Z] 1469e6f7b9e6: Pull complete [2023-03-16T04:02:21.362Z] eaf3925da568: Pull complete [2023-03-16T04:02:23.280Z] bab4dde63d76: Pull complete [2023-03-16T04:02:23.540Z] bde34c3a00c8: Pull complete [2023-03-16T04:02:23.540Z] b352a97aabf1: Pull complete [2023-03-16T04:02:23.540Z] 4872d77fe225: Pull complete [2023-03-16T04:02:23.798Z] 5851b861e8e6: Pull complete [2023-03-16T04:02:23.798Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T04:02:23.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T04:02:23.798Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T04:02:24.030Z] prd-ubuntu20.04-docker-8c-8g-2349 does not seem to be running inside a container [2023-03-16T04:02:24.066Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-268 -v /w/workspace/undry_device-onvif-camera_PR-268:/w/workspace/undry_device-onvif-camera_PR-268:rw,z -v /w/workspace/undry_device-onvif-camera_PR-268@tmp:/w/workspace/undry_device-onvif-camera_PR-268@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-16T04:02:26.785Z] $ docker top 35721edb008e4eff835972d809248efb3681aebb5f743b451965fb8c5908c3ba -eo pid,comm [2023-03-16T04:02:26.840Z] 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-16T04:02:26.840Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T04:02:26.963Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T04:02:26.963Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T04:02:27.078Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T04:02:27.085Z] $ docker exec 35721edb008e4eff835972d809248efb3681aebb5f743b451965fb8c5908c3ba ssh-agent [2023-03-16T04:02:27.194Z] SSH_AUTH_SOCK=/tmp/ssh-b8bA9dmu7cgH/agent.32 [2023-03-16T04:02:27.194Z] SSH_AGENT_PID=38 [2023-03-16T04:02:27.200Z] Running ssh-add (command line suppressed) [2023-03-16T04:02:27.312Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-268@tmp/private_key_6562431778291771495.key (/w/workspace/undry_device-onvif-camera_PR-268@tmp/private_key_6562431778291771495.key) [2023-03-16T04:02:27.321Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T04:02:27.653Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T04:02:27.687Z] $ docker exec --env ******** --env ******** 35721edb008e4eff835972d809248efb3681aebb5f743b451965fb8c5908c3ba ssh-agent -k [2023-03-16T04:02:27.795Z] unset SSH_AUTH_SOCK; [2023-03-16T04:02:27.795Z] unset SSH_AGENT_PID; [2023-03-16T04:02:27.795Z] echo Agent pid 38 killed; [2023-03-16T04:02:27.801Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T04:02:27.886Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T04:02:27.886Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T04:02:28.025Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T04:02:28.032Z] $ docker exec 35721edb008e4eff835972d809248efb3681aebb5f743b451965fb8c5908c3ba ssh-agent [2023-03-16T04:02:28.154Z] SSH_AUTH_SOCK=/tmp/ssh-Q0lUPPR3049P/agent.70 [2023-03-16T04:02:28.154Z] SSH_AGENT_PID=76 [2023-03-16T04:02:28.159Z] Running ssh-add (command line suppressed) [2023-03-16T04:02:28.269Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-268@tmp/private_key_4188969382411287010.key (/w/workspace/undry_device-onvif-camera_PR-268@tmp/private_key_4188969382411287010.key) [2023-03-16T04:02:28.280Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T04:02:28.611Z] + git semver init [2023-03-16T04:02:28.870Z] 2023-03-16 04:02:28,789 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T04:02:28.870Z] 2023-03-16 04:02:28,789 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-268/.semver [2023-03-16T04:02:28.870Z] 2023-03-16 04:02:28,790 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-268/.semver [2023-03-16T04:02:28.870Z] 2023-03-16 04:02:28,790 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-268/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-268, universal_newlines=False, shell=None, istream=None) [2023-03-16T04:02:29.807Z] 2023-03-16 04:02:29,689 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-268/.git/info/exclude [2023-03-16T04:02:29.807Z] 2023-03-16 04:02:29,689 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-268/.semver/PR-268 with force:False [2023-03-16T04:02:29.807Z] 2023-03-16 04:02:29,689 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-268/.semver/PR-268 [2023-03-16T04:02:29.807Z] 2023-03-16 04:02:29,694 [execute] INFO git cat-file --batch-check [2023-03-16T04:02:29.807Z] 2023-03-16 04:02:29,695 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-268/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T04:02:29.807Z] 2023-03-16 04:02:29,702 [execute] INFO git cat-file --batch [2023-03-16T04:02:29.807Z] 2023-03-16 04:02:29,702 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-268/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T04:02:29.807Z] 2023-03-16 04:02:29,708 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-268/.semver/PR-268 [2023-03-16T04:02:29.807Z] 0.0.0 [Pipeline] } [2023-03-16T04:02:29.836Z] $ docker exec --env ******** --env ******** 35721edb008e4eff835972d809248efb3681aebb5f743b451965fb8c5908c3ba ssh-agent -k [2023-03-16T04:02:29.933Z] unset SSH_AUTH_SOCK; [2023-03-16T04:02:29.934Z] unset SSH_AGENT_PID; [2023-03-16T04:02:29.934Z] echo Agent pid 76 killed; [2023-03-16T04:02:29.940Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T04:02:30.350Z] + git semver [Pipeline] } [2023-03-16T04:02:30.640Z] $ docker stop --time=1 35721edb008e4eff835972d809248efb3681aebb5f743b451965fb8c5908c3ba [2023-03-16T04:02:31.937Z] $ docker rm -f --volumes 35721edb008e4eff835972d809248efb3681aebb5f743b451965fb8c5908c3ba [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T04:02:32.336Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T04:02:32.623Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T04:02:32.641Z] [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-16T04:02:33.214Z] provisioning config files... [2023-03-16T04:02:33.224Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-268@tmp/config1955044301385861400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:02:33.290Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2345 in /w/workspace/undry_device-onvif-camera_PR-268 [Pipeline] { [Pipeline] ws [2023-03-16T04:02:33.399Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-16T04:02:33.467Z] The recommended git tool is: git [2023-03-16T04:02:33.570Z] ---> docker-login.sh [2023-03-16T04:02:33.570Z] nexus3.edgexfoundry.org:10001 [2023-03-16T04:02:33.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:02:33.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:02:33.570Z] Configure a credential helper to remove this warning. See [2023-03-16T04:02:33.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:02:33.570Z] [2023-03-16T04:02:33.570Z] Login Succeeded [2023-03-16T04:02:33.570Z] nexus3.edgexfoundry.org:10002 [2023-03-16T04:02:33.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:02:33.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:02:33.570Z] Configure a credential helper to remove this warning. See [2023-03-16T04:02:33.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:02:33.570Z] [2023-03-16T04:02:33.570Z] Login Succeeded [2023-03-16T04:02:33.570Z] nexus3.edgexfoundry.org:10003 [2023-03-16T04:02:33.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:02:33.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:02:33.832Z] Configure a credential helper to remove this warning. See [2023-03-16T04:02:33.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:02:33.832Z] [2023-03-16T04:02:33.832Z] Login Succeeded [2023-03-16T04:02:33.832Z] nexus3.edgexfoundry.org:10004 [2023-03-16T04:02:33.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:02:33.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:02:33.832Z] Configure a credential helper to remove this warning. See [2023-03-16T04:02:33.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:02:33.832Z] [2023-03-16T04:02:33.832Z] Login Succeeded [2023-03-16T04:02:33.832Z] docker.io [2023-03-16T04:02:34.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:02:34.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:02:34.090Z] Configure a credential helper to remove this warning. See [2023-03-16T04:02:34.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:02:34.090Z] [2023-03-16T04:02:34.090Z] Login Succeeded [2023-03-16T04:02:34.090Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T04:02:34.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T04:02:34.310Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T04:02:34.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T04:02:34.375Z] ========================================================= [2023-03-16T04:02:34.375Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T04:02:34.375Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:02:34.841Z] + 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-16T04:02:34.841Z] Sending build context to Docker daemon 27.87MB [2023-03-16T04:02:34.841Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T04:02:34.841Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T04:02:35.104Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T04:02:35.104Z] 63b65145d645: Pulling fs layer [2023-03-16T04:02:35.104Z] a2d21d5440eb: Pulling fs layer [2023-03-16T04:02:35.104Z] 935e6c44a52c: Pulling fs layer [2023-03-16T04:02:35.104Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T04:02:35.104Z] 30dea6a524f1: Pulling fs layer [2023-03-16T04:02:35.104Z] a2aff8979fd8: Pulling fs layer [2023-03-16T04:02:35.104Z] 6808be2612f2: Pulling fs layer [2023-03-16T04:02:35.104Z] f25807f1079a: Pulling fs layer [2023-03-16T04:02:35.104Z] 94cc34f8dd06: Waiting [2023-03-16T04:02:35.104Z] a2aff8979fd8: Waiting [2023-03-16T04:02:35.104Z] 30dea6a524f1: Waiting [2023-03-16T04:02:35.104Z] f25807f1079a: Waiting [2023-03-16T04:02:35.104Z] a2d21d5440eb: Verifying Checksum [2023-03-16T04:02:35.104Z] a2d21d5440eb: Download complete [2023-03-16T04:02:35.104Z] 94cc34f8dd06: Download complete [2023-03-16T04:02:35.104Z] 30dea6a524f1: Verifying Checksum [2023-03-16T04:02:35.104Z] 30dea6a524f1: Download complete [2023-03-16T04:02:35.104Z] 63b65145d645: Verifying Checksum [2023-03-16T04:02:35.104Z] 63b65145d645: Download complete [2023-03-16T04:02:35.104Z] a2aff8979fd8: Verifying Checksum [2023-03-16T04:02:35.104Z] a2aff8979fd8: Download complete [2023-03-16T04:02:35.364Z] 63b65145d645: Pull complete [2023-03-16T04:02:35.364Z] a2d21d5440eb: Pull complete [2023-03-16T04:02:35.627Z] f25807f1079a: Verifying Checksum [2023-03-16T04:02:35.627Z] f25807f1079a: Download complete [2023-03-16T04:02:35.885Z] 935e6c44a52c: Verifying Checksum [2023-03-16T04:02:35.885Z] 935e6c44a52c: Download complete [2023-03-16T04:02:35.885Z] 6808be2612f2: Verifying Checksum [2023-03-16T04:02:35.885Z] 6808be2612f2: Download complete [2023-03-16T04:02:37.975Z] using credential edgex-jenkins-ssh [2023-03-16T04:02:37.990Z] Cloning the remote Git repository [2023-03-16T04:02:38.026Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T04:02:38.107Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-16T04:02:38.241Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T04:02:38.242Z] > git --version # timeout=10 [2023-03-16T04:02:38.264Z] > git --version # 'git version 2.25.1' [2023-03-16T04:02:38.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T04:02:38.403Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T04:02:40.091Z] 935e6c44a52c: Pull complete [2023-03-16T04:02:40.091Z] 94cc34f8dd06: Pull complete [2023-03-16T04:02:40.091Z] 30dea6a524f1: Pull complete [2023-03-16T04:02:40.091Z] a2aff8979fd8: Pull complete [2023-03-16T04:02:39.783Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T04:02:39.802Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T04:02:40.637Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T04:02:41.255Z] Merging remotes/origin/main commit b19be15f1aae5ce963d99b90e51172ceff0b476d into PR head commit ebddecf992d4cb814f495f3b075c60cc847d9e43 [2023-03-16T04:02:41.934Z] Merge succeeded, producing ebddecf992d4cb814f495f3b075c60cc847d9e43 [2023-03-16T04:02:41.935Z] Checking out Revision ebddecf992d4cb814f495f3b075c60cc847d9e43 (PR-268) [2023-03-16T04:02:40.679Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T04:02:40.680Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T04:02:40.699Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T04:02:41.273Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T04:02:41.337Z] > git checkout -f ebddecf992d4cb814f495f3b075c60cc847d9e43 # timeout=10 [2023-03-16T04:02:41.637Z] > git remote # timeout=10 [2023-03-16T04:02:41.656Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T04:02:41.791Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T04:02:41.815Z] > git merge b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 [2023-03-16T04:02:41.890Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T04:02:41.937Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T04:02:41.952Z] > git checkout -f ebddecf992d4cb814f495f3b075c60cc847d9e43 # timeout=10 [2023-03-16T04:02:42.623Z] 6808be2612f2: Pull complete [2023-03-16T04:02:42.825Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-03-16T04:02:42.903Z] > git --version # timeout=10 [2023-03-16T04:02:42.914Z] > git --version # 'git version 2.25.1' [2023-03-16T04:02:42.928Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T04:02:43.192Z] f25807f1079a: Pull complete [2023-03-16T04:02:43.192Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T04:02:43.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T04:02:43.192Z] ---> 3b553350e43f [2023-03-16T04:02:43.192Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T04:02:43.987Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T04:02:43.987Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T04:02:43.987Z] Dload Upload Total Spent Left Speed [2023-03-16T04:02:43.987Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh [2023-03-16T04:02:44.619Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T04:02:44.951Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T04:02:44.951Z] + sudo tee /etc/docker/daemon.new [2023-03-16T04:02:46.361Z] { [2023-03-16T04:02:46.361Z] "registry-mirrors": [ [2023-03-16T04:02:46.361Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T04:02:46.361Z] ], [2023-03-16T04:02:46.361Z] "bip": "10.250.0.254/24", [2023-03-16T04:02:46.361Z] "hosts": [ [2023-03-16T04:02:46.361Z] "tcp://0.0.0.0:5555", [2023-03-16T04:02:46.361Z] "unix:///var/run/docker.sock" [2023-03-16T04:02:46.361Z] ], [2023-03-16T04:02:46.361Z] "mtu": 1458, [2023-03-16T04:02:46.361Z] "selinux-enabled": true, [2023-03-16T04:02:46.361Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T04:02:46.361Z] } [Pipeline] sh [2023-03-16T04:02:46.706Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T04:02:47.044Z] + sudo service docker restart [2023-03-16T04:02:47.394Z] ---> Running in e212504fc9ac [2023-03-16T04:02:47.654Z] Removing intermediate container e212504fc9ac [2023-03-16T04:02:47.654Z] ---> 402714357382 [2023-03-16T04:02:47.654Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T04:02:47.654Z] ---> Running in f7a43fc33c73 [2023-03-16T04:02:47.654Z] Removing intermediate container f7a43fc33c73 [2023-03-16T04:02:47.654Z] ---> f55b607f2389 [2023-03-16T04:02:47.654Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T04:02:47.654Z] ---> Running in 8e8ee2ca612a [2023-03-16T04:02:47.916Z] Removing intermediate container 8e8ee2ca612a [2023-03-16T04:02:47.916Z] ---> ceeaf4dd0ea0 [2023-03-16T04:02:47.916Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T04:02:47.916Z] ---> Running in 161c92580bba [2023-03-16T04:02:47.916Z] Removing intermediate container 161c92580bba [2023-03-16T04:02:47.916Z] ---> b87b27538b02 [2023-03-16T04:02:47.916Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T04:02:48.178Z] ---> Running in 4f6d8d0cd5dc [2023-03-16T04:02:48.178Z] Removing intermediate container 4f6d8d0cd5dc [2023-03-16T04:02:48.178Z] ---> 5a2d0aecaf9d [2023-03-16T04:02:48.178Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T04:02:48.178Z] ---> Running in 526ab5f43d00 [2023-03-16T04:02:48.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T04:02:48.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T04:02:48.961Z] OK: 265 MiB in 53 packages [2023-03-16T04:02:49.220Z] Removing intermediate container 526ab5f43d00 [2023-03-16T04:02:49.220Z] ---> 94b04f3a6b61 [2023-03-16T04:02:49.220Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T04:02:49.220Z] ---> Running in 9b74fcb2b730 [2023-03-16T04:02:49.479Z] Removing intermediate container 9b74fcb2b730 [2023-03-16T04:02:49.479Z] ---> 6ee2326f45ff [2023-03-16T04:02:49.479Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T04:02:49.479Z] ---> 67055124b847 [2023-03-16T04:02:49.479Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T04:02:49.479Z] ---> Running in 49dbedddaeb8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T04:03:05.344Z] provisioning config files... [2023-03-16T04:03:05.370Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7184132357687293444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:03:05.752Z] ---> docker-login.sh [2023-03-16T04:03:05.753Z] nexus3.edgexfoundry.org:10001 [2023-03-16T04:03:06.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:03:07.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:03:07.313Z] Configure a credential helper to remove this warning. See [2023-03-16T04:03:07.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:03:07.313Z] [2023-03-16T04:03:07.313Z] Login Succeeded [2023-03-16T04:03:07.313Z] nexus3.edgexfoundry.org:10002 [2023-03-16T04:03:07.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:03:07.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:03:07.872Z] Configure a credential helper to remove this warning. See [2023-03-16T04:03:07.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:03:07.872Z] [2023-03-16T04:03:07.872Z] Login Succeeded [2023-03-16T04:03:07.872Z] nexus3.edgexfoundry.org:10003 [2023-03-16T04:03:08.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:03:08.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:03:08.142Z] Configure a credential helper to remove this warning. See [2023-03-16T04:03:08.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:03:08.142Z] [2023-03-16T04:03:08.142Z] Login Succeeded [2023-03-16T04:03:08.142Z] nexus3.edgexfoundry.org:10004 [2023-03-16T04:03:08.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:03:08.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:03:08.684Z] Configure a credential helper to remove this warning. See [2023-03-16T04:03:08.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:03:08.684Z] [2023-03-16T04:03:08.684Z] Login Succeeded [2023-03-16T04:03:08.684Z] docker.io [2023-03-16T04:03:08.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T04:03:08.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T04:03:08.954Z] Configure a credential helper to remove this warning. See [2023-03-16T04:03:08.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T04:03:08.954Z] [2023-03-16T04:03:08.954Z] Login Succeeded [2023-03-16T04:03:08.954Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T04:03:09.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T04:03:09.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T04:03:09.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T04:03:09.649Z] ========================================================= [2023-03-16T04:03:09.649Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T04:03:09.649Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:03:10.136Z] + 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-16T04:03:10.726Z] Sending build context to Docker daemon 20.62MB [2023-03-16T04:03:10.726Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T04:03:10.726Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T04:03:13.315Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T04:03:13.315Z] af6eaf76a39c: Pulling fs layer [2023-03-16T04:03:13.315Z] 55522c791124: Pulling fs layer [2023-03-16T04:03:13.315Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T04:03:13.315Z] 169dfbe0d373: Pulling fs layer [2023-03-16T04:03:13.315Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T04:03:13.315Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T04:03:13.315Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T04:03:13.315Z] 169dfbe0d373: Waiting [2023-03-16T04:03:13.315Z] e1ff8fa3b103: Waiting [2023-03-16T04:03:13.315Z] 52ebb69f0ebf: Waiting [2023-03-16T04:03:13.315Z] 5abe8eddf0d5: Waiting [2023-03-16T04:03:13.315Z] 55522c791124: Download complete [2023-03-16T04:03:13.315Z] 169dfbe0d373: Verifying Checksum [2023-03-16T04:03:13.315Z] 169dfbe0d373: Download complete [2023-03-16T04:03:13.315Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T04:03:13.315Z] e1ff8fa3b103: Download complete [2023-03-16T04:03:13.315Z] af6eaf76a39c: Verifying Checksum [2023-03-16T04:03:14.286Z] af6eaf76a39c: Pull complete [2023-03-16T04:03:14.561Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T04:03:14.561Z] 5abe8eddf0d5: Download complete [2023-03-16T04:03:14.827Z] 55522c791124: Pull complete [2023-03-16T04:03:15.789Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T04:03:15.789Z] 52ebb69f0ebf: Download complete [2023-03-16T04:03:15.789Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T04:03:15.789Z] ce5c4a1c91eb: Download complete [2023-03-16T04:03:25.871Z] ce5c4a1c91eb: Pull complete [2023-03-16T04:03:26.139Z] 169dfbe0d373: Pull complete [2023-03-16T04:03:26.410Z] e1ff8fa3b103: Pull complete [2023-03-16T04:03:28.233Z] Removing intermediate container 49dbedddaeb8 [2023-03-16T04:03:28.233Z] ---> 89dcc8eb3ef3 [2023-03-16T04:03:28.233Z] Step 12/13 : COPY . . [2023-03-16T04:03:28.233Z] ---> d8589cf9b76b [2023-03-16T04:03:28.233Z] Step 13/13 : RUN ${MAKE} [2023-03-16T04:03:28.233Z] ---> Running in a2ae5701b89e [2023-03-16T04:03:28.233Z] noop [2023-03-16T04:03:28.233Z] Removing intermediate container a2ae5701b89e [2023-03-16T04:03:28.233Z] ---> 70f5d8c72014 [2023-03-16T04:03:28.233Z] Successfully built 70f5d8c72014 [2023-03-16T04:03:28.233Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:03:28.671Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T04:03:28.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T04:03:28.825Z] prd-ubuntu20.04-docker-8c-8g-2349 does not seem to be running inside a container [2023-03-16T04:03:28.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-268 -v /w/workspace/undry_device-onvif-camera_PR-268:/w/workspace/undry_device-onvif-camera_PR-268:rw,z -v /w/workspace/undry_device-onvif-camera_PR-268@tmp:/w/workspace/undry_device-onvif-camera_PR-268@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-16T04:03:29.218Z] $ docker top e2f18293fde9fc3bd93941c8e5d8df8e68a7ffbf374df95db3cd6ef4280b27c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T04:03:29.595Z] + go version [2023-03-16T04:03:29.595Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T04:03:29.638Z] $ docker stop --time=1 e2f18293fde9fc3bd93941c8e5d8df8e68a7ffbf374df95db3cd6ef4280b27c7 [2023-03-16T04:03:30.896Z] $ docker rm -f --volumes e2f18293fde9fc3bd93941c8e5d8df8e68a7ffbf374df95db3cd6ef4280b27c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:03:31.596Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T04:03:31.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T04:03:31.753Z] prd-ubuntu20.04-docker-8c-8g-2349 does not seem to be running inside a container [2023-03-16T04:03:31.792Z] $ 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-268 -v /w/workspace/undry_device-onvif-camera_PR-268:/w/workspace/undry_device-onvif-camera_PR-268:rw,z -v /w/workspace/undry_device-onvif-camera_PR-268@tmp:/w/workspace/undry_device-onvif-camera_PR-268@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-16T04:03:32.168Z] $ docker top a55329259ddb24c2fea68def66a7cfdca42d81c6254ecbdf4be7ccb38f4f9add -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T04:03:32.547Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-268 [Pipeline] fileExists [Pipeline] sh [2023-03-16T04:03:32.898Z] + make test [2023-03-16T04:03:32.898Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T04:03:33.074Z] 52ebb69f0ebf: Pull complete [2023-03-16T04:03:35.018Z] 5abe8eddf0d5: Pull complete [2023-03-16T04:03:35.018Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T04:03:35.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T04:03:35.018Z] ---> 6cb57ee374ae [2023-03-16T04:03:35.018Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T04:03:36.429Z] ---> Running in 391b7b3b659c [2023-03-16T04:03:36.697Z] Removing intermediate container 391b7b3b659c [2023-03-16T04:03:36.697Z] ---> 11c04d68ad5f [2023-03-16T04:03:36.697Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T04:03:36.964Z] ---> Running in 84b9627ef3d8 [2023-03-16T04:03:37.232Z] Removing intermediate container 84b9627ef3d8 [2023-03-16T04:03:37.232Z] ---> f23bba7ca2c8 [2023-03-16T04:03:37.232Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T04:03:37.232Z] ---> Running in d0ba66ef847e [2023-03-16T04:03:37.500Z] Removing intermediate container d0ba66ef847e [2023-03-16T04:03:37.500Z] ---> 9b115788ff0c [2023-03-16T04:03:37.500Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T04:03:37.500Z] ---> Running in 2b673f823bf1 [2023-03-16T04:03:37.774Z] Removing intermediate container 2b673f823bf1 [2023-03-16T04:03:37.774Z] ---> 2a20f60de6a2 [2023-03-16T04:03:37.774Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T04:03:38.042Z] ---> Running in 17e680498544 [2023-03-16T04:03:38.164Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T04:03:38.310Z] Removing intermediate container 17e680498544 [2023-03-16T04:03:38.310Z] ---> a46c9567eccc [2023-03-16T04:03:38.310Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T04:03:38.310Z] ---> Running in 8c55f20370bc [2023-03-16T04:03:39.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T04:03:40.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T04:03:40.966Z] OK: 263 MiB in 53 packages [2023-03-16T04:03:41.926Z] Removing intermediate container 8c55f20370bc [2023-03-16T04:03:41.926Z] ---> cffd4147ef17 [2023-03-16T04:03:41.926Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T04:03:41.926Z] ---> Running in 6529e810cd49 [2023-03-16T04:03:42.192Z] Removing intermediate container 6529e810cd49 [2023-03-16T04:03:42.192Z] ---> a2bc6c361a6e [2023-03-16T04:03:42.192Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T04:03:42.775Z] ---> a43dcece5bd2 [2023-03-16T04:03:42.775Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T04:03:42.775Z] ---> Running in b8467accf171 [2023-03-16T04:03:46.266Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-16T04:03:46.266Z] /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-16T04:03:46.266Z] /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-16T04:03:46.266Z] /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-16T04:03:46.266Z] /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-16T04:03:46.266Z] /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-16T04:03:46.266Z] /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-16T04:03:46.266Z] /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-16T04:03:46.266Z] /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-16T04:03:46.266Z] /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-16T04:03:46.266Z] /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-16T04:03:46.266Z] /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-16T04:03:47.202Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T04:03:47.202Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-16T04:03:49.102Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.124s coverage: 86.5% of statements [2023-03-16T04:03:49.102Z] FAIL [2023-03-16T04:03:49.361Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-16T04:03:49.410Z] $ docker stop --time=1 a55329259ddb24c2fea68def66a7cfdca42d81c6254ecbdf4be7ccb38f4f9add [2023-03-16T04:03:53.360Z] $ docker rm -f --volumes a55329259ddb24c2fea68def66a7cfdca42d81c6254ecbdf4be7ccb38f4f9add [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-16T04:03:54.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T04:03:54.650Z] [2023-03-16T04:03:54.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:03:55.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T04:03:55.083Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T04:03:55.083Z] 5eb5b503b376: Pulling fs layer [2023-03-16T04:03:55.083Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T04:03:55.083Z] ec43610c2a17: Pulling fs layer [2023-03-16T04:03:55.083Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T04:03:55.083Z] 33b1e0a273af: Pulling fs layer [2023-03-16T04:03:55.083Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T04:03:55.083Z] 2f39f015ded8: Pulling fs layer [2023-03-16T04:03:55.083Z] 3a2ae6a8a46f: Waiting [2023-03-16T04:03:55.083Z] 33b1e0a273af: Waiting [2023-03-16T04:03:55.083Z] 5d3b04190fa2: Waiting [2023-03-16T04:03:55.083Z] 2f39f015ded8: Waiting [2023-03-16T04:03:55.083Z] 5c69ac0246d0: Verifying Checksum [2023-03-16T04:03:55.083Z] 3a2ae6a8a46f: Download complete [2023-03-16T04:03:55.342Z] 33b1e0a273af: Verifying Checksum [2023-03-16T04:03:55.342Z] 33b1e0a273af: Download complete [2023-03-16T04:03:55.342Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T04:03:55.342Z] 5d3b04190fa2: Download complete [2023-03-16T04:03:55.342Z] ec43610c2a17: Verifying Checksum [2023-03-16T04:03:55.342Z] ec43610c2a17: Download complete [2023-03-16T04:03:55.342Z] 5eb5b503b376: Verifying Checksum [2023-03-16T04:03:55.342Z] 5eb5b503b376: Download complete [2023-03-16T04:03:55.909Z] 2f39f015ded8: Download complete [2023-03-16T04:03:56.476Z] 5eb5b503b376: Pull complete [2023-03-16T04:03:56.734Z] 5c69ac0246d0: Pull complete [2023-03-16T04:03:56.992Z] ec43610c2a17: Pull complete [2023-03-16T04:03:56.992Z] 3a2ae6a8a46f: Pull complete [2023-03-16T04:03:57.250Z] 33b1e0a273af: Pull complete [2023-03-16T04:03:57.508Z] 5d3b04190fa2: Pull complete [2023-03-16T04:04:01.697Z] 2f39f015ded8: Pull complete [2023-03-16T04:04:01.697Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T04:04:01.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T04:04:01.697Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T04:04:01.945Z] prd-ubuntu20.04-docker-8c-8g-2349 does not seem to be running inside a container [2023-03-16T04:04:01.981Z] $ 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-268 -v /w/workspace/undry_device-onvif-camera_PR-268:/w/workspace/undry_device-onvif-camera_PR-268:rw,z -v /w/workspace/undry_device-onvif-camera_PR-268@tmp:/w/workspace/undry_device-onvif-camera_PR-268@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-16T04:04:05.167Z] $ docker top bff8ccfb37e6bd3de0a13b9b99614493cbfe5df78137856323a99e992d2c3e7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:04:05.605Z] ---> job-cost.sh [2023-03-16T04:04:05.605Z] lf-activate-venv: SKIPPING [2023-03-16T04:04:05.605Z] INFO: No Stack... [2023-03-16T04:04:05.865Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T04:04:06.123Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T04:04:06.436Z] + cut -d, -f6 [2023-03-16T04:04:06.437Z] + cat /w/workspace/undry_device-onvif-camera_PR-268/archives/cost.csv [Pipeline] lock [2023-03-16T04:04:06.476Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-268-1-stack-cost] [2023-03-16T04:04:06.482Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-268-1-stack-cost] did not exist. Created. [2023-03-16T04:04:06.482Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-268-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T04:04:06.872Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T04:04:06.930Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T04:04:06.951Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-268-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T04:04:07.044Z] $ docker stop --time=1 bff8ccfb37e6bd3de0a13b9b99614493cbfe5df78137856323a99e992d2c3e7a [2023-03-16T04:04:08.310Z] $ docker rm -f --volumes bff8ccfb37e6bd3de0a13b9b99614493cbfe5df78137856323a99e992d2c3e7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T04:04:08.710Z] Failed in branch amd64 [2023-03-16T04:04:50.638Z] Removing intermediate container b8467accf171 [2023-03-16T04:04:50.638Z] ---> 9ef89b0e4c5d [2023-03-16T04:04:50.638Z] Step 12/13 : COPY . . [2023-03-16T04:04:50.638Z] ---> 8df8ad27307b [2023-03-16T04:04:50.638Z] Step 13/13 : RUN ${MAKE} [2023-03-16T04:04:50.638Z] ---> Running in 9f56b9834c51 [2023-03-16T04:04:50.638Z] noop [2023-03-16T04:04:50.638Z] Removing intermediate container 9f56b9834c51 [2023-03-16T04:04:50.639Z] ---> cc87e07b95af [2023-03-16T04:04:50.639Z] Successfully built cc87e07b95af [2023-03-16T04:04:50.639Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:04:51.103Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T04:04:51.103Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T04:04:51.372Z] prd-ubuntu20.04-docker-arm64-4c-16g-2345 does not seem to be running inside a container [2023-03-16T04:04:51.436Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-16T04:04:52.691Z] $ docker top 1f616b13d7b082068aab8fd12d892733fc48d20c03f0f8aa49bfc3f9687d967e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T04:04:56.607Z] + go version [2023-03-16T04:04:56.607Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T04:04:56.639Z] $ docker stop --time=1 1f616b13d7b082068aab8fd12d892733fc48d20c03f0f8aa49bfc3f9687d967e [2023-03-16T04:04:58.264Z] $ docker rm -f --volumes 1f616b13d7b082068aab8fd12d892733fc48d20c03f0f8aa49bfc3f9687d967e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:04:59.071Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T04:04:59.072Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T04:04:59.324Z] prd-ubuntu20.04-docker-arm64-4c-16g-2345 does not seem to be running inside a container [2023-03-16T04:04:59.382Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-16T04:05:00.545Z] $ docker top 8662086269a7a9674e1542b83ab32812ee7bee3d2e66f0b42011601a42781154 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T04:05:01.436Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-16T04:05:01.823Z] + make test [2023-03-16T04:05:02.089Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T04:05:34.339Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T04:07:11.378Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-16T04:07:11.378Z] /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-16T04:07:11.378Z] /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-16T04:07:11.378Z] /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-16T04:07:11.378Z] /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-16T04:07:11.378Z] /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-16T04:07:11.378Z] /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-16T04:07:11.379Z] /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-16T04:07:11.379Z] /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-16T04:07:11.379Z] /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-16T04:07:11.379Z] /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-16T04:07:11.379Z] /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-16T04:07:23.694Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T04:07:23.694Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-16T04:07:50.394Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.236s coverage: 86.5% of statements [2023-03-16T04:07:50.394Z] FAIL [2023-03-16T04:07:50.394Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-16T04:07:50.437Z] $ docker stop --time=1 8662086269a7a9674e1542b83ab32812ee7bee3d2e66f0b42011601a42781154 [2023-03-16T04:07:52.213Z] $ docker rm -f --volumes 8662086269a7a9674e1542b83ab32812ee7bee3d2e66f0b42011601a42781154 [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-16T04:07:53.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T04:07:53.917Z] [2023-03-16T04:07:53.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:07:54.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T04:07:54.613Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T04:07:54.613Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T04:07:54.613Z] 04944245beec: Pulling fs layer [2023-03-16T04:07:54.613Z] 699f458cf7ca: Pulling fs layer [2023-03-16T04:07:54.613Z] 765212b225bb: Pulling fs layer [2023-03-16T04:07:54.613Z] f23df028b6ca: Pulling fs layer [2023-03-16T04:07:54.613Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T04:07:54.613Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T04:07:54.613Z] d65c8cfc05b1: Waiting [2023-03-16T04:07:54.613Z] f23df028b6ca: Waiting [2023-03-16T04:07:54.613Z] 2437ff75d9bd: Waiting [2023-03-16T04:07:54.613Z] 765212b225bb: Waiting [2023-03-16T04:07:54.613Z] 04944245beec: Verifying Checksum [2023-03-16T04:07:54.613Z] 765212b225bb: Verifying Checksum [2023-03-16T04:07:54.613Z] 765212b225bb: Download complete [2023-03-16T04:07:54.885Z] f23df028b6ca: Verifying Checksum [2023-03-16T04:07:54.885Z] f23df028b6ca: Download complete [2023-03-16T04:07:54.885Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T04:07:54.885Z] d65c8cfc05b1: Download complete [2023-03-16T04:07:54.885Z] 699f458cf7ca: Verifying Checksum [2023-03-16T04:07:54.885Z] 699f458cf7ca: Download complete [2023-03-16T04:07:55.478Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T04:07:55.478Z] 8998bd30e6a1: Download complete [2023-03-16T04:07:57.422Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T04:07:57.422Z] 2437ff75d9bd: Download complete [2023-03-16T04:07:59.371Z] 8998bd30e6a1: Pull complete [2023-03-16T04:07:59.955Z] 04944245beec: Pull complete [2023-03-16T04:08:01.364Z] 699f458cf7ca: Pull complete [2023-03-16T04:08:01.364Z] 765212b225bb: Pull complete [2023-03-16T04:08:01.949Z] f23df028b6ca: Pull complete [2023-03-16T04:08:02.217Z] d65c8cfc05b1: Pull complete [2023-03-16T04:08:17.223Z] 2437ff75d9bd: Pull complete [2023-03-16T04:08:17.223Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T04:08:17.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T04:08:17.223Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T04:08:17.528Z] prd-ubuntu20.04-docker-arm64-4c-16g-2345 does not seem to be running inside a container [2023-03-16T04:08:17.593Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T04:08:20.090Z] $ docker top 42d0e898568ee485d8517d8689cfa26618985420d4b933696f72f2f55f6029b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:08:20.991Z] ---> job-cost.sh [2023-03-16T04:08:20.991Z] lf-activate-venv: SKIPPING [2023-03-16T04:08:20.991Z] INFO: No Stack... [2023-03-16T04:08:21.258Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T04:08:22.216Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T04:08:22.874Z] + cut -d, -f6 [2023-03-16T04:08:22.874Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [Pipeline] lock [2023-03-16T04:08:22.925Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-268-1-stack-cost] [2023-03-16T04:08:22.930Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-268-1-stack-cost] did not exist. Created. [2023-03-16T04:08:22.930Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-268-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T04:08:23.333Z] /w/workspace/device-onvif-camera/1@tmp/durable-de0bc010/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T04:08:23.691Z] + echo total: 0.33000001311302185 [Pipeline] stash [2023-03-16T04:08:23.734Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T04:08:24.143Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T04:08:24.158Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-268-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T04:08:24.244Z] $ docker stop --time=1 42d0e898568ee485d8517d8689cfa26618985420d4b933696f72f2f55f6029b9 [2023-03-16T04:08:25.759Z] $ docker rm -f --volumes 42d0e898568ee485d8517d8689cfa26618985420d4b933696f72f2f55f6029b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T04:08:26.472Z] 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-16T04:08:28.642Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-268/archives ] [2023-03-16T04:08:28.642Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-268/archives [2023-03-16T04:08:28.642Z] total 16 [2023-03-16T04:08:28.642Z] drwxr-xr-x 3 root root 4096 Mar 16 04:04 . [2023-03-16T04:08:28.642Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 04:04 .. [2023-03-16T04:08:28.642Z] drwxr-xr-x 2 root root 4096 Mar 16 04:04 cost [2023-03-16T04:08:28.642Z] -rw-r--r-- 1 root root 91 Mar 16 04:04 cost.csv [2023-03-16T04:08:28.642Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-268/archives [2023-03-16T04:08:28.642Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-268/archives [2023-03-16T04:08:28.642Z] total 16 [2023-03-16T04:08:28.642Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 04:04 . [2023-03-16T04:08:28.642Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 04:04 .. [2023-03-16T04:08:28.643Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 04:04 cost [2023-03-16T04:08:28.643Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 16 04:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:08:28.971Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:08:29.853Z] ---> package-listing.sh [2023-03-16T04:08:29.853Z] ++ facter osfamily [2023-03-16T04:08:29.853Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T04:08:30.112Z] + OS_FAMILY=debian [2023-03-16T04:08:30.112Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-268 [2023-03-16T04:08:30.112Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T04:08:30.112Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T04:08:30.112Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T04:08:30.112Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T04:08:30.112Z] + '[' /w/workspace/undry_device-onvif-camera_PR-268 ']' [2023-03-16T04:08:30.112Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T04:08:30.112Z] + case "${OS_FAMILY}" in [2023-03-16T04:08:30.112Z] + dpkg -l [2023-03-16T04:08:30.112Z] + grep '^ii' [2023-03-16T04:08:30.112Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T04:08:30.112Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T04:08:30.112Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T04:08:30.112Z] + '[' /w/workspace/undry_device-onvif-camera_PR-268 ']' [2023-03-16T04:08:30.112Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-268/archives/ [2023-03-16T04:08:30.112Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-268/archives/ [Pipeline] echo [2023-03-16T04:08:30.145Z] 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-268/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T04:08:30.438Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T04:08:31.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T04:08:31.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T04:08:31.191Z] prd-ubuntu20.04-docker-8c-8g-2349 does not seem to be running inside a container [2023-03-16T04:08:31.219Z] $ 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-268/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-268 -v /w/workspace/undry_device-onvif-camera_PR-268:/w/workspace/undry_device-onvif-camera_PR-268:rw,z -v /w/workspace/undry_device-onvif-camera_PR-268@tmp:/w/workspace/undry_device-onvif-camera_PR-268@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-16T04:08:31.443Z] $ docker top f440c0be3e6f1a5f6d72851b5bf12eaaee402156cf0bc65c41a36f29d366425e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T04:08:31.848Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T04:08:32.157Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T04:08:32.466Z] + ls /var/log/sa-host [2023-03-16T04:08:32.467Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T04:08:32.669Z] provisioning config files... [2023-03-16T04:08:32.680Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-268@tmp/config1768283875804921719tmp [Pipeline] { [Pipeline] echo [2023-03-16T04:08:32.729Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:08:33.043Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T04:08:33.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:08:33.475Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T04:08:33.510Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:08:33.821Z] ---> sudo-logs.sh [2023-03-16T04:08:33.821Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T04:08:33.909Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:08:34.225Z] ---> job-cost.sh [2023-03-16T04:08:34.225Z] lf-activate-venv: SKIPPING [2023-03-16T04:08:34.225Z] DEBUG: total: 0.2199999988079071 [2023-03-16T04:08:34.225Z] INFO: Retrieving Stack Cost... [2023-03-16T04:08:34.484Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T04:08:34.743Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T04:08:34.779Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T04:08:35.088Z] ---> logs-deploy.sh [2023-03-16T04:08:35.089Z] lf-activate-venv: SKIPPING [2023-03-16T04:08:35.089Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-268/1 [2023-03-16T04:08:35.089Z] INFO: archiving workspace using pattern(s): [2023-03-16T04:08:36.026Z] Archives upload complete. [2023-03-16T04:08:36.287Z] INFO: archiving logs to Nexus