0s autopkgtest [11:19:23]: starting date: 2024-03-11 0s autopkgtest [11:19:23]: git checkout: d9c0295 adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [11:19:23]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.rwr55dxf/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:ruby3.1,src:openssl --apt-upgrade ruby-mail --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=ruby3.1/3.1.2-7ubuntu5 openssl/3.0.13-0ubuntu1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos03-arm64-7.secgroup --name adt-noble-arm64-ruby-mail-20240311-111923-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 110s autopkgtest [11:21:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 110s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 111s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [434 kB] 111s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2621 kB] 111s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 111s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.3 kB] 111s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [581 kB] 111s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 111s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 111s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 111s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2966 kB] 111s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 111s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [39.6 kB] 111s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 113s Fetched 6832 kB in 1s (4581 kB/s) 113s Reading package lists... 115s Reading package lists... 116s Building dependency tree... 116s Reading state information... 117s Calculating upgrade... 117s The following packages will be REMOVED: 117s libssl3 117s The following NEW packages will be installed: 117s libssl3t64 117s The following packages will be upgraded: 117s openssl 118s 1 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 118s Need to get 2753 kB of archives. 118s After this operation, 72.7 kB of additional disk space will be used. 118s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.13-0ubuntu1 [983 kB] 119s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.13-0ubuntu1 [1770 kB] 119s Fetched 2753 kB in 1s (2351 kB/s) 120s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74748 files and directories currently installed.) 120s Preparing to unpack .../openssl_3.0.13-0ubuntu1_arm64.deb ... 120s Unpacking openssl (3.0.13-0ubuntu1) over (3.0.10-1ubuntu4) ... 120s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: 120s wget depends on libssl3 (>= 3.0.0). 120s u-boot-tools depends on libssl3 (>= 3.0.0). 120s tnftp depends on libssl3 (>= 3.0.0). 120s tcpdump depends on libssl3 (>= 3.0.0). 120s systemd-resolved depends on libssl3 (>= 3.0.0). 120s systemd depends on libssl3 (>= 3.0.0). 120s sudo depends on libssl3 (>= 3.0.0). 120s sbsigntool depends on libssl3 (>= 3.0.0). 120s rsync depends on libssl3 (>= 3.0.0). 120s python3-cryptography depends on libssl3 (>= 3.0.0). 120s openssh-server depends on libssl3 (>= 3.0.10). 120s openssh-client depends on libssl3 (>= 3.0.10). 120s mtd-utils depends on libssl3 (>= 3.0.0). 120s mokutil depends on libssl3 (>= 3.0.0). 120s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 120s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0). 120s libssh-4:arm64 depends on libssl3 (>= 3.0.0). 120s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0). 120s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0). 120s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0). 120s libnvme1 depends on libssl3 (>= 3.0.0). 120s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). 120s libkmod2:arm64 depends on libssl3 (>= 3.0.0). 120s libfido2-1:arm64 depends on libssl3 (>= 3.0.0). 120s libcurl4:arm64 depends on libssl3 (>= 3.0.0). 120s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0). 120s kmod depends on libssl3 (>= 3.0.0). 120s dhcpcd-base depends on libssl3 (>= 3.0.0). 120s bind9-libs:arm64 depends on libssl3 (>= 3.0.0). 120s 120s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74748 files and directories currently installed.) 120s Removing libssl3:arm64 (3.0.10-1ubuntu4) ... 120s Selecting previously unselected package libssl3t64:arm64. 120s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74737 files and directories currently installed.) 120s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu1_arm64.deb ... 120s Unpacking libssl3t64:arm64 (3.0.13-0ubuntu1) ... 120s Setting up libssl3t64:arm64 (3.0.13-0ubuntu1) ... 120s Setting up openssl (3.0.13-0ubuntu1) ... 120s Processing triggers for man-db (2.12.0-3) ... 121s Processing triggers for libc-bin (2.39-0ubuntu2) ... 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 122s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 123s sh: Attempting to set up Debian/Ubuntu apt sources automatically 123s sh: Distribution appears to be Ubuntu 123s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s eatmydata is already the newest version (131-1). 124s dbus is already the newest version (1.14.10-4ubuntu1). 124s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 124s Reading package lists... 125s Building dependency tree... 125s Reading state information... 125s rng-tools-debian is already the newest version (2.4). 125s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 125s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s haveged is already the newest version (1.9.14-1ubuntu1). 126s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 126s Reading package lists... 127s Building dependency tree... 127s Reading state information... 127s The following packages will be REMOVED: 127s cloud-init* python3-configobj* python3-debconf* 128s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 128s After this operation, 3248 kB disk space will be freed. 128s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74750 files and directories currently installed.) 128s Removing cloud-init (24.1-0ubuntu1) ... 129s Removing python3-configobj (5.0.8-3) ... 129s Removing python3-debconf (1.5.86) ... 129s Processing triggers for man-db (2.12.0-3) ... 129s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74361 files and directories currently installed.) 129s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 130s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 130s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 131s Reading package lists... 131s Building dependency tree... 131s Reading state information... 132s linux-generic is already the newest version (6.8.0-11.11+1). 132s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 132s Get:1 http://ftpmaster.internal/ubuntu noble InRelease [255 kB] 132s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 133s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 133s Get:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 133s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [438 kB] 133s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2616 kB] 133s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [585 kB] 133s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2965 kB] 134s Fetched 6976 kB in 2s (3838 kB/s) 135s Reading package lists... 135s Reading package lists... 135s Building dependency tree... 135s Reading state information... 136s Calculating upgrade... 136s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 136s Reading package lists... 137s Building dependency tree... 137s Reading state information... 137s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 138s autopkgtest [11:21:41]: rebooting testbed after setup commands that affected boot 374s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 382s autopkgtest [11:25:45]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 383s autopkgtest [11:25:46]: testbed dpkg architecture: arm64 384s autopkgtest [11:25:47]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-mail 387s Get:1 http://ftpmaster.internal/ubuntu noble/universe ruby-mail 2.8.1+dfsg1-2 (dsc) [2079 B] 387s Get:2 http://ftpmaster.internal/ubuntu noble/universe ruby-mail 2.8.1+dfsg1-2 (tar) [621 kB] 387s Get:3 http://ftpmaster.internal/ubuntu noble/universe ruby-mail 2.8.1+dfsg1-2 (diff) [4956 B] 387s gpgv: Signature made Wed Jun 14 15:25:16 2023 UTC 387s gpgv: using RSA key D30863E26020E543F4719A838F53E0193B294B75 387s gpgv: Can't check signature: No public key 387s dpkg-source: warning: cannot verify inline signature for ./ruby-mail_2.8.1+dfsg1-2.dsc: no acceptable signature found 387s autopkgtest [11:25:50]: testing package ruby-mail version 2.8.1+dfsg1-2 387s autopkgtest [11:25:50]: build not needed 388s autopkgtest [11:25:51]: test gem2deb-test-runner: preparing testbed 393s Reading package lists... 393s Building dependency tree... 393s Reading state information... 394s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 394s Starting 2 pkgProblemResolver with broken count: 0 394s Done 394s Done 395s Starting pkgProblemResolver with broken count: 0 395s Starting 2 pkgProblemResolver with broken count: 0 395s Done 396s The following additional packages will be installed: 396s gem2deb-test-runner libruby libruby3.1 rake ruby ruby-diff-lcs ruby-mail 396s ruby-mini-mime ruby-net-telnet ruby-rspec ruby-rspec-core 396s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support ruby-rubygems 396s ruby-sdbm ruby-webrick ruby-xmlrpc ruby3.1 rubygems-integration 396s Suggested packages: 396s ri ruby-dev bundler 396s Recommended packages: 396s zip fonts-lato libjs-jquery 396s The following NEW packages will be installed: 396s gem2deb-test-runner libruby libruby3.1 rake ruby ruby-diff-lcs ruby-mail 396s ruby-mini-mime ruby-net-telnet ruby-rspec ruby-rspec-core 396s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support ruby-rubygems 396s ruby-sdbm ruby-webrick ruby-xmlrpc ruby3.1 rubygems-integration 396s 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded. 396s 1 not fully installed or removed. 396s Need to get 6303 kB of archives. 396s After this operation, 37.5 MB of additional disk space will be used. 396s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 rubygems-integration all 1.18 [5336 B] 396s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 rake all 13.0.6-3 [61.6 kB] 397s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 397s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-webrick all 1.8.1-1 [52.3 kB] 397s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-xmlrpc all 0.3.2-2 [24.8 kB] 397s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libruby arm64 1:3.1+1 [4640 B] 397s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-sdbm arm64 1.0.0-5build3 [17.9 kB] 397s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libruby3.1 arm64 3.1.2-7ubuntu5 [5116 kB] 397s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 ruby3.1 arm64 3.1.2-7ubuntu5 [49.0 kB] 397s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-rubygems all 3.4.20-1 [238 kB] 397s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 ruby arm64 1:3.1+1 [3464 B] 397s Get:12 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-mini-mime all 1.1.5-1 [19.9 kB] 397s Get:13 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-mail all 2.8.1+dfsg1-2 [290 kB] 397s Get:14 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-support all 3.12.0c0e1m1s0-1 [28.8 kB] 397s Get:15 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-core all 3.12.0c0e1m1s0-1 [163 kB] 397s Get:16 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-diff-lcs all 1.5.0-1 [23.9 kB] 397s Get:17 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.2 kB] 397s Get:18 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.4 kB] 397s Get:19 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [3506 B] 397s Get:20 http://ftpmaster.internal/ubuntu noble/universe arm64 gem2deb-test-runner arm64 2.2.2 [18.2 kB] 398s Fetched 6303 kB in 1s (6448 kB/s) 398s Selecting previously unselected package rubygems-integration. 398s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74306 files and directories currently installed.) 398s Preparing to unpack .../00-rubygems-integration_1.18_all.deb ... 398s Unpacking rubygems-integration (1.18) ... 398s Selecting previously unselected package rake. 398s Preparing to unpack .../01-rake_13.0.6-3_all.deb ... 398s Unpacking rake (13.0.6-3) ... 398s Selecting previously unselected package ruby-net-telnet. 398s Preparing to unpack .../02-ruby-net-telnet_0.2.0-1_all.deb ... 398s Unpacking ruby-net-telnet (0.2.0-1) ... 398s Selecting previously unselected package ruby-webrick. 398s Preparing to unpack .../03-ruby-webrick_1.8.1-1_all.deb ... 398s Unpacking ruby-webrick (1.8.1-1) ... 398s Selecting previously unselected package ruby-xmlrpc. 398s Preparing to unpack .../04-ruby-xmlrpc_0.3.2-2_all.deb ... 398s Unpacking ruby-xmlrpc (0.3.2-2) ... 398s Selecting previously unselected package libruby:arm64. 398s Preparing to unpack .../05-libruby_1%3a3.1+1_arm64.deb ... 398s Unpacking libruby:arm64 (1:3.1+1) ... 398s Selecting previously unselected package ruby-sdbm:arm64. 398s Preparing to unpack .../06-ruby-sdbm_1.0.0-5build3_arm64.deb ... 398s Unpacking ruby-sdbm:arm64 (1.0.0-5build3) ... 398s Selecting previously unselected package libruby3.1:arm64. 398s Preparing to unpack .../07-libruby3.1_3.1.2-7ubuntu5_arm64.deb ... 398s Unpacking libruby3.1:arm64 (3.1.2-7ubuntu5) ... 399s Selecting previously unselected package ruby3.1. 399s Preparing to unpack .../08-ruby3.1_3.1.2-7ubuntu5_arm64.deb ... 399s Unpacking ruby3.1 (3.1.2-7ubuntu5) ... 399s Selecting previously unselected package ruby-rubygems. 399s Preparing to unpack .../09-ruby-rubygems_3.4.20-1_all.deb ... 399s Unpacking ruby-rubygems (3.4.20-1) ... 399s Selecting previously unselected package ruby. 399s Preparing to unpack .../10-ruby_1%3a3.1+1_arm64.deb ... 399s Unpacking ruby (1:3.1+1) ... 399s Selecting previously unselected package ruby-mini-mime. 399s Preparing to unpack .../11-ruby-mini-mime_1.1.5-1_all.deb ... 399s Unpacking ruby-mini-mime (1.1.5-1) ... 399s Selecting previously unselected package ruby-mail. 399s Preparing to unpack .../12-ruby-mail_2.8.1+dfsg1-2_all.deb ... 399s Unpacking ruby-mail (2.8.1+dfsg1-2) ... 399s Selecting previously unselected package ruby-rspec-support. 399s Preparing to unpack .../13-ruby-rspec-support_3.12.0c0e1m1s0-1_all.deb ... 399s Unpacking ruby-rspec-support (3.12.0c0e1m1s0-1) ... 399s Selecting previously unselected package ruby-rspec-core. 399s Preparing to unpack .../14-ruby-rspec-core_3.12.0c0e1m1s0-1_all.deb ... 399s Unpacking ruby-rspec-core (3.12.0c0e1m1s0-1) ... 399s Selecting previously unselected package ruby-diff-lcs. 400s Preparing to unpack .../15-ruby-diff-lcs_1.5.0-1_all.deb ... 400s Unpacking ruby-diff-lcs (1.5.0-1) ... 400s Selecting previously unselected package ruby-rspec-expectations. 400s Preparing to unpack .../16-ruby-rspec-expectations_3.12.0c0e1m1s0-1_all.deb ... 400s Unpacking ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 400s Selecting previously unselected package ruby-rspec-mocks. 400s Preparing to unpack .../17-ruby-rspec-mocks_3.12.0c0e1m1s0-1_all.deb ... 400s Unpacking ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 400s Selecting previously unselected package ruby-rspec. 400s Preparing to unpack .../18-ruby-rspec_3.12.0c0e1m1s0-1_all.deb ... 400s Unpacking ruby-rspec (3.12.0c0e1m1s0-1) ... 400s Selecting previously unselected package gem2deb-test-runner. 400s Preparing to unpack .../19-gem2deb-test-runner_2.2.2_arm64.deb ... 400s Unpacking gem2deb-test-runner (2.2.2) ... 400s Setting up rubygems-integration (1.18) ... 400s Setting up ruby-net-telnet (0.2.0-1) ... 400s Setting up ruby-rspec-support (3.12.0c0e1m1s0-1) ... 400s Setting up ruby-webrick (1.8.1-1) ... 400s Setting up ruby-xmlrpc (0.3.2-2) ... 400s Setting up ruby-rubygems (3.4.20-1) ... 400s Setting up rake (13.0.6-3) ... 400s Setting up libruby:arm64 (1:3.1+1) ... 400s Setting up ruby-sdbm:arm64 (1.0.0-5build3) ... 400s Setting up libruby3.1:arm64 (3.1.2-7ubuntu5) ... 400s Setting up ruby3.1 (3.1.2-7ubuntu5) ... 400s Setting up ruby (1:3.1+1) ... 400s Setting up ruby-mini-mime (1.1.5-1) ... 400s Setting up ruby-rspec-core (3.12.0c0e1m1s0-1) ... 400s Setting up ruby-diff-lcs (1.5.0-1) ... 400s Setting up gem2deb-test-runner (2.2.2) ... 400s Setting up ruby-mail (2.8.1+dfsg1-2) ... 400s Setting up ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 400s Setting up ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 400s Setting up ruby-rspec (3.12.0c0e1m1s0-1) ... 400s Setting up autopkgtest-satdep (0) ... 400s Processing triggers for libc-bin (2.39-0ubuntu2) ... 400s Processing triggers for man-db (2.12.0-3) ... 406s (Reading database ... 77882 files and directories currently installed.) 406s Removing autopkgtest-satdep (0) ... 407s autopkgtest [11:26:10]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 407s autopkgtest [11:26:10]: test gem2deb-test-runner: [----------------------- 408s 408s ┌──────────────────────────────────────────────────────────────────────────────┐ 408s │ Checking Rubygems dependency resolution on ruby3.1 │ 408s └──────────────────────────────────────────────────────────────────────────────┘ 408s 408s RUBYLIB=. GEM_PATH= ruby3.1 -e gem\ \"mail\" 408s mv lib ./.gem2deb.lib 408s mv ./.gem2deb.lib lib 408s 408s ┌──────────────────────────────────────────────────────────────────────────────┐ 408s │ Run tests for ruby3.1 from debian/ruby-tests.rake │ 408s └──────────────────────────────────────────────────────────────────────────────┘ 408s 408s RUBYLIB=. GEM_PATH= ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 408s mv lib ./.gem2deb.lib 408s /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation 408s Running Specs under Ruby Version 3.1.2 408s Running Specs for Mail Version 2.8.1 409s 409s Attachments 409s from direct content 409s should work 409s should work out magically the mime_type 409s should assign the filename 409s should assign mime-encoded multibyte filename 409s from a supplied Hash 409s should work 409s should allow you to override the content_type 409s should allow you to override the mime_type 409s should allow you to override the mime_type 409s decoding and encoding 409s should set its content_transfer_encoding 409s should encode its body to base64 409s should allow you to pass in an encoded attachment with an encoding 409s should allow you set a mime type and encoding without overriding the encoding 409s should not allow you to pass in an encoded attachment with an unknown encoding 409s should be able to call read on the attachment to return the decoded data 409s should only add one newline between attachment body and boundary 409s multiple attachments 409s should allow you to pass in more than one attachment 409s inline attachments 409s should set the content_disposition to inline or attachment as appropriate 409s should return a cid 409s should respond true to inline? 409s getting the content ID from an attachment 409s should return a valid content-id on inline attachments 409s should provide a URL escaped content_id (without brackets) for use inside an email 409s setting the content type correctly 409s should set the content type to multipart/mixed if none given and you add an attachment 409s allows you to set the attachment before the content type 409s should handle filenames with non-7bit characters correctly 409s should not raise an exception with a filename that contains a non-7bit-character 409s 409s reading emails with attachments 409s test emails 409s should find the attachment using content location 409s should find an attachment defined with 'name' and Content-Disposition: attachment 409s should use the content-disposition filename over the content-type filename or name 409s should decode an attachment 409s should decode an attachment with linefeeds 409s should find an attachment that has an encoded name value 409s should find an attachment that has an base64 encoded name value 409s should find an attachment that has a name not surrounded by quotes 409s should decode an attachment without ascii compatible filename 409s should find attachments inside parts with content-type message/rfc822 409s attach filename decoding (issue 83) 409s 409s attachment order 409s should be preserved instead when content type exists 409s 409s Mail::Body 409s initialization 409s should be instantiated 409s should initialize on a nil value 409s should accept text as raw source data 409s should accept nil as a value and return an empty body 409s should accept an array as the body and join it 409s should accept an array as the body and join it 409s encoding 409s should accept text as raw source data 409s should set its own encoding to us_ascii if it is ascii only body 409s should allow you to set its encoding 409s should allow you to specify an encoding 409s should convert all new lines to crlf 409s decoding 409s should convert all new lines to crlf 409s should not change a body on decode if not given an encoding type to decode 409s should change return the raw text if it does not recognise the encoding 409s should change a body on decode if given an encoding type to decode 409s should change a body on decode if given an encoding type to decode 409s splitting up a multipart document 409s should store the boundary passed in 409s should split at the boundry string given returning two message bodies 409s should split with missing closing boundary 409s should not split with empty space after missing closing boundary 409s should split with multiple parts and missing closing boundary 409s should ignore blank parts 409s should keep the preamble text as its own preamble 409s should return the parts as their own messages 409s should return the first part as its own message 409s should return the first part as its own message 409s should separate out its parts 409s should keep track of its parts 409s should round trip its parts 409s should allow you to change the boundary 409s should split if boundary is not set 409s detecting non ascii 409s should say an empty string is all ascii 409s should say if a body is ascii 409s should say if a body is not ascii 409s adding parts 409s should allow you to add a part 409s should allow you to sort the parts 409s should allow you to sort the parts with an arbitrary sort order 409s should allow you to sort the parts with an arbitrary sort order 409s should sort the parts on encode 409s should put the part types it doesn't know about at the end 409s should allow you to sort the parts recursively 409s should allow you to sort the parts recursively 409s should maintain the relative order of the parts with the same content-type as they are added 409s matching 409s should still equal itself 409s should match on the body part decoded if given a string to == 409s should match on the body part decoded if given a string to == 409s should match on the body part decoded if given a string to =~ 409s should match on the body part decoded if given a string to == 409s should match on the body part decoded if given a string to match 409s should match on the body part decoded if given a string to match 409s should match on the body part decoded if given a string to include? 409s should match on the body part decoded if given a string to include? 409s non US-ASCII charset 409s should encoded 409s invalid encoding 409s should round trip 409s Partslist empty 409s should not break on empty PartsList on body 409s 409s Mail::CheckDeliveryParams 409s .check 409s NOTE: Mail::CheckDeliveryParams.check is deprecated; use Mail::SmtpEnvelope.new created in commit c106bebea066782a72e4f24dd37b532d95773df7 instead. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.check called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:19. 409s returns the from, to array and encoded message in an array 409s NOTE: Mail::CheckDeliveryParams.check is deprecated; use Mail::SmtpEnvelope.new created in commit c106bebea066782a72e4f24dd37b532d95773df7 instead. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.check called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:25. 409s raises error if From is blank 409s NOTE: Mail::CheckDeliveryParams.check is deprecated; use Mail::SmtpEnvelope.new created in commit c106bebea066782a72e4f24dd37b532d95773df7 instead. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.check called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:32. 409s raises error if To is blank 409s .check_from 409s NOTE: Mail::CheckDeliveryParams.check_from is deprecated with no replacement. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.check_from called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:39. 409s returns the from address 409s NOTE: Mail::CheckDeliveryParams.check_from is deprecated with no replacement. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.check_from called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:45. 409s raises error if From is too long 409s .check_to 409s NOTE: Mail::CheckDeliveryParams.check_to is deprecated with no replacement. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.check_to called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:52. 409s returns the to address array 409s NOTE: Mail::CheckDeliveryParams.check_to is deprecated with no replacement. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.check_to called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:58. 409s raises error if To is too long 409s .check_addr 409s NOTE: Mail::CheckDeliveryParams.check_addr is deprecated with no replacement. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.check_addr called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:65. 409s returns the address if it is not too long 409s NOTE: Mail::CheckDeliveryParams.check_addr is deprecated with no replacement. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.check_addr called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:71. 409s raises error if address is too long 409s .validate_smtp_addr 409s NOTE: Mail::CheckDeliveryParams.validate_smtp_addr is deprecated with no replacement. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.validate_smtp_addr called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:78. 409s returns the address is not too long 409s NOTE: Mail::CheckDeliveryParams.validate_smtp_addr is deprecated with no replacement. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.validate_smtp_addr called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:84. 409s returns error message if address contains LF 409s NOTE: Mail::CheckDeliveryParams.validate_smtp_addr is deprecated with no replacement. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.validate_smtp_addr called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:92. 409s returns error message if address contains CR 409s NOTE: Mail::CheckDeliveryParams.validate_smtp_addr is deprecated with no replacement. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.validate_smtp_addr called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:100. 409s returns error message if address is too long 409s .check_message 409s NOTE: Mail::CheckDeliveryParams.check_message is deprecated with no replacement. It will be removed on or after 2023-06. 409s Mail::CheckDeliveryParams.check_message called from /tmp/autopkgtest.uQx01z/build.dCY/src/spec/mail/check_delivery_params_spec.rb:108. 409s ensures the message is not blank 409s 409s Mail::Configuration 409s network configurations 409s defaults delivery_method to smtp 409s should be available from the Mail.defaults method 409s should configure sendmail 409s should configure sendmail using a string 409s should configure exim 409s should configure an open SMTP connection 409s should accept a plug-in delivery method 409s 409s Mail::AddressList 409s parsing 409s should parse an address list 409s should raise an error if the input is useless 409s should not raise an error if the input is just blank 409s should raise an error if the input is useless 409s should give the address passed in 409s should give the addresses passed in 409s should preserve the display name 409s should handle and ignore nil addresses 409s should handle truly horrific combinations of commas, spaces, and addresses 409s should handle folding whitespace 409s should handle malformed folding whitespace (PENDING: No reason given) 409s should extract comments in addreses which are part of a group 409s functionality 409s should give all the groups when asked 409s should ask the group for all its addresses 409s should give all the addresses when asked 409s should handle a really nasty obsolete address list 409s should create an address instance for each address returned 409s should provide a list of group names 409s 409s Mail::Address 409s functionality 409s should allow us to instantiate an empty address object and call inspect 409s should allow us to instantiate an empty address object and call to_s 409s should allow us to instantiate an empty address object and call format 409s should allow us to instantiate an empty address object and call address 409s should allow us to instantiate an empty address object and call local 409s should allow us to instantiate an empty address object and call domain 409s should allow us to instantiate an empty address object and call name 409s should ignore funky local-only spammy addresses in angle brackets "-Earnings...Notification-" 409s should ignore funky local-only spammy addresses in angle brackets <56253817> 409s should give its address back on :to_s if there is no display name 409s should give its format back on :to_s if there is a display name 409s should give back the display name 409s should preserve the display name passed in 409s should preserve the display name passed in with token unsafe chars 409s should decode the display name without calling #decoded first 409s doesn't get stuck on decode or encode output mode 409s should allow nil display name 409s should give back the local part 409s should give back the domain 409s should give back the formated address 409s should handle an address without a domain 409s should handle comments 409s should handle multiple comments 409s should handle nested comments 409s should give back the raw value 409s should format junk addresses as raw text 409s assigning values directly 409s should allow you to assign an address 409s should allow you to assign a display name 409s should return an empty format a display name and no address defined 409s should allow you to assign an address and a display name 409s parsing 409s basic email addresses 409s should handle all OK local parts 409s should handle all OK domains 409s RFC 6532 UTF-8 chars 409s local 409s domain 409s display name 409s email addresses from the wild 409s should handle |aamine@loveruby.net| 409s should handle |Minero Aoki | 409s should handle |Minero Aoki| 409s should handle |"Minero Aoki" | 409s should handle |Minero Aoki| 409s should handle lots of dots 409s should handle trailing dots 409s should handle |"Joe & J. Harvey" | 409s should handle |"spickett@tiac.net" | 409s should handle |rls@intgp8.ih.att.com (-Schieve,R.L.)| 409s should handle |jrh%cup.portal.com@portal.unix.portal.com| 409s should handle |astrachan@austlcm.sps.mot.com ('paul astrachan/xvt3')| 409s should handle 'TWINE57%SDELVB.decnet@SNYBUF.CS.SNYBUF.EDU (JAMES R. TWINE - THE NERD)' 409s should be able to handle 'David Apfelbaum ' 409s should handle |"JAMES R. TWINE - THE NERD" | 409s should handle '/G=Owen/S=Smith/O=SJ-Research/ADMD=INTERSPAN/C=GB/@mhs-relay.ac.uk' 409s should handle |"Stephen Burke, Liverpool" | 409s should handle 'The Newcastle Info-Server ' 409s should handle 'Suba.Peddada@eng.sun.com (Suba Peddada [CONTRACTOR])' 409s should handle 'Paul Manser (0032 memo) ' 409s should handle |"gregg (g.) woodcock" | 409s should handle |Graham.Barr@tiuk.ti.com| 409s should handle |a909937 (Graham Barr (0004 bodg))| 409s should handle |david d `zoo' zuhn | 409s should handle |(foo@bar.com (foobar), ned@foo.com (nedfoo) ) | 409s should handle |Pete(A wonderful ) chap) | 409s should handle |Joe Q. Public | 409s should handle |Mary Smith <@machine.tld:mary@example.net>| 409s should handle |jdoe@test . example| 409s should handle |groupname+domain.com@example.com| 409s should handle |=?UTF-8?B?8J+RjQ==?= <=?UTF-8?B?8J+RjQ==?=@=?UTF-8?B?8J+RjQ==?=.emoji>| 409s should handle |"Mikel \"quotes\" Lindsaar" | 409s should handle |"Mikel \" Lindsaar" | 409s should handle |"Mikel \"quotes\" (and comments) Lindsaar" (comment1)| 409s should expose group 409s should have no group by default 409s creating 409s parts of an address 409s should add an address 409s should add a display name 409s modifying an address 409s should add an address 409s should add a display name 409s should take an address and a display name and join them 409s should take a display name and an address and join them 409s providing encoded and decoded outputs 409s should provide an encoded output 409s should provide an encoded output for non us-ascii 409s should provide an encoded output for non us-ascii 409s 409s Mail::DateTimeElement 409s should parse a date 409s should raise an error if the input is nil 409s should raise an error if the input is useless 409s 409s Mail::EnvelopeFromElement 409s parsing a from envelope string 409s should parse a full field 409s should parse a full field with a double digit day 409s should parse a full field with a single space day 409s should parse a null sender, when specified as <> 409s should parse a null sender, with a single space day 409s accessor methods 409s should return the address 409s should return the date_time 409s formatting 409s should format delivery date using UNIX ctime style 409s 409s Mail::MessageIdsElement 409s should parse a message_id 409s should parse multiple message_ids 409s treats nil as an empty list 409s should raise an error if the input is useless 409s should respond to message_ids 409s should respond to message_id 409s should not fail to parse a message id with dots in it 409s 409s Mail::PhraseList 409s parsing 409s should parse a phrase list 409s treats nil as an empty list 409s should not raise an error if the input is useless 409s 409s Mail::ReceivedElement 409s should raise an error if the input is nil 409s should raise an error if the input is useless 409s should give back the date time 409s should give back the info 409s 409s mail encoding 409s should allow you to assign an email-wide charset 409s should let you define a charset per part 409s should replace invalid characters 409s should replace characters of unknown and invalid encoding 409s using default encoding 409s should allow you to send in unencoded strings to fields and encode them 409s should allow you to send in unencoded strings to address fields and encode them 409s should allow you to send in unencoded strings to address fields and encode them 409s should allow you to send in multiple unencoded strings to address fields and encode them 409s should allow you to send unquoted non us-ascii strings, with spaces in them 409s should allow you to send in multiple unencoded strings to any address field 409s should handle groups 409s should handle groups with funky characters 409s quoting token safe chars 409s should not quote the display name if unquoted 409s should not quote the display name if already quoted 409s quoting token unsafe chars 409s should quote the display name 409s should preserve quotes needed from the user and not double quote 409s specifying an email-wide encoding 409s should allow you to send in unencoded strings to fields and encode them 409s should allow you to send in unencoded strings to address fields and encode them 409s should allow you to send in multiple unencoded strings to address fields and encode them 409s allows multiple unencoded strings in To 409s allows multiple unencoded strings in From 409s allows multiple unencoded strings in Cc 409s allows multiple unencoded strings in Reply-To 409s #pick_encoding 409s picks binary for nil 409s should support latin2 409s should support ISO_8859-1 409s should support cp-850 409s should support 409s 409s base64 409s should encode base 64 from text 409s should decode base 64 text 409s should encode base 64 from binary 409s should decode base 64 text 409s 409s quoted-printable 409s should encode quoted printable from text 409s should encode quoted printable from crlf text 409s should encode quoted printable from cr text 409s should bypass line ending conversion for binary encoding 409s should decode quoted printable 409s should encode quoted printable from binary 409s should decode quoted printable text 409s should bypass line ending conversion for binary decoding 409s should cope with inappropriate =0D line break encoding 409s should allow encoded =0D line breaks with soft line feeds 409s should cope with inappropriate =0A line break encoding 409s should allow encoded =0A line breaks with soft line feeds 409s should cope with inappropriate =0D=0A line break encoding 409s should allow encoded =0D=0A line breaks with soft line feeds 409s 409s 409s accepts blank message_encoding 409s 409s x-uuencode 409s is registered as uuencode 409s is registered as x-uuencode 409s is registered as x-uue 409s can transport itself 409s decodes 409s encodes 409s encodes / decodes non-ascii 409s can read itself 409s 409s Mail::Encodings 409s base64 Encoding 409s should return true for base64 409s should return true for Base64 409s should return true for :base64 409s should return the Base64 Encoding class 409s should return the base64 Encoding class 409s should return the base64 Encoding class 409s quoted-printable Encoding 409s should return true for quoted-printable 409s should return true for Quoted-Printable 409s should return true for :quoted_printable 409s should return the QuotedPrintable Encoding class 409s should return the QuotedPrintable Encoding class 409s should return the QuotedPrintable Encoding class 409s B encodings 409s should just return the string if us-ascii and asked to B encoded string 409s should accept other encodings 409s should correctly encode long string mixing with single/multi-byte characters 409s should complain if there is no encoding passed for Ruby < 1.9 409s should split the string up into bite sized chunks that can be wrapped easily 409s should decode an encoded string 409s should decode a long encoded string 409s should decode UTF-16 encoded string 409s should decode UTF-32 encoded string 409s should decode a string that looks similar to an encoded string (contains '=?') 409s should parse adjacent encoded-words separated by linear white-space 409s should parse adjacent words with no space 409s should collapse adjacent words with multiple encodings on one line seperated by non-spaces 409s should decode a blank string 409s should decode a string, even with an invalid encoding name 409s should decode 8bit encoded string 409s should decode ks_c_5601-1987 encoded string 409s should decode shift-jis encoded string 409s should decode GB18030 encoded string misidentified as GB2312 409s Encoding conversion failed "\xDE\xBA" on UTF-16BE 409s should decode an invalid utf-7 byte sequence 409s Q encodings 409s should just return the string if us-ascii and asked to Q encoded string 409s should complain if there is no encoding passed for Ruby < 1.9 409s should accept other character sets 409s should decode an encoded string 409s should decode q encoded =5F as underscore 409s should not fold a long string that has no spaces 409s should round trip a complex string properly 409s should round trip another complex string (koi-8) 409s should decode a blank string 409s should decode a string with spaces 409s should decode a string ending with an unencoded question mark 409s should treat unrecognized charsets as binary 409s mixed Q and B encodings 409s should decode an encoded string 409s parameter MIME encodings 409s should leave an unencoded string alone 409s should unencode an encoded string 409s should unencoded an encoded string and return the right charset on 1.9 409s should unencode a complete string that included unencoded parts 409s should encode a string 409s should just quote US-ASCII with spaces 409s should leave US-ASCII without spaces alone 409s decoding a string and detecting the encoding type 409s should detect an encoded Base64 string to the decoded string 409s should detect a multiple encoded Base64 string to the decoded string 409s should detect a multiple encoded Base64 string with a space to the decoded string 409s should detect a multiple encoded Base64 string with a whitespace to the decoded string 409s should decode B and Q encodings together if needed 409s should detect a encoded and unencoded Base64 string to the decoded string 409s should detect an encoded QP string to the decoded string 409s should decode UTF-16 encoded string 409s should decode UTF-32 encoded string 409s should detect multiple encoded QP string to the decoded string 409s should detect multiple encoded QP string with a space to the decoded string 409s should detect multiple encoded QP string with a space to the decoded string 409s should detect a encoded and unencoded QP string to the decoded string 409s should detect a plain string and return it 409s should handle a very long string efficiently (PENDING: fails randomly) 409s should handle Base64 encoded ISO-2022-JP string 409s altering an encoded text to decoded and visa versa 409s decoding 409s should detect an encoded Base64 string and return the decoded string 409s should detect an encoded QP string and return the decoded string 409s should detect an a string is already decoded and leave it alone 409s encoding 409s should encode a string into Base64 409s should leave a string that doesn't need encoding alone 409s unquote and convert to 409s should unquote quoted printable and convert to utf-8 409s should unquote base64 and convert to utf-8 409s should handle no charset 409s should unquote multiple lines 409s should unquote a string in the middle of the text 409s should unquote and change to an ISO encoding if we really want 409s should unquote Shift_JIS QP with trailing = 409s handles Windows 1252 QP encoding 409s should recognize iso646-us 409s should unquote multiple strings in the middle of the text 409s should handle multiline quoted headers with mixed content 409s should handle quoted string with mixed content that have a plain string at the end 409s should handle utf_8 409s quoted printable encoding and decoding 409s should handle underscores in the text 409s should handle underscores in the text 409s should keep the underscores in the text 409s should handle a new line in the text 409s should handle a question mark in the text 409s pre encoding non usascii text 409s should not change an ascii string 409s should encode a display that contains non usascii 409s should encode a single token that contains non usascii 409s should encode a display that contains non usascii with quotes as no quotes 409s should encode a display name with us-ascii and non-usascii parts 409s should encode a display name with us-ascii and non-usascii parts ignoring quotes 409s should encode a quoted display name with us-ascii and non-usascii that ends with a non-usascii part 409s should encode multiple addresses correctly 409s should encode multiple addresses correctly when noninitial address contains non-usascii chars 409s should encode multiple unquoted addresses correctly 409s should encode multiple unquoted addresses correctly when noninitial address contains non-usascii chars 409s should encode multiple un bracketed addresses and groups correctly 409s should correctly match and encode non-usascii letters at the end of a quoted string 409s address encoding 409s should not do anything to a plain address 409s should encode an address correctly 409s should encode multiple addresses correctly 409s should encode unicode local part 409s should encode emoji local part 409s should handle a single ascii address correctly from a string 409s should handle multiple ascii addresses correctly from a string 409s should handle ascii addresses correctly as an array 409s should ignore single nil 409s should ignore nil in arrays 409s .charset_encoder 409s can use a custom encoder 409s uses converter for params 409s can convert ansi with best effort 409s .collapse_adjacent_encodings 409s leaves blank intact 409s leaves pure unencoded intact 409s does not modify 1 encoded 409s splits unencoded and encoded into separate parts 409s splits adjacent encodings into separate parts 409s splits adjacent encodings without unencoded into separate parts 409s does not join encodings when separated by unencoded 409s does not join different encodings 409s does not keep the separator character between two different encodings 409s .pick_encoding 409s finds encoding 409s uses binary for unfound 409s 409s Test emails 409s from RFC2822 409s should handle the basic test email 409s should handle the sender test email 409s should handle multiple recipients test email 409s should handle group address email test 409s should handle reply messages 409s should handle reply message 2 409s should handle the final reply message 409s should handle the rfc resent example email 409s should handle the RFC trace example email 409s should handle the rfc whitespace test email 409s should handle the rfc obsolete addressing 409s should handle the rfc obsolete dates 409s should handle the rfc obsolete whitespace email (PENDING: No reason given) 409s should handle folding subject 409s from the wild 409s raw_email_encoded_stack_level_too_deep.eml 409s should return an 'encoded' version without raising a SystemStackError 409s should have two parts 409s sig_only_email.eml 409s should not error on multiart/signed emails 409s should have one attachment called signature.asc 409s handling invalid group lists 409s should parse the email and encode without crashing 409s should return an empty groups list 409s handling multiple references with one of them invalid 409s should parse the email and encode without crashing 409s should return the valid References value 409s handling multiple content-disposition with all of them invalid 409s should parse the email and encode without crashing 409s should recognise the email as not attachment 409s should return one invalid Content-Disposition value 409s empty address lists 409s should parse the email and encode without crashing 409s should return an empty groups list 409s RFC6532 UTF8 headers 409s subject 409s from 409s to 409s invalid charsets in headers 409s falls back to ASCII-8BIT for unrecognized charsets 409s 409s Mail::FieldList 409s should be able to add new fields 409s should be able to add new fields in the right order 409s should add new Received items after the existing ones 409s 409s Mail::Field 409s parsing 409s parses full header fields 409s parses missing whitespace 409s parses added inapplicable whitespace 409s initialization 409s raises if instantiating by parsing a full header field 409s instantiates with name and value 409s accepts arrays of values 409s accepts omitted values 409s should match up fields to class names 409s matches dATE to Mail::DateField 409s matches fROM to Mail::FromField 409s matches sENDER to Mail::SenderField 409s matches REPLY-TO to Mail::ReplyToField 409s matches TO to Mail::ToField 409s matches CC to Mail::CcField 409s matches BCC to Mail::BccField 409s matches MESSAGE-ID to Mail::MessageIdField 409s matches IN-REPLY-TO to Mail::InReplyToField 409s matches REFERENCES to Mail::ReferencesField 409s matches KEYWORDS to Mail::KeywordsField 409s matches resent-date to Mail::ResentDateField 409s matches resent-from to Mail::ResentFromField 409s matches rESENT-sENDER to Mail::ResentSenderField 409s matches rESENT-tO to Mail::ResentToField 409s matches rESent-cc to Mail::ResentCcField 409s matches resent-bcc to Mail::ResentBccField 409s matches reSent-MESSAGE-iD to Mail::ResentMessageIdField 409s matches rEtURN-pAtH to Mail::ReturnPathField 409s matches rEcEiVeD to Mail::ReceivedField 409s matches Subject to Mail::SubjectField 409s matches Comments to Mail::CommentsField 409s matches Mime-VeRSIOn to Mail::MimeVersionField 409s matches cOntenT-transfer-EnCoDiNg to Mail::ContentTransferEncodingField 409s matches Content-Description to Mail::ContentDescriptionField 409s matches Content-Disposition to Mail::ContentDispositionField 409s matches cOnTENt-TyPe to Mail::ContentTypeField 409s should say anything that is not a known field is an optional field 409s should return an unstuctured field if the structured field parsing raises an error 409s delegates to_s to its field 409s delegates missing methods to its field 409s should respond_to? its own methods and the same methods as its instantiated field class 409s should change its type if you change the name 409s should create a field without trying to parse if given a symbol 409s should inherit charset 409s error handling 409s should populate the errors array if it finds a field it can't deal with 409s helper methods 409s should reply if it is responsible for a field name as a capitalized string - structured field 409s should reply if it is responsible for a field as a lower case string - structured field 409s should reply if it is responsible for a field as a symbol - structured field 409s should say it is the "same" as another if their field types match 409s should say it is not the "same" as another if their field types don't match 409s should say it is not the "same" as nil 409s should say it is == to another if their field and names match 409s should say it is not == to another if their field names do not match 409s should say it is not == to another if their field names match, but not their values 409s should say it is not == to nil 409s should sort according to the field order 409s user defined fields 409s should say it is the "same" as another if their field names match 409s should say it is not == to another if their field names do not match 409s passing an encoding 409s should allow you to send in unencoded strings to fields and encode them 409s should allow you to send in unencoded strings to address fields and encode them 409s should allow you to send in unencoded strings without quotes to address fields and encode them 409s should allow you to send in unencoded strings to address fields and encode them 409s should allow you to send in multiple unencoded strings to address fields and encode them 409s should allow you to send in multiple unencoded strings to any address field 409s should allow an encoded value in the Subject field and decode it automatically (issue 44) 409s should allow you to encoded text in the middle (issue 44) 409s more tolerable to encoding definitions, ISO (issue 120) 409s more tolerable to encoding definitions, ISO-long (issue 120) 409s more tolerable to encoding definitions, UTF (issue 120) 409s more tolerable to encoding definitions, ISO (issue 120) 409s more tolerable to encoding definitions, Windows (issue 120) 409s should support ascii encoded utf-8 subjects 409s should support ascii encoded windows subjects 409s value 409s parsed 409s returns parsed value 409s unparsed 409s returns origin unparsed value 409s Mail::Field::ParseError 409s should be structured 409s 409s AddressContainer 409s should allow you to append an address to an address field result 409s should handle complex addresses correctly 409s 409s Mail::BccField 409s initialization 409s should initialize 409s should accept a string without the field name 409s instance methods 409s should return an address 409s should return two addresses 409s should return one address and a group 409s should return the formatted line on to_s 409s should return nothing by default on encoded as Bcc should not be in the mail 409s should return the encoded line for one address when requested to include in headers 409s should return the encoded line when requested to include in headers 409s should return the decoded line 409s 409s Mail::CcField 409s initialization 409s should initialize 409s should accept a string without the field name 409s instance methods 409s should return an address 409s should return two addresses 409s should return one address and a group 409s should return the formatted line on to_s 409s should return the encoded line for one address 409s should return the encoded line 409s should return the decoded line 409s 409s Mail::CommentsField 409s should initialize 409s should accept a string with the field name 409s 409s Mail::CommonAddressField 409s should yield each address object in turn 409s address handling 409s should give the addresses it is going to 409s should split up the address list into individual addresses 409s should give the formatted addresses 409s should give the display names 409s should give the actual address objects 409s should handle groups as well 409s should provide a list of groups 409s should provide a list of addresses per group 409s should provide a list of addresses that are just in the groups 409s should preserve the display name 409s should handle multiple addresses 409s should handle missing display names with an angle address 409s should handle empty display names with an angle address 409s .value= 409s should handle initializing as an empty string 409s should encode to an empty string if it has no addresses or groups 409s a unquoted multi-byte address is given 409s should allow you to set an unquoted, multi-byte address value after initialization 409s should keep the given value 409s a quoted multi-byte address is given 409s should allow you to set an quoted, multi-byte address value after initialization 409s should keep the given value 409s .<< 409s should allow you to append an address 409s a unquoted multi-byte address is given 409s initialized with an empty string 409s should allow you to append an unquoted, multi-byte address value 409s should keep the given value 409s initialized with an us-ascii address 409s should allow you to append a quoted, multi-byte address value 409s initialized with an multi-byte address 409s should allow you to append a quoted, multi-byte address value 409s should keep the given value 409s a quoted multi-byte address is given 409s initialized with an empty string 409s should allow you to append a quoted, multi-byte address value 409s should keep the given value 409s initialized with an us-ascii address 409s should allow you to append a quoted, multi-byte address value 409s initialized with an multi-byte address 409s should allow you to append a quoted, multi-byte address value 409s should keep the given value 409s encoding and decoding fields 409s should allow us to encode an address field 409s should allow us to encode a simple address field 409s should allow us to encode an address field 409s should allow us to decode an address field 409s should allow us to decode a non ascii address field 409s should allow us to decode a non ascii address field 409s 409s Mail::CommonDateField 409s encoding and decoding fields 409s should allow us to encode an date field 409s should allow us to encode an resent date field 409s should allow us to decode an address field 409s 409s Mail::CommonField 409s multi-charset support 409s should return '' on to_s if there is no value 409s should leave ascii alone 409s should encode a utf-8 string as utf-8 quoted printable 409s should wrap an encoded at 60 characters 409s should handle charsets in assigned addresses 409s with content that looks like the field name 409s does not strip from start 409s does not strip from middle 409s 409s Mail::CommonMessageIdField 409s encoding and decoding fields 409s should allow us to encode a message id field 409s should allow us to encode a message id field 409s should allow us to encode an in reply to field 409s should allow us to decode a message id field 409s 409s Mail::ContentDescriptionField 409s initialization 409s should initialize 409s should accept a string without the field name 409s 409s Mail::ContentDispositionField 409s initialization 409s should initialize 409s should accept a string without the field name 409s should accept a nil value and generate a disposition type 409s should render encoded 409s should render encoded for inline 409s should wrap a filename in double quotation marks only if the filename contains spaces and does not already have double quotation marks 409s should render decoded 409s should render decoded inline 409s should handle upper and mixed case INLINE and AttachMent 409s instance methods 409s should give its disposition type 409s should accept a blank disposition type 409s handles nil value 409s finding a filename 409s should locate a filename if there is a filename 409s should locate a name if there is no filename 409s should return an empty string when filename or name is empty 409s should locate an encoded name as a filename 409s 409s Mail::ContentIdField 409s initialization 409s should initialize 409s should accept a string without the field name 409s should accept a nil value and generate a content_id 409s should allow it to be encoded 409s should allow it to be decoded 409s ensuring only one message ID 409s should not accept a string with multiple message IDs but only return the first 409s should change the message id if given a new message id 409s instance methods 409s should provide to_s 409s should provide encoded 409s should respond to :responsible_for? 409s generating a message id 409s should generate a message ID if it has no value 409s should generate a random message ID 409s 409s Mail::ContentLocationField 409s initialization 409s should initialize 409s should accept a string without the field name 409s should render an encoded field 409s should render a decoded field 409s parsing the value 409s should return an encoding string unquoted 409s 409s Mail::ContentTransferEncodingField 409s initialization 409s should initialize 409s should accept a string without the field name 409s should render an encoded field 409s should render a decoded field 409s parsing the value 410s should return an encoding string 410s should treat 7bits/7-bit and 8bits/8-bit as 7bit and 8bit 410s should handle any valid 'x-token' value 410s should handle an x-encoding 410s should handle an ietf encoding (practically, any token) 410s should raise an error on bogus values 410s should handle an empty content transfer encoding 410s should handle a hyphen 410s 410s Mail::ContentTypeField 410s initialization 410s should initialize 410s should accept a string without the field name 410s should accept a nil value and generate a content_type 410s should render encoded 410s should render encoded with parameters 410s should render quoted values encoded 410s should render decoded 410s should render quoted values decoded 410s should render 410s should wrap a filename in double quotation marks only if the filename contains spaces and does not already have double quotation marks 410s should only wrap filenames in double quotation marks 410s instance methods 410s should return a content_type 410s should return a content_type for the :string method 410s should return a main_type 410s should return a sub_type 410s should return a parameter as a hash 410s should return multiple parameters as a hash 410s should return boundry parameters 410s should be indifferent with the access 410s class methods 410s should give back an initialized instance with a unique boundary 410s should give back an initialized instance with different type with a unique boundary 410s should give unique boundaries 410s Testing a bunch of email Content-Type fields 410s should handle 'application/octet-stream; name*=iso-2022-jp'ja'01%20Quien%20Te%20Dij%8aat.%20Pitbull.mp3' 410s should handle 'application/pdf;' 410s should handle 'application/pdf; name="broken.pdf"' 410s should handle 'application/pkcs7-signature;' 410s should handle 'application/pkcs7-signature; name=smime.p7s' 410s should handle 'application/x-gzip; NAME=blah.gz' 410s should handle 'image/jpeg' 410s should handle 'image/jpeg' 410s should handle 'image/jpeg;' 410s should handle 'image/png;' 410s should handle 'message/delivery-status' 410s should handle 'message/rfc822' 410s should handle 'multipart/alternative;' 410s should handle 'multipart/alternative; boundary="----=_NextPart_000_0093_01C81419.EB75E850"' 410s should handle 'multipart/alternative; boundary=----=_NextPart_000_0093_01C81419.EB75E850' 410s should handle 'Multipart/Alternative;boundary=MuLtIpArT_BoUnDaRy' 410s should handle 'Multipart/Alternative;boundary=MuLtIpArT_BoUnDaRy' 410s should handle 'multipart/alternative; boundary="----jkhkjgyurlkmn789809";; charset="us-ascii"' 410s should handle 'multipart/mixed' 410s should handle 'multipart/mixed;' 410s should handle 'multipart/mixed; boundary=Apple-Mail-13-196941151' 410s should handle 'multipart/mixed; boundary=mimepart_427e4cb4ca329_133ae40413c81ef' 410s should handle 'multipart/report; report-type=delivery-status;' 410s should handle 'multipart/signed;' 410s should handle 'text/enriched;' 410s should handle 'text/html;' 410s should handle 'text/html; charset=iso-8859-1;' 410s should handle 'TEXT/PLAIN; charset=ISO-8859-1;' 410s should handle 'text/plain' 410s should handle 'text/plain;' 410s should handle 'text/plain; charset=ISO-8859-1' 410s should handle 'text/plain; charset=ISO-8859-1;' 410s should handle 'text/plain; charset=us-ascii;' 410s should handle 'text/plain; charset=US-ASCII; format=flowed' 410s should handle 'text/plain; charset=US-ASCII; format=flowed' 410s should handle 'text/plain; charset=utf-8' 410s should handle 'text/plain; charset=utf-8' 410s should handle 'text/x-ruby-script;' 410s should handle 'text/x-ruby-script; name="hello.rb"' 410s should handle 'multipart/mixed; boundary="=_NextPart_Lycos_15031600484464_ID" 410s should handle 'multipart/mixed; boundary="=_NextPart_2rfkindysadvnqw3nerasdf";windows-852 410s should handle 'multipart/alternative; boundary=----=_=NextPart_000_0093_01C81419.EB75E850 410s should handle 'multipart/alternative; boundary="----=_=NextPart_000_0093_01C81419.EB75E850" 410s should handle 'multipart/related;boundary=1_4626B816_9F1690;Type="application/smil";Start=""' 410s should handle 'IMAGE/JPEG; name="IM 006.jpg"' 410s should handle 'unknown/unknown' 410s finding a filename 410s should locate a filename if there is a filename 410s should locate a name if there is no filename 410s should return an empty string when filename or name is empty 410s should locate an encoded name as a filename 410s should encode a non us-ascii filename 410s handling badly formated content-type fields 410s should handle missing sub-type on a text content type 410s should handle missing ; after content-type 410s initializing with an array 410s should initialize with an array 410s should allow many parameters to be passed in 410s special case values needing sanity 410s should handle 'text/plain;ISO-8559-1' 410s should handle 'text/plain; charset = "iso-8859-1"' 410s should handle text; params 410s should handle text/html; charset="charset="GB2312"" 410s should handle application/octet-stream; name=archiveshelp1[1].htm 410s should handle text/plain;; format="flowed" 410s set an empty content type to text/plain 410s should just ignore illegal params like audio/x-midi; 410s name=Part .exe 410s should handle: rfc822; format=flowed; charset=iso-8859-15 410s should just get the mime type if all else fails with some real garbage 410s shouldn't include separating semicolon in parameter value when sanitizing 410s 410s Mail::DateField 410s initialization 410s should initialize 410s should be able to tell the time 410s should accept a string without the field name 410s should accept nil as a value 410s should allow us to encode an date field 410s should allow us to decode an address field 410s should be able to parse a really bad spacing example 410s should give today's date if no date is specified 410s should handle invalid date 410s 410s Mail::Envelope 410s should initialize 410s accessor methods 410s should return the address 410s should return the date_time 410s 410s Mail::FromField 410s should handle non ascii 410s should work without quotes 410s should work with combinations of quotes and non ascii 410s initialization 410s should initialize 410s should accept a string without the field name 410s instance methods 410s should return an address 410s should return two addresses 410s should return one address and a group 410s should return the formatted line on to_s 410s should return the encoded line 410s should return the encoded line 410s should return the decoded line 410s 410s Mail::InReplyToField 410s should output lines shorter than 998 chars 410s initialization 410s should initialize 410s should accept a string without the field name 410s should provide encoded 410s should handle many encoded message IDs 410s should handle an array of message IDs 410s should provide decoded 410s should handle many decoded message IDs 410s should handle an empty value 410s handlign multiple message ids 410s should handle many message IDs 410s 410s Mail::KeywordsField 410s should output lines shorter than 998 chars 410s initializing 410s should initialize 410s should accept a string without the field name 410s giving a list of keywords 410s should return a list of keywords 410s should handle phrases 410s should handle comments 410s should handle comments 410s should handle comments in quotes 410s encoding and decoding 410s should encode 410s should decode 410s 410s Mail::MessageIdField 410s initialization 410s should initialize 410s should accept a string without the field name 410s should accept a nil value and generate a message_id 410s ensuring only one message ID 410s should not accept a string with multiple message IDs but only return the first 410s should change the message id if given a new message id 410s instance methods 410s should provide to_s 410s should provide encoded 410s should provide decoded 410s should respond to :responsible_for? 410s generating a message id 410s should generate a message ID if it has no value 410s should generate a random message ID 410s weird message IDs 410s should be able to parse <000701c874a6$3df7eaf0$b9e7c0d0$@geille@fiscon.com> 410s should be able to parse <.AAA-default-12226,16.1089643496@us-bdb-1201.vdc.amazon.com> 410s should be able to parse <091720041340.19561.414AE9430005E91000004C6922007589429B0702040790040A0E08 0C0703@comcast.net> 410s should be able to parse <3851.1096568577MSOSI1188307:1OSIMS@gamefly.com> 410s should be able to parse <3851.1096568577MSOSI1188307:1OSIMS@gamefly.com > 410s should be able to parse <000301caf03a$77d922ae$82dba8c0@.pool.ukrtel.net> 410s should be able to parse <"urn:correios:msg:2011071303483114f523ef89e040878bca2e451a999448"@1310528911569.rte-svc-na-5006.iad5.amazon.com> 410s should be able to parse <7467BC5DC7CCEB429E2D3F05E49B3067375E6DC038@EXVMBX020-10.exch020.server... 410s should be able to parse |2a26f8f146e27159| 410s 410s Mail::MimeVersionField 410s initialization 410s should initialize 410s should accept a string without the field name 410s parsing a version string 410s should get a major value 410s should get a minor value 410s should get a version string 410s should handle comments before the major version 410s should handle comments before the major version without space 410s should handle comments after the major version without space 410s should handle comments before the minor version without space 410s should handle comments after the minor version without space 410s should handle comments after the minor version 410s should accept nil as a value 410s should provide an encoded value 410s should provide an decoded value 410s 410s Mail::ParameterHash 410s should return the values in the hash 410s should return the values in the hash regardless of symbol or string 410s should return the values in the hash using case-insensitive key matching 410s should return the correct value if they are not encoded 410s should return a name list concatenated 410s should return a name list concatenated and unencoded 410s allows for blank language 410s allows for blank charset 410s allows for blank charset and language 410s converts from specified encoding to utf-8 410s should allow us to add a value 410s should return an encoded value 410s 410s Mail::ReceivedField 410s should initialize 410s should be able to tell the time 410s should accept a string without the field name 410s should provide an encoded value 410s should provide an encoded value with correct timezone 410s should provide an decoded value 410s should handle empty name-value lists with a comment only (qmail style) 410s should handle a blank value 410s WARNING: Invalid date field for received element (29 Jul 2013 25:12:46 +0900): Date::Error: invalid date 410s should handle invalid date 410s 410s Mail::ReferencesField 410s should initialize 410s should accept a string without the field name 410s should accept multiple message ids 410s should accept an array of message ids 410s should accept no message ids 410s should output lines shorter than 998 chars 410s should handle comma-separated values 410s should be able to parse |2a26f8f146e27159@domain.com@domain.com, 2a26f8f146e27159@domain.com@domain.com| 410s should be able to parse |2a26f8f146e27159@domain.com@domain.com 2a26f8f146e27159@domain.com@domain.com| 410s 410s Mail::ReplyToField 410s initialization 410s should initialize 410s should accept a string without the field name 410s instance methods 410s should return an address 410s should return two addresses 410s should return one address and a group 410s should return the formatted line on to_s 410s should return the encoded line 410s 410s Mail::ResentBccField 410s initialization 410s should initialize 410s should accept a string without the field name 410s instance methods 410s should return an address 410s should return two addresses 410s should return one address and a group 410s should return the formatted line on to_s 410s should return the encoded line 410s 410s Mail::ResentCcField 410s initialization 410s should initialize 410s should accept a string without the field name 410s instance methods 410s should return an address 410s should return two addresses 410s should return one address and a group 410s should return the formatted line on to_s 410s should return the encoded line 410s 410s Mail::ResentDateField 410s should initialize 410s should be able to tell the time 410s should accept a string without the field name 410s should give today's date if no date is specified 410s 410s Mail::ResentFromField 410s initialization 410s should initialize 410s should accept a string without the field name 410s instance methods 410s should return an address 410s should return two addresses 410s should return one address and a group 410s should return the formatted line on to_s 410s should return the encoded line 410s 410s Mail::ResentMessageIdField 410s should initialize 410s should accept a string without the field name 410s should output lines shorter than 998 chars 410s 410s Mail::ResentSenderField 410s formats the sender 410s parses a single sender address 410s returns the field value 410s encodes a header line 410s initialization 410s should initialize 410s should accept a string without the field name 410s 410s Mail::ResentToField 410s initialization 410s should initialize 410s should accept a string without the field name 410s instance methods 410s should return an address 410s should return two addresses 410s should return one address and a group 410s should return the formatted line on to_s 410s should return the encoded line 410s 410s Mail::ReturnPathField 410s should allow you to specify a field 410s should encode the addr_spec in <> 410s should accept <> 410s should set the return path 410s should set the return path 410s should wrap the return path addr_spec in <> 410s 410s Mail::SenderField 410s formats the sender 410s parses a single sender address 410s returns the field value 410s encodes a header line 410s initialization 410s should initialize 410s should accept a string without the field name 410s should reject headers with multiple mailboxes (PENDING: Sender accepts an address list now, but should only accept a single address) 410s 410s Mail::StructuredField 410s initialization 410s should be instantiated 410s manipulation 410s should allow us to set a text value at initialization 410s should provide access to the text of the field once set 410s should provide a means to change the value 410s displaying encoded field and decoded value 410s should provide a to_s function that returns the decoded string 410s should return '' on to_s if there is no value 410s should give an encoded value ready to insert into an email 410s should return an empty string on encoded if it has no value 410s should return the field name and value in proper format when called to_s 410s 410s Mail::ToField 410s should not crash if it can't understand a name 410s initialization 410s should initialize 410s should accept a string without the field name 410s instance methods 410s should return an address 410s should return two addresses 410s should return one address and a group 410s should return the formatted line on to_s 410s should return the encoded line 410s should return the decoded line 410s should get multiple address out from a group list 410s should handle commas in the address 410s should handle commas in the address for multiple fields 410s unicode address 410s should allow unicode local part jp 410s should allow unicode local 410s should allow unicode local (simple) 410s should allow unicode local (complex) 410s should allow emoji local 410s 410s Mail::UnstructuredField 410s initialization 410s should be instantiated 410s manipulation 410s should allow us to set a text value at initialization 410s should provide access to the text of the field once set 410s should provide a means to change the value 410s displaying encoded field and decoded value 410s should provide a to_s function that returns the field name and value 410s should return '' on to_s if there is no value 410s should give an encoded value ready to insert into an email 410s should return nil on encoded if it has no value 410s should handle array 410s should handle string 410s should give an decoded value ready to insert into an email 410s should return a nil on decoded if it has no value 410s should just add the CRLF at the end of the line 410s should do encoded-words encoding correctly without extra equal sign 410s should encode the space between two adjacent encoded-words 410s should encode additional special characters inside encoded-word-encoded strings 410s should decode a utf-7(B) encoded unstructured field 410s folding 410s should not fold itself if it is 78 chracters long 410s should fold itself if it is 79 chracters long 410s should fold itself if it is 997 chracters long 410s should fold itself if it is 998 characters long 410s should fold itself if it is 999 characters long 410s should fold itself if it is non us-ascii 410s should fold properly with my actual complicated header 410s should fold properly with continuous spaces around the linebreak 410s encoding non QP safe chars 410s should encode an ascii string that has carriage returns if asked to 410s iso-2022-jp Subject 410s should encoded with ISO-2022-JP encoding 410s 410s Mail::Header 410s initialization 410s should instantiate empty 410s should instantiate with a string passed in 410s copying 410s should instantiate with a string passed in 410s instance methods 410s should save away the raw source of the header that it is passed 410s should say if it has a message_id field defined 410s should say if it has a message_id field defined 410s should say if it has a content_id field defined 410s should say if it has a content_id field defined 410s should know its own charset 410s should know its own charset if set 410s should not unset previously set charset if content-type is set without charset 410s shouldn't die when queried for a charset and the content-type header is invalid 410s should be Enumerable 410s creating fields 410s should recognise a bcc field 410s should recognise a cc field 410s should recognise a content-description field 410s should recognise a content-disposition field 410s should recognise an inline content-disposition field 410s should recognise a content-id field 410s should recognise a content-transfer-encoding field 410s should recognise a content-type field 410s should recognise a date field 410s should recognise a from field 410s should recognise a in-reply-to field 410s should recognise a keywords field 410s should recognise a message-id field 410s should recognise a mime-version field 410s should recognise a received field 410s should recognise a references field 410s should recognise a reply-to field 410s should recognise a resent-bcc field 410s should recognise a resent-cc field 410s should recognise a resent-date field 410s should recognise a resent-from field 410s should recognise a resent-message-id field 410s should recognise a resent-sender field 410s should recognise a resent-to field 410s should recognise a return-path field 410s should recognise a sender field 410s should recognise a to field 410s should maintain header case 410s should not accept field names containing colons 410s parsing 410s should split the header into separate fields 410s should not split a wrapped header in two 410s should accept any valid header field name 410s should not try to accept colons in header field names 410s should accept any valid header field value 410s should split each field into an name and value 410s should split each field into an name and value - even if whitespace is missing 410s should preserve the order of the fields it is given 410s should allow you to reference each field and value by literal string name 410s should return an array of fields if there is more than one match 410s should return nil if no value in the header 410s should add a new field if the field does not exist 410s should allow you to pass in an array of raw fields 410s should reset the value of a single-only field if it already exists 410s should allow you to delete a field by setting it to nil 410s should delete all matching fields found if there are multiple options 410s should delete only matching fields found 410s should handle an empty X-* header value 410s should accept X- option fields from MS-Exchange 410s should return nil if asked for the value of a non existent field 410s should allow you to replace a from field 410s should maintain the class of the field 410s folding and unfolding 410s should unfold a header 410s should preserve whitespace when unfolding a header 410s should handle a crazy long folded header 410s should convert all lonesome LFs to CRLF 410s should convert all lonesome LFs to CRLF in UTF-8 too 410s should convert all lonesome CRs to CRLF 410s error handling 410s should collect up any of its fields' errors 410s handling date fields with multiple values 410s should know which fields can only appear once 410s should know which fields can only appear once 410s should enforce appear-once rule even with mass assigned header 410s should add additional fields that can appear more than once 410s should delete all references to a field 410s handling trace fields 410s should instantiate one trace field object per header 410s should add a new received header after the other received headers if they exist 410s encoding 410s should output a parsed version of itself to US-ASCII on encoded and tidy up and sort correctly 410s should not blow up on encoding mismatches 410s detecting required fields 410s should not say it has a message id if it doesn't 410s should say it has a message id if it does 410s should not say it has a date if it doesn't 410s should say it has a date id if it does 410s should not say it has a mime-version if it doesn't 410s should say it has a date id if it does 410s mime version handling 410s should return the mime version of the email 410s should return nil if no mime-version header field 410s should return the transfer-encoding of the email 410s should return nil if no transfer-encoding header field 410s should return the content-description of the email 410s should return nil if no content-description header field 410s configuration option .maximum_amount 410s should be 1000 by default 410s should limit amount of parsed headers 410s 410s mail 410s should be able to be instantiated 410s should be able to make a new email 410s should accept headers and body 410s should read a file 410s 410s Mail::Message 410s initialization 410s should instantiate empty 410s should return a basic email 410s should instantiate with a string 410s should allow us to pass it a block 410s should yield self if the given block takes any args 410s should initialize a body and header class even if called with nothing to begin with 410s should not report basic emails as bounced 410s should be able to parse a basic email 410s should be able to parse a basic email with linefeeds 410s should be able to parse an email with @ in display name 410s should be able to parse an email with only blank lines as body 410s should be able to parse an email with a funky date header 410s should be able to invoke subject on a funky subject header 410s should use default charset 410s should be able to parse an email missing an encoding 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/attachment_emails/attachment_content_disposition.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/attachment_emails/attachment_content_location.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/attachment_emails/attachment_message_rfc822.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/attachment_emails/attachment_nonascii_filename.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/attachment_emails/attachment_only_email.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/attachment_emails/attachment_pdf.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/attachment_emails/attachment_pdf_lf.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/attachment_emails/attachment_with_base64_encoded_name.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/attachment_emails/attachment_with_encoded_name.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/attachment_emails/attachment_with_quoted_filename.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/attachment_emails/attachment_with_unquoted_name.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/bad_date_header.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/bad_date_header2.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/bad_encoded_subject.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/bad_subject.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/cant_parse_from.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/content_transfer_encoding_7-bit.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/content_transfer_encoding_empty.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/content_transfer_encoding_plain.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/content_transfer_encoding_qp_with_space.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/content_transfer_encoding_spam.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/content_transfer_encoding_text-html.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/content_transfer_encoding_with_8bits.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/content_transfer_encoding_with_semi_colon.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/content_transfer_encoding_x_uuencode.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/empty_group_lists.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/empty_in_reply_to.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/encoding_madness.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/header_fields_with_empty_values.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/invalid_subject_characters.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/missing_body.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/missing_content_disposition.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/multiple_content_types.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/multiple_invalid_content_dispositions.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/multiple_references_with_one_invalid.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/must_supply_encoding.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/new_line_in_to_header.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/trademark_character_in_subject.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/error_emails/weird_to_header.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/email_with_similar_boundaries.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/raw_email11.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/raw_email12.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/raw_email2.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/raw_email4.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/raw_email7.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/raw_email_encoded_stack_level_too_deep.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/raw_email_with_binary_encoded.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/raw_email_with_illegal_boundary.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/raw_email_with_mimepart_without_content_type.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/raw_email_with_multipart_mixed_quoted_boundary.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/raw_email_with_nested_attachment.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/raw_email_with_quoted_illegal_boundary.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/sig_only_email.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/mime_emails/two_from_in_message.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/multi_charset/japanese.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/multi_charset/japanese_attachment.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/multi_charset/japanese_attachment_long_name.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/multi_charset/japanese_iso_2022.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/multi_charset/japanese_shift_jis.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/multi_charset/ks_c_5601-1987.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/multipart_report_emails/multi_address_bounce1.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/multipart_report_emails/multi_address_bounce2.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/multipart_report_emails/multipart_report_multiple_status.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/multipart_report_emails/report_422.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/multipart_report_emails/report_530.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/basic_email.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/basic_email_lf.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/mix_caps_content_type.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email10.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email5.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email6.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email8.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email_bad_time.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email_double_at_in_header.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email_incorrect_header.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email_multiple_from.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email_quoted_with_0d0a.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email_reply.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email_simple.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email_string_in_date_field.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email_trailing_dot.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email_with_at_display_name.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email_with_bad_date.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/plain_emails/raw_email_with_partially_quoted_subject.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example01.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example02.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example03.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example04.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example05.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example06.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example07.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example08.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example09.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example10.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example11.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example12.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example13.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc2822/example14.eml fixture 410s parses /tmp/autopkgtest.uQx01z/build.dCY/src/spec/fixtures/emails/rfc6532/utf8_headers.eml fixture 410s should be able to parse a large email without raising an exception 410s should not raise a warning on having non US-ASCII characters in the header (should just handle it) 410s should raise a warning (and keep parsing) on having an incorrectly formatted header 410s should read in an email message and basically parse it 410s should not fail parsing message with caps in content_type 410s should be able to pass an empty reply-to header 410s should be able to pass two In-Reply-To headers 410s should be able to pass two References headers 410s YAML serialization 410s should serialize the basic information to YAML 410s should deserialize after serializing 410s should serialize a Message with a custom delivery_handler 410s should load a serialized delivery handler 410s should not deserialize a delivery_handler that does not exist 410s should deserialize parts as an instance of Mail::PartsList 410s should handle multipart mail 410s splitting 410s should split the body from the header 410s should split when the body starts with a space 410s should split if the body starts with an empty line 410s should split if the body starts with a blank line 410s should split after headers that contain "\r\n " 410s should split only once if there are "\r\n\r\n"s in the body 410s should allow headers that end in trailing whitespace 410s envelope line handling 410s should respond to 'envelope from' 410s should strip off the envelope from field if present 410s should strip off the envelope from field if present 410s should not cause any problems if there is no envelope from present 410s should ignore a plain text body that starts with ^From 410s should handle a multipart message that has ^From in it 410s accepting a plain text string email 410s should accept some email text to parse and return an email 410s should set a raw source instance variable to equal the passed in message 410s should set the raw source instance variable to '' if no message is passed in 410s should give the header class the header to parse 410s should give the header class the header to parse even if there is no body 410s should give the body class the body to parse 410s should still ask the body for a new instance even though these is nothing to parse, yet 410s should give the header the part before the line without spaces and the body the part without 410s should allow for whitespace at the start of the email 410s should read in an email message with the word 'From' in it multiple times and parse it 410s should parse non-UTF8 sources 410s should parse sources with charsets that we know but Ruby doesn't 410s should be able to normalize CRLFs on non-UTF8 encodings 410s should be able to normalize CRLFs on non-UTF8 encodings 410s directly setting values of a message 410s accessing fields directly 410s should allow you to grab field objects if you really want to 410s should give you back the fields in the header 410s should delete a field if it is set to nil 410s with :method= 410s should return the to field 410s should return the from field 410s should return the subject 410s should return the body decoded with to_s 410s should return the body encoded if asked for 410s should return the body decoded if asked for 410s with :method(value) 410s should return the to field 410s should return the from field 410s should return the subject 410s should return the body decoded with to_s 410s should return the body encoded if asked for 410s should return the body decoded if asked for 410s setting arbitrary headers 410s should allow you to set them 410s should allow you to read arbitrary headers 410s should instantiate a new Header 410s replacing header values 410s should allow you to replace a from field 410s should maintain the class of the field 410s setting headers 410s should accept them in block form 410s should accept them in assignment form 410s should accept them in key, value form as symbols 410s should accept them in key, value form as strings 410s should accept them as a hash with symbols 410s should accept them as a hash with strings 410s should let you set custom headers with a :headers => {hash} 410s should assign the body to a part on creation 410s should not overwrite bodies on creation 410s should allow you to init on an array of addresses from a hash 410s should allow you to init on an array of addresses directly 410s should allow you to init on an array of addresses directly 410s making a copy of a message with dup 410s its headers should not be changed when you change the headers of the original 410s its headers should be copies of the headers of the original 410s handling missing required fields: 410s every email 410s Message-ID 410s should say if it has a message id 410s should preserve any message id that you pass it if add_message_id is called explicitly 410s should generate a random message ID if nothing is passed to add_message_id 410s should make an email and inject a message ID if none was set if told to_s 410s should add the message id to the message permanently once sent to_s 410s should add a body part if it is missing 410s Date 410s should say if it has a date 410s should preserve any date that you pass it if add_date is called explicitly 410s should generate a current date if nothing is passed to add_date 410s should make an email and inject a date if none was set if told to_s 410s should add the date to the message permanently once sent to_s 410s mime emails 410s rfc2046 can be decoded 410s rfc2046 410s mime-version 410s should say if it has a mime-version 410s should preserve any mime version that you pass it if add_mime_version is called explicitly 410s should generate a mime version if nothing is passed to add_date 410s should make an email and inject a mime_version if none was set if told to_s 410s should add the mime version to the message permanently once sent to_s 410s content type 410s should say if it has a content type 410s should say if it does not have a content type 410s should say if it has a charset 410s should say if it has a charset 410s should not raise a warning if there is no charset defined and only US-ASCII chars 410s should set the content type to text/plain; charset=us-ascii 410s should not set the charset if the file is an attachment 410s should not set the charset if the content_type is not text 410s should raise a warning if there is no content type and there is non ascii chars and default to text/plain, UTF-8 410s should raise a warning if there is no charset parameter and there is non ascii chars and default to text/plain, UTF-8 410s should not raise a warning if there is no charset parameter and the content-type is not text 410s should not raise a warning if there is a charset defined and there is non ascii chars 410s should be able to set a content type with an array and hash 410s should be able to set a content type with an array and hash with a non-usascii field 410s should allow us to specify a content type in a block 410s charset 410s should return a default value for multipart mails 410s charset= 410s should not add an empty charset header 410s should remove the charset header 410s convert_to_multipart 410s original content headers move to the new part 410s content-transfer-encoding 410s should use 7bit for only US-ASCII chars 410s should use QP transfer encoding for 7bit text with lines longer than 998 octets 410s should use QP transfer encoding for 8bit text with only a few 8bit characters 410s should use QP transfer encoding for 8bit text attachment with only a few 8bit characters 410s should use base64 transfer encoding for 8-bit text with lots of 8bit characters 410s should use 8bit transfer encoding when 8bit is forced 410s output 410s should make an email and allow you to call :to_s on it to get a string 410s should raise an error and message if you try and call decoded on a multipart email 410s should return the decoded body if you call decode and the message is not multipart 410s decoding bodies 410s should not change a body on decode if not given an encoding type to decode 410s should change a body on decode if given an encoding type to decode 410s should change a body on decode if given an encoding type to decode 410s should not strip the raw mail source in case the trailing \r\n is meaningful 410s text messages 410s should be decoded using content type charset 410s should respond true to text? 410s inspect_structure should return the same as inspect (no attachments) 410s uses the Utilities charset encoder 410s helper methods 410s should implement the spaceship operator on the date field 410s should have a destinations method 410s should have a from_addrs method 410s should have a from_addrs method that is empty if nil 410s should have a to_addrs method 410s should have a to_addrs method that is empty if nil 410s should have a cc_addrs method 410s should have a cc_addrs method that is empty if nil 410s should have a bcc_addrs method 410s should have a bcc_addrs method that is empty if nil 410s should give destinations even if some of the fields are blank 410s should be able to encode with only one destination 410s == 410s should be implemented 410s should ignore the message id value if both have a nil message id 410s should ignore the message id value if self has a nil message id 410s should ignore the message id value if other has a nil message id 410s should not be == if both emails have different Message IDs 410s nested parts 410s adds a new text part when assigning the body on an already-multipart message 410s should provide a way to instantiate a new part as you go down 410s deliver 410s should return self after delivery 410s should pass self to a delivery agent 410s should inform observers that the mail was sent 410s should allow observers to be unregistered 410s should inform observers that the mail was sent, even if a delivery agent is used 410s should pass to the interceptor the email just before it gets sent 410s should let the interceptor that the mail was sent 410s should allow interceptors to be unregistered 410s error handling 410s should collect up any of its fields' errors 410s header case should be preserved 410s should handle mail[] and keep the header case 410s parsing emails with non usascii in the header 410s should work 410s adding parts should preserve the charset of the mail 410s when UTF-8 vs UTF-8 410s when UTF-8 vs ISO-8859-1 410s when UTF-8 vs nil 410s when ISO-8859-1 vs UTF-8 410s when ISO-8859-1 vs ISO-8859-1 410s when ISO-8859-1 vs nil 410s when nil vs UTF-8 410s when nil vs ISO-8859-1 410s when nil vs nil 410s ordering messages 410s should put all attachments as the last item 410s should allow overwriting sort order 410s attachment query methods 410s shouldn't die with an invalid Content-Disposition header 410s shouldn't die with an invalid Content-Type header 410s without_attachments! 411s should delete all attachments 411s replying 411s to a basic message 411s should create a new message 411s should be in-reply-to the original message 411s should reference the original message 411s should Re: the original subject 411s should be sent to the original sender 411s should be sent from the original recipient 411s should accept args 411s should accept a block 411s to a message with an explicit reply-to address 411s should be sent to the reply-to address 411s to a message with more than one recipient 411s should be sent from the first to address 411s to a reply 411s should be in-reply-to the original message 411s should append to the original's references list 411s should not append another Re: 411s to a reply with an in-reply-to with a single message id but no references header 411s should have a references consisting of the in-reply-to and message_id fields 411s to a reply with an in-reply-to with multiple message ids but no references header 411s should have no references header 411s SMTP envelope From 411s should respond 411s should default to return_path, sender, or first from address 411s can be overridden 411s SMTP envelope To 411s should respond 411s should default to destinations 411s can be overridden 411s 411s MIME Emails 411s general helper methods 411s should read a mime version from an email 411s should return nil if the email has no mime version 411s should read the content-transfer-encoding 411s should read the content-description 411s should return the content-type 411s should return the charset 411s should allow you to set the charset 411s should return the main content-type 411s should return the sub content-type 411s should return the content-type parameters 411s should recognize a non multipart email 411s should not report the email as :attachment? 411s should recognize an attachment part 411s should give how may (top level) parts there are 411s should report the mail :has_attachments? 411s should only split on exact boundary matches 411s a multipart email (raw_email7.eml) 411s should recognize a multipart email 411s inspect_structure should return what is expected 411s attachment_only_email.eml 411s should report the email as :attachment? 411s inspect_structure should return what is expected 411s a multipart/alternative mail (raw_email11.eml) 411s should give the content_type of each part 411s inspect_structure should return what is expected 411s multipart emails 411s should add a boundary if there is none defined and a part is added 411s should not add a boundary for a message that is only an attachment 411s multipart/alternative emails 411s should know what its boundary is if it is a multipart document 411s should return nil if there is no content-type defined 411s should assign the text part and allow you to reference 411s should convert strings assigned to the text part into Mail::Part objects with sensible defaults 411s should not assign a nil text part 411s should assign the html part and allow you to reference 411s should convert strings assigned to the html part into Mail::Part objects with sensible defaults 411s should not assign a nil html part 411s should set default content type on assigned text and html parts 411s should set default content type on declared text and html parts 411s should not override content type 411s should add the html part and text part 411s should remove the html part and back out of multipart/alternative if set to nil 411s should remove the text part and back out of multipart/alternative if set to nil 411s should set the content type to multipart/alternative if you assign html and text parts 411s should set the content type to multipart/alternative if you declare html and text parts 411s should not set the content type to multipart/alternative if you declare an html part but not a text part 411s should not set the content type to multipart/alternative if you declare a text part but not an html part 411s should add the end boundary tag 411s should not put message-ids into parts 411s should create a multipart/alternative email through a block 411s should detect an html_part in an existing email 411s should detect a text_part in an existing email with plain text attachment 411s should detect an html_part in a multi level mime email 411s should only the first part on a stupidly overly complex email 411s finding attachments 411s should return an array of attachments 411s should return an array of attachments 411s should find binary encoded attachments of type .gif 411s should find binary encoded attachments of type .jpg 411s should find binary encoded attachments of type .pdf 411s should find binary encoded attachments of type .png 411s should find binary encoded attachments of type .tiff 411s should find binary encoded attachments of type .zip 411s adding a file attachment 411s should set to multipart/mixed if a text part and you add an attachment 411s should set to multipart/mixed if you add an attachment and then a text part 411s should add a part given a filename 411s should give the part the right content type 411s should return attachment objects 411s should be return an aray of attachments 411s should return the filename of each attachment 411s should return the type/subtype of each attachment 411s should return the content of each attachment 411s should allow you to send in file data instead of having to read it 411s should support :mime_type option 411s should be able to add a body before adding a file 411s should allow you to add a body as text part if you have added a file 411s should allow you to add a body as text part if you have added a file and not truncate after newlines - issue 208 411s should not raise a warning if there is a charset defined and there are non ascii chars in the body 411s 411s Mail::Multibyte::Chars 411s should upcase 411s should downcase 411s doesn't mutate input string encoding 411s 411s multipart/report emails 411s should know if it is a multipart report type 411s delivery-status reports 411s should know if it is a deliver-status report 411s should find its message/delivery-status part 411s should handle a report that has a human readable message/delivery-status 411s delivery-status part in a non report email 411s does not return a delivery_status_part 411s multipart reports with more than one address 411s should not crash 411s should not know that a multi address email was bounced 411s temporary failure 411s should be bounced 411s should say action 'delayed' 411s should give a final recipient 411s should give an error code 411s should give a diagostic code 411s should give a remote-mta 411s should be retryable 411s permanent failure 411s should be bounced 411s should say action 'failed' 411s should give a final recipient 411s should give an error code 411s should give a diagostic code 411s should give a remote-mta 411s should be retryable 411s 411s exim delivery agent 411s should send an email using exim 411s should still send an email if the settings have been set to nil 411s should escape evil haxxor attemptes 411s should raise an error if no sender is defined 411s should raise an error if no recipient if defined 411s return path 411s should send an email with a return-path using exim 411s should use the sender address is no return path is specified 411s should use the from address is no return path or sender are specified 411s should escape the return path address 411s should not escape ~ in return path address 411s 411s SMTP Delivery Method 411s general usage 411s should send an email to a file 411s should send multiple emails to multiple files 411s should only create files based on the addr_spec of the destination 411s should use the base name of the file name to prevent file system traversal 411s should not raise errors if no sender is defined 411s should raise an error if no recipient if defined 411s 411s Logger Delivery Method 411s sends an email to $stdout with 'info' severity by default 411s can be configured with a custom logger and severity 411s sender and recipient validation 411s should not raise errors if no sender is defined 411s should raise an error if no recipient if defined 411s 411s Mail::Sendmail 411s sends an email using sendmail 411s spawns a sendmail process 411s still sends an email if the arguments setting have been set to nil 411s escapes evil haxxor attempts 411s raises on nonzero exitstatus 411s raises an error if no sender is defined 411s raises an error if no recipient is defined 411s allows for legacy callers with :arguments strings 411s SMTP From 411s explicitly passes an envelope From address to sendmail 411s escapes the From address 411s does not escape ~ in From address 411s SMTP To 411s explicitly passes envelope To addresses to sendmail 411s escapes the To address 411s does not escape ~ in To address 411s quotes the destinations to ensure leading -hyphen doesn't confuse sendmail 411s 411s SMTP Delivery Method 411s should not dot-stuff unterminated last line with no leading dot 411s should not dot-stuff newline-terminated last line 411s should send an email using open SMTP connection 411s should be able to return actual SMTP protocol response 411s should not raise errors if no sender is defined 411s should raise an error if no recipient if defined 411s 411s SMTP Delivery Method 411s general usage 411s should send emails from given settings 411s should be able to send itself 411s should be able to return actual SMTP protocol response 411s enabling tls 411s should use OpenSSL::SSL::VERIFY_NONE if a context 411s should ignore OpenSSL::SSL::VERIFY_NONE if it is 0 411s enabling ssl 411s should use OpenSSL::SSL::VERIFY_NONE if a context 411s should ignore OpenSSL::SSL::VERIFY_NONE if it is 0 411s should not set verify mode when none is given 411s should set verify mode if one is given 411s enabling STARTTLS 411s should default to automatically detecting STARTTLS 411s should allow forcing STARTTLS 411s should allow disabling automatic STARTTLS 411s should allow forcing STARTTLS auto 411s should allow disabling automatic STARTTLS auto 411s SMTP Envelope 411s uses the envelope From and To addresses 411s supports the null sender in the envelope from address 411s should raise an error if there is no envelope From address 411s should raise an error if no recipient if defined 411s should raise on SMTP injection via MAIL FROM newlines 411s should raise on SMTP injection via RCPT TO newlines 411s should raise on SMTP injection via MAIL FROM overflow 411s should raise on SMTP injection via RCPT TO overflow 411s 411s Mail::TestMailer 411s should have no deliveries when first initiated 411s should deliver an email to the Mail::TestMailer.deliveries array 411s should clear the deliveries when told to 411s should not raise errors if no sender is defined 411s should raise an error if no recipient if defined 411s should save settings passed to initialize 411s 411s IMAP Retriever 411s find with and without block 411s should find all emails with a given block 411s should get all emails without a given block 411s should get all emails and yield the imap, uid, and email when given a block of arity 3 411s should get all emails and yield the imap, uid, flag, and email when given a block of arity 4 411s find and options 411s should work with a frozen hash argument 411s should handle the :count option 411s should handle the :what option 411s should handle the :order option 411s should handle the :mailbox option 411s should handle the :uid option 411s should find the last 10 messages by default 411s should search the mailbox 'INBOX' by default 411s should handle the delete_after_find_option 411s should handle the find_and_delete method 411s should pass :search_charset to IMAP uid_search 411s last 411s should find the last received messages 411s should find the last received message 411s first 411s should find the first received messages 411s should find the first received message 411s all 411s should find all messages 411s delete_all 411s should delete all messages 411s connection 411s should raise an Error if no block is given 411s should yield the connection object to the given block 411s handling of options 411s should set default options 411s should not replace given configuration 411s should ensure utf7 conversion for mailbox names 411s error handling 411s should finish the IMAP connection if an exception is raised 411s STARTTLS 411s calls starttls to upgrade 411s conflicts with enable_ssl 411s authentication mechanism 411s should be login by default 411s should be changeable 411s 411s POP3 Retriever 411s find with and without block 411s should find all emails with a given block 411s should get all emails without a given block 411s find and options 411s should work with a frozen hash argument 411s should handle the :count option 411s should handle the :what option 411s should handle the :order option 411s should find the last 10 messages by default 411s should handle the delete_after_find option 411s should handle the find_and_delete method 411s last 411s should find the last received messages 411s should find the last received message 411s first 411s should find the first received messages 411s should find the first received message 411s all 411s should find all messages 411s delete_all 411s should delete all mesages 411s connection 411s should raise an Error if no block is given 411s should yield the connection object to the given block 411s handling of options 411s should set default options 411s should not replace given configuration 411s error handling 411s should finish the POP3 connection is an exception is raised 411s read_timeout option 411s should override the POP3 default read_timeout 411s 411s Test Retriever 411s should have no emails initially 411s all 411s should return all emails without a block 411s should return all emails with a block 411s find 411s should work with frozen hash arguments 411s should handle the :count option 411s should handle the :order option 411s should handle the :what option 411s should handle the both of :what and :order option with :count => 1 411s should handle the :delete_after_find option 411s should handle the both of :delete_after_find and :count option 411s should handle the :delete_after_find option with messages marked not for delete 411s 411s Mail 411s default delivery and retriever methods 411s should set the delivery method 411s should default to settings for smtp 411s should set the retriever method 411s should default to settings for pop3 411s should allow us to overwrite anything we need on SMTP 411s should allow us to overwrite anything we need on POP3 411s should allow you to pass in your own delivery method 411s should ask the custom delivery agent for its settings 411s should allow you to pass in your own retriever method 411s should ask the custom retriever agent for its settings 411s instance delivery methods 411s should copy the defaults defined by Mail.defaults 411s should be able to change the delivery_method 411s should be able to change the delivery_method and pass in settings 411s should not change the default when it changes the delivery_method 411s should not change the default settings when it changes the delivery_method settings 411s retrieving emails via POP3 411s should retrieve all emails via POP3 411s sending emails via SMTP 411s should deliver a mail message 411s should deliver itself 411s deliveries 411s adding to Mail.deliveries 411s should add itself to the deliveries collection on mail on delivery 411s perform_deliveries 411s should call deliver! on the delivery method by default 411s should not call deliver if perform deliveries is set to false 411s should add to the deliveries array if perform_deliveries is true 411s should not add to the deliveries array if perform_deliveries is false 411s observers 411s should tell its observers that it was told to deliver an email 411s should tell its observers that it was told to deliver an email even if perform_deliveries is false 411s should tell its observers that it was told to deliver an email even if it is using a delivery_handler 411s raise_delivery_errors 411s should pass on delivery errors if raised 411s should not pass on delivery errors if raised raise_delivery_errors is set to false 411s should pass through Exceptions even when raise_delivery_errors is set to false 411s delivery_handler 411s should allow you to hand off performing the actual delivery to another object 411s mail should be told to :deliver once and then :deliver! once by the delivery handler 411s mail only call its delivery_method once 411s mail should not catch any exceptions when using a delivery_handler 411s mail should not modify the Mail.deliveries object if using a delivery_handler that does not append to deliveries 411s should be able to just yield and let mail do its thing 411s 411s AddressListsParser 411s should parse an address 411s should parse an address list separated by semicolons 411s parsing an address with a space at the end 411s only finds a single address 411s parsing an address which begins with a comment 411s extracts local string correctly 411s RFC6532 UTF-8 headers 411s extracts UTF-8 local string 411s should parse an address 411s 411s ContentTransferEncodingParser 411s should work 411s trailing semi colons 411s should parse 411s should parse with pre white space 411s should parse with trailing white space 411s should parse with pre and trailing white space 411s x-token values 411s should work 411s wild content-transfer-encoding 411s should parse 7bits variant 411s should parse 8bits variant 411s should parse 7-bit variant 411s should parse 8-bit variant 411s 411s Mail::Part 411s should not add a default Content-ID 411s should not add a default Content-ID to non-inline attachments 411s should add a default Content-ID to inline attachments 411s should not add a Date, MIME-Version, or Message-ID 411s should preserve any content id that you put into it 411s should return an inline content_id 411s should URL escape its inline content_id 411s should add a content_id if there is none and is asked for an inline_content_id 411s should respond correctly to inline? 411s handles un-parsable content_disposition headers 411s should correctly parse plain text raw source and not truncate after newlines - issue 208 411s parts that have a missing header 411s should not try to init a header if there is none 411s delivery status reports 411s should know if it is a delivery-status report 411s should create a delivery_status_data header object 411s should be bounced 411s should say action 'delayed' 411s should give a final recipient 411s should give an error code 411s should give a diagostic code 411s should give a remote-mta 411s should be retryable 411s on a part without a certain field 411s returns nil 411s negotiating transfer encoding 411s doesn't override part encoding when it's compatible with message 411s retains specified encoding even though it isn't lowest cost 411s 411s PartsList 411s should return itself on sort 411s should not fail if we do not have a content_type 411s should not fail if we do not have a content_type 411s should not fail on empty PartsList 411s should sort attachments to end 411s should have a parts reader 411s should behave like an array 411s is equal to itself 411s is equal to its parts array 411s can be mixed with an array 411s should respond to Array methods 411s should have a round-tripping YAML serialization 411s 411s Round Tripping 411s should round trip a basic email 411s should round trip a html multipart email 411s should round trip an email 411s preserves text attachment newlines 411s 411s Utilities Module 411s token safe 411s checking 411s should return true if a string is token safe 411s should return false if a string is token safe 411s should work with mb_chars 411s quoting 411s should return true if a string is token safe 411s should return false if a string is token safe 411s should work with mb_chars 411s atom safe 411s checking 411s should return true if a string is token safe 411s should return false if a string is token safe 411s should work with mb_chars 411s quoting 411s should return true if a string is token safe 411s should return false if a string is token safe 411s should work with mb_chars 411s should quote mb_chars white space 411s quoting phrases 411s doesn't mutate original string 411s given a non-unsafe string 411s should not change the encoding 411s given an unsafe string 411s should not change the encoding 411s escaping parenthesies 411s should escape parens 411s should not double escape parens 411s should escape all parens 411s unescaping parenthesis 411s should work 411s should work without parens 411s should work using Multibyte.mb_chars 411s should work without parens using Multibyte.mb_chars 411s unescaping brackets 411s should work 411s should work without brackets 411s should work using Multibyte.mb_chars 411s should work without parens using Multibyte.mb_chars 411s quoting phrases 411s should quote a phrase if it is unsafe 411s should properly quote a string, even if quoted but not escaped properly 411s should quote correctly a phrase with an escaped quote in it 411s should quote correctly a phrase with an escaped backslash followed by an escaped quote in it 411s unquoting phrases 411s should remove quotes from the edge 411s should remove backslash escaping from quotes 411s should remove backslash escaping from any char 411s should be able to handle unquoted strings 411s should preserve backslashes in unquoted strings 411s should be able to handle unquoted quotes 411s unescaping phrases 411s should not modify a string with no backslashes 411s should not modify a quoted string with no backslashes 411s should remove backslash escaping from a string 411s should remove backslash escaping from a quoted string 411s parenthesizing phrases 411s should parenthesize a phrase 411s should properly parenthesize a string, and escape properly 411s should properly parenthesize a string, and escape properly (other way) 411s should properly parenthesize a string, even if parenthesized but not escaped properly 411s should properly parenthesize a string, even if parenthesized but not escaped properly (other way) 411s should parenthesize correctly a phrase with an escaped parentheses in it 411s should parenthesize correctly a phrase with an escaped parentheses in it (other way) 411s should parenthesize correctly a phrase with an escaped backslash followed by an escaped parentheses in it 411s should parenthesize correctly a phrase with an escaped backslash followed by an escaped parentheses in it (other way) 411s should parenthesize correctly a phrase with a set of parentheses 411s bracketizing phrases 411s should bracketize a phrase 411s should properly bracketize a string, and escape properly 411s should properly bracketize a string, and escape properly (other way) 411s should properly bracketize a string, even if bracketized but not escaped properly 411s should properly bracketize a string, even if bracketized but not escaped properly (other way) 411s should bracketize correctly a phrase with an escaped brackets in it 411s should bracketize correctly a phrase with an escaped brackets in it (other way) 411s should bracketize correctly a phrase with an escaped backslash followed by an escaped brackets in it 411s should bracketize correctly a phrase with an escaped backslash followed by an escaped brackets in it (other way) 411s should bracketize correctly a phrase with a set of brackets 411s url escaping 411s should have a wrapper on URI.escape 411s should have a wrapper on URI.unescape 411s blank method 411s should say nil is blank 411s should say false is blank 411s should say true is not blank 411s should say an empty array is blank 411s should say an empty hash is blank 411s should say an empty string is blank 411s not blank method 411s should say a number is not blank 411s should say a valueless hash is not blank 411s should say a hash containing an empty hash is not blank 411s to_lf 411s converts single CR 411s converts multiple CR 411s converts single CRLF 411s converts multiple CRLF 411s leaves LF intact 411s converts mixed line endings 411s should handle japanese characters 411s on NilClass 411s returns an empty string 411s on String subclasses 411s returns Strings 411s to_crlf 411s converts single LF 411s converts multiple LF 411s converts single CR 411s preserves single CRLF 411s preserves multiple CRLF 411s converts mixed line endings 411s should handle japanese characters 411s on NilClass 411s returns an empty string 411s on String subclasses 411s returns Strings 411s .decode_base64 411s handles unpadded base64 correctly 411s 411s Mail::YAML 411s #load 411s loads YAML 411s 411s have_sent_email 411s without any modifiers 411s when no e-mail has been sent 411s is expected not to send a matching email 411s when e-mail has been sent 411s is expected to send a matching email 411s with #from 411s and a matching sender 411s is expected to send a matching email 411s and a non-matching sender 411s is expected not to send a matching email 411s with #to 411s and a matching recipient 411s is expected to send a matching email 411s is expected to send a matching email 411s is expected to send a matching email 411s is expected to send a matching email 411s and a non-matching recipient 411s is expected not to send a matching email 411s with #cc 411s and a matching recipient 411s is expected to send a matching email 411s is expected to send a matching email 411s is expected to send a matching email 411s is expected to send a matching email 411s and a non-matching recipient 411s is expected not to send a matching email 411s with #bcc 411s and a matching recipient 411s is expected to send a matching email 411s is expected to send a matching email 411s is expected to send a matching email 411s is expected to send a matching email 411s and a non-matching recipient 411s is expected not to send a matching email 411s with #subject 411s and a matching subject 411s is expected to send a matching email 411s and a non-matching subject 411s is expected not to send a matching email 411s is expected not to send a matching email 411s is expected not to send a matching email 411s with #subject_matching 411s and a matching subject 411s is expected to send a matching email 411s and a non-matching subject 411s is expected not to send a matching email 411s with #with_body 411s and a matching body 411s is expected to send a matching email 411s and a non-matching body 411s is expected not to send a matching email 411s is expected not to send a matching email 411s is expected not to send a matching email 411s with #with_attachments 411s and matching attachments 411s matching by filename 411s is expected to send a matching email 411s matching by mimetype 411s is expected to send a matching email 411s single attachment passed 411s is expected to send a matching email 411s array of attachments passed 411s is expected to send a matching email 411s any_attachment passed 411s is expected to send a matching email 411s chaining attachment matching 411s is expected to send a matching email 411s ce matching 411s is expected to send a matching email 411s attachment order is important 411s is expected to send a matching email 411s is expected not to send a matching email 411s and non-matching attachments 411s is expected not to send a matching email 411s is expected not to send a matching email 411s and any attachments 411s is expected to send a matching email 411s and no attachments 411s is expected to send a matching email 411s with #matching_body 411s and a matching body 411s is expected to send a matching email 411s and a non-matching body 411s is expected not to send a matching email 411s with a huge chain of modifiers 411s is expected to send a matching email 411s with html-mail 411s when html-mail has been sent 411s with #html_part 411s and a matching html_part.body 411s is expected to send a matching email 411s and a non-matching html_part.body 411s is expected not to send a matching email 411s with #text_part 411s and a matching text_part.body 411s is expected to send a matching email 411s and a non-matching text_part.body 411s is expected not to send a matching email 411s 411s Pending: (Failures listed here are expected and do not affect your suite's status) 411s 411s 1) Mail::AddressList parsing should handle malformed folding whitespace 411s # No reason given 411s Failure/Error: a = Mail::AddressList.new(parse_text) 411s 411s Mail::Field::IncompleteParseError: 411s Mail::AddressList can not parse |leads@sg.dc.com, 411s sag@leads.gs.ry.com, 411s sn@example-hotmail.com, 411s e-s-a-g-8718@app.ar.com, 411s jp@t-exmaple.com, 411s 411s cc@c-l-example.com|: Only able to parse up to "leads@sg.dc.com," 411s # ./spec/mail/elements/address_list_spec.rb:75:in `new' 411s # ./spec/mail/elements/address_list_spec.rb:75:in `block (3 levels) in ' 411s 411s 2) Mail::Encodings decoding a string and detecting the encoding type should handle a very long string efficiently 411s # fails randomly 411s # ./spec/mail/encodings_spec.rb:530 411s 411s 3) Test emails from RFC2822 should handle the rfc obsolete whitespace email 411s # No reason given 411s Failure/Error: expect(mail.from).to eq 'John Doe ' 411s 411s expected: "John Doe " 411s got: ["jdoe@machine. example"] 411s 411s (compared using ==) 411s # ./spec/mail/example_emails_spec.rb:241:in `block (3 levels) in ' 411s 411s 4) Mail::SenderField initialization should reject headers with multiple mailboxes 411s # Sender accepts an address list now, but should only accept a single address 411s Failure/Error: 411s expect { 411s Mail::SenderField.new('Mikel Lindsaar , "Bob Smith" ') 411s }.to raise_error(Mail::Field::ParseError) 411s 411s expected Mail::Field::ParseError but nothing was raised 411s # ./spec/mail/fields/sender_field_spec.rb:24:in `block (3 levels) in ' 411s 411s Finished in 2.71 seconds (files took 0.6906 seconds to load) 411s 1826 examples, 0 failures, 4 pending 411s 411s mv ./.gem2deb.lib lib 412s autopkgtest [11:26:15]: test gem2deb-test-runner: -----------------------] 413s autopkgtest [11:26:16]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 413s gem2deb-test-runner PASS 414s autopkgtest [11:26:17]: @@@@@@@@@@@@@@@@@@@@ summary 414s gem2deb-test-runner PASS 425s Creating nova instance adt-noble-arm64-ruby-mail-20240311-111923-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240311.img (UUID 900cfff9-7f1a-42c7-81a7-22635cd2a5f9)...