docker-library / memcached Goto Github PK
View Code? Open in Web Editor NEWDocker Official Image packaging for memcached
Home Page: http://memcached.org/
License: BSD 3-Clause "New" or "Revised" License
Docker Official Image packaging for memcached
Home Page: http://memcached.org/
License: BSD 3-Clause "New" or "Revised" License
Using a numeric uid instead of a username in the USER
command allows platforms like Kubernetes to validate that the container will run as non-root (uid >0) before starting it. This is because a username could actually alias to uid 0 (root), whereas a non-zero uid is never the root user.
Hi,
First, I've pull memcached:
docker pull memcached
Then, like in the presentation page, I've runned it:
docker run --name my-memcache -d memcached
A docker ps -a
shows me this:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
43812fe9a62b memcached "docker-entrypoint.s…" About an hour ago Up About an hour 11211/tcp my-memcache
But a netstat -nlp
shows me that the 11211 port is not occupied.
My Docker version is:
Docker version 17.12.0-ce, build c97c6d6
My OS version is:
Distributor ID: Ubuntu
Release: 16.04
Codename: xenial
Thanks,
I'm passing options into this image, via my Docker-Compose, and I want to confirm that they're being applied (for example, increasing the memory limit).
Is there a way to confirm the settings of the memcached Docker image, once it is up and running?
I've done a lot of searching and everything that I've seen so far involves commands not present on the image (telnet, memcstat) or viewing files that aren't present (/etc/memcached.conf
).
Sorry if I'm missing something really obvious.
Hi, Below CVEs are reported in the latest 1.6.21 image. These are reported as non-fixable can you please let us know if there is any fix available for these if not we will mark these as not fixable or false positive until we have a fix for these.
CVE-2019-9192
CVE-2019-19882
CVE-2019-1010023
CVE-2019-1010022
CVE-2018-6829
CVE-2018-5709
CVE-2018-20796
CVE-2011-4116
Killing this container with docker stop
hangs due to the fact that memcached doesn't shut down on SIGTERM
(it expects SIGINT
, cf. memcached/memcached#88). Docker ends up killing the process with a SIGKILL
after the 10 second timeout.
Both arm32v7
(Debian's armhf
) and arm32v5
(Debian's armel
) fail the tests in the same way:
$ make test
./sizes
Slab Stats 64
Thread stats -6496
Global stats 160
Settings 216
Item (no cas) 32
Item (cas) 40
Libevent thread 104
Connection 344
----------------------------------------
libevent thread cumulative 6408
Thread stats cumulative 6304
./testapp
1..52
ok 1 - cache_create
ok 2 - cache_constructor
ok 3 - cache_constructor_fail
ok 4 - cache_destructor
ok 5 - cache_reuse
ok 6 - cache_redzone
ok 7 - issue_161
ok 8 - strtol
ok 9 - strtoll
ok 10 - strtoul
ok 11 - strtoull
ok 12 - issue_44
ok 13 - vperror
ok 14 - issue_101
Signal handled: Terminated.
ok 15 - start_server
ok 16 - issue_92
ok 17 - issue_102
ok 18 - binary_noop
ok 19 - binary_quit
ok 20 - binary_quitq
ok 21 - binary_set
ok 22 - binary_setq
ok 23 - binary_add
ok 24 - binary_addq
ok 25 - binary_replace
ok 26 - binary_replaceq
ok 27 - binary_delete
ok 28 - binary_deleteq
testapp: testapp.c:725: safe_recv: Assertion `nr != 0' failed.
make: *** [test] Aborted (core dumped)
Makefile:1654: recipe for target 'test' failed
As a developer I'd like to have a way to issue a health check on memcached container without modifying the base image (base image has no telnet
nor nc
)
Hi, Below CVEs are reported in the latest 1.6.19 image. These needs to be taken care as part of governance as memcached is being used across our k8s containers
CVE-2019-8457
CVE-2022-1304
CVE-2020-16156
CVE-2021-33560
CVE-2022-29458
CVE-2005-2541
CVE-2019-1010022
CVE-2019-1010023
CVE-2017-7245
CVE-2019-19882
CVE-2017-7246
CVE-2018-6829
CVE-2018-20796
CVE-2011-4116
CVE-2019-9192
CVE-2018-5709
CVE-2019-20838
CVE-2017-11164
CVE-2016-2781
CVE-2020-13529
CVE-2007-6755
CVE-2017-16231
CVE-2022-0563
CVE-2019-1010025
CVE-2019-1010024
CVE-2007-5686
CVE-2013-4235
CVE-2017-18018
CVE-2011-3389
CVE-2010-4756
CVE-2010-0928
CVE-2011-3374
CVE-2021-36087
CVE-2013-4392
CVE-2021-36085
CVE-2021-36084
CVE-2021-36086
$ docker run --rm -d --name memtest memcached
$ docker exec memtest cat /proc/1/limits | grep open
Max open files 1024 1024 files
While the memcache user actually has a higher limit.
$ docker exec memtest ulimit -n
1048576
This is way too little for a busy memcache server (I'm hitting the limit all the time).
I want to build a v1.4.4 memcached image, but when i use the current Dockerfile to build image, errors occured like this:
checking build system type... Invalid configuration x86_64-linux-musl': system
musl' not recognized
configure: error: /bin/sh ./config.sub x86_64-linux-musl failed
Hello,
any plans to create an image for Memcached 1.6.12?
The Memcached image does not define the USER ID.
Therefore, it is not a good practice and brings complexities to produce solutions that would be distributed to work on Openshift/OKD and K8s with this one in the latest version where the Pod Security Standards and the option to enforce the restricted policy via label be introduced.
From Docker Docs
Note that when specifying a group for the user, the user will have only the specified group membership. Any other configured group memberships will be ignored.
When the user doesn’t have a primary group then the image (or the next instructions) will be run with the root group.
From: https://docs.docker.com/engine/reference/builder/#user
NOTE: Therefore because the container user is always a member of the root group, the container user can read and write these files.
From Dockefile best practices
https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
On Kubernetes (>= 1.24) you can check
If we create a Pod/Container to be admitted as restricted and does not violate the PodSecurity with the following security context config:
spec:
securityContext:
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
...
containers:
- name: controller-manager
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
The Pod/Container will not run and the error container has runAsNonRoot and image will run as root …
will be raised.
On Openshift
To allow a workload to run as restricted(restricted-v2 SCC) we MUST leave the runAsUser field empty. Otherwise, we will only be able to run the Pod if it has access to the SCC nonroot-v2 or anyuid. Note that we cannot here define a specific userID because it will depend on the namespace. So, if we want to distribute an Operator using this image we do not know what is the ns where it will be installed and it begins to add complexities on top either if we are OK by running it with security context more permissve.
Therefore if we try a number like 1001 we will face issues like:
Leave the runAsUser field empty, or provide a value that falls within the specific user range for the namespace. provide a value in the ranges: [1000680000, 1000689999]
Then, you can also check its docs:
Lastly, the final USER declaration in the Dockerfile should specify the user ID (numeric value) and not the user name. This allows OpenShift Container Platform to validate the authority the image is attempting to run with and prevent running images
(and one is distinctly more user-friendly to read than the other). 😬
What do you mean with and one is distinctly more user-friendly to read than the other
?
The UID and GID are defined in the Dockerfile already. (as described above)
It does not change its ux.
To sort it out it, we just need to set the USER ID. Same value used on this already:
RUN addgroup -g 11211 memcache && adduser -D -u 11211 -G memcache memcache
https://github.com/docker-library/memcached/blob/master/alpine/Dockerfile#L3-L4
https://github.com/docker-library/memcached/blob/master/debian/Dockerfile#L3-L5
It is a very small request that will help a lot anyone that is trying to use this image to provide solutions for the latest K8s and OCP versions.
The PR #79 is open and would be great if we could get this one merged and have a new release/tag from this image.
Hi,
We have a requirement where in we need to secure memcache. We tried building the docker file providing the memcache.conf file as per the below link
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-memcached-on-ubuntu-18-04
but when we do netstat -plunt inside the container it shows the below output
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
. . .
tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN 2279/memcached
Could you please let me know how i could restrict this running only within the service and not to the internet.
https://hub.docker.com/_/memcached
Should indicate which port are exposed by default. For example: https://hub.docker.com/_/redis
My environment is: ubuntu 16.04 + docker 17.06.2-ce
After starting a memchache container and then restarting docker (service docker restart), I noticed that the docker logs command return:
Signal handled: Terminated.
I suggest also to add close to the end of the Dockerfile, the following command:
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
I am looking for documentation on how to change memory and connection parameters in docker-compose.yml...
Can someone point me in the right direction?
Thanks!
When creating container with docker-compose version v2.20.3 and Docker Engine version 19.03.2.
Using image from Docker Official Repository.
And the following being the docker-compose.yml:
version: '3.3'
services:
memcached:
image: memcached:latest
container_name: memcached
restart: always
ports:
- "11211:11211"
networks:
- hosting_network
volumes:
- ./log:/var/log/memcached.log
networks:
hosting_network:
name: hosting_network
driver: bridge
The container will not start, with the following error logs:
user@server:/path/to/memcached_folder$ docker-compose up
[+] Running 1/0
✔ Container memcached Created 0.0s
Attaching to memcached
memcached | Can't start logger thread: Operation not permitted
memcached exited with code 139
memcached exited with code 0
Running on Ubuntu 16.04.6 LTS (xenial).
My guess is, the docker version might be too old?
1st edit: locally, with newer Docker versions, works just fine.
Hi, Below CVEs are reported in the latest 1.6.20 image. These are reported as non-fixable can you please let us know if there is any fix available for these if not we will mark these as the not fixable or false positive till the time we have fix for these.
CVE-2017-11164
CVE-2017-7245
CVE-2017-7246
CVE-2018-20796
CVE-2018-5709
CVE-2018-6829
CVE-2019-1010022
CVE-2019-1010023
CVE-2019-19882
CVE-2019-20838
CVE-2019-8457
CVE-2019-9192
CVE-2020-16156
CVE-2021-33560
When will be the official 1.6.3 Docker Image available?
Best regards
tried to copy-paste some apt-get install
and it did not work ... and sudo or su also don't work ... so please add some docs on that topic
something like: This container runs as memcached user by default, to gain root access use "docker run -u root"
Someone filed CVE-2020-35197 against your docker image. After looking at your dockerfile I do not think it is vulnerable and should be disputed.
Hi,
I'm running a couple of Docker images on different architectures and noticed that the latest build of Memcached failed:
https://doi-janky.infosiftr.net/job/multiarch/job/arm32v7/job/memcached/443/artifact/build-info/failed.txt
ending in:
$ docker pull memcached:1.6.10-alpine
1.6.10-alpine: Pulling from library/memcached
no matching manifest for linux/arm/v7 in the manifest list entries
Other architectures look fine. Could you have a look at it? Switched back to 1.6.9-alpine for the moment.
Thank you!
Hi, Below CVEs are reported in the latest 1.6.17 image. These needs to be taken care as part of governance as memcache is being used across our k8s containers
CVE-2007-5686
CVE-2007-6755
CVE-2010-0928
CVE-2010-4756
CVE-2011-3389
CVE-2022-0563
CVE-2020-13529
CVE-2019-1010025
CVE-2019-1010024
CVE-2017-18018
CVE-2013-4235
CVE-2016-2781
CVE-2017-16231
Since the recent Alpine update (3.14) the image has issues running on old versions of Docker due to alpinelinux/docker-alpine#182. Please add an alias that includes alpine version and back-fill alias for Alpine 3.13.
Thank you!
As of this moment, it appears that memcached:1.5-alpine
does not incorporate the recent new build of alpine:3.8
that patches a recently discovered RCE issue.
$ docker history memcached:1.5-alpine
IMAGE CREATED CREATED BY SIZE COMMENT
7f73a9e6468a 9 days ago /bin/sh -c #(nop) CMD ["memcached"] 0B
<missing> 9 days ago /bin/sh -c #(nop) EXPOSE 11211/tcp 0B
<missing> 9 days ago /bin/sh -c #(nop) USER [memcache] 0B
<missing> 9 days ago /bin/sh -c #(nop) ENTRYPOINT ["docker-entry… 0B
<missing> 9 days ago /bin/sh -c ln -s usr/local/bin/docker-entryp… 34B
<missing> 9 days ago /bin/sh -c #(nop) COPY file:621e178b267679ef… 124B
<missing> 9 days ago /bin/sh -c set -x && apk add --no-cache --… 4.55MB
<missing> 9 days ago /bin/sh -c #(nop) ENV MEMCACHED_SHA1=fff935… 0B
<missing> 9 days ago /bin/sh -c #(nop) ENV MEMCACHED_VERSION=1.5… 0B
<missing> 9 days ago /bin/sh -c adduser -D memcache 4.82kB
<missing> 2 months ago /bin/sh -c #(nop) CMD ["/bin/sh"] 0B
<missing> 2 months ago /bin/sh -c #(nop) ADD file:25f61d70254b9807a… 4.41MB
Y'all may wish to give the build process a gentle nudge and convince it to publish a patched image. 😄
Wish to support authorization through environment variables.
like this:
docker run -d \
--name memcached \
-p 11211:11211 \
-e MEMCACHED_USERNAME=myusername \
-e MEMCACHED_PASSWORD=mypassword
I have an application that stores its user sessions in memcached (1.5.2
).
It is currently complaining about not being able to write (seems to happen randomly)
I'd like to check the queries received by the service.
This does not seem to show anything
$ docker-compose logs -f memcached
Is there a log somewhere (I don't see any memcached*
in /var/log/
) or a verbose mode that we could activate ?
I also tried the stats
command with telnet but nothing seems to be captured.
± docker run -it --rm memcached:1.4.37-alpine -o modern -m 32
Unable to find image 'memcached:1.4.37-alpine' locally
1.4.37-alpine: Pulling from library/memcached
6f821164d5b7: Pull complete
338fbb6cf27a: Pull complete
0930cf93b5b2: Pull complete
7bdbb30d4915: Pull complete
54c1d5e73dc6: Pull complete
Digest: sha256:ae33b9e8b100774d92277df779bc0d72bae81a2f62741106e7ea4cd683e2a507
Status: Downloaded newer image for memcached:1.4.37-alpine
± echo $?
139
± docker run -it --rm memcached:1.4.36-alpine -o modern -m 32
Unable to find image 'memcached:1.4.36-alpine' locally
1.4.36-alpine: Pulling from library/memcached
6f821164d5b7: Already exists
338fbb6cf27a: Already exists
714c5ae9370a: Pull complete
3a1e7538d8c8: Pull complete
952bb42ade1c: Pull complete
Digest: sha256:00b68b00139155817a8b1d69d74865563def06b3af1e6fc79ac541a1b2f6b961
Status: Downloaded newer image for memcached:1.4.36-alpine
^CSignal handled: Interrupt.
± echo $?
0
I have read on docker hub, but cannot get information about the available environment variables
Is there a way to configure this container with SASL support or I will have to recompile from source and use this just for guidance?
Asking here, as I was not able to find anything on the image page.
export DOCKER_CONTENT_TRUST=1
docker pull memcached:1.6.9-alpine
Everything works fine with the above
for 1.6.10 and above:
$ docker pull memcached:1.6.12-alpine
No valid trust data for 1.6.12-alpine
Readme should help new users to quickly start using this image.
I am missing there:
It would appear 1-alpine was just push (~21 minutes ago) and is missing the 'linux/amd64' platform.
user@server ~ $ docker pull memcached:1-alpine
1-alpine: Pulling from library/memcached
no supported platform found in manifest list
output from manifest-tool:
manifest-tool inspect memcached:1-alpine
Name: memcached:1-alpine (Type: application/vnd.docker.distribution.manifest.list.v2+json)
Digest: sha256:f7660ea39ead16936cbe4ef0eda95f1b3289f70bab2edd0d32694c324790f3de
* Contains 1 manifest references:
1 Mfst Type: application/vnd.docker.distribution.manifest.v2+json
1 Digest: sha256:75b50344b2414146c15c760b42785c6c481801150788c17f59de506b944cf02e
1 Mfst Length: 1568
1 Platform:
1 - OS: linux
1 - OS Vers:
1 - OS Feat: []
1 - Arch: arm
1 - Variant: v6
1 - Feature:
1 # Layers: 6
layer 1: digest = sha256:95d54dd4bdadebb53f9b91b25aa7dc5fcb83c534eb1d196eb0814aa1e16f3db2
layer 2: digest = sha256:5993b3593c77413be85d318297ad8313b945069768a7e454d487fd47fa4b4343
layer 3: digest = sha256:c9c991fcbb1642e4c203f3ec02fe1bd716035895d814f5639c7286cb13f84009
layer 4: digest = sha256:182283613398bb7b44902147ab19fdd23300ff6c9fb843dbf0815ab4bc4aa338
layer 5: digest = sha256:4cb2817051c02569e759029f302f3309eb8fce988d9b51fd49e04607a6e3e833
layer 6: digest = sha256:992f038c1080437c8d4b4b712847febf237666834ed73208291ba94a2b666fdf
output from manifest-tool on older image:
manifest-tool inspect memcached:1.4.39-alpine
memcached:1.4.39-alpine: manifest type: application/vnd.docker.distribution.manifest.v2+json
Digest: sha256:3741668c175a68f9fb2ba453461105534d639e9a772ef09120ce63de7f4da8c6
Architecture: amd64
OS: linux
# Layers: 5
layer 1: digest = sha256:88286f41530e93dffd4b964e1db22ce4939fffa4a4c665dab8591fbab03d4926
layer 2: digest = sha256:0fc4fb72c09d89c9a60427a94b2851bce7248601825a9201763f80698a31f587
layer 3: digest = sha256:dcad0a74f331e2231e39c4d27752075b3eda862e98ae5296c78d15a4f251ae9b
layer 4: digest = sha256:a31c9d68db627d486cb97721e3f2006b21a36266933fdd35d25a4a3fb7045be7
layer 5: digest = sha256:4dea096b8cbc47831d6822793382d35836b50fdd2e93f21d1b83651be23d572e
Hi,
Just noticed the following error after that Renovate applied the latest release to our docker-compose setup:
~ docker compose up -d
[+] Running 0/1
⠴ memcached Pulling 1.5s
no matching manifest for linux/arm64/v8 in the manifest list entries
It appears that the 1.6.29-alpine version of the tag is missing the ARM version:
Hello team due to some issue we need to update Docker file for docker-entrypoint.sh
following instruction should be added in alpine container.
RUN chmod 777 /usr/local/bin/docker-entrypoint.sh \
&& ln -s /usr/local/bin/docker-entrypoint.sh
Please add readme with docker-compose examples to configure settings like below:
environment:
- MEMCACHED_MAXCONN=1024
- MEMCACHED_CACHESIZE=1024
- MEMCACHED_THREADS=8
And how to check does it work or not.
The i386 failure can be seen in GitHub Actions at https://github.com/docker-library/memcached/runs/1316079051, the mips64le failure appears very similar.
+ make test
./sizes
Slab Stats 64
Thread stats -6384
Global stats 200
Settings 576
Item (no cas) 32
Item (cas) 40
extstore header 12
Libevent thread 112
Connection 292
Response object 1128
Response bundle 12
Response objects per bundle 14
----------------------------------------
libevent thread cumulative 6528
Thread stats cumulative 6416
./testapp
1..58
ok 1 - cache_create
ok 2 - cache_constructor
ok 3 - cache_constructor_fail
ok 4 - cache_destructor
ok 5 - cache_reuse
ok 6 - cache_redzone
ok 7 - cache_limit_revised_downward
ok 8 - stats_prefix_find
ok 9 - stats_prefix_record_get
ok 10 - stats_prefix_record_delete
ok 11 - stats_prefix_record_set
ok 12 - stats_prefix_dump
ok 13 - issue_161
ok 14 - strtol
ok 15 - strtoll
ok 16 - strtoul
ok 17 - strtoull
ok 18 - issue_44
ok 19 - vperror
ok 20 - issue_101
Signal handled: Terminated.
ok 21 - start_server
ok 22 - issue_92
ok 23 - issue_102
ok 24 - binary_noop
ok 25 - binary_quit
ok 26 - binary_quitq
ok 27 - binary_set
ok 28 - binary_setq
ok 29 - binary_add
ok 30 - binary_addq
ok 31 - binary_replace
ok 32 - binary_replaceq
ok 33 - binary_delete
ok 34 - binary_deleteq
ok 35 - binary_get
ok 36 - binary_getq
ok 37 - binary_getk
ok 38 - binary_getkq
ok 39 - binary_gat
ok 40 - binary_gatq
ok 41 - binary_gatk
ok 42 - binary_gatkq
ok 43 - binary_incr
ok 44 - binary_incrq
ok 45 - binary_decr
ok 46 - binary_decrq
ok 47 - binary_version
ok 48 - binary_flush
ok 49 - binary_flushq
ok 50 - binary_append
ok 51 - binary_appendq
ok 52 - binary_prepend
ok 53 - binary_prependq
ok 54 - binary_stat
ok 55 - binary_illegal
ok 56 - binary_pipeline_hickup
Signal handled: Interrupt.
ok 57 - shutdown
ok 58 - stop_server
make[1]: Entering directory '/usr/src/memcached'
Running basic tests with TLS
1..58
ok 1 - cache_create
ok 2 - cache_constructor
ok 3 - cache_constructor_fail
ok 4 - cache_destructor
ok 5 - cache_reuse
ok 6 - cache_redzone
ok 7 - cache_limit_revised_downward
ok 8 - stats_prefix_find
ok 9 - stats_prefix_record_get
ok 10 - stats_prefix_record_delete
ok 11 - stats_prefix_record_set
ok 12 - stats_prefix_dump
ok 13 - issue_161
ok 14 - strtol
ok 15 - strtoll
ok 16 - strtoul
ok 17 - strtoull
ok 18 - issue_44
ok 19 - vperror
ok 20 - issue_101
Signal handled: Terminated.
ok 21 - start_server
ok 22 - issue_92
ok 23 - issue_102
ok 24 - binary_noop
ok 25 - binary_quit
ok 26 - binary_quitq
ok 27 - binary_set
ok 28 - binary_setq
ok 29 - binary_add
ok 30 - binary_addq
ok 31 - binary_replace
ok 32 - binary_replaceq
ok 33 - binary_delete
ok 34 - binary_deleteq
ok 35 - binary_get
ok 36 - binary_getq
ok 37 - binary_getk
ok 38 - binary_getkq
ok 39 - binary_gat
ok 40 - binary_gatq
ok 41 - binary_gatk
ok 42 - binary_gatkq
ok 43 - binary_incr
ok 44 - binary_incrq
ok 45 - binary_decr
ok 46 - binary_decrq
ok 47 - binary_version
ok 48 - binary_flush
ok 49 - binary_flushq
ok 50 - binary_append
ok 51 - binary_appendq
ok 52 - binary_prepend
ok 53 - binary_prependq
ok 54 - binary_stat
ok 55 - binary_illegal
ok 56 - binary_pipeline_hickup
Signal handled: Interrupt.
ok 57 - shutdown
ok 58 - stop_server
# Some chunked item tests
./t/binary.t .................. ok
./t/getset.t .................. ok
./t/ssl_cert_refresh.t ........ ok
./t/ssl_ports.t ............... ok
./t/ssl_session_resumption.t .. ok
./t/ssl_settings.t ............ ok
./t/ssl_verify_modes.t ........ ok
All tests successful.
Files=7, Tests=43196, 69 wallclock secs ( 4.34 usr 0.34 sys + 11.04 cusr 1.96 csys = 17.68 CPU)
Result: PASS
Finished running basic TLS tests
make[1]: Leaving directory '/usr/src/memcached'
getaddrinfo(): Name does not resolve
failed to listen on TCP port 36377: Resource temporarily unavailable
slab class 1: chunk size 80 perslab 13107
slab class 2: chunk size 104 perslab 10082
slab class 3: chunk size 136 perslab 7710
slab class 4: chunk size 176 perslab 5957
slab class 5: chunk size 224 perslab 4681
slab class 6: chunk size 280 perslab 3744
slab class 7: chunk size 352 perslab 2978
slab class 8: chunk size 440 perslab 2383
slab class 9: chunk size 552 perslab 1899
slab class 10: chunk size 696 perslab 1506
slab class 11: chunk size 872 perslab 1202
slab class 12: chunk size 1096 perslab 956
slab class 13: chunk size 1376 perslab 762
slab class 14: chunk size 1720 perslab 609
slab class 15: chunk size 2152 perslab 487
slab class 16: chunk size 2696 perslab 388
slab class 17: chunk size 3376 perslab 310
slab class 18: chunk size 4224 perslab 248
slab class 19: chunk size 5280 perslab 198
slab class 20: chunk size 6600 perslab 158
slab class 21: chunk size 8256 perslab 127
slab class 22: chunk size 10320 perslab 101
slab class 23: chunk size 12904 perslab 81
slab class 24: chunk size 16136 perslab 64
slab class 25: chunk size 20176 perslab 51
slab class 26: chunk size 25224 perslab 41
slab class 27: chunk size 31536 perslab 33
slab class 28: chunk size 39424 perslab 26
slab class 29: chunk size 49280 perslab 21
slab class 30: chunk size 61600 perslab 17
slab class 31: chunk size 77000 perslab 13
slab class 32: chunk size 96256 perslab 10
slab class 33: chunk size 120320 perslab 8
slab class 34: chunk size 150400 perslab 6
slab class 35: chunk size 188000 perslab 5
slab class 36: chunk size 235000 perslab 4
slab class 37: chunk size 293752 perslab 3
slab class 38: chunk size 367192 perslab 2
slab class 39: chunk size 524288 perslab 2
<26 server listening (auto-negotiate)
<27 new auto-negotiating client connection
<27 connection closed.
stopped assoc
asking workers to stop
asking background threads to stop
stopped lru crawler
slab class 1: chunk size 80 perslab 13107
slab class 2: chunk size 104 perslab 10082
slab class 3: chunk size 136 perslab 7710
slab class 4: chunk size 176 perslab 5957
slab class 5: chunk size 224 perslab 4681
slab class 6: chunk size 280 perslab 3744
slab class 7: chunk size 352 perslab 2978
slab class 8: chunk size 440 perslab 2383
slab class 9: chunk size 552 perslab 1899
slab class 10: chunk size 696 perslab 1506
slab class 11: chunk size 872 perslab 1202
slab class 12: chunk size 1096 perslab 956
slab class 13: chunk size 1376 perslab 762
slab class 14: chunk size 1720 perslab 609
slab class 15: chunk size 2152 perslab 487
slab class 16: chunk size 2696 perslab 388
slab class 17: chunk size 3376 perslab 310
slab class 18: chunk size 4224 perslab 248
slab class 19: chunk size 5280 perslab 198
slab class 20: chunk size 6600 perslab 158
slab class 21: chunk size 8256 perslab 127
slab class 22: chunk size 10320 perslab 101
slab class 23: chunk size 12904 perslab 81
slab class 24: chunk size 16136 perslab 64
slab class 25: chunk size 20176 perslab 51
slab class 26: chunk size 25224 perslab 41
slab class 27: chunk size 31536 perslab 33
slab class 28: chunk size 39424 perslab 26
slab class 29: chunk size 49280 perslab 21
slab class 30: chunk size 61600 perslab 17
slab class 31: chunk size 77000 perslab 13
slab class 32: chunk size 96256 perslab 10
slab class 33: chunk size 120320 perslab 8
slab class 34: chunk size 150400 perslab 6
slab class 35: chunk size 188000 perslab 5
slab class 36: chunk size 235000 perslab 4
slab class 37: chunk size 293752 perslab 3
slab class 38: chunk size 367192 perslab 2
slab class 39: chunk size 524288 perslab 2
<26 server listening (ascii)
stopped maintainer
stopped slab mover
stopped logger thread
stopped idle timeout thread
closing connections
<26 connection closed.
reaping worker threads
all background threads stopped
<27 new ascii client connection.
<27 connection closed.
stopped assoc
asking workers to stop
asking background threads to stop
stopped lru crawler
slab class 1: chunk size 80 perslab 13107
slab class 2: chunk size 104 perslab 10082
slab class 3: chunk size 136 perslab 7710
slab class 4: chunk size 176 perslab 5957
slab class 5: chunk size 224 perslab 4681
slab class 6: chunk size 280 perslab 3744
slab class 7: chunk size 352 perslab 2978
slab class 8: chunk size 440 perslab 2383
slab class 9: chunk size 552 perslab 1899
slab class 10: chunk size 696 perslab 1506
slab class 11: chunk size 872 perslab 1202
slab class 12: chunk size 1096 perslab 956
slab class 13: chunk size 1376 perslab 762
slab class 14: chunk size 1720 perslab 609
slab class 15: chunk size 2152 perslab 487
slab class 16: chunk size 2696 perslab 388
slab class 17: chunk size 3376 perslab 310
slab class 18: chunk size 4224 perslab 248
slab class 19: chunk size 5280 perslab 198
slab class 20: chunk size 6600 perslab 158
slab class 21: chunk size 8256 perslab 127
slab class 22: chunk size 10320 perslab 101
slab class 23: chunk size 12904 perslab 81
slab class 24: chunk size 16136 perslab 64
slab class 25: chunk size 20176 perslab 51
slab class 26: chunk size 25224 perslab 41
slab class 27: chunk size 31536 perslab 33
slab class 28: chunk size 39424 perslab 26
slab class 29: chunk size 49280 perslab 21
slab class 30: chunk size 61600 perslab 17
slab class 31: chunk size 77000 perslab 13
slab class 32: chunk size 96256 perslab 10
slab class 33: chunk size 120320 perslab 8
slab class 34: chunk size 150400 perslab 6
slab class 35: chunk size 188000 perslab 5
slab class 36: chunk size 235000 perslab 4
slab class 37: chunk size 293752 perslab 3
slab class 38: chunk size 367192 perslab 2
slab class 39: chunk size 524288 perslab 2
<26 server listening (binary)
stopped maintainer
stopped slab mover
stopped logger thread
stopped idle timeout thread
closing connections
<26 connection closed.
reaping worker threads
all background threads stopped
<27 new binary client connection.
<27 connection closed.
stopped assoc
asking workers to stop
asking background threads to stop
stopped lru crawler
Invalid value for binding protocol: http
-- should be one of auto, binary, or ascii
stopped maintainer
stopped slab mover
stopped logger thread
stopped idle timeout thread
closing connections
<26 connection closed.
reaping worker threads
all background threads stopped
Maximum connections must be greater than 0
Maximum connections must be greater than 0
Number of threads must be greater than 0
t/00-startup.t .............. ok
t/64bit.t ................... skipped: Skipping 64-bit tests on 32-bit build
t/ascii-auth.t .............. ok
t/binary-extstore.t ......... ok
t/binary-get.t .............. ok
t/binary-sasl.t ............. skipped: Skipping SASL tests
# Some chunked item tests
t/binary.t .................. ok
t/bogus-commands.t .......... ok
t/cas.t ..................... ok
t/chunked-extstore.t ........ ok
t/chunked-items.t ........... ok
DEPRECATED: resp_obj_mem_limit no longer used. See read_buf_mem_limit,
t/conn-limits.t ............. ok
t/daemonize.t ............... ok
t/dash-M.t .................. ok
t/dyn-maxbytes.t ............ ok
t/error-extstore.t .......... ok
t/evictions.t ............... ok
t/expirations.t ............. ok
t/extstore-buckets.t ........ ok
t/extstore-jbod.t ........... ok
t/extstore.t ................ ok
t/flags.t ................... ok
t/flush-all.t ............... ok
t/getandtouch.t ............. ok
t/getset.t .................. ok
# Failed test 'check disconnected'
# at t/idle-timeout.t line 38.
# got: '�{���'
# expected: undef
# Failed test 'check stats timeout'
# at t/idle-timeout.t line 43.
# got: '0'
# expected: anything else
# Looks like you failed 2 tests of 11.
t/idle-timeout.t ............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/11 subtests
t/incrdecr.t ................ ok
t/issue_104.t ............... ok
t/issue_108.t ............... ok
t/issue_14.t ................ ok
t/issue_140.t ............... skipped: Fix for Issue 140 was only an illusion
t/issue_152.t ............... ok
t/issue_163.t ............... ok
t/issue_183.t ............... ok
t/issue_192.t ............... ok
t/issue_22.t ................ ok
t/issue_260.t ............... skipped: Only possible to test #260 under artificial conditions
t/issue_29.t ................ ok
t/issue_3.t ................. ok
t/issue_41.t ................ ok
t/issue_42.t ................ ok
t/issue_50.t ................ ok
t/issue_61.t ................ ok
t/issue_67.t ................ ok
t/issue_68.t ................ ok
t/issue_70.t ................ ok
Item max size cannot be less than 1024 bytes.
Cannot set item size limit higher than 1/2 of memory max.
t/item_size_max.t ........... ok
t/line-lengths.t ............ ok
t/lru-crawler.t ............. ok
t/lru-maintainer.t .......... ok
t/lru.t ..................... ok
t/malicious-commands.t ...... ok
t/maxconns.t ................ skipped: maxconns test does not work
# marithmetic tests
# mset mode switch
# starting serve stale with mdelete
# running mdelete
# trying to fail then stale set via mset
# confirm item still stale, and TTL wasn't raised.
# do valid mset
# testing quiet flag
# now purposefully cause an error
# testing mget opaque
# flag and token count errors
# pipeline test
# mget + extstore tests
t/metaget.t ................. ok
t/misbehave.t ............... skipped: Privilege drop not supported
t/multiversioning.t ......... ok
t/noreply.t ................. ok
t/quit.t .................... ok
t/refhang.t ................. skipped: Test is flaky. Needs special hooks.
[restart] Failed to read a tag from metadata file
[restart] no metadata save file, starting with a clean cache
# Set some values, various sizes.
# load enough items to change hash power level
# Load a couple chunked items
# Data that should expire while stopped.
# killed, waiting
Gracefully stopping
# reconnected
# low TTL item should be gone
t/restart.t ................. ok
t/slabhang.t ................ skipped: Test is flaky. Needs special hooks.
t/slabs-reassign-chunked.t .. ok
t/slabs-reassign2.t ......... ok
t/slabs_reassign.t .......... ok
t/ssl_cert_refresh.t ........ skipped: SSL testing is not enabled
t/ssl_ports.t ............... skipped: SSL testing is not enabled
t/ssl_session_resumption.t .. skipped: SSL testing is not enabled
t/ssl_settings.t ............ skipped: SSL testing is not enabled
t/ssl_verify_modes.t ........ skipped: SSL testing is not enabled
PORT: 43262
t/stats-conns.t ............. ok
t/stats-detail.t ............ ok
t/stats.t ................... ok
t/strtol-testing.t .......... ok
t/touch.t ................... ok
t/udp.t ..................... ok
t/unixsocket.t .............. ok
t/watcher.t ................. ok
t/watcher_connid.t .......... ok
t/whitespace.t .............. skipped: Skipping test because this does not appear to be a memcached git working directory
Test Summary Report
-------------------
t/idle-timeout.t (Wstat: 512 Tests: 11 Failed: 2)
Failed tests: 10-11
Non-zero exit status: 2
Files=79, Tests=104441, 487 wallclock secs (16.40 usr 1.04 sys + 36.64 cusr 11.44 csys = 65.52 CPU)
Result: FAIL
make: *** [Makefile:2299: test] Error 1
+ make test
./sizes
Slab Stats 64
Thread stats -6368
Global stats 208
Settings 640
Item (no cas) 48
Item (cas) 56
extstore header 12
Libevent thread 216
Connection 456
Response object 1176
Response bundle 24
Response objects per bundle 13
----------------------------------------
libevent thread cumulative 6648
Thread stats cumulative 6432
./testapp
1..58
ok 1 - cache_create
ok 2 - cache_constructor
ok 3 - cache_constructor_fail
ok 4 - cache_destructor
ok 5 - cache_reuse
ok 6 - cache_redzone
ok 7 - cache_limit_revised_downward
ok 8 - stats_prefix_find
ok 9 - stats_prefix_record_get
ok 10 - stats_prefix_record_delete
ok 11 - stats_prefix_record_set
ok 12 - stats_prefix_dump
ok 13 - issue_161
ok 14 - strtol
ok 15 - strtoll
ok 16 - strtoul
ok 17 - strtoull
ok 18 - issue_44
ok 19 - vperror
ok 20 - issue_101
ok 21 - start_server
ok 22 - issue_92
ok 23 - issue_102
ok 24 - binary_noop
ok 25 - binary_quit
ok 26 - binary_quitq
ok 27 - binary_set
ok 28 - binary_setq
ok 29 - binary_add
ok 30 - binary_addq
ok 31 - binary_replace
ok 32 - binary_replaceq
ok 33 - binary_delete
ok 34 - binary_deleteq
ok 35 - binary_get
ok 36 - binary_getq
ok 37 - binary_getk
ok 38 - binary_getkq
ok 39 - binary_gat
ok 40 - binary_gatq
ok 41 - binary_gatk
ok 42 - binary_gatkq
ok 43 - binary_incr
ok 44 - binary_incrq
ok 45 - binary_decr
ok 46 - binary_decrq
ok 47 - binary_version
Signal handled: Terminated.
ok 48 - binary_flush
ok 49 - binary_flushq
ok 50 - binary_append
ok 51 - binary_appendq
ok 52 - binary_prepend
ok 53 - binary_prependq
ok 54 - binary_stat
ok 55 - binary_illegal
ok 56 - binary_pipeline_hickup
ok 57 - shutdown
ok 58 - stop_server
make[1]: Entering directory '/usr/src/memcached'
Running basic tests with TLS
1..58
ok 1 - cache_create
ok 2 - cache_constructor
ok 3 - cache_constructor_fail
ok 4 - cache_destructor
ok 5 - cache_reuse
ok 6 - cache_redzone
ok 7 - cache_limit_revised_downward
ok 8 - stats_prefix_find
ok 9 - stats_prefix_record_get
ok 10 - stats_prefix_record_delete
ok 11 - stats_prefix_record_set
ok 12 - stats_prefix_dump
ok 13 - issue_161
ok 14 - strtol
ok 15 - strtoll
ok 16 - strtoul
ok 17 - strtoull
Signal handled: Interrupt.
ok 18 - issue_44
ok 19 - vperror
ok 20 - issue_101
ok 21 - start_server
getpeername: Transport endpoint is not connected
ok 22 - issue_92
ok 23 - issue_102
ok 24 - binary_noop
ok 25 - binary_quit
ok 26 - binary_quitq
ok 27 - binary_set
ok 28 - binary_setq
ok 29 - binary_add
ok 30 - binary_addq
ok 31 - binary_replace
ok 32 - binary_replaceq
ok 33 - binary_delete
ok 34 - binary_deleteq
ok 35 - binary_get
ok 36 - binary_getq
ok 37 - binary_getk
ok 38 - binary_getkq
ok 39 - binary_gat
ok 40 - binary_gatq
ok 41 - binary_gatk
ok 42 - binary_gatkq
ok 43 - binary_incr
ok 44 - binary_incrq
ok 45 - binary_decr
ok 46 - binary_decrq
ok 47 - binary_version
Signal handled: Terminated.
ok 48 - binary_flush
ok 49 - binary_flushq
ok 50 - binary_append
ok 51 - binary_appendq
ok 52 - binary_prepend
ok 53 - binary_prependq
ok 54 - binary_stat
ok 55 - binary_illegal
ok 56 - binary_pipeline_hickup
ok 57 - shutdown
ok 58 - stop_server
Signal handled: Interrupt.
# Some chunked item tests
./t/binary.t .................. ok
./t/getset.t .................. ok
./t/ssl_cert_refresh.t ........ ok
./t/ssl_ports.t ............... ok
./t/ssl_session_resumption.t .. ok
./t/ssl_settings.t ............ ok
./t/ssl_verify_modes.t ........ ok
All tests successful.
Files=7, Tests=43196, 104 wallclock secs ( 7.00 usr 0.38 sys + 41.57 cusr 1.42 csys = 50.37 CPU)
Result: PASS
Finished running basic TLS tests
make[1]: Leaving directory '/usr/src/memcached'
getaddrinfo(): Name or service not known
failed to listen on TCP port 41363: Invalid argument
slab class 1: chunk size 96 perslab 10922
slab class 2: chunk size 120 perslab 8738
slab class 3: chunk size 152 perslab 6898
slab class 4: chunk size 192 perslab 5461
slab class 5: chunk size 240 perslab 4369
slab class 6: chunk size 304 perslab 3449
slab class 7: chunk size 384 perslab 2730
slab class 8: chunk size 480 perslab 2184
slab class 9: chunk size 600 perslab 1747
slab class 10: chunk size 752 perslab 1394
slab class 11: chunk size 944 perslab 1110
slab class 12: chunk size 1184 perslab 885
slab class 13: chunk size 1480 perslab 708
slab class 14: chunk size 1856 perslab 564
slab class 15: chunk size 2320 perslab 451
slab class 16: chunk size 2904 perslab 361
slab class 17: chunk size 3632 perslab 288
slab class 18: chunk size 4544 perslab 230
slab class 19: chunk size 5680 perslab 184
slab class 20: chunk size 7104 perslab 147
slab class 21: chunk size 8880 perslab 118
slab class 22: chunk size 11104 perslab 94
slab class 23: chunk size 13880 perslab 75
slab class 24: chunk size 17352 perslab 60
slab class 25: chunk size 21696 perslab 48
slab class 26: chunk size 27120 perslab 38
slab class 27: chunk size 33904 perslab 30
slab class 28: chunk size 42384 perslab 24
slab class 29: chunk size 52984 perslab 19
slab class 30: chunk size 66232 perslab 15
slab class 31: chunk size 82792 perslab 12
slab class 32: chunk size 103496 perslab 10
slab class 33: chunk size 129376 perslab 8
slab class 34: chunk size 161720 perslab 6
slab class 35: chunk size 202152 perslab 5
slab class 36: chunk size 252696 perslab 4
slab class 37: chunk size 315872 perslab 3
slab class 38: chunk size 394840 perslab 2
slab class 39: chunk size 524288 perslab 2
<26 server listening (auto-negotiate)
<27 new auto-negotiating client connection
<27 connection closed.
stopped assoc
asking workers to stop
asking background threads to stop
stopped lru crawler
stopped maintainer
stopped slab mover
slab class 1: chunk size 96 perslab 10922
slab class 2: chunk size 120 perslab 8738
slab class 3: chunk size 152 perslab 6898
slab class 4: chunk size 192 perslab 5461
slab class 5: chunk size 240 perslab 4369
slab class 6: chunk size 304 perslab 3449
slab class 7: chunk size 384 perslab 2730
slab class 8: chunk size 480 perslab 2184
slab class 9: chunk size 600 perslab 1747
slab class 10: chunk size 752 perslab 1394
slab class 11: chunk size 944 perslab 1110
slab class 12: chunk size 1184 perslab 885
slab class 13: chunk size 1480 perslab 708
slab class 14: chunk size 1856 perslab 564
slab class 15: chunk size 2320 perslab 451
slab class 16: chunk size 2904 perslab 361
slab class 17: chunk size 3632 perslab 288
slab class 18: chunk size 4544 perslab 230
slab class 19: chunk size 5680 perslab 184
slab class 20: chunk size 7104 perslab 147
slab class 21: chunk size 8880 perslab 118
slab class 22: chunk size 11104 perslab 94
slab class 23: chunk size 13880 perslab 75
slab class 24: chunk size 17352 perslab 60
slab class 25: chunk size 21696 perslab 48
slab class 26: chunk size 27120 perslab 38
slab class 27: chunk size 33904 perslab 30
slab class 28: chunk size 42384 perslab 24
slab class 29: chunk size 52984 perslab 19
slab class 30: chunk size 66232 perslab 15
slab class 31: chunk size 82792 perslab 12
slab class 32: chunk size 103496 perslab 10
slab class 33: chunk size 129376 perslab 8
slab class 34: chunk size 161720 perslab 6
slab class 35: chunk size 202152 perslab 5
slab class 36: chunk size 252696 perslab 4
slab class 37: chunk size 315872 perslab 3
slab class 38: chunk size 394840 perslab 2
slab class 39: chunk size 524288 perslab 2
<26 server listening (ascii)
stopped logger thread
stopped idle timeout thread
closing connections
<26 connection closed.
reaping worker threads
all background threads stopped
<27 new ascii client connection.
<27 connection closed.
stopped assoc
asking workers to stop
asking background threads to stop
stopped lru crawler
stopped maintainer
stopped slab mover
slab class 1: chunk size 96 perslab 10922
slab class 2: chunk size 120 perslab 8738
slab class 3: chunk size 152 perslab 6898
slab class 4: chunk size 192 perslab 5461
slab class 5: chunk size 240 perslab 4369
slab class 6: chunk size 304 perslab 3449
slab class 7: chunk size 384 perslab 2730
slab class 8: chunk size 480 perslab 2184
slab class 9: chunk size 600 perslab 1747
slab class 10: chunk size 752 perslab 1394
slab class 11: chunk size 944 perslab 1110
slab class 12: chunk size 1184 perslab 885
slab class 13: chunk size 1480 perslab 708
slab class 14: chunk size 1856 perslab 564
slab class 15: chunk size 2320 perslab 451
slab class 16: chunk size 2904 perslab 361
slab class 17: chunk size 3632 perslab 288
slab class 18: chunk size 4544 perslab 230
slab class 19: chunk size 5680 perslab 184
slab class 20: chunk size 7104 perslab 147
slab class 21: chunk size 8880 perslab 118
slab class 22: chunk size 11104 perslab 94
slab class 23: chunk size 13880 perslab 75
slab class 24: chunk size 17352 perslab 60
slab class 25: chunk size 21696 perslab 48
slab class 26: chunk size 27120 perslab 38
slab class 27: chunk size 33904 perslab 30
slab class 28: chunk size 42384 perslab 24
slab class 29: chunk size 52984 perslab 19
slab class 30: chunk size 66232 perslab 15
slab class 31: chunk size 82792 perslab 12
slab class 32: chunk size 103496 perslab 10
slab class 33: chunk size 129376 perslab 8
slab class 34: chunk size 161720 perslab 6
slab class 35: chunk size 202152 perslab 5
slab class 36: chunk size 252696 perslab 4
slab class 37: chunk size 315872 perslab 3
slab class 38: chunk size 394840 perslab 2
slab class 39: chunk size 524288 perslab 2
<26 server listening (binary)
stopped logger thread
stopped idle timeout thread
closing connections
<26 connection closed.
reaping worker threads
all background threads stopped
<27 new binary client connection.
<27 connection closed.
stopped assoc
asking workers to stop
asking background threads to stop
stopped lru crawler
stopped maintainer
stopped slab mover
Invalid value for binding protocol: http
-- should be one of auto, binary, or ascii
stopped logger thread
stopped idle timeout thread
closing connections
<26 connection closed.
reaping worker threads
all background threads stopped
Maximum connections must be greater than 0
Maximum connections must be greater than 0
Number of threads must be greater than 0
t/00-startup.t .............. ok
t/64bit.t ................... ok
t/ascii-auth.t .............. ok
t/binary-extstore.t ......... ok
t/binary-get.t .............. ok
t/binary-sasl.t ............. skipped: Skipping SASL tests
# Some chunked item tests
t/binary.t .................. ok
t/bogus-commands.t .......... ok
t/cas.t ..................... ok
t/chunked-extstore.t ........ ok
t/chunked-items.t ........... ok
DEPRECATED: resp_obj_mem_limit no longer used. See read_buf_mem_limit,
t/conn-limits.t ............. ok
t/daemonize.t ............... ok
t/dash-M.t .................. ok
t/dyn-maxbytes.t ............ ok
t/error-extstore.t .......... ok
t/evictions.t ............... ok
t/expirations.t ............. ok
t/extstore-buckets.t ........ ok
t/extstore-jbod.t ........... ok
t/extstore.t ................ ok
t/flags.t ................... ok
t/flush-all.t ............... ok
t/getandtouch.t ............. ok
t/getset.t .................. ok
# Failed test 'check disconnected'
# at t/idle-timeout.t line 38.
# got: '�����'
# expected: undef
# Failed test 'check stats timeout'
# at t/idle-timeout.t line 43.
# got: '0'
# expected: anything else
# Looks like you failed 2 tests of 11.
t/idle-timeout.t ............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/11 subtests
t/incrdecr.t ................ ok
t/issue_104.t ............... ok
t/issue_108.t ............... ok
t/issue_14.t ................ ok
t/issue_140.t ............... skipped: Fix for Issue 140 was only an illusion
t/issue_152.t ............... ok
t/issue_163.t ............... ok
t/issue_183.t ............... ok
t/issue_192.t ............... ok
t/issue_22.t ................ ok
t/issue_260.t ............... skipped: Only possible to test #260 under artificial conditions
t/issue_29.t ................ ok
t/issue_3.t ................. ok
t/issue_41.t ................ ok
t/issue_42.t ................ ok
t/issue_50.t ................ ok
t/issue_61.t ................ ok
t/issue_67.t ................ ok
t/issue_68.t ................ ok
t/issue_70.t ................ ok
Item max size cannot be less than 1024 bytes.
Cannot set item size limit higher than 1/2 of memory max.
t/item_size_max.t ........... ok
t/line-lengths.t ............ ok
t/lru-crawler.t ............. ok
t/lru-maintainer.t .......... ok
t/lru.t ..................... ok
t/malicious-commands.t ...... ok
t/maxconns.t ................ skipped: maxconns test does not work
# marithmetic tests
# mset mode switch
# starting serve stale with mdelete
# running mdelete
# trying to fail then stale set via mset
# confirm item still stale, and TTL wasn't raised.
# do valid mset
# testing quiet flag
# now purposefully cause an error
# testing mget opaque
# flag and token count errors
# pipeline test
# mget + extstore tests
t/metaget.t ................. ok
t/misbehave.t ............... skipped: Privilege drop not supported
t/multiversioning.t ......... ok
t/noreply.t ................. ok
t/quit.t .................... ok
t/refhang.t ................. skipped: Test is flaky. Needs special hooks.
[restart] Failed to read a tag from metadata file
[restart] no metadata save file, starting with a clean cache
# Set some values, various sizes.
# load enough items to change hash power level
# Load a couple chunked items
# Data that should expire while stopped.
# killed, waiting
Gracefully stopping
# reconnected
# low TTL item should be gone
t/restart.t ................. ok
t/slabhang.t ................ skipped: Test is flaky. Needs special hooks.
t/slabs-reassign-chunked.t .. ok
t/slabs-reassign2.t ......... ok
t/slabs_reassign.t .......... ok
t/ssl_cert_refresh.t ........ skipped: SSL testing is not enabled
t/ssl_ports.t ............... skipped: SSL testing is not enabled
t/ssl_session_resumption.t .. skipped: SSL testing is not enabled
t/ssl_settings.t ............ skipped: SSL testing is not enabled
t/ssl_verify_modes.t ........ skipped: SSL testing is not enabled
PORT: 36981
t/stats-conns.t ............. ok
t/stats-detail.t ............ ok
t/stats.t ................... ok
t/strtol-testing.t .......... ok
t/touch.t ................... ok
t/udp.t ..................... ok
t/unixsocket.t .............. ok
t/watcher.t ................. ok
t/watcher_connid.t .......... ok
t/whitespace.t .............. skipped: Skipping test because this does not appear to be a memcached git working directory
Test Summary Report
-------------------
t/idle-timeout.t (Wstat: 512 Tests: 11 Failed: 2)
Failed tests: 10-11
Non-zero exit status: 2
Files=79, Tests=104595, 512 wallclock secs (31.65 usr 1.06 sys + 68.10 cusr 11.23 csys = 112.04 CPU)
Result: FAIL
make: *** [Makefile:2299: test] Error 1
Hey,
if you pull your docker image 1.5.19-alpine and try to use warm cache start up option, you will notice it ends up in error:
ftruncate failed: Bad file descriptor
Aborted
docker run -it --rm memcached:1.5.19-alpine sh
memcached -e /test
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.