Friday, 2024-11-29

rdogerritJoel Capitao proposed openstack/tobiko-distgit antelope-rdo: Dummy commit to rebuild  https://review.rdoproject.org/r/c/openstack/tobiko-distgit/+/5565807:48
rdogerritMerged openstack/tobiko-distgit antelope-rdo: Dummy commit to rebuild  https://review.rdoproject.org/r/c/openstack/tobiko-distgit/+/5565808:03
jcapitao[m]karolinku: there is something wrong in Antelope Trunk builder09:03
jcapitao[m]it does not trigger build with latest distgit commit09:03
jcapitao[m]I'm checking why09:03
karolinku[m]is cron enabled? :)09:04
karolinku[m](check if device is connected to power supply)09:05
jcapitao[m]yep09:05
jcapitao[m]I checked in database09:05
jcapitao[m]it's stucked to commit before the dummy one09:05
karolinku[m]I think we already had that issue, restart was needed09:06
jcapitao[m]I have a local reproducer09:06
apeveccan you strace the process?09:06
jcapitao[m]so there is something wrong in DLRN code or Tobiko09:07
apevecah you can actually reproduce at will?09:07
jcapitao[m]yes, locally I have the same behavior09:07
karolinku[m]what is local error?09:14
karolinku[m]or it just hangs during dlrn_run?09:14
jcapitao[m]No commits to build09:15
jcapitao[m]with dlrn --head-only --verbose-build --package-name openstack-tobiko09:15
karolinku[m]maybe commit message is not enough to trigger rebuild?09:17
karolinku[m]in https://review.rdoproject.org/r/c/openstack/tobiko-distgit/+/5565809:17
jcapitao[m]DLRN trigger build for each new combination of source commit and distgit commit09:18
jcapitao[m]c.f https://github.com/softwarefactory-project/DLRN/blob/master/dlrn/drivers/rdoinfo.py#L198-L20609:19
karolinku[m]for Y and Z you did with spec  modification09:20
jcapitao[m]the dummy commit you mean ?09:23
karolinku[m]yes09:23
jcapitao[m]for Antelope as well09:24
jcapitao[m]that's the issue09:24
jcapitao[m]it triggered build for Y and Z, but not A09:24
karolinku[m]the weird think in gerrit it that https://review.rdoproject.org/r/c/openstack/tobiko-distgit/+/55633/2 shows that only cm was modified, which is not true09:26
karolinku[m]is the rebase in PS 2 just canceled .spec modification?09:27
jcapitao[m]DLRN is using GH distgit repo https://github.com/rdo-packages/tobiko-distgit/tree/antelope-rdo09:28
karolinku[m]same story https://github.com/rdo-packages/tobiko-distgit/commit/0d91f7b5c53be5da0e422d54c60a13164e5d361c, it's empty09:29
jcapitao[m]interesting09:36
jcapitao[m]but the content is still there09:36
jcapitao[m]and there is a new commit hash09:36
jcapitao[m]but it might be related09:36
jcapitao[m]let's test with new patch09:37
karolinku[m]agree, content + new hash should be enough, but I still have feeling that we once discuss it. amoralej would remember!09:38
amoralejabout what?09:38
karolinku[m]dummy commits with just CM moidifed09:39
amoralejno, it does not work09:39
karolinku[m]:D09:39
amoralejthere is something in DLRN which ignore those empty commits09:39
jcapitao[m]that's interesting09:40
jcapitao[m]so it does not check only commit hash09:40
jcapitao[m]I mean distro hash + source hash09:40
rdogerritJoel Capitao proposed openstack/tobiko-distgit antelope-rdo: Dummy commit to rebuild  https://review.rdoproject.org/r/c/openstack/tobiko-distgit/+/5565909:43
amoralejlemme see09:53
amoralejthere is a git command inside dlrn which is what makes it to ignore them09:53
jcapitao[m]I'm checking the DLRN code09:54
jcapitao[m]I think it's in https://github.com/softwarefactory-project/DLRN/blob/master/dlrn/repositories.py09:54
amoralejor in https://github.com/softwarefactory-project/DLRN/blob/master/dlrn/drivers/rdoinfo.py ?09:57
jcapitao[m]I'm tracing the process09:58
rdogerritMerged openstack/tobiko-distgit antelope-rdo: Dummy commit to rebuild  https://review.rdoproject.org/r/c/openstack/tobiko-distgit/+/5565909:58
jcapitao[m]amoralej: in rdoinfo drive, it exits at https://github.com/softwarefactory-project/DLRN/blob/master/dlrn/drivers/rdoinfo.py#L13509:58
jcapitao[m]refreshrepo raises an exception09:59
amoralejbut note that the list of commits is taken from https://github.com/softwarefactory-project/DLRN/blob/master/dlrn/drivers/rdoinfo.py#L174-L191 iiuc10:01
amoralejit may be ignoring empty ones not in the refresh but when creating the list of commits to process10:01
amoralejah, i remember, i think10:03
amoralejthere was a point '.'10:03
amoralejthat was the key10:03
amoralejsomewhere10:03
amoralejif you do "git log ." it does not show empty commits10:04
amoraleji think that was the point10:04
jcapitao[m]lemme check10:05
karolinku[m]what a trick o_010:05
jcapitao[m]good point 10:05
jcapitao[m]that's the issue10:05
jcapitao[m]I see it show a commit but not the latest one10:05
jcapitao[m]actually it shows the one which is in DB10:06
amoralejyep10:06
jcapitao[m]https://github.com/softwarefactory-project/DLRN/blob/7d5cbe815db23911c432d131297bdf8c41a9cb63/dlrn/repositories.py#L14910:06
amoralejyep10:07
jcapitao[m]thank you !10:07
jcapitao[m]lemme propose a change for that10:07
amoralejthe goal is just to be able to create empty dummy commits ?10:07
jcapitao[m]I'll replace . by HEAD10:08
jcapitao[m]which is the right pointer10:08
jcapitao[m]as we checkout to the right branch before10:08
jcapitao[m]we should git log HEAD10:08
jcapitao[m]amoralej: I'd say not only, but to be sure we build from commit we checkout to10:09
jcapitao[m]the problem here is that we checkout to the right ref (branch in that case), but we don't build from latest commit10:10
amoralejwhat happens with merge commits ?10:10
amoralejhow are we managing those ?10:10
amoralejare merge commits skipped with that?10:11
amoralejthat may be the reason to have that .10:11
jcapitao[m]lemme check10:11
jcapitao[m]amoralej: we are build the "Merge" commit hash10:13
jcapitao[m]latest nova https://trunk.rdoproject.org/centos9-master/component/compute/21/e6/21e6a54a81a84f02a2dfe7854824e4adfa019f49_c39e5659/commit.yaml10:13
jcapitao[m]commit_hash: 21e6a54a81a84f02a2dfe7854824e4adfa019f4910:13
jcapitao[m]which is a merge commit https://github.com/openstack/nova/commit/21e6a54a81a84f02a2dfe7854824e4adfa019f4910:13
amoralejso we merged both the real commit and the merge commit ?10:15
amoralejwe also built 8ab51e4422f1fffd272f153e4f2ed4aba469b178 ?10:15
amoralejso apparently merge commits "see" the parent commit content10:15
jcapitao[m]that's eactly what I'm checking in DB10:15
amoralejthen i don't see any other collateral damage10:16
jcapitao[m]yes we are building both real and merge commit10:18
jcapitao[m]https://trunk.rdoproject.org/centos9-master/component/compute/8a/0f/8a0fa58d8c2ecaa141900a25a763f55fc07ecc98_c39e5659/10:18
jcapitao[m]which is the real commit10:18
jcapitao[m]I'm preparing a patch10:22
apevechmm, that feels like wasting resources but not sure how to avoid it10:42
jcapitao[m]yeah, I'm not sure too10:51
jcapitao[m]because it depends on how the remote repo configures the merging10:52
rdogerritMatthieu Huin proposed config master: ci-config: disable default pipeline  https://review.rdoproject.org/r/c/config/+/5566010:53
rdogerritMerged config master: ci-config: disable default pipeline  https://review.rdoproject.org/r/c/config/+/5566011:06
rdogerritBogdan Dobrelya proposed rdo-jobs master: Add a multi-cell non-voting job  https://review.rdoproject.org/r/c/rdo-jobs/+/5319211:57
rdogerritYatin Karel proposed rdo-jobs master: [multinode adoption] Pass zuul-params.yml to test operator  https://review.rdoproject.org/r/c/rdo-jobs/+/5566112:01
rdogerritFiorella Yanac proposed rdo-jobs master: Add controllers as networkers nodes  https://review.rdoproject.org/r/c/rdo-jobs/+/5565513:05
rdogerritMerged rdo-infra/ci-config master: Disable project pipelines  https://review.rdoproject.org/r/c/rdo-infra/ci-config/+/5562713:34
rdogerritJoel Capitao proposed config master: Remove hguemar URI from reviewers  https://review.rdoproject.org/r/c/config/+/5564613:48
rdogerritJoel Capitao proposed config master: Remove hguemar URI from reviewers  https://review.rdoproject.org/r/c/config/+/5564613:52
rdogerritJoel Capitao proposed config master: Remove hguemar URI from reviewers  https://review.rdoproject.org/r/c/config/+/5564614:23
rdogerritJoel Capitao proposed config master: Remove hguemar URI from reviewers  https://review.rdoproject.org/r/c/config/+/5564614:28
rdogerritJoel Capitao proposed config master: Remove hguemar URI from reviewers  https://review.rdoproject.org/r/c/config/+/5564614:30
rdogerritMerged rdo-jobs master: [multinode adoption] Pass zuul-params.yml to test operator  https://review.rdoproject.org/r/c/rdo-jobs/+/5566116:27

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!