#607 [modularity] Module builds never succeed (always pending)
Closed: Fixed 3 years ago by praiskup. Opened 5 years ago by cipherboy.

Wheee! So I'm a patient person but sometimes I get tired of waiting... :)

My module build submitted 5 days ago is still pending...

I can't find the module when I enable it from e.g., a F30 container:

[root@04969ed403db /]# dnf copr enable cipherboy/testing-pki-module

You are about to enable a Copr repository. Please note that this
repository is not part of the main distribution, and quality may vary.

The Fedora Project does not exercise any power over the contents of
this repository beyond the rules outlined in the Copr FAQ at
<https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>,
and packages are not held to any quality or security level.

Please do not file bug reports about these packages in Fedora
Bugzilla. In case of problems, contact the owner of this repository.

Do you really want to enable copr.fedorainfracloud.org/cipherboy/testing-pki-module? [y/N]: y
Repository successfully enabled.
[root@04969ed403db /]# dnf module info pki:master
Copr repo for testing-pki-module owned by cipherboy                                    95 kB/s |  99 kB     00:01    
Fedora Modular 30 - x86_64                                                             34 kB/s |  16 kB     00:00    
Fedora Modular 30 - x86_64 - Updates                                                   42 kB/s |  18 kB     00:00    
Fedora Modular 30 - x86_64 - Test Updates                                              96 kB/s |  17 kB     00:00    
Fedora Modular 30 - x86_64 - Test Updates                                             6.9 MB/s | 2.4 MB     00:00    
Fedora 30 - x86_64 - Test Updates                                                      88 kB/s |  17 kB     00:00    
Fedora 30 - x86_64 - Updates                                                          130 kB/s |  18 kB     00:00    
Fedora 30 - x86_64                                                                     88 kB/s |  16 kB     00:00    
Unable to resolve argument pki:master
Error: No matching Modules to list
[root@04969ed403db /]# dnf module info pki
Last metadata expiration check: 0:00:04 ago on Mon 25 Mar 2019 07:21:23 PM UTC.
Name        : pki
Stream      : 10.6
Version     : 20180713022640
Context     : 6c81f848
Profiles    : default
Repo        : fedora-modular
Summary     : Dogtag PKI
Description : A module for Dogtag PKI.
Artifacts   : dogtag-pki-0:10.6.3-1.module_1909+cebfdf1a.x86_64
            : dogtag-pki-console-theme-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : dogtag-pki-server-theme-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : jss-0:4.5.0-0.4.module_1913+819762cf.x86_64
            : jss-javadoc-0:4.5.0-0.4.module_1913+819762cf.x86_64
            : pki-base-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-base-java-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-ca-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-console-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-javadoc-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-kra-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-ocsp-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-server-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-symkey-0:10.6.3-1.module_1909+cebfdf1a.x86_64
            : pki-tks-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-tools-0:10.6.3-1.module_1909+cebfdf1a.x86_64
            : pki-tps-0:10.6.3-1.module_1909+cebfdf1a.x86_64
            : python3-pki-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : tomcatjss-0:7.3.2-1.module_1913+819762cf.noarch

Name        : pki
Stream      : 10.6
Version     : 3020190319202520
Context     : a5b0195c
Profiles    : default
Repo        : updates-testing-modular
Summary     : Dogtag PKI
Description : A module for Dogtag PKI.
Artifacts   : dogtag-pki-0:10.6.10-1.module_f30+3710+a7cfeebc.x86_64
            : dogtag-pki-console-theme-0:10.6.10-1.module_f30+3710+a7cfeebc.noarch
            : dogtag-pki-server-theme-0:10.6.10-1.module_f30+3710+a7cfeebc.noarch
            : jss-0:4.5.3-1.module_f30+3710+a7cfeebc.x86_64
            : jss-javadoc-0:4.5.3-1.module_f30+3710+a7cfeebc.x86_64
            : ldapjdk-0:4.20.0-2.module_f30+3710+a7cfeebc.noarch
            : ldapjdk-javadoc-0:4.20.0-2.module_f30+3710+a7cfeebc.noarch
            : pki-base-0:10.6.10-1.module_f30+3710+a7cfeebc.noarch
            : pki-base-java-0:10.6.10-1.module_f30+3710+a7cfeebc.noarch
            : pki-ca-0:10.6.10-1.module_f30+3710+a7cfeebc.noarch
            : pki-console-0:10.6.10-1.module_f30+3710+a7cfeebc.noarch
            : pki-javadoc-0:10.6.10-1.module_f30+3710+a7cfeebc.noarch
            : pki-kra-0:10.6.10-1.module_f30+3710+a7cfeebc.noarch
            : pki-ocsp-0:10.6.10-1.module_f30+3710+a7cfeebc.noarch
            : pki-server-0:10.6.10-1.module_f30+3710+a7cfeebc.noarch
            : pki-symkey-0:10.6.10-1.module_f30+3710+a7cfeebc.x86_64
            : pki-tks-0:10.6.10-1.module_f30+3710+a7cfeebc.noarch
            : pki-tools-0:10.6.10-1.module_f30+3710+a7cfeebc.x86_64
            : pki-tps-0:10.6.10-1.module_f30+3710+a7cfeebc.x86_64
            : python3-pki-0:10.6.10-1.module_f30+3710+a7cfeebc.noarch
            : tomcatjss-0:7.3.7-1.module_f30+3710+a7cfeebc.noarch

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive
[root@04969ed403db /]# dnf module info pki:10.6
Last metadata expiration check: 0:09:49 ago on Mon 25 Mar 2019 07:21:23 PM UTC.
Name        : pki
Stream      : 10.6
Version     : 20180713022640
Context     : 6c81f848
Profiles    : default
Repo        : fedora-modular
Summary     : Dogtag PKI
Description : A module for Dogtag PKI.
Artifacts   : dogtag-pki-0:10.6.3-1.module_1909+cebfdf1a.x86_64
            : dogtag-pki-console-theme-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : dogtag-pki-server-theme-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : jss-0:4.5.0-0.4.module_1913+819762cf.x86_64
            : jss-javadoc-0:4.5.0-0.4.module_1913+819762cf.x86_64
            : pki-base-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-base-java-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-ca-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-console-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-javadoc-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-kra-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-ocsp-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-server-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-symkey-0:10.6.3-1.module_1909+cebfdf1a.x86_64
            : pki-tks-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : pki-tools-0:10.6.3-1.module_1909+cebfdf1a.x86_64
            : pki-tps-0:10.6.3-1.module_1909+cebfdf1a.x86_64
            : python3-pki-0:10.6.3-1.module_1909+cebfdf1a.noarch
            : tomcatjss-0:7.3.2-1.module_1913+819762cf.noarch

<snip>

Disabling all other (modular) repos, it looks like pki isn't provided at all by copr. This looks to be correct by a perusal of the repo tree from the copr.

Thoughts? Thanks! :)


Metadata Update from @frostyx:
- Issue assigned to frostyx

5 years ago

Metadata Update from @frostyx:
- Issue tagged with: bug, modularity

5 years ago

Thank you for testing the modularity features in Copr, @cipherboy. I am glad to have real-life user feedback.

My module build submitted 5 days ago is still pending...

That's obviously a bug. After the last build within a module, a quick action to copy some data on the backend and generate module repodata should happen and that's it. It should be finished within seconds after the last build. I am going to examine, what can be wrong here.

I can't find the module when I enable it from e.g., a F30 container:
[root@04969ed403db /]# dnf copr enable cipherboy/testing-pki-module

We don't have modularity support for dnf copr ... yet, sorry. You need to navigate to the module build page, scroll down to the "How to use" section ... where you have probably been because it recommends the dnf copr ... ... I will have to update the instructions ... anyway, at the end of the "How to use" section, there are "Repofiles:" buttons. You will have to pick one and manually download it to /etc/yum.repos.d/

Then I can see your module

Name        : pki 
Stream      : master
Version     : 20190319201931
Profiles    : default
Repo        : cipherboy-testing-pki-module_pki-master-20190319201931
Summary     : Dogtag PKI 
Description : A module for Dogtag PKI.
Artifacts   : dogtag-pki-0:10.6.10-1.fc30.x86_64
            : dogtag-pki-console-theme-0:10.6.10-1.fc30.noarch
...

Ah, cool! Many thanks for looking into this.

I didn't know about the limitations with the default dnf copr (though, I did do a dnf install dnf-plugins-core prior to this).

I think part of my problem with finding the module was because the module build didn't succeed. These instructions are hidden while the build is failed and/or pending. :) I tried what I thought would work (dnf copr...), but since it hadn't yet succeeded...

Looks fixed. Please reopen if it is not truth.

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

3 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #884 Merged 4 years ago