Bug 2038828 - fedora-review does not support tmpfs (was: review_helper.py failure)
Summary: fedora-review does not support tmpfs (was: review_helper.py failure)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-review
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2016597 2034246
TreeView+ depends on / blocked
 
Reported: 2022-01-10 09:26 UTC by Germano Massullo
Modified: 2022-04-17 19:11 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-17 19:11:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
fedora-review log with flag --plugins tmpfs:off (31.62 KB, text/plain)
2022-02-09 15:12 UTC, Germano Massullo
no flags Details
fedora-review log: tmpfs disabled in /etc/mock/site-defaults.cfg (39.41 KB, text/plain)
2022-02-09 15:14 UTC, Germano Massullo
no flags Details

Description Germano Massullo 2022-01-10 09:26:48 UTC
Good day, during various fedora-review(s) I am experiencing this failure, that is not triggered by errors in the SRPM

=============
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line 236, in run
    self._do_run(outfile)
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line 226, in _do_run
    self._do_report(outfile)
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line 99, in _do_report
    self._run_checks(self.bug.spec_file, self.bug.srpm_file, outfile)
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line 117, in _run_checks
    self.checks.run_checks(output=output, writedown=not Settings.no_report)
  File "/usr/lib/python3.10/site-packages/FedoraReview/checks.py", line 382, in run_checks
    run_check(name)
  File "/usr/lib/python3.10/site-packages/FedoraReview/checks.py", line 357, in run_check
    check.run()
  File "/usr/lib/python3.10/site-packages/FedoraReview/check_base.py", line 266, in run
    self.run_on_applicable()
  File "/usr/lib/python3.10/site-packages/FedoraReview/plugins/generic.py", line 478, in run_on_applicable
    filesys_dirs = set(deps.list_paths("filesystem"))
  File "/usr/lib/python3.10/site-packages/FedoraReview/deps.py", line 273, in list_paths
    paths = check_output(cmd, universal_newlines=True)
  File "/usr/lib64/python3.10/subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib64/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['mock', '-r', 'fedora-rawhide-x86_64', '-qn', '--enable-network', 'shell', 'dnf repoquery -C -l filesystem']' returned non-zero exit status 127.
====================

You can read a full trace at https://bugzilla-attachments.redhat.com/attachment.cgi?id=1849027

Best regards

Comment 1 Germano Massullo 2022-01-10 09:26:59 UTC
fedora-review-0.7.6-5.fc35.noarch

Comment 2 Alessio 2022-01-11 20:07:12 UTC
@germano.massullo 
The command is like this?

fedora-review -b 2034246

Because it works for me. Maybe it was a temporary failure?

Comment 3 Germano Massullo 2022-01-11 21:36:26 UTC
Hello, it's not a temporary failure. The command is
fedora-review -rn foo.src.rpm -m fedora-rawhide-x86_64

Comment 4 Alessio 2022-01-11 23:18:00 UTC
(In reply to Germano Massullo from comment #3)
> Hello, it's not a temporary failure. The command is
> fedora-review -rn foo.src.rpm -m fedora-rawhide-x86_64

I know it is not useful :-/ but it works for me.

Comment 5 Steve Traylen 2022-01-21 12:22:35 UTC
Do you have something in ~/.rpmmacros unusual at all?

Comment 6 Germano Massullo 2022-01-24 16:12:35 UTC
(In reply to Steve Traylen from comment #5)
> Do you have something in ~/.rpmmacros unusual at all?

$ cat ~/.rpmmacros

%_topdir %(echo $HOME)/rpmbuild

%__arch_install_post \
    [ "%{buildarch}" = "noarch" ] || QA_CHECK_RPATHS=1 ; \
    case "${QA_CHECK_RPATHS:-}" in [1yY]*) /usr/lib/rpm/check-rpaths ;; esac \
    /usr/lib/rpm/check-buildroot

Comment 7 Germano Massullo 2022-02-09 09:06:20 UTC
$ cat /home/user/.cache/fedora-review.log
02-09 10:00 root         DEBUG    fedora-review 0.7.6 b083f91 2020-11-10 21:23:00 -0500 started
02-09 10:00 root         DEBUG    Command  line: /usr/bin/fedora-review -rn python-opensearch-py-1.0.0-3.fc36.src.rpm -m fedora-rawhide-x86_64
02-09 10:00 root         INFO     Processing local files: python-opensearch-py-1.0.0-3.fc36.src.rpm
02-09 10:00 root         DEBUG    Active settings after processing options
02-09 10:00 root         DEBUG        bz_url: https://bugzilla.redhat.com
02-09 10:00 root         DEBUG        _con_handler: <StreamHandler <stderr> (INFO)>
02-09 10:00 root         DEBUG        _log_config_done: True
02-09 10:00 root         DEBUG        cache: False
02-09 10:00 root         DEBUG        resultdir: None
02-09 10:00 root         DEBUG        init_done: True
02-09 10:00 root         DEBUG        uniqueext: None
02-09 10:00 root         DEBUG        configdir: None
02-09 10:00 root         DEBUG        log_level: 20
02-09 10:00 root         DEBUG        prebuilt: False
02-09 10:00 root         DEBUG        verbose: False
02-09 10:00 root         DEBUG        name: python-opensearch-py-1.0.0-3.fc36.src.rpm
02-09 10:00 root         DEBUG        use_colors: True
02-09 10:00 root         DEBUG        session_log: /home/user/.cache/fedora-review.log
02-09 10:00 root         DEBUG        bug: None
02-09 10:00 root         DEBUG        url: None
02-09 10:00 root         DEBUG        copr_build_descriptor: None
02-09 10:00 root         DEBUG        list_checks: False
02-09 10:00 root         DEBUG        list_flags: False
02-09 10:00 root         DEBUG        list_plugins: False
02-09 10:00 root         DEBUG        version: False
02-09 10:00 root         DEBUG        flags: []
02-09 10:00 root         DEBUG        repo: None
02-09 10:00 root         DEBUG        mock_config: fedora-rawhide-x86_64
02-09 10:00 root         DEBUG        no_report: False
02-09 10:00 root         DEBUG        nobuild: False
02-09 10:00 root         DEBUG        mock_options: --no-bootstrap-chroot --no-cleanup-after --no-clean
02-09 10:00 root         DEBUG        other_bz: None
02-09 10:00 root         DEBUG        plugins_arg: None
02-09 10:00 root         DEBUG        single: None
02-09 10:00 root         DEBUG        rpm_spec: True
02-09 10:00 root         DEBUG        exclude: None
02-09 10:00 root         DEBUG        checksum: sha256
02-09 10:00 root         DEBUG        plugins: {}
02-09 10:00 root         INFO     Getting .spec and .srpm Urls from : Local files in /home/user/review
02-09 10:00 root         INFO       --> SRPM url: file:///home/user/review/python-opensearch-py-1.0.0-3.fc36.src.rpm
02-09 10:00 root         INFO     Using review directory: /home/user/review/python-opensearch-py
02-09 10:00 root         DEBUG    find_urls completed: 0.017
02-09 10:01 root         DEBUG    Avoiding init of working mock root
02-09 10:01 root         DEBUG    Url download completed: 34.669
02-09 09:01 root         DEBUG      --> /home/user/review/python-opensearch-py/upstream : https://files.pythonhosted.org/packages/source/o/opensearch-py/opensearch-py-1.0.0.tar.gz
02-09 09:01 root         INFO     Downloading (Source0): https://files.pythonhosted.org/packages/source/o/opensearch-py/opensearch-py-1.0.0.tar.gz
02-09 09:01 root         INFO     Running checks and generating report
02-09 09:01 root         DEBUG    Running check: CheckResultdir
02-09 09:01 root         DEBUG        CheckResultdir completed: 0.001 seconds
02-09 09:01 root         DEBUG    Running check: CheckBuild
02-09 09:01 root         DEBUG    Avoiding init of working mock root
02-09 09:01 root         DEBUG    Mock command: mock, -r, fedora-rawhide-x86_64, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/home/user/review/python-opensearch-py/results, --chroot, --, rm -rf $(rpm --eval %_builddir)/*
02-09 09:01 root         DEBUG    Mock output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish: chroot init
INFO: Running in chroot: ['rm -rf $(rpm --eval %_builddir)/*']
Start: unpacking root cache
Finish: unpacking root cache
Start: chroot ['rm -rf $(rpm --eval %_builddir)/*']
Finish: chroot ['rm -rf $(rpm --eval %_builddir)/*']
INFO: unmounting tmpfs.
 None
NoneType: None
02-09 09:01 root         DEBUG    Build command: "mock" "-r" "fedora-rawhide-x86_64" "--no-bootstrap-chroot" "--no-cleanup-after" "--no-clean" "--resultdir=/home/user/review/python-opensearch-py/results" --rebuild /home/user/review/python-opensearch-py-1.0.0-3.fc36.src.rpm 2>&1 | tee build.log | egrep "Results and/or logs|ERROR" 
02-09 09:01 root         DEBUG    _topdir: /builddir/build
02-09 09:01 root         INFO     Reading configuration from /etc/mock/site-defaults.cfg
02-09 09:01 root         DEBUG    Report completed:  62.741 seconds
02-09 09:01 root         INFO     Reading configuration from /etc/mock/fedora-rawhide-x86_64.cfg
02-09 09:01 root         DEBUG    Report completed:  62.792 seconds
02-09 09:01 root         INFO     Build completed
02-09 09:01 root         DEBUG    Running: rpm -ql --dump --nosignature -p /home/user/review/python-opensearch-py/results/python3-opensearch-py-1.0.0-3.fc36.noarch.rpm
02-09 09:01 root         DEBUG        CheckBuild completed: 24.005 seconds
02-09 09:01 root         DEBUG    Running check: CheckRpmlint
02-09 09:01 root         DEBUG    Run command: rpmlint -f /tmp/tmpox58xjt7 /home/user/review/python-opensearch-py/results/python3-opensearch-py-1.0.0-3.fc36.noarch.rpm /home/user/review/python-opensearch-py/results/python-opensearch-py-1.0.0-3.fc36.src.rpm
02-09 09:01 root         DEBUG    Cannot parse rpmlint output: Checking: python3-opensearch-py-1.0.0-3.fc36.noarch.rpm
          python-opensearch-py-1.0.0-3.fc36.src.rpm


02-09 09:01 root         DEBUG        CheckRpmlint completed: 0.120 seconds
02-09 09:01 root         DEBUG    Running check: CheckPackageInstalls
02-09 09:01 root         DEBUG    Init command: mock, -r, fedora-rawhide-x86_64, --init
02-09 09:02 root         DEBUG    Init output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start(bootstrap): init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: clean chroot
Finish: clean chroot
Start(bootstrap): chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root.
INFO: calling preinit hooks
INFO: enabled root cache
INFO: root cache aged out! cache will be rebuilt
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Start(bootstrap): dnf install
Finish(bootstrap): dnf install
Start(bootstrap): creating root cache
Finish(bootstrap): creating root cache
Finish(bootstrap): chroot init
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish: chroot init
Finish: run
INFO: unmounting tmpfs.
INFO: unmounting tmpfs.
 None
NoneType: None
02-09 09:02 root         INFO     Installing built package(s)
02-09 09:02 root         DEBUG    --init command: mock, -r, fedora-rawhide-x86_64, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/home/user/review/python-opensearch-py/results, --init
02-09 09:02 root         DEBUG    --init output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish: chroot init
Finish: run
INFO: unmounting tmpfs.
 None
NoneType: None
02-09 09:02 root         DEBUG    is_installed: Tested python3-opensearch-py, result: 1
02-09 09:02 root         DEBUG     command: mock, -r, fedora-rawhide-x86_64, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/home/user/review/python-opensearch-py/results, --shell, 'rm -f /var/lib/rpm/__db*'
02-09 09:02 root         DEBUG     output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Finish: chroot init
Start: unpacking root cache
Finish: unpacking root cache
Start: shell
/bin/sh: line 1: rm -f /var/lib/rpm/__db*: No such file or directory
Finish: shell
INFO: unmounting tmpfs.
 None
NoneType: None
02-09 09:02 root         DEBUG    Install command: mock, -r, fedora-rawhide-x86_64, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/home/user/review/python-opensearch-py/results, install, /home/user/review/python-opensearch-py/results/python3-opensearch-py-1.0.0-3.fc36.noarch.rpm
02-09 09:02 root         DEBUG    Install output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish: chroot init
INFO: installing package(s): /home/user/review/python-opensearch-py/results/python3-opensearch-py-1.0.0-3.fc36.noarch.rpm
INFO: 
Finish: run
INFO: unmounting tmpfs.
 None
NoneType: None
02-09 09:02 root         DEBUG        CheckPackageInstalls completed: 48.070 seconds
02-09 09:02 root         DEBUG    Running check: CheckRpmlintInstalled
02-09 09:02 root         DEBUG    --init command: mock, -r, fedora-rawhide-x86_64, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/home/user/review/python-opensearch-py/results, --init
02-09 09:02 root         DEBUG    --init output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish: chroot init
Finish: run
INFO: unmounting tmpfs.
 None
NoneType: None
02-09 09:02 root         DEBUG    is_installed: Tested rpmlint, result: 1
02-09 09:02 root         DEBUG     command: mock, -r, fedora-rawhide-x86_64, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/home/user/review/python-opensearch-py/results, --shell, 'rm -f /var/lib/rpm/__db*'
02-09 09:02 root         DEBUG     output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Finish: chroot init
Start: unpacking root cache
Finish: unpacking root cache
Start: shell
/bin/sh: line 1: rm -f /var/lib/rpm/__db*: No such file or directory
Finish: shell
INFO: unmounting tmpfs.
 None
NoneType: None
02-09 09:02 root         DEBUG    Install command: mock, -r, fedora-rawhide-x86_64, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/home/user/review/python-opensearch-py/results, install, rpmlint
02-09 09:03 root         DEBUG    Install output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish: chroot init
INFO: installing package(s): rpmlint
INFO: 
Finish: run
INFO: unmounting tmpfs.
 None
NoneType: None
02-09 09:03 root         DEBUG    Script output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start(bootstrap): init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start(bootstrap): unpacking root cache
Finish(bootstrap): unpacking root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish(bootstrap): chroot init
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish: chroot init
INFO: Running in chroot: ["echo 'rpmlint:'; rpmlint python3-opensearch-py; echo 'rpmlint-done:'"]
Start: unpacking root cache
Finish: unpacking root cache
Start: chroot ["echo 'rpmlint:'; rpmlint python3-opensearch-py; echo 'rpmlint-done:'"]
rpmlint:
/bin/sh: line 1: rpmlint: command not found
rpmlint-done:
Finish: chroot ["echo 'rpmlint:'; rpmlint python3-opensearch-py; echo 'rpmlint-done:'"]
INFO: unmounting tmpfs.
INFO: unmounting tmpfs.

02-09 09:03 root         DEBUG    Cannot parse rpmlint output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start(bootstrap): init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start(bootstrap): chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start(bootstrap): unpacking root cache
Finish(bootstrap): unpacking root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish(bootstrap): chroot init
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish: chroot init
INFO: Running in chroot: ["echo 'rpmlint:'; rpmlint python3-opensearch-py; echo 'rpmlint-done:'"]
Start: unpacking root cache
Finish: unpacking root cache
Start: chroot ["echo 'rpmlint:'; rpmlint python3-opensearch-py; echo 'rpmlint-done:'"]
rpmlint:
/bin/sh: line 1: rpmlint: command not found
rpmlint-done:
Finish: chroot ["echo 'rpmlint:'; rpmlint python3-opensearch-py; echo 'rpmlint-done:'"]
INFO: unmounting tmpfs.
INFO: unmounting tmpfs.

02-09 09:03 root         DEBUG        CheckRpmlintInstalled completed: 16.725 seconds
02-09 09:03 root         DEBUG    Running check: CheckRpmlintDebuginfo
02-09 09:03 root         DEBUG        CheckRpmlintDebuginfo completed: 0.001 seconds
02-09 09:03 root         DEBUG    Running check: CheckInitDeps
02-09 09:03 root         WARNING  Cannot run dnf makecache, trouble ahead
02-09 09:03 root         DEBUG        CheckInitDeps completed: 12.016 seconds
02-09 09:03 root         DEBUG    Running check: CheckBuildCompleted
02-09 09:03 root         DEBUG    Mock command: mock, -r, fedora-rawhide-x86_64, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/home/user/review/python-opensearch-py/results, --chroot, --, rm -rf $(rpm --eval %_builddir)/*
02-09 09:03 root         DEBUG    Mock output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish: chroot init
INFO: Running in chroot: ['rm -rf $(rpm --eval %_builddir)/*']
Start: unpacking root cache
Finish: unpacking root cache
Start: chroot ['rm -rf $(rpm --eval %_builddir)/*']
Finish: chroot ['rm -rf $(rpm --eval %_builddir)/*']
INFO: unmounting tmpfs.
 None
NoneType: None
02-09 09:03 root         DEBUG    Mock command: mock, -r, fedora-rawhide-x86_64, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/home/user/review/python-opensearch-py/results, --copyin, /home/user/review/python-opensearch-py-1.0.0-3.fc36.src.rpm, python-opensearch-py-1.0.0-3.fc36.src.rpm
02-09 09:03 root         DEBUG    Mock output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish: chroot init
INFO: copying /home/user/review/python-opensearch-py-1.0.0-3.fc36.src.rpm to /var/lib/mock/fedora-rawhide-x86_64/root/python-opensearch-py-1.0.0-3.fc36.src.rpm
Finish: run
INFO: unmounting tmpfs.
 None
NoneType: None
02-09 09:03 root         DEBUG    Mock command: mock, -r, fedora-rawhide-x86_64, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/home/user/review/python-opensearch-py/results, --chroot, --, rpm -i python-opensearch-py-1.0.0-3.fc36.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/python-opensearch-py.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :
02-09 09:03 root         DEBUG    Mock output: INFO: mock.py version 2.15 starting (python version = 3.10.2, NVR = mock-2.15-1.fc35)...
Start: init plugins
INFO: tmpfs initialized
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: chroot init
INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64/root.
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
Mock Version: 2.15
INFO: Mock Version: 2.15
Finish: chroot init
INFO: Running in chroot: ['rpm -i python-opensearch-py-1.0.0-3.fc36.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/python-opensearch-py.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
Start: unpacking root cache
Finish: unpacking root cache
Start: chroot ['rpm -i python-opensearch-py-1.0.0-3.fc36.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/python-opensearch-py.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
error: open of python-opensearch-py-1.0.0-3.fc36.src.rpm failed: No such file or directory
error: failed to stat /builddir/build/SPECS/python-opensearch-py.spec: No such file or directory
chmod: cannot access '/builddir/build/BUILD/*': No such file or directory
Finish: chroot ['rpm -i python-opensearch-py-1.0.0-3.fc36.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/python-opensearch-py.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
INFO: unmounting tmpfs.
 None
NoneType: None
02-09 09:03 root         INFO     Active plugins: Python, Shell-api, Generic
02-09 09:03 root         DEBUG        CheckBuildCompleted completed: 6.386 seconds
02-09 09:03 root         DEBUG    Skipping CheckDesktopFile in /usr/lib/python3.10/site-packages/FedoraReview/plugins/generic.py, deprecated by fonts-disable in /usr/share/fedora-review/scripts/fonts-disable.sh
02-09 09:03 root         DEBUG    Skipping CheckExcludeArch in /usr/lib/python3.10/site-packages/FedoraReview/plugins/generic.py, deprecated by generic-excludearch in /usr/share/fedora-review/scripts/generic-excludearch.sh
02-09 09:03 root         DEBUG    Skipping CheckLargeDocs in /usr/lib/python3.10/site-packages/FedoraReview/plugins/generic.py, deprecated by generic-large-docs in /usr/share/fedora-review/scripts/generic-large-docs.sh
02-09 09:03 root         DEBUG    Skipping CheckSystemdScripts in /usr/lib/python3.10/site-packages/FedoraReview/plugins/generic.py, deprecated by fonts-disable in /usr/share/fedora-review/scripts/fonts-disable.sh
02-09 09:03 root         DEBUG    Skipping CheckExcludeArch in /usr/lib/python3.10/site-packages/FedoraReview/plugins/generic.py, deprecated by generic-excludearch in /usr/share/fedora-review/scripts/generic-excludearch.sh
02-09 09:03 root         DEBUG    Skipping CheckLargeDocs in /usr/lib/python3.10/site-packages/FedoraReview/plugins/generic.py, deprecated by generic-large-docs in /usr/share/fedora-review/scripts/generic-large-docs.sh
02-09 09:03 root         DEBUG    Skipping CheckClean in /usr/lib/python3.10/site-packages/FedoraReview/plugins/generic_should.py, deprecated by fonts-disable in /usr/share/fedora-review/scripts/fonts-disable.sh
02-09 09:03 root         DEBUG    Skipping CheckFullVerReqSub in /usr/lib/python3.10/site-packages/FedoraReview/plugins/generic_should.py, deprecated by fonts-disable in /usr/share/fedora-review/scripts/fonts-disable.sh
02-09 09:03 root         DEBUG    Running check: OcamlCheckStaticLibs
02-09 09:03 root         DEBUG        OcamlCheckStaticLibs completed: 0.006 seconds
02-09 09:03 root         DEBUG    Running check: HaskellCheckStaticLibs
02-09 09:03 root         DEBUG        HaskellCheckStaticLibs completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: RCheckBuildRequires
02-09 09:03 root         DEBUG        RCheckBuildRequires completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: RCheckCheckMacro
02-09 09:03 root         DEBUG        RCheckCheckMacro completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: RCheckDoc
02-09 09:03 root         DEBUG        RCheckDoc completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: RCheckInstallSection
02-09 09:03 root         DEBUG        RCheckInstallSection completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: RCheckLatestVersionIsPackaged
02-09 09:03 root         DEBUG        RCheckLatestVersionIsPackaged completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: RCheckRequires
02-09 09:03 root         DEBUG        RCheckRequires completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckJavaPlugin
02-09 09:03 root         DEBUG        CheckJavaPlugin completed: 0.001 seconds
02-09 09:03 root         DEBUG    Running check: CheckBundledGnulib
02-09 09:03 root         DEBUG        CheckBundledGnulib completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckGccBuildRequires
02-09 09:03 root         DEBUG        CheckGccBuildRequires completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckHeaderFiles
02-09 09:03 root         DEBUG        CheckHeaderFiles completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckLDConfig
02-09 09:03 root         DEBUG        CheckLDConfig completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckLibToolArchives
02-09 09:03 root         DEBUG        CheckLibToolArchives completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckNoKernelModules
02-09 09:03 root         DEBUG        CheckNoKernelModules completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckNoStaticExecutables
02-09 09:03 root         DEBUG        CheckNoStaticExecutables completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckRPATH
02-09 09:03 root         DEBUG        CheckRPATH completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckSoFiles
02-09 09:03 root         DEBUG        CheckSoFiles completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: PerlCheckBuildRequires
02-09 09:03 root         DEBUG        PerlCheckBuildRequires completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckPythonBuildRequires
02-09 09:03 root         DEBUG        CheckPythonBuildRequires completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckPythonRequires
02-09 09:03 root         DEBUG        CheckPythonRequires completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckPythonX_Site
02-09 09:03 root         DEBUG        CheckPythonX_Site completed: 0.104 seconds
02-09 09:03 root         DEBUG    Running check: CheckApprovedLicense
02-09 09:03 root         DEBUG        CheckApprovedLicense completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckBuildrootMacros
02-09 09:03 root         DEBUG        CheckBuildrootMacros completed: 0.001 seconds
02-09 09:03 root         DEBUG    Running check: CheckBundledLibs
02-09 09:03 root         DEBUG        CheckBundledLibs completed: 0.001 seconds
02-09 09:03 root         DEBUG    Running check: CheckChangelogFormat
02-09 09:03 root         DEBUG        CheckChangelogFormat completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckCleanBuildroot
02-09 09:03 root         DEBUG    regex: rm\s+\-[rf][rf]\s+(/home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64|\$RPM_BUILD_ROOT)[^/]
02-09 09:03 root         DEBUG    install_sec: 
\
specifier=$(ls /home/user/rpmbuild/BUILD/opensearch-py-1.0.0/pyproject-wheeldir/*.whl | xargs basename --multiple | sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/')
TMPDIR="/home/user/rpmbuild/BUILD/opensearch-py-1.0.0/.pyproject-builddir" /usr/bin/python3 -m pip install --root /home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64 --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /home/user/rpmbuild/BUILD/opensearch-py-1.0.0/pyproject-wheeldir $specifier
if [ -d /home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64/usr/bin ]; then
  \
  if [ -f /usr/bin/pathfix3.10.py ]; then
    pathfix=/usr/bin/pathfix3.10.py
  else
    # older versions of Python don't have it and must BR /usr/bin/pathfix.py from python3-devel explicitly
    pathfix=/usr/bin/pathfix.py
  fi
  if [ -z "s" ]; then
    shebang_flags="-k"
  else
    shebang_flags="-kas"
  fi
  $pathfix -pni /usr/bin/python3 $shebang_flags /home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64/usr/bin/*
  rm -rfv /home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64/usr/bin/__pycache__
fi
rm -f /home/user/rpmbuild/BUILD/pyproject-ghost-distinfo
site_dirs=()
# Process /usr/lib/python3.10/site-packages if exists
if [ -d /home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64/usr/lib/python3.10/site-packages ]; then
  site_dirs+=( "/usr/lib/python3.10/site-packages" )
fi
# Process /usr/lib64/python3.10/site-packages if exists and does not equal to /usr/lib/python3.10/site-packages
if [ /home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64/usr/lib64/python3.10/site-packages != /home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64/usr/lib/python3.10/site-packages ] && [ -d /home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64/usr/lib64/python3.10/site-packages ]; then
  site_dirs+=( "/usr/lib64/python3.10/site-packages" )
fi
# Process all *.dist-info dirs in sitelib/sitearch
for site_dir in ${site_dirs[@]}; do
  for distinfo in /home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64$site_dir/*.dist-info; do
    echo "%ghost ${distinfo#/home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64}" >> /home/user/rpmbuild/BUILD/pyproject-ghost-distinfo
    sed -i 's/pip/rpm/' ${distinfo}/INSTALLER
    PYTHONPATH=/usr/lib/rpm/redhat \
      /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py \
      --buildroot /home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64 --record ${distinfo}/RECORD --output /home/user/rpmbuild/BUILD/pyproject-record
    rm -fv ${distinfo}/RECORD
    rm -fv ${distinfo}/REQUESTED
  done
done
lines=$(wc -l /home/user/rpmbuild/BUILD/pyproject-ghost-distinfo | cut -f1 -d" ")
if [ $lines -ne 1 ]; then
  echo -e "\n\nWARNING: %pyproject_extras_subpkg won't work without explicit -i or -F, found $lines dist-info directories.\n\n" >&2
  rm /home/user/rpmbuild/BUILD/pyproject-ghost-distinfo  # any attempt to use this will fail
fi

\
/usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py \
  --output-files "/home/user/rpmbuild/BUILD/pyproject-files" \
  --output-modules "/home/user/rpmbuild/BUILD/pyproject-modules" \
  --buildroot "/home/user/rpmbuild/BUILDROOT/python-opensearch-py-1.0.0-3.fc35.x86_64" \
  --sitelib "/usr/lib/python3.10/site-packages" \
  --sitearch "/usr/lib64/python3.10/site-packages" \
  --python-version "3.10" \
  --pyproject-record "/home/user/rpmbuild/BUILD/pyproject-record" \
  --prefix "/usr" \
  opensearchpy


# Tests disabled they install all git clone an opensearch server.

02-09 09:03 root         DEBUG        CheckCleanBuildroot completed: 0.001 seconds
02-09 09:03 root         DEBUG    Running check: CheckCodeAndContent
02-09 09:03 root         DEBUG        CheckCodeAndContent completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckConfigNoReplace
02-09 09:03 root         DEBUG        CheckConfigNoReplace completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckDefattr
02-09 09:03 root         DEBUG        CheckDefattr completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckDescMacros
02-09 09:03 root         DEBUG        CheckDescMacros completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckDesktopFile
02-09 09:03 root         DEBUG        CheckDesktopFile completed: 0.001 seconds
02-09 09:03 root         DEBUG    Running check: CheckDesktopFileInstall
02-09 09:03 root         DEBUG        CheckDesktopFileInstall completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckDevelFilesInDevel
02-09 09:03 root         DEBUG        CheckDevelFilesInDevel completed: 0.000 seconds
02-09 09:03 root         DEBUG    Running check: CheckDirectoryRequire
02-09 09:03 root         DEBUG    Running: mock -r fedora-rawhide-x86_64 -qn --enable-network shell dnf repoquery -C -l filesystem
02-09 09:03 root         DEBUG    Exception down the road...
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line 236, in run
    self._do_run(outfile)
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line 226, in _do_run
    self._do_report(outfile)
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line 99, in _do_report
    self._run_checks(self.bug.spec_file, self.bug.srpm_file, outfile)
  File "/usr/lib/python3.10/site-packages/FedoraReview/review_helper.py", line 117, in _run_checks
    self.checks.run_checks(output=output, writedown=not Settings.no_report)
  File "/usr/lib/python3.10/site-packages/FedoraReview/checks.py", line 382, in run_checks
    run_check(name)
  File "/usr/lib/python3.10/site-packages/FedoraReview/checks.py", line 357, in run_check
    check.run()
  File "/usr/lib/python3.10/site-packages/FedoraReview/check_base.py", line 266, in run
    self.run_on_applicable()
  File "/usr/lib/python3.10/site-packages/FedoraReview/plugins/generic.py", line 478, in run_on_applicable
    filesys_dirs = set(deps.list_paths("filesystem"))
  File "/usr/lib/python3.10/site-packages/FedoraReview/deps.py", line 273, in list_paths
    paths = check_output(cmd, universal_newlines=True)
  File "/usr/lib64/python3.10/subprocess.py", line 420, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib64/python3.10/subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['mock', '-r', 'fedora-rawhide-x86_64', '-qn', '--enable-network', 'shell', 'dnf repoquery -C -l filesystem']' returned non-zero exit status 127.
02-09 09:03 root         ERROR    Exception down the road... (logs in /home/user/.cache/fedora-review.log)
02-09 09:03 root         DEBUG    Report completed:  149.592 seconds

Comment 8 Germano Massullo 2022-02-09 10:24:48 UTC
I had forgotten to type the command I used
fedora-review -rn python-opensearch-py-1.0.0-3.fc36.src.rpm -m fedora-rawhide-x86_64

Comment 9 Miroslav Suchý 2022-02-09 14:37:20 UTC
The culprit of this error is:

01-05 12:18 root         DEBUG    Mock command: mock, -r, fedora-rawhide-x86_64, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/home/user/a/python-opensearch-py/results, --copyin, /home/user/a/python-opensearch-py-1.0.0-2.fc35.src.rpm, python-opensearch-
...
INFO: copying /home/user/a/python-opensearch-py-1.0.0-2.fc35.src.rpm to /var/lib/mock/fedora-rawhide-x86_64/root/python-opensearch-py-1.0.0-2.fc35.src.rpm
Finish: run
INFO: unmounting tmpfs.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ THIS
..

1-05 12:18 root         DEBUG    Mock command: mock, -r, fedora-rawhide-x86_64, --no-bootstrap-chroot, --no-cleanup-after, --no-clean, --resultdir=/home/user/a/python-opensearch-py/results, --chroot, --, rpm -i python-opensearch-py-1.0.0-2.fc35.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/python-opensearch-py.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :
Start: chroot ['rpm -i python-opensearch-py-1.0.0-2.fc35.src.rpm; rpmbuild --nodeps -bp $(rpm --eval %_specdir)/python-opensearch-py.spec;chmod -R  go+r  $(rpm --eval %_builddir)/* || :']
error: open of python-opensearch-py-1.0.0-2.fc35.src.rpm failed: No such file or directory


You have tmpfs enabled in your config
     config_opts['plugin_conf']['tmpfs_enable'] = True

When you disable this. It should start working.

fedora-review should either disable this plugin via --disable-plugin=tmpfs or fiddle with --mount, --umount and keep_mounted (which would be tricky to make it work for everyone).

Comment 10 Germano Massullo 2022-02-09 15:10:13 UTC
Hi Miroslav, you are right, disabling tmpfs fixed the problem.
I had to disable it by setting to False the first line of /etc/mock/site-defaults.cfg

===== CONTENT ========
config_opts['plugin_conf']['tmpfs_enable'] = True
config_opts['plugin_conf']['tmpfs_opts'] = {}
config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 1024
config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '10000m'
config_opts['plugin_conf']['tmpfs_opts']['mode'] = '0755'
config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = False
======================

because simply using fedora-review flag 
--plugins tmpfs:off
did not work. (See attached logs for the attempts with the flag and with the adjusted mock conf file)

I had enabled tmpfs on mock because this machine has a big amount of RAM and it's quicker to use it instead of writing to the disk.

I am changing this ticket title to "fedora-review does not support tmpfs", because in my opinion it should be fully supported.

Thank you for your support

Comment 11 Germano Massullo 2022-02-09 15:12:02 UTC
Created attachment 1860126 [details]
fedora-review log with flag --plugins tmpfs:off

Comment 12 Germano Massullo 2022-02-09 15:14:32 UTC
Created attachment 1860127 [details]
fedora-review log: tmpfs disabled in /etc/mock/site-defaults.cfg

Comment 13 Miroslav Suchý 2022-02-09 15:45:57 UTC
--plugins in fedora-review handle fedora-review plugins, not Mock ones.

And for customization it is preferred to use ~/.config/mock.cfg
See https://rpm-software-management.github.io/mock/#generate-custom-config-file

Comment 14 Pavel Raiskup 2022-03-23 12:20:57 UTC
This doesn't seem to be a bug in mock.  If the tmpfs plugin is the problem:

(In reply to Miroslav Suchý from comment #9)
> ...
> fedora-review should either disable this plugin via --disable-plugin=tmpfs
> ...

I fully agree with this ^.

Comment 15 Miroslav Suchý 2022-03-23 17:15:49 UTC
Here is PR so we do not ping pong this between components :)
https://pagure.io/FedoraReview/pull-request/441


Note You need to log in before you can comment on or make changes to this bug.