Project

General

Profile

Actions

action #161399

open

coordination #58184: [saga][epic][use case] full version control awareness within openQA

coordination #48641: [epic] Trigger openQA tests in pull requests of any product github pull request

Use Tumbleweed again for openqa-single-instance container

Added by tinita about 1 month ago. Updated 27 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Motivation

In #87695 we downgraded the openqa-single-instance container because Tumbleweed did not work in Github codespaces.

I created a bugreport here:
https://github.com/orgs/community/discussions/127083
Installing awk and tar fixes it, see https://progress.opensuse.org/issues/161399#note-6

Acceptance criteria

  • AC1: We have two new container files in openQA/containers/ and in OBS, tumbleweed-codespaces with awk and tar, and openqa-single-instance-codespaces building from that
  • AC2: Our devcontainer definitions use the openqa-single-instance-codespaces container
  • AC3: openqa-single-instance container uses Tumbleweed again

Notes


Related issues 1 (0 open1 closed)

Copied from openQA Project - action #87695: Full openQA test development, maintenance and administration from browser without the need of a local terminal size:MResolvedtinita

Actions
Actions #1

Updated by tinita about 1 month ago

  • Copied from action #87695: Full openQA test development, maintenance and administration from browser without the need of a local terminal size:M added
Actions #2

Updated by okurz about 1 month ago

  • Target version set to Ready
Actions #3

Updated by okurz about 1 month ago

  • Status changed from New to Blocked
  • Assignee set to okurz
  • Target version changed from Ready to future

I subscribed to https://github.com/orgs/community/discussions/127083 . Let's block on that

Actions #4

Updated by okurz about 1 month ago

I asked in https://matrix.to/#/!XpAJOYggtDiIfDZZBr:opensuse.org/$ps-jpbRJPTawRdS-FOGvgWNH7YQ0bEys_iE_bhBqcFs

hi guys, we observed an interesting error trying out GitHub codespaces using a Tumblweed container: https://github.com/orgs/community/discussions/127083 Trying that container just yields an error message in the user's browser session "An unexpected error occurred that requires a reload of this page.". Our internal ticket https://progress.opensuse.org/issues/161399 . Leap 15.5 works fine so we use that as workaround for now. Any idea what could cause this?

Actions #5

Updated by mpagot about 1 month ago

I just tested codespace proposed in https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/18324 , that is also a TW based one, and nowadays is broken in the same way:

An unexpected error occurred that requires a reload of this page.
The workbench failed to connect to the server (Error: exception was thrown by handler. exception: failed to start vs code remote server.)
Actions #6

Updated by mpagot about 1 month ago

Issue in TW not to be usable for codespace is the lack of awk in the default container image

In TW

$ podman run --rm opensuse/tumbleweed:latest awk --version

Error: crun: executable file `awk` not found in $PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found

In Leap

$ podman run --rm opensuse/leap:15.5 awk --version
GNU Awk 4.2.1, API: 2.0
Copyright (C) 1989, 1991-2018 Free Software Foundation......

AWK is needed by part of the codespace deployment, one of the latest part where some binary are "uploaded" in the running container to allow communication with the VScode that "host" it.

Viable solution is to change the codespace config file to get TW using a Dockerfile and then install awk as part of it (to be safe awk and tar as both are required by the codespace deployment process).

Here some "documentation" --> https://github.com/microsoft/vscode-remote-release/issues/9620
Here an example about how to fix it --> https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/18324 and in particular https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/18324/commits/084a5706d981dc22ca14d3ef159a8d95a4585d19

Actions #7

Updated by tinita about 1 month ago

  • Description updated (diff)

Thanks @mpagot !

Discussed with @okurz .
We want to have a generic tumbleweed container working with codespaces, and build a single instance on top of that. That can also include things like os-autoinst-deps, so that people could run perltidy for example.

I updated the description.

Actions #8

Updated by tinita about 1 month ago

  • Status changed from Blocked to New
  • Assignee deleted (okurz)
Actions #9

Updated by okurz about 1 month ago

  • Target version changed from future to Tools - Next
Actions #10

Updated by tinita about 1 month ago

  • Description updated (diff)
Actions #11

Updated by tinita about 1 month ago

  • Description updated (diff)
Actions #12

Updated by okurz 28 days ago

  • Target version changed from Tools - Next to Ready
Actions #13

Updated by okurz 27 days ago

  • Target version changed from Ready to Tools - Next
Actions

Also available in: Atom PDF