`viktor.max.stable` fails to update because of absence of the Api-Key

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
testing-qa

Research direction

Start by reproducing the reported device initialization failure and inspect the request-serial step, focusing on how the Api-Key is supplied. Confirm the cause of the 400 response, then verify that updating viktor.max.stable completes successfully without the Request device serial error.

Written by the indexing model from the issue text.

Description

Hostname: srly-pdayp7xf1nmqcmz

/tmp $ cat changes.yaml | yq 'select(di == 0) | [.result[] | select(.status = "Error")][0]' | head -n 2000
err: 'cannot perform the following tasks:

  - Request device serial (cannot retrieve request-id for making a request for a serial: unexpected status 400)'
id: '1683'
kind: become-operational
ready: true
ready-time: '2025-06-23T03:21:51.217303287+01:00'
spawn-time: '2025-06-23T03:21:50.511320347+01:00'
status: Error
summary: Initialize device
tasks:
  - data:
      affected-snaps:
        - screenly-gadget-amd64
    id: '49903'
    kind: run-hook
    progress:
      done: 1
      label: ''
      total: 1
    ready-time: '2025-06-23T03:21:51.21730088+01:00'
    spawn-time: '2025-06-23T03:21:50.511310826+01:00'
    status: Undone
    summary: Run prepare-device hook
  - id: '49904'
    kind: generate-device-key
    progress:
      done: 1
      label: ''
      total: 1
    ready-time: '2025-06-23T03:21:51.20712304+01:00'
    spawn-time: '2025-06-23T03:21:50.511318189+01:00'
    status: Done
    summary: Generate device key
  - id: '49905'
    kind: request-serial
    log:
      - '2025-06-23T03:21:51+01:00 ERROR cannot retrieve request-id for making a request for a serial: unexpected status 400'
    progress:
      done: 1
      label: ''
      total: 1
    ready-time: '2025-06-23T03:21:51.199175122+01:00'
    spawn-time: '2025-06-23T03:21:50.511318998+01:00'
    status: Error
    summary: Request device serial
/tmp $ cat changes.yaml | yq 'select(di == 0) | [.result[] | select(.status = "Error")][0]' | head -n 2000

This device is broken and should be investigated.

Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.