exasol / ai-lab

Development environment for data science developers
MIT License
3 stars 0 forks source link

Ensure project short tag used in notebook tests #333

Open ckunki opened 1 day ago

ckunki commented 1 day ago

Make AI-Lab notebook tests use environment variable PROJECT_SHORT_TAG=XAIL-NB in nbtest_environ when running the tests for a jupyter notebook in test_notebook() in notebook_test_runner, see details at pytest-exasol-backend.

Details

  1. Set environment variable PROJECT_SHORT_TAG=XAIL-NB in GitHub workflow notebook_tests.yaml
  2. Copy environment variable into nbtest_environ.

Background

An increasing number of projects are starting up instances of Exasol SaaS database for running integration tests. In case of failures leaving behind running database instances and hence causing costs, we want to know which project did start the resp. database instance.

Currently, the database instances are only labeled with a timestamp and the user jupyter which is not very descriptive.

ckunki commented 4 hours ago

I needed to update ca-certificates to 20240203~22.04.1 as the formerly used version 20230311ubuntu0.22.04.1 was no longer available.

Here is the output of sudo apt update; sudo apt search ca-certificates:

ca-certificates/jammy-updates,jammy-security 20240203~22.04.1 all [upgradable from: 20230311ubuntu0.22.04.1]
  Common CA certificates
ca-certificates-java/jammy-updates,jammy-security 20190909ubuntu1.2 all
  Common CA certificates (JKS keystore)
ca-certificates-mono/jammy 6.8.0.105+dfsg-3.2 all
  Common CA certificates (Mono keystore)

The CI build currently fails with