Bug 1266034 - [abrt] mock: shutil.py:107:copyfile:FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/mock/fedora-22-x86_64/result/zbackup-1.4.4-1.fc22.src.rpm'
[abrt] mock: shutil.py:107:copyfile:FileNotFoundError: [Errno 2] No such file...
Status: CLOSED EOL
Product: Fedora
Classification: Fedora
Component: mock (Show other bugs)
22
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Clark Williams
Fedora Extras Quality Assurance
https://retrace.fedoraproject.org/faf...
abrt_hash:e4f7c353a9ac059a3cd611caa50...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-24 06:59 EDT by Davide Repetto
Modified: 2016-07-19 14:00 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-19 14:00:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (2.27 KB, text/plain)
2015-09-24 06:59 EDT, Davide Repetto
no flags Details
File: environ (2.13 KB, text/plain)
2015-09-24 06:59 EDT, Davide Repetto
no flags Details

  None (edit)
Description Davide Repetto 2015-09-24 06:59:24 EDT
Version-Release number of selected component:
mock-1.2.12-1.fc22

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python3 -tt /sbin/mock /var/lib/mock/fedora-22-x86_64/result/zbackup-1.4.4-1.fc22.src.rpm
executable:     /sbin/mock
kernel:         4.1.6-201.fc22.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
shutil.py:107:copyfile:FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/mock/fedora-22-x86_64/result/zbackup-1.4.4-1.fc22.src.rpm'

Traceback (most recent call last):
  File "/sbin/mock", line 832, in <module>
    main()
  File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace
    result = func(*args, **kw)
  File "/sbin/mock", line 649, in main
    run_command(options, args, config_opts, commands, buildroot, state)
  File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace
    result = func(*args, **kw)
  File "/sbin/mock", line 729, in run_command
    do_rebuild(config_opts, commands, buildroot, args)
  File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace
    result = func(*args, **kw)
  File "/sbin/mock", line 495, in do_rebuild
    post=post_build, clean=clean)
  File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace
    result = func(*args, **kw)
  File "/sbin/mock", line 440, in rebuild_generic
    ret = cmd(item)
  File "/sbin/mock", line 475, in build
    check=config_opts['check'])
  File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.4/site-packages/mockbuild/backend.py", line 207, in build
    srpm = self.copy_srpm_into_chroot(srpm)
  File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.4/site-packages/mockbuild/backend.py", line 364, in copy_srpm_into_chroot
    shutil.copy2(srpm_path, dest)
  File "/usr/lib64/python3.4/shutil.py", line 244, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib64/python3.4/shutil.py", line 107, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/mock/fedora-22-x86_64/result/zbackup-1.4.4-1.fc22.src.rpm'

Local variables in innermost frame:
dst: '/var/lib/mock/fedora-22-x86_64/root/builddir/build/originals/zbackup-1.4.4-1.fc22.src.rpm'
follow_symlinks: True
fn: '/var/lib/mock/fedora-22-x86_64/root/builddir/build/originals/zbackup-1.4.4-1.fc22.src.rpm'
src: '/var/lib/mock/fedora-22-x86_64/result/zbackup-1.4.4-1.fc22.src.rpm'
Comment 1 Davide Repetto 2015-09-24 06:59:32 EDT
Created attachment 1076466 [details]
File: backtrace
Comment 2 Davide Repetto 2015-09-24 06:59:34 EDT
Created attachment 1076467 [details]
File: environ
Comment 3 Fedora End Of Life 2016-07-19 14:00:27 EDT
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

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