Bug 1069614 - Review Request: jenkins-ssh-cli-auth - Jenkins SSH CLI client authenticator
Summary: Review Request: jenkins-ssh-cli-auth - Jenkins SSH CLI client authenticator
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: gil cattaneo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1069613 1069616
Blocks: 1069615
TreeView+ depends on / blocked
 
Reported: 2014-02-25 11:58 UTC by Michal Srb
Modified: 2014-03-24 15:28 UTC (History)
2 users (show)

Fixed In Version: jenkins-ssh-cli-auth-1.2-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-24 15:28:13 UTC
Type: ---
Embargoed:
puntogil: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Michal Srb 2014-02-25 11:58:38 UTC
Spec URL: http://msrb.fedorapeople.org/review/j/jenkins-ssh-cli-auth.spec
SRPM URL: http://msrb.fedorapeople.org/review/j/jenkins-ssh-cli-auth-1.2-1.fc21.src.rpm
Description: This package provides Jenkins module for authenticating CLI clients using SSH keys.
Fedora Account System Username: msrb

Comment 1 gil cattaneo 2014-03-15 09:20:48 UTC
Build fails:
package org.jvnet.hudson.test does not exist

missing test dep?

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /builddir/build/BUILD/ssh-cli-auth-module-ssh-cli-auth-1.2/src/test/java/org/jenkinsci/main/modules/cli/auth/ssh/TheTest.java:[6,29] package org.jvnet.hudson.test does not exist
[ERROR] /builddir/build/BUILD/ssh-cli-auth-module-ssh-cli-auth-1.2/src/test/java/org/jenkinsci/main/modules/cli/auth/ssh/TheTest.java:[7,29] package org.jvnet.hudson.test does not exist
[ERROR] /builddir/build/BUILD/ssh-cli-auth-module-ssh-cli-auth-1.2/src/test/java/org/jenkinsci/main/modules/cli/auth/ssh/TheTest.java:[14,30] cannot find symbol
  symbol: class HudsonTestCase
[ERROR] /builddir/build/BUILD/ssh-cli-auth-module-ssh-cli-auth-1.2/src/test/java/org/jenkinsci/main/modules/cli/auth/ssh/TheTest.java:[16,6] cannot find symbol
  symbol:   class TestExtension
  location: class org.jenkinsci.main.modules.cli.auth.ssh.TheTest
[ERROR] /builddir/build/BUILD/ssh-cli-auth-module-ssh-cli-auth-1.2/src/test/java/org/jenkinsci/main/modules/cli/auth/ssh/TheTest.java:[17,19] must be marked with @Target
[ERROR] /builddir/build/BUILD/ssh-cli-auth-module-ssh-cli-auth-1.2/src/test/java/org/jenkinsci/main/modules/cli/auth/ssh/TheTest.java:[6,29] package org.jvnet.hudson.test does not exist
[ERROR] /builddir/build/BUILD/ssh-cli-auth-module-ssh-cli-auth-1.2/src/test/java/org/jenkinsci/main/modules/cli/auth/ssh/TheTest.java:[7,29] package org.jvnet.hudson.test does not exist
[ERROR] /builddir/build/BUILD/ssh-cli-auth-module-ssh-cli-auth-1.2/src/test/java/org/jenkinsci/main/modules/cli/auth/ssh/TheTest.java:[14,30] cannot find symbol
  symbol: class HudsonTestCase
[ERROR] /builddir/build/BUILD/ssh-cli-auth-module-ssh-cli-auth-1.2/src/test/java/org/jenkinsci/main/modules/cli/auth/ssh/TheTest.java:[16,6] cannot find symbol
  symbol:   class TestExtension
  location: class org.jenkinsci.main.modules.cli.auth.ssh.TheTest
[INFO] 9 errors 


Please, report to upstream to include license file @ https://issues.jenkins-ci.org/browse/JENKINS

Please, use also %%mvn_build -- -Dproject.build.sourceEncoding=UTF-8

Comment 2 gil cattaneo 2014-03-21 10:35:23 UTC
Please, regenerate src rpm

current proposed spec differs:

%build
# tests are disabled due to API incompatibilities
%mvn_build -f

spec file in jenkins-ssh-cli-auth-1.2-1.fc21.src.rpm

%build
%mvn_build

Comment 4 gil cattaneo 2014-03-24 12:19:21 UTC
Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed


Issues:
=======
- This seems like a Java package, please install fedora-review-plugin-java to
  get additional checks


===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "Unknown or generated". 3 files have unknown license. Detailed output of
     licensecheck in /home/gil/1069614-jenkins-ssh-cli-auth/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 1 files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the license(s)
     in its own file, then that file, containing the text of the license(s)
     for the package is included in %doc.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install' ' DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package do not use a name that already exist
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

Java:
[x]: Bundled jar/class files should be removed before build

===== SHOULD items =====

Generic:
[!]: If the source package does not include license text(s) as a separate file
     from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in jenkins-
     ssh-cli-auth-javadoc
[x]: Package functions as described.
[x]: Latest version is packaged.
[!]: Package does not include license text files separate from upstream.
[x]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: Dist tag is present (not strictly required in GL).
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[!]: Spec file according to URL is the same as in SRPM.
     Note: Spec file as given by url is not the same as in SRPM (see attached
     diff).
     See: (this test has no URL)
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).


Rpmlint
-------
Checking: jenkins-ssh-cli-auth-1.2-2.fc21.noarch.rpm
          jenkins-ssh-cli-auth-javadoc-1.2-2.fc21.noarch.rpm
          jenkins-ssh-cli-auth-1.2-2.fc21.src.rpm
jenkins-ssh-cli-auth.noarch: W: spelling-error Summary(en_US) authenticator -> authentication, authenticate, authentic
jenkins-ssh-cli-auth.src: W: spelling-error Summary(en_US) authenticator -> authentication, authenticate, authentic
3 packages and 0 specfiles checked; 0 errors, 2 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint jenkins-ssh-cli-auth-javadoc jenkins-ssh-cli-auth
jenkins-ssh-cli-auth.noarch: W: spelling-error Summary(en_US) authenticator -> authentication, authenticate, authentic
2 packages and 0 specfiles checked; 0 errors, 1 warnings.
# echo 'rpmlint-done:'



Diff spec file in url and in SRPM
---------------------------------
--- /home/gil/1069614-jenkins-ssh-cli-auth/srpm/jenkins-ssh-cli-auth.spec	2014-03-24 13:03:14.978507187 +0100
+++ /home/gil/1069614-jenkins-ssh-cli-auth/srpm-unpacked/jenkins-ssh-cli-auth.spec	2014-03-24 08:41:19.000000000 +0100
@@ -53,5 +53,5 @@
 %changelog
 * Mon Mar 24 2014 Michal Srb <msrb> - 1.2-2
-- Clarify why tests are disabled
+- rebuilt
 
 * Fri Nov 08 2013 Michal Srb <msrb> - 1.2-1


Requires
--------
jenkins-ssh-cli-auth-javadoc (rpmlib, GLIBC filtered):
    jpackage-utils

jenkins-ssh-cli-auth (rpmlib, GLIBC filtered):
    jpackage-utils



Provides
--------
jenkins-ssh-cli-auth-javadoc:
    jenkins-ssh-cli-auth-javadoc

jenkins-ssh-cli-auth:
    jenkins-ssh-cli-auth
    mvn(org.jenkins-ci.modules:ssh-cli-auth)



Source checksums
----------------
https://github.com/jenkinsci/ssh-cli-auth-module/archive/ssh-cli-auth-1.2.tar.gz :
  CHECKSUM(SHA256) this package     : 4a94ecbcbda9865b5967e2a89f39630d0501ea986a24bdc0d5658bdc6ed46cd2
  CHECKSUM(SHA256) upstream package : 4a94ecbcbda9865b5967e2a89f39630d0501ea986a24bdc0d5658bdc6ed46cd2


Generated by fedora-review 0.5.1 (bb9bf27) last change: 2013-12-13
Command line :/usr/bin/fedora-review -b 1069614 -m fedora-rawhide-i386
Buildroot used: fedora-rawhide-i386
Active plugins: Generic, Shell-api, Java
Disabled plugins: C/C++, Python, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby
Disabled flags: EXARCH, EPEL5, BATCH, DISTTAG


Please, fix this one, before import

[!]: Spec file according to URL is the same as in SRPM.
     Note: Spec file as given by url is not the same as in SRPM (see attached
     diff).
     See: (this test has no URL)

Comment 5 Michal Srb 2014-03-24 12:34:48 UTC
> 
> [!]: Spec file according to URL is the same as in SRPM.
>      Note: Spec file as given by url is not the same as in SRPM (see attached
>      diff).
>      See: (this test has no URL)

Oops, fixed:
Spec URL: http://msrb.fedorapeople.org/review/3/jenkins-ssh-cli-auth.spec
SRPM URL: http://msrb.fedorapeople.org/review/3/jenkins-ssh-cli-auth-1.2-2.fc21.src.rpm

Comment 6 Michal Srb 2014-03-24 12:36:16 UTC
Thanks!

New Package SCM Request
=======================
Package Name: jenkins-ssh-cli-auth
Short Description:  Jenkins SSH CLI client authenticator
Owners: msrb sochotni mizdebsk msimacek
Branches: 
InitialCC: java-sig

Comment 7 Gwyn Ciesla 2014-03-24 13:15:41 UTC
Git done (by process-git-requests).


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