usnistgov / ESV-Server

Entropy Source Validation Protocol and Server specifications
13 stars 12 forks source link

Data uploaded but server does not find it #16

Closed smuellerDD closed 2 years ago

smuellerDD commented 2 years ago

eaID 292

The raw noise data and restart data is uploaded:

data file 829 (raw noise) and 830 (restart) both receive

[
  {
    "esvVersion": "1.0"
  },
  {
    "uploadType": "UploadDataFile",
    "status": "success",
    "dataLengthBytes": 1000000
  }
]

When POSTing /certify, I get:

[
  {
    "esvVersion": "1.0"
  },
  {
    "status": "error",
    "errors": {
      "entropyAssessmentsReferences": {
        "elementList": [
          {
            "location": "indexPosition:1, EntropyAssessmentId: 292",
            "messageList": [
              "RawNoiseBits DataFile may not be available yet or an unexpected exception. Check server log for details.",
              "RestartBits DataFile may not be available yet or an unexpected exception. Check server log for details.",
              "ConditionedBits DataFile may not be available yet or an unexpected exception. Check server log for details."
            ]
          }
        ]
      }
    },
    "information": {
      "messageList": [
        "moduleId name is Jitter RNG (Generic C)."
      ],
      "entropyAssessmentsReferences": {
        "elementList": [
          {
            "location": "indexPosition:1, EntropyAssessmentId: 292",
            "messageList": [
              "oeId name is Fedora 32 on Intel Broadwell i7."
            ]
          }
        ]
      }
    }
  }
]

Note, I do have a vetted conditioning component, so no conditioned bits were sent.

Note2: This very setup with the very same data was successfully processed (e.g. eaID 122).

celic commented 2 years ago

How soon are you trying to certify after sending the data files? Are you confirming that the data files have completed their testing?

smuellerDD commented 2 years ago

Am Montag, 23. Mai 2022, 18:08:55 CEST schrieb Chris Celi:

Hi Chris,

How soon are you trying to certify after sending the data files? Are you confirming that the data files have completed their testing?

Sorry for the delay. I try to certify right after submitting the data. If you say, I have to wait, shouldn't there be a "retry:30" answer by the server?

Ciao Stephan

celic commented 2 years ago

There is a wait status if you perform a GET on the data file url you just uploaded to. You can only certify after that GET returns a success status.

The certify will tell you the files haven't finished yet as-is.

On Sun, May 29, 2022, 4:57 PM smuellerDD @.***> wrote:

Am Montag, 23. Mai 2022, 18:08:55 CEST schrieb Chris Celi:

Hi Chris,

How soon are you trying to certify after sending the data files? Are you confirming that the data files have completed their testing?

Sorry for the delay. I try to certify right after submitting the data. If you say, I have to wait, shouldn't there be a "retry:30" answer by the server?

Ciao Stephan

— Reply to this email directly, view it on GitHub https://github.com/usnistgov/ESV-Server/issues/16#issuecomment-1140523109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATQXEKTUHWGDFX7EALAQDLVMPK3TANCNFSM5WP63H2A . You are receiving this because you commented.Message ID: @.***>

celic commented 2 years ago

I am going to close this issue unless you have additional comments. The question was answered.