Bug 1490285 - modules/ruby: Ruby module status
Summary: modules/ruby: Ruby module status
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygems
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jun Aruga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1490275 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-11 08:56 UTC by Jun Aruga
Modified: 2018-08-24 14:45 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-08-24 14:45:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jun Aruga 2017-09-11 08:56:13 UTC
Description of problem:

Comment 1 Jun Aruga 2017-09-11 08:57:30 UTC
Description of problem:

This ticket is to manage the status of Ruby module (modularity) on rawhide.
https://src.fedoraproject.org/modules/ruby

The current status is

$ mbs-build local
=> ok

$ git push origin master
=> ok


The actual steps to use this module.

1.

$ mbs-build submit  (?)
=> It looks not working right now.
=> Last Friday, a guy asked to run this command.


2. There is no environment to try this module right now.
Because this module is f27 or f28 base.
But there is no Docker image (environment) for that. [1][2]
The uploaded image is f26 base.[3]

I asked when I can execute this module in #fedora-modularity IRC channel?
The answer is "I don't have an answer".

So, maybe we have to wait for a while to use this module.


The status is updated here regularity.
If you are interested in using this Ruby module, please subscribe this ticket.


[1] Registry on Docker Hub: docker.io/fedora-NN-modular
    https://hub.docker.com/_/fedora/
[2] Registry on Fedora Project server.
    registry.fedoraproject.org/fedora-NN-modular
    https://fedoraproject.org/wiki/Container:Guidelines
[3] From irc.freenode.net IRC channel: #fedora-modularity .
    ignatenkobrain> because that is F26 based while your local ruby module is f27 or f28 based
[4] contyk>-jaruga: I don't have an answer to when that's going to be available as it's broken on too many levels

Comment 2 Jun Aruga 2017-09-11 08:58:21 UTC
*** Bug 1490275 has been marked as a duplicate of this bug. ***

Comment 3 Jun Aruga 2017-09-11 09:34:06 UTC
$ mbs-build submit
=> done.
Koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=21791297


## Detail of this command.

```
$ mbs-build submit
Please visit https://id.fedoraproject.org/openidc/Authorization?scope=openid+https%3A%2F%2Fid.fedoraproject.org%2Fscope%2Fgroups+https%3A%2F%2Fmbs.fedoraproject.org%2Foidc%2Fsubmit-build&redirect_uri=http%3A%2F%2Flocalhost%3A13747%2F&response_mode=query&response_type=code&client_id=mbs-authorizer to grant authorization
127.0.0.1 - - [11/Sep/2017 11:08:29] "GET /?code=7bcbad7d-1cb6-4d58-9477-0cd6e4fe30bb_kJrCqrRD6SAcH_JtNCCCAS-CWBNfl70b HTTP/1.1" 200 47
Submitted module build 927
```

=> Build ID is 927.


How to check the build status by below ways.


```
$ mbs-build watch 927

Still building:
   module-build-macros https://koji.fedoraproject.org/koji/taskinfo?taskID=21791297

Summary:
   1 components in the BUILDING state
   3 components in the undefined state
jaruga's build #927 of ruby-master is in the "build" state (koji tag: "module-571d488d282e3c32")
```

or

```
$ mbs-build submit -w
```

or

https://mbs.fedoraproject.org/module-build-service/1/module-builds/927


Now we still need to wait for a while to run this module.

Comment 5 Jun Aruga 2017-09-11 10:24:13 UTC
Wait this will be fixed.
https://bugzilla.redhat.com/show_bug.cgi?id=1479302

Comment 6 Jun Aruga 2017-09-18 10:35:00 UTC
I was succeess for "mbs-build submit", getting below notification from the system.


> jaruga's build of modules/ruby entered the ready state.
https://mbs.fedoraproject.org/module-build-service/1/module-builds/927

Note:
I needed to build 2 time because of random error of ruby's error on PPC64LE.
Current version is still including rubypick in it.

Comment 7 Jun Aruga 2017-09-19 16:42:53 UTC
I faced a bug of mbs-build command.

And I am waiting the fixed version will be released right now.
Now the version is tested on Bodhi.
https://pagure.io/fm-orchestrator/issue/696

Comment 8 Jun Aruga 2017-09-21 08:38:21 UTC
Modular Server (F27) schedule is here.

https://fedoraproject.org/wiki/User:Langdon/Proposed_Modular_Server_Release
> 2017-10-17 Fedora Modular Server Beta Release (actual)

Comment 9 Jun Aruga 2017-10-04 14:02:43 UTC
I submitted the ruby module without platform-placeholder today.

I built it with testing new version module-build-service to pass mbs-build local.
https://bodhi.fedoraproject.org/updates/FEDORA-2017-693301db67

But still it is using bootstrap module in the file. I have to remove it.

autotools module looks prepared.
https://src.fedoraproject.org/modules/autotools

systemtap module looks not prepared.
https://src.fedoraproject.org/modules/systemtap

Comment 10 Jun Aruga 2017-10-15 08:42:50 UTC
Trying to remove bootstrap module dependency from ruby module now.

Ref: perl-bootstrap module
https://src.fedoraproject.org/modules/perl-bootstrap/blob/master/f/perl-bootstrap.yaml

Comment 11 Jun Aruga 2017-10-30 11:41:31 UTC
Remove bootstrap module from the build dependency.

Now the state is ready.
https://mbs.fedoraproject.org/module-build-service/1/module-builds/1237
https://koji.fedoraproject.org/koji/taskinfo?taskID=22804254

Comment 12 Jun Aruga 2017-10-31 15:41:43 UTC
modules/ruby looks composed.

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/7PHOPEUKS3X6PHZDQ5CB6B4C7LSIQXVC/

> Fedora Modular 27 compose report: 20171031.n.1 changes
> 
> ===== ADDED PACKAGES =====
> Package: ruby-2.4.2-86.module_30a428cd
> ...
> Package: rubygem-bundler-1.13.7-3.module_30a428cd

Comment 13 Jun Aruga 2017-11-02 13:31:20 UTC
Now testing on latest boltron f27 docker image.


```
$ docker pull docker.io/jamesantill/boltron-bikeshed
$ docker tag docker.io/jamesantill/boltron-bikeshed boltron-bikeshed
$ docker run --rm -it boltron-bikeshed bash
```

```
Boltron-27-d654dfbc419e-0# dnf module list
Bikey McBikeface compose: bikey-mcbikeshed-2017-10-25.1       1.3 MB/s | 4.8 MB     00:03    
Local repo. for modulae testing from MBS. Eg. RUN: /LOCAL.sh  251 kB/s | 257  B     00:00    
Last metadata expiration check: 0:00:00 ago on Thu 02 Nov 2017 01:22:41 PM UTC.
Bikey McBikeface compose: bikey-mcbikeshed-2017-10-25.1
Name                    Stream          Version             Profiles                          
389-ds                  master [d]      20171020091040      default                           
X11-base                master [d]      20171024083218      default                           
apache-commons          master [d]      20171020120039      default                           
autotools               master [d]      20171006131320      default                           
bind                    master [d]      20171018130500      client, default, ...              
cloud-init              master [d]      20171020082503      default                           
cmake-bootstrap         master          20171009111607                                        
fonts                   master [d]      20170927081324      default                           
freeipa                 master [d]      20170911112809      default                           
hardware-support        master [d]      20171017130330                                        
help2man                master [d]      20170901135943      default                           
host                    master [d]      20171024133034                                        
httpd                   master [d]      20171025102509      default                           
java                    master [d]      20171024174720      default                           
krb5                    master [d]      20170905124904      default                           
mariadb                 master [d]      20171024134637      client, default, ...              
maven                   master [d]      20171010095310      default                           
meson                   master [d]      20171012151727      default                           
mongodb                 master          20171006070116      client, default, ...              
mysql                   master [d]      20170904221942      client, default, ...              
networking-base         master [d]      20171019153104      default [i]                       
ninja                   master [d]      20171011094457      default                           
nodejs                  6 [d]           20170925160215      default, development, ...         
nodejs                  8               20171006145641      default, development, ...         
perl                    master [d]      20171002111648      default, minimal                  
perl-IO-Socket-SSL      master          20171005131201      default                           
pki                     master [d]      20170906114456      default                           
platform                master [d]      20171023092831      buildroot [i], srpm-buildroot     
postgresql              master [d]      20171020104421      client, default, ...              
python2                 master [d]      20171003150125      default, full, ...                
python2-ecosystem       master [d]      20170922132456                                        
python3                 master [d]      20171002163149      default [i], full, ...            
python3-ecosystem       master [d]      20171018154018                                        
resteasy                master [d]      20170905132007      default                           
ruby                    master          20171003164606                                        
samba                   master [d]      20171024112243      client, default, ...              
sssd                    master [d]      20170905144604      default                           
tomcat                  master [d]      20170905122033      default                           
udisks2                 master [d]      20171024121431      default                           

Hint: [d]efault, [i]nstalled, [l]ocked
```

```
Boltron-27-d654dfbc419e-0# dnf module info ruby:master
Last metadata expiration check: 0:07:08 ago on Thu 02 Nov 2017 01:22:41 PM UTC.

Name        : ruby
Stream      : master
Version     : 20171003164606
Repo        : bikey-mcbikeshed-2017-10-25.1
Summary     : An interpreter of object-oriented scripting language
Description : Ruby is the interpreted scripting language for quick and easy object-oriented programming.  It has many features to process text files and to do system management tasks (as in Perl).  It is simple, straight-forward, and extensible.
Artifacts   : module-build-macros-0.1-1.module_feeea3cf.noarch
            : ruby-2.4.2-84.module_feeea3cf.x86_64
            : ruby-debuginfo-2.4.2-84.module_feeea3cf.x86_64
            : ruby-debugsource-2.4.2-84.module_feeea3cf.x86_64
            : ruby-devel-2.4.2-84.module_feeea3cf.x86_64
            : ruby-doc-2.4.2-84.module_feeea3cf.noarch
            : ruby-irb-2.4.2-84.module_feeea3cf.noarch
            : ruby-libs-2.4.2-84.module_feeea3cf.x86_64
            : ruby-libs-debuginfo-2.4.2-84.module_feeea3cf.x86_64
            : rubygem-bigdecimal-1.3.0-84.module_feeea3cf.x86_64
            : rubygem-bigdecimal-debuginfo-1.3.0-84.module_feeea3cf.x86_64
            : rubygem-bundler-1.13.7-3.module_feeea3cf.noarch
            : rubygem-bundler-doc-1.13.7-3.module_feeea3cf.noarch
            : rubygem-did_you_mean-1.1.0-84.module_feeea3cf.x86_64
            : rubygem-io-console-0.4.6-84.module_feeea3cf.x86_64
            : rubygem-io-console-debuginfo-0.4.6-84.module_feeea3cf.x86_64
            : rubygem-json-2.0.4-84.module_feeea3cf.x86_64
            : rubygem-json-debuginfo-2.0.4-84.module_feeea3cf.x86_64
            : rubygem-minitest-5.10.1-84.module_feeea3cf.noarch
            : rubygem-net-telnet-0.1.1-84.module_feeea3cf.x86_64
            : rubygem-openssl-2.0.5-84.module_feeea3cf.x86_64
            : rubygem-openssl-debuginfo-2.0.5-84.module_feeea3cf.x86_64
            : rubygem-power_assert-0.4.1-84.module_feeea3cf.noarch
            : rubygem-psych-2.2.2-84.module_feeea3cf.x86_64
            : rubygem-psych-debuginfo-2.2.2-84.module_feeea3cf.x86_64
            : rubygem-rake-12.0.0-84.module_feeea3cf.noarch
            : rubygem-rdoc-5.0.0-84.module_feeea3cf.noarch
            : rubygem-test-unit-3.2.3-84.module_feeea3cf.noarch
            : rubygem-xmlrpc-0.2.1-84.module_feeea3cf.noarch
            : rubygems-2.6.13-84.module_feeea3cf.noarch
            : rubygems-devel-2.6.13-84.module_feeea3cf.noarch
```


```
Boltron-27-d654dfbc419e-1# dnf module install ruby:master
Last metadata expiration check: 0:02:46 ago on Thu 02 Nov 2017 01:22:41 PM UTC.
No profile specified for 'ruby:master', please specify profile
Nothing to install. Enabled modules: ruby:master
```

=> No profile specified for 'ruby:master', please specify profile

Comment 14 Jun Aruga 2017-11-02 13:38:51 UTC
```
Boltron-27-d654dfbc419e-1# dnf module install ruby:master/default
Last metadata expiration check: 0:10:46 ago on Thu 02 Nov 2017 01:22:41 PM UTC.
Error: No such profile: ruby:master:20171003164606/default. No profiles available
```

But /data/profiles/default element is a optional element according to
https://pagure.io/modulemd/blob/master/f/spec.yaml

How to fix this?

Comment 15 Jun Aruga 2017-11-02 13:55:58 UTC
Reported here. https://pagure.io/fm-orchestrator/issue/761

Comment 16 Jun Aruga 2017-11-02 18:49:28 UTC
The latest version modules/ruby that added profile in ruby.yaml as a temporary workflow for above issue #761, fixed "filter" element's typo.

Let's see it after next compose.
https://koji.fedoraproject.org/koji/taskinfo?taskID=22869001

Comment 17 Jun Aruga 2017-11-03 17:20:25 UTC
I submitted by module-build-service latest version 1.4.1-1.

$ rpm -q module-build-service
module-build-service-1.4.1-1.fc25.noarch

https://koji.fedoraproject.org/koji/taskinfo?taskID=22893436
https://koji.fedoraproject.org/koji/taskinfo?taskID=22894169

```
$ mbs-build watch 1311
...
Summary:
   3 components in the COMPLETE state
jaruga's build #1311 of ruby-master is in the "ready" state (koji tag: "module-73a70cf2d2de015d")
```

Comment 19 Jun Aruga 2017-11-09 12:05:47 UTC
It looks fixed.

> jaruga	Oh it works? no error when you install module/ruby? That's good news.
> jkosciel	yeah, I just pulled the latest jamesantill/boltron-27 and with "dnf module install ruby:master" It all works out great. "ruby --version" then returns "ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]"

Comment 20 Fedora End Of Life 2018-02-20 15:27:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 21 Jun Aruga 2018-08-24 14:45:30 UTC
The module is available. I would close this ticket.


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