Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package molecule-plugins for
openSUSE:Factory checked in at 2026-11-16 12:28:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/molecule-plugins (Old)
and /work/SRC/openSUSE:Factory/.molecule-plugins.new.1251 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "molecule-plugins"
Mon Nov 16 12:28:08 2026 rev:2 rq:1397679 version:26.11.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/molecule-plugins/molecule-plugins.changes
2026-10-28 17:48:55.937050033 +0100
+++
/work/SRC/openSUSE:Factory/.molecule-plugins.new.1251/molecule-plugins.changes
2026-11-16 12:28:34.782928445 +0100
@@ -1,0 +2,11 @@
+Tue Nov 3 14:53:40 UTC 2026 - Harshvardhan Sharma
<[email protected]>
+
+- update to 26.11.0:
+ * Features
+ - gce: add on_host_maintenance and guest_accelerators platform
+ options (#350)
+ * Fixes
+ - podman: forward memory, memory_swap and pids_limit to
+ containers (#398)
+
+-------------------------------------------------------------------
Old:
----
molecule_plugins-26.10.12.tar.gz
New:
----
molecule_plugins-26.11.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ molecule-plugins.spec ++++++
--- /var/tmp/diff_new_pack.ng8XX5/_old 2026-11-16 12:28:35.772970426 +0100
+++ /var/tmp/diff_new_pack.ng8XX5/_new 2026-11-16 12:28:35.774970510 +0100
@@ -37,7 +37,7 @@
%endif
Name: molecule-plugins
-Version: 26.10.12
+Version: 26.11.0
Release: 0
Summary: Collection of molecule plugins
License: MIT
++++++ molecule_plugins-26.10.12.tar.gz -> molecule_plugins-26.11.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/molecule_plugins-26.10.12/.config/dictionary.txt
new/molecule_plugins-26.11.0/.config/dictionary.txt
--- old/molecule_plugins-26.10.12/.config/dictionary.txt 2026-10-12
23:47:12.866168000 +0200
+++ new/molecule_plugins-26.11.0/.config/dictionary.txt 2026-11-02
10:49:53.167715300 +0100
@@ -7,6 +7,7 @@
NOPASSWD
OAEP
PRNG
+Pids
Sbarnea
Sorin
Sysctls
@@ -62,6 +63,7 @@
overlayfs
pacman
passwordless
+pids
polkit
preemptible
rebake
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/molecule_plugins-26.10.12/PKG-INFO
new/molecule_plugins-26.11.0/PKG-INFO
--- old/molecule_plugins-26.10.12/PKG-INFO 2026-10-12 23:47:22.611082800
+0200
+++ new/molecule_plugins-26.11.0/PKG-INFO 2026-11-02 10:50:03.998118000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: molecule-plugins
-Version: 26.10.12
+Version: 26.11.0
Summary: Molecule Plugins
Author-email: Sorin Sbarnea <[email protected]>
Maintainer-email: Sorin Sbarnea <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/molecule_plugins-26.10.12/src/molecule_plugins/_version.py
new/molecule_plugins-26.11.0/src/molecule_plugins/_version.py
--- old/molecule_plugins-26.10.12/src/molecule_plugins/_version.py
2026-10-12 23:47:22.437084200 +0200
+++ new/molecule_plugins-26.11.0/src/molecule_plugins/_version.py
2026-11-02 10:50:03.774109600 +0100
@@ -18,7 +18,7 @@
commit_id: str | None
__commit_id__: str | None
-__version__ = version = '26.10.12'
-__version_tuple__ = version_tuple = (26, 10, 12)
+__version__ = version = '26.11.0'
+__version_tuple__ = version_tuple = (26, 11, 0)
-__commit_id__ = commit_id = 'g563510fee'
+__commit_id__ = commit_id = 'g0da93314c'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/molecule_plugins-26.10.12/src/molecule_plugins/gce/driver.py
new/molecule_plugins-26.11.0/src/molecule_plugins/gce/driver.py
--- old/molecule_plugins-26.10.12/src/molecule_plugins/gce/driver.py
2026-10-12 23:47:12.869167800 +0200
+++ new/molecule_plugins-26.11.0/src/molecule_plugins/gce/driver.py
2026-11-02 10:49:53.171715300 +0100
@@ -81,6 +81,35 @@
safe_files:
- foo
+ Set the host maintenance policy of an instance with
+ ``on_host_maintenance``. Accepted values are ``MIGRATE`` (live-migrate
+ the instance during host maintenance) and ``TERMINATE`` (stop the
+ instance). When omitted, the GCE default is used.
+
+ Attach GPUs to an instance with ``guest_accelerators``, a list of dicts
+ with ``accelerator_count`` and ``accelerator_type`` keys. The
+ ``accelerator_type`` is a partial URL of the accelerator type in the
+ instance zone.
+
+ .. important::
+
+ The machine type must support the requested GPUs.
+ GPU instances cannot be live-migrated, so ``on_host_maintenance``
+ must be set to ``TERMINATE`` whenever ``guest_accelerators`` is used.
+
+ .. code-block:: yaml
+
+ driver:
+ name: gce
+ platforms:
+ - name: instance
+ machine_type: n1-standard-2
+ zone: europe-west4-a
+ on_host_maintenance: TERMINATE
+ guest_accelerators:
+ - accelerator_count: 1
+ accelerator_type:
zones/europe-west4-a/acceleratorTypes/nvidia-tesla-t4
+
.. _`GCE`: https://cloud.google.com/compute/docs/
"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/molecule_plugins-26.10.12/src/molecule_plugins/gce/playbooks/tasks/create_linux_instance.yml
new/molecule_plugins-26.11.0/src/molecule_plugins/gce/playbooks/tasks/create_linux_instance.yml
---
old/molecule_plugins-26.10.12/src/molecule_plugins/gce/playbooks/tasks/create_linux_instance.yml
2026-10-12 23:47:12.869167800 +0200
+++
new/molecule_plugins-26.11.0/src/molecule_plugins/gce/playbooks/tasks/create_linux_instance.yml
2026-11-02 10:49:53.171715300 +0100
@@ -14,6 +14,7 @@
ssh-keys: "{{ lookup('env', 'USER') }}:{{ keypair.public_key }}"
scheduling:
preemptible: "{{ item.preemptible | default(false) }}"
+ on_host_maintenance: "{{ item.on_host_maintenance | default(omit) }}"
disks:
- auto_delete: true
boot: true
@@ -35,6 +36,7 @@
service_account_email: "{{ molecule_yml.driver.service_account_email |
default(omit, true) }}"
service_account_file: "{{ molecule_yml.driver.service_account_file |
default(omit, true) }}"
auth_kind: "{{ molecule_yml.driver.auth_kind | default(omit, true) }}"
+ guest_accelerators: "{{ item.guest_accelerators | default(omit) }}"
register: async_results
loop: "{{ molecule_yml.platforms }}"
loop_control:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/molecule_plugins-26.10.12/src/molecule_plugins/gce/playbooks/tasks/create_windows_instance.yml
new/molecule_plugins-26.11.0/src/molecule_plugins/gce/playbooks/tasks/create_windows_instance.yml
---
old/molecule_plugins-26.10.12/src/molecule_plugins/gce/playbooks/tasks/create_windows_instance.yml
2026-10-12 23:47:12.869167800 +0200
+++
new/molecule_plugins-26.11.0/src/molecule_plugins/gce/playbooks/tasks/create_windows_instance.yml
2026-11-02 10:49:53.171715300 +0100
@@ -6,6 +6,7 @@
machine_type: "{{ item.machine_type | default('n1-standard-1') }}"
scheduling:
preemptible: "{{ item.preemptible | default(false) }}"
+ on_host_maintenance: "{{ item.on_host_maintenance | default(omit) }}"
disks:
- auto_delete: true
boot: true
@@ -27,6 +28,7 @@
service_account_email: "{{ molecule_yml.driver.service_account_email |
default(omit, true) }}"
service_account_file: "{{ molecule_yml.driver.service_account_file |
default(omit, true) }}"
auth_kind: "{{ molecule_yml.driver.auth_kind | default(omit, true) }}"
+ guest_accelerators: "{{ item.guest_accelerators | default(omit) }}"
register: async_results
loop: "{{ molecule_yml.platforms }}"
async: 7200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/molecule_plugins-26.10.12/src/molecule_plugins/podman/playbooks/create.yml
new/molecule_plugins-26.11.0/src/molecule_plugins/podman/playbooks/create.yml
---
old/molecule_plugins-26.10.12/src/molecule_plugins/podman/playbooks/create.yml
2026-10-12 23:47:12.870168000 +0200
+++
new/molecule_plugins-26.11.0/src/molecule_plugins/podman/playbooks/create.yml
2026-11-02 10:49:53.172715400 +0100
@@ -158,8 +158,11 @@
ip: "{{ item.ip | default(omit) }}"
label:
owner: "molecule" # keep in sync with ../driver.py:Podman.reset()
+ memory: "{{ item.memory | default(omit) }}"
+ memory_swap: "{{ item.memory_swap | default(omit) }}"
network: "{{ item.network | default(omit) }}"
pid: "{{ item.pid_mode | default(omit) }}"
+ pids_limit: "{{ item.pids_limit | default(omit) }}"
privileged: "{{ item.privileged | default(omit) }}"
publish: "{{ item.published_ports | default(omit) }}"
security_opt: "{{ item.security_opts | default(omit) }}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/molecule_plugins-26.10.12/src/molecule_plugins/podman/schema/driver.json
new/molecule_plugins-26.11.0/src/molecule_plugins/podman/schema/driver.json
---
old/molecule_plugins-26.10.12/src/molecule_plugins/podman/schema/driver.json
2026-10-12 23:47:12.870168000 +0200
+++ new/molecule_plugins-26.11.0/src/molecule_plugins/podman/schema/driver.json
2026-11-02 10:49:53.172715400 +0100
@@ -144,6 +144,18 @@
"title": "IP",
"type": "string"
},
+ "memory": {
+ "description": "Memory limit of the container, either as a podman
size string such as \"256m\" or as a number of bytes.",
+ "examples": ["256m", "268435456"],
+ "title": "Memory",
+ "type": "string"
+ },
+ "memory_swap": {
+ "description": "Total memory limit of the container (memory plus
swap). Must be larger than the memory limit, either as a podman size string
such as \"512m\" or as a number of bytes.",
+ "examples": ["512m", "536870912"],
+ "title": "Memory Swap",
+ "type": "string"
+ },
"name": {
"description": "Name of the container",
"title": "Name",
@@ -173,6 +185,12 @@
"title": "PID Mode",
"type": "string"
},
+ "pids_limit": {
+ "description": "Maximum number of processes allowed in the
container. Use -1 for no limit.",
+ "examples": ["1234", "-1"],
+ "title": "Pids Limit",
+ "type": "string"
+ },
"pre_build_image": {
"description": "Build the image before creating the container.",
"title": "Pre Build Image",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/molecule_plugins-26.10.12/src/molecule_plugins.egg-info/PKG-INFO
new/molecule_plugins-26.11.0/src/molecule_plugins.egg-info/PKG-INFO
--- old/molecule_plugins-26.10.12/src/molecule_plugins.egg-info/PKG-INFO
2026-10-12 23:47:22.550083400 +0200
+++ new/molecule_plugins-26.11.0/src/molecule_plugins.egg-info/PKG-INFO
2026-11-02 10:50:03.912114600 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: molecule-plugins
-Version: 26.10.12
+Version: 26.11.0
Summary: Molecule Plugins
Author-email: Sorin Sbarnea <[email protected]>
Maintainer-email: Sorin Sbarnea <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/molecule_plugins-26.10.12/src/molecule_plugins.egg-info/SOURCES.txt
new/molecule_plugins-26.11.0/src/molecule_plugins.egg-info/SOURCES.txt
--- old/molecule_plugins-26.10.12/src/molecule_plugins.egg-info/SOURCES.txt
2026-10-12 23:47:22.576083200 +0200
+++ new/molecule_plugins-26.11.0/src/molecule_plugins.egg-info/SOURCES.txt
2026-11-02 10:50:03.948116000 +0100
@@ -211,6 +211,7 @@
test/podman/conftest.py
test/podman/test_driver.py
test/podman/test_func.py
+test/podman/test_resource_limits.py
test/podman/test_tmpfs.py
test/vagrant-plugin/__init__.py
test/vagrant-plugin/test_driver.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/molecule_plugins-26.10.12/src/molecule_plugins.egg-info/scm_file_list.json
new/molecule_plugins-26.11.0/src/molecule_plugins.egg-info/scm_file_list.json
---
old/molecule_plugins-26.10.12/src/molecule_plugins.egg-info/scm_file_list.json
2026-10-12 23:47:22.548083300 +0200
+++
new/molecule_plugins-26.11.0/src/molecule_plugins.egg-info/scm_file_list.json
2026-11-02 10:50:03.910114500 +0100
@@ -203,6 +203,7 @@
"test/podman/conftest.py",
"test/podman/test_driver.py",
"test/podman/test_func.py",
+ "test/podman/test_resource_limits.py",
"test/podman/test_tmpfs.py",
"test/vagrant-plugin/__init__.py",
"test/vagrant-plugin/functional/__init__.py",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/molecule_plugins-26.10.12/src/molecule_plugins.egg-info/scm_version.json
new/molecule_plugins-26.11.0/src/molecule_plugins.egg-info/scm_version.json
---
old/molecule_plugins-26.10.12/src/molecule_plugins.egg-info/scm_version.json
2026-10-12 23:47:22.533083400 +0200
+++ new/molecule_plugins-26.11.0/src/molecule_plugins.egg-info/scm_version.json
2026-11-02 10:50:03.887113800 +0100
@@ -1,8 +1,8 @@
{
- "tag": "26.10.12",
+ "tag": "26.11.0",
"distance": 0,
- "node": "g563510feecce4fca042bf4310ce48306c3e12261",
+ "node": "g0da93314c42159ae9af2cd12daa3b9951b69e5bd",
"dirty": false,
"branch": "HEAD",
- "node_date": "2026-10-12"
+ "node_date": "2026-11-01"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/molecule_plugins-26.10.12/test/podman/test_resource_limits.py
new/molecule_plugins-26.11.0/test/podman/test_resource_limits.py
--- old/molecule_plugins-26.10.12/test/podman/test_resource_limits.py
1970-01-01 01:00:00.000000000 +0100
+++ new/molecule_plugins-26.11.0/test/podman/test_resource_limits.py
2026-11-02 10:49:53.177715500 +0100
@@ -0,0 +1,146 @@
+# Copyright (c) 2015-2018 Cisco Systems, Inc.
+# Copyright (c) 2018 Red Hat, Inc.
+
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+# THE SOFTWARE.
+
+"""Unit tests for the podman driver resource-limit platform options."""
+
+from __future__ import annotations
+
+import json
+
+from pathlib import Path
+from typing import Any
+
+import pytest
+import yaml
+
+from jsonschema import ValidationError, validate
+
+from molecule import api
+
+
+CREATE_PLAYBOOK = (
+ Path(__file__).parents[2] / "src" / "molecule_plugins" / "podman" /
"playbooks" / "create.yml"
+)
+
+RESOURCE_LIMIT_PLATFORM = {
+ "name": "instance",
+ "image": "image:tag",
+ "memory": "268435456",
+ "memory_swap": "536870912",
+ "pids_limit": "1234",
+}
+
+
[email protected]()
+def schema(driver_name: str) -> dict[str, Any]:
+ """Return the podman driver JSON schema.
+
+ Args:
+ driver_name: Name of the driver under test.
+
+ Returns:
+ The parsed driver JSON schema.
+ """
+ schema_file = api.drivers()[driver_name].schema_file()
+ return json.loads(Path(schema_file).read_text())
+
+
+def _create_task() -> dict[str, Any]:
+ """Return the ``Create molecule instance(s)`` task of the bundled playbook.
+
+ Returns:
+ The task that calls ``containers.podman.podman_container``.
+ """
+ playbook = yaml.safe_load(CREATE_PLAYBOOK.read_text())
+ tasks = [task for play in playbook for task in play.get("tasks", []) if
isinstance(task, dict)]
+ matches = [
+ task for task in tasks if
isinstance(task.get("containers.podman.podman_container"), dict)
+ ]
+ assert len(matches) == 1, "expected exactly one podman_container task"
+ return matches[0]["containers.podman.podman_container"]
+
+
+def test_resource_limits_are_accepted_by_schema(schema: dict[str, Any]) ->
None:
+ """Asserts that memory, memory_swap and pids_limit validate as strings.
+
+ Args:
+ schema: The podman driver JSON schema.
+ """
+ config = {"driver": {"name": "podman"}, "platforms":
[dict(RESOURCE_LIMIT_PLATFORM)]}
+ validate(instance=config, schema=schema)
+ assert config["platforms"][0]["pids_limit"] == "1234"
+
+
+def test_resource_limits_reject_integer_types(schema: dict[str, Any]) -> None:
+ """Asserts that integer resource limits are rejected to maintain argument
spec parity.
+
+ Args:
+ schema: The podman driver JSON schema.
+ """
+ for field in ("memory", "memory_swap", "pids_limit"):
+ config = {
+ "driver": {"name": "podman"},
+ "platforms": [
+ {
+ "name": "instance",
+ "image": "image:tag",
+ field: 1234,
+ },
+ ],
+ }
+ with pytest.raises(ValidationError):
+ validate(instance=config, schema=schema)
+
+
+def test_resource_limits_accept_size_strings(schema: dict[str, Any]) -> None:
+ """Asserts that podman size strings are accepted as well as byte counts.
+
+ Args:
+ schema: The podman driver JSON schema.
+ """
+ config = {
+ "driver": {"name": "podman"},
+ "platforms": [
+ {
+ "name": "instance",
+ "image": "image:tag",
+ "memory": "256m",
+ "memory_swap": "512m",
+ "pids_limit": "-1",
+ },
+ ],
+ }
+ validate(instance=config, schema=schema)
+
+
+def test_create_playbook_forwards_resource_limits() -> None:
+ """Asserts that the create playbook passes the limits to the module."""
+ task = _create_task()
+ for key in ("memory", "memory_swap", "pids_limit"):
+ expected = "{{ item." + key + " | default(omit) }}"
+ assert task[key] == expected
+
+
+def test_create_playbook_keeps_existing_parameters() -> None:
+ """Asserts that unrelated container parameters are untouched."""
+ task = _create_task()
+ for key in ("ulimits", "privileged", "pid"):
+ assert key in task