Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-26061

Using 7.19.8, still receiving error receiving response

    XMLWordPrintable

    Details

    • Location:
      External

      Description

      We were running 7.18.7 and then upgraded to 7.19.4.  The error about receiving a response during the "PUT" from TeamCity appeared.  According to here, 7.19.8 fixes this issue.  We installed that but the error still is happening.  Here is our error information:

      Step 10/11: Backup Migrated Database and Upload to Artifactory (PowerShell) (5m:04s)Step 10/11: Backup Migrated Database and Upload to Artifactory (PowerShell) (5m:04s) [Step 10/11] TeamCity Artifactory Plugin version: 2.8.0 [Step 10/11] PowerShell running in non-virtual agent context [Step 10/11] PowerShell Executable: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe [Step 10/11] Working directory: D:\TeamCity\BuildAgent\work\7bd2cb216566c94a [Step 10/11] Command: C:\Windows\sysnative\WindowsPowerShell\v1.0\powershell.exe [Step 10/11] PowerShell arguments: Version, 4.0, -NonInteractive, -ExecutionPolicy, ByPass, -File, <<<removed>>> [Step 10/11] Preparing to backup DMSS-AT05\CODIS database [Step 10/11] [6939] Adding artifact paths: Artifacts/*/.zip [Step 10/11] [6939] Adding published artifact: Backup.zip>12.0.4.0 [Step 10/11] Deploying artifacts to http://<<<SERVER>>>/artifactory [Step 10/11] Deploying artifact: http://<<<SERVER>>>/artifactory/<<<DIR>>>/Backup.zip [Step 10/11] Response received: 

      Unknown macro: {  "repo" }

      ,  "originalChecksums" : {    "sha1" : "<<<REMOVED>>>",    "md5" : "<<<REMOVED>>>",    "sha256" : null  },  "uri" : "http://<<<SERVER>>>/artifactory/<<<DIR>>>/Backup.zip"}

       [Step 10/11] Failed while reading the response from: PUT http://<<<SERVER>>>/artifactory/<<<DIR>>>/Backup.zip;vcs.revision=23610;build.timestamp=1624021754062;build.name=<<<REMOVED>>>;build.number=6010 HTTP/1.1 [Step 10/11] Error message: Failed while reading the response from: PUT http://<<<SERVER>>>/artifactory/<<<DIR>>>/Backup.zip;vcs.revision=23610;build.timestamp=1624021754062;build.name=<<<REMOVED>>> [Step 10/11] com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "lastModified" (class org.jfrog.build.client.ArtifactoryUploadResponse), not marked as ignorable (12 known properties: "checksums", "size", "repo", "downloadUri", "path", "statusLine", "created", "errors", "uri", "mimeType", "createdBy", "originalChecksums"]) at [Source: (String)"{  "repo" : "<<<REMOVED>>>",  "path" : "Backup.zip",  "created" : "2021-02-27T15:55:32.827-05:00",  "createdBy" : "admin",  "lastModified" : null,  "modifiedBy" : null,  "lastUpdated" : null,  "properties" : null,  "downloadUri" : "http://<<<SERVER>>>/artifactory/<<<DIR>>>/Backup.zip",  "remoteUrl" : null,  "mimeType" : "application/zip",  "size" : "16613197",  "checksums" : {    "sha1" : "fac97490980e209cc23b"[truncated 361 chars]; line: 6, column: 24] (through reference chain: org.jfrog.build.client.ArtifactoryUploadResponse["lastModified"]) at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61) at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:822) at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1152) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1582) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1560) at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294) at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3972) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2264) at com.fasterxml.jackson.core.JsonParser.readValueAs(JsonParser.java:1729) at org.jfrog.build.client.ArtifactoryHttpClient.execute(ArtifactoryHttpClient.java:249) at org.jfrog.build.client.ArtifactoryHttpClient.upload(ArtifactoryHttpClient.java:236) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:687) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.doDeployArtifact(ArtifactoryBuildInfoClient.java:374) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:362) at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:347) at org.jfrog.teamcity.agent.listener.AgentListenerBuildInfoHelper.runnerFinished(AgentListenerBuildInfoHelper.java:185) at org.jfrog.teamcity.agent.ArtifactoryAgentListener.runnerFinished(ArtifactoryAgentListener.java:116) at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at jetbrains.buildServer.util.EventDispatcher$3.run(EventDispatcher.java:138) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:76) at jetbrains.buildServer.util.EventDispatcher.dispatch(EventDispatcher.java:132) at jetbrains.buildServer.util.EventDispatcher$2.invoke(EventDispatcher.java:82) at com.sun.proxy.$Proxy7.runnerFinished(Unknown Source) at jetbrains.buildServer.agent.impl.buildStages.runnerStages.finish.FireRunnerFinishedFStage.doFinishStage(FireRunnerFinishedFStage.java:31) at jetbrains.buildServer.agent.impl.buildStages.RunnerFinishStagesExecutor.runFinishStage(RunnerFinishStagesExecutor.java:32) at jetbrains.buildServer.agent.impl.buildStages.RunnerFinishStagesExecutor.doBuildFinishStages(RunnerFinishStagesExecutor.java:23) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.RunnerContextExecutor.safeCallFinishStages(RunnerContextExecutor.java:65) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.RunnerContextExecutor.callRunnerStages(RunnerContextExecutor.java:56) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.StepExecutor.processNextStep(StepExecutor.java:25) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.executeRunnerStep(ForEachBuildRunnerStage.java:139) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.runStep(ForEachBuildRunnerStage.java:124) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.executeBuildRunners(ForEachBuildRunnerStage.java:84) at jetbrains.buildServer.agent.impl.buildStages.startStages.steps.ForEachBuildRunnerStage.doBuildStage(ForEachBuildRunnerStage.java:45) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:33) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:76) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:35) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.BuildRunActionImpl.doStages(BuildRunActionImpl.java:81) at jetbrains.buildServer.agent.impl.BuildRunActionImpl.runBuild(BuildRunActionImpl.java:57) at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:333) at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$200(BuildAgentImpl.java:58) at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:288) at java.lang.Thread.run(Thread.java:748)

      Any help will be appreciated.  Our security IT manager wants the latest version of everything installed, and with this error, we can't do what we need to do as the plugin will not upload this correctly.

      Thank you.

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            posty Eric
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-26062 -
                SYNCHRONIZED
                • Last Sync Date: