Bug 2218839 - Configuration using cyradm cyradm fails
Summary: Configuration using cyradm cyradm fails
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cyrus-imapd
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Martin Osvald 🛹
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-30 08:12 UTC by František Hrdina
Modified: 2023-06-30 10:59 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-30 10:59:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description František Hrdina 2023-06-30 08:12:23 UTC
Found when failing these tests which use that configuration
/Regression/null-partitions-in-ctl-mboxlist

Reproducible: Always

Steps to Reproduce:
CM_CMD="cm user.user-test"
SAM_CMD="sam user.user-test cyrus all"
DM_CMD="dm user.user-test"
Q_CMD="quit"

rlRun "sed -i 's/sasl_pwcheck_method\: saslauthd/sasl_pwcheck_method\: alwaystrue/g' /etc/imapd.conf" 0 "edit config to allow login"
rlRun "service $PACKAGE start" 0 "Running cyrus-imapd service"
rlRun "echo ${CM_CMD}$'\n'${SAM_CMD}$'\n'${DM_CMD}$'\n'${Q_CMD}$'\n' | cyradm -u cyrus -w '' localhost" 0 "Doing configuration on cyradm server"

Actual Results:  
:: [ 11:03:28 ] :: [  BEGIN   ] :: Doing configuration on cyradm server :: actually running 'echo cm user.user-test$'
'sam user.user-test cyrus all$'
'dm user.user-test$'
'quit$'
' | cyradm -u cyrus -w '' localhost'
Use of uninitialized value in subroutine entry at /usr/lib64/perl5/vendor_perl/Cyrus/IMAP/Admin.pm line 118.
	(in cleanup) client is not of type Cyrus::IMAP at /usr/lib64/perl5/vendor_perl/Cyrus/IMAP/Admin.pm line 118.
cyradm: cannot connect to server
:: [ 11:03:28 ] :: [   FAIL   ] :: Doing configuration on cyradm server (Expected 0, got 111)

Expected Results:  
Everything PASS

Comment 2 Martin Osvald 🛹 2023-06-30 10:26:02 UTC
Looks like something related to F39/rawhide, this passes on F38.

Comment 3 František Hrdina 2023-06-30 10:59:54 UTC
This seems to be some temporary failure, maybe some issue in the fedora-rawhide image.
The test PASSED in today's weekly run, so I am closing this bug.
https://artifacts.dev.testing-farm.io/add16f3c-b6be-4585-a0cc-7832caf44c0a/


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