#1112 BuildStateChange items 'new' and 'old' is COMPLETE
Closed: Fixed Opened by jcupova.

Steps to Reproduce:

Run build
check /var/log/httpd/error_log on hub

Actual result:

[Wed Oct 03 07:48:00.007703 2018] [:error] [pid 10838] 2018-10-03 07:48:00,007 [DEBUG] m=host.completeBuild u=jcupova-brew7-builder1-355word75qhn p=10838 r=10.8.249.203:52344 koji.plugin.protonmsg: test mode: skipped msg: ('build.complete', {'old': 'COMPLETE', 'name': 'kojitest-dummyrpm-3g70q', 'attribute': 'state', 'version': '1.1', 'release': '11', 'new': 'COMPLETE', 'type': 'BuildStateChange'}, '{"info": {"package_name": "kojitest-dummyrpm-3g70q", "extra": {"source": {"original_url": "git+ssh://root@localhost/mnt/brew/kojitest/git/kojitest-dummyrpm-3g70q/#master"}}, "creation_time": "2018-10-03 07:45:28.202716", "completion_time": "2018-10-03 07:47:59.970622", "package_id": 45, "id": 43, "build_id": 43, "state": 1, "source": "git+ssh://localhost/mnt/brew/kojitest/git/kojitest-dummyrpm-3g70q#769985b5bda1239efa255b4f0da546d0c47b01e9", "epoch": 7, "version": "1.1", "completion_ts": 1538552879.97062, "owner_id": 2, "owner_name": "kojiadmin", "nvr": "kojitest-dummyrpm-3g70q-1.1-11", "start_time": "2018-10-03 07:45:28.202716", "creation_event_id": 3460, "start_ts": 1538552728.20272, "volume_id": 0, "creation_ts": 1538552728.20272, "name": "kojitest-dummyrpm-3g70q", "task_id": 341, "volume_name": "DEFAULT", "release": "11"}, "attribute": "state", "old": 1, "new": 1}')

Expected result:

Item 'old' should be BUILDING and 'new' should be COMPLETE

More details how we reproduce it is in https://docs.google.com/document/d/1qxdpaIxTKVc7fcYATtxBFAbtz6nDkq6ZLxp3fsFbYaY/edit?usp=sharing


PR #1123

This has been merged, but there is something wrong with the Pagure hook that closes prs and issues based on commit messages. I've filed a bug here:

https://pagure.io/pagure/issue/3905

I'm going to leave the state of this alone until I get some feedback from the Pagure devs.

Metadata Update from @mikem:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @julian8628:
- Issue set to the milestone: 1.17

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1112

Please continue any further discussion there.

Metadata