Comments (2)
It has been found that PUT
request for uploading image itself is failing with error code 301
.
Test Case source at test_images.py#L54 and uploading image source at base.py#L106.
Registry server logs:
$ ./bin/registry
2014/10/27 18:36:02 Listening on :8001
127.0.0.1 - - [27/Oct/2014 18:36:10] "PUT //v1/images/d4an3oyj98m2gj3r/json HTTP/1.1" 301 0 0.0000
Test Failing logs:
$ nosetests test_images.py
F
======================================================================
FAIL: test_simple (tests.test_images.TestImages)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/budhram/vertis/atlantis/docker-registry/tests/test_images.py", line 54, in test_simple
self.upload_image(parent_id, parent_id=None, layer=layer_data)
File "/home/budhram/vertis/atlantis/docker-registry/tests/base.py", line 110, in upload_image
self.assertEqual(resp.status_code, 200, resp.data)
AssertionError: 301 != 200
-------------------- >> begin captured logging << --------------------
docker_registry.core.compat: DEBUG: This is python2
docker_registry.lib.cache: WARNING: Cache storage disabled!
docker_registry.lib.cache: WARNING: LRU cache disabled!
docker_registry.core.driver: DEBUG: Will return docker-registry.drivers.file.Storage
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 1 test in 0.006s
FAILED (failures=1)
Investigating further.
from go-docker-registry.
Closing it as it is irrelevant now.
from go-docker-registry.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-docker-registry.