• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

projectatomic / osbs-client
78%
master: 86%

Build:
Build:
LAST BUILD BRANCH: obsb7503
DEFAULT BRANCH: master
Repo Added 27 Jul 2015 04:08PM UTC
Files 25
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH stream-logs-as-unicode
branch: stream-logs-as-unicode
CHANGE BRANCH
x
Reset
  • stream-logs-as-unicode
  • 0.15-release
  • 0.16
  • 0.17
  • 0.18
  • 0.18-buildresponse-errordetail
  • 0.18.1
  • 0.18.x
  • 0.19
  • 0.20
  • 0.21
  • 0.22
  • 0.23
  • 0.25
  • 0.26
  • 0.27
  • 0.28
  • 0.29
  • 0.30
  • 0.31
  • 0.32
  • 0.33
  • 0.33.1
  • 0.33.x
  • 0.34
  • 0.34.1
  • 0.35
  • 0.36
  • 0.36.1
  • 0.36.x
  • 0.37
  • 0.38
  • 0.39
  • 0.39.1
  • 0.39.2
  • 0.39.x
  • 0.40
  • 0.40.1
  • 0.41
  • 0.42
  • 0.42.1
  • 0.43
  • 0.44
  • 0.45
  • 0.46
  • 0.46.1
  • 127-kerberos-keytab
  • 129-remove-build-types
  • 131-132-improve-getting-logs
  • 134-improve-list-builds
  • 134-list-builds-by-date
  • 159-architecture-optional
  • 160-client-cert-auth
  • 167-log-http-error-body
  • 171-exit-plugins
  • 184-descr-diff-btwn-user-username
  • 196-use-auth
  • 216-watch-buildconfig
  • 217-BuildConfig-names
  • 221-prod-specific-params
  • 223-apiVersion-v1
  • 234-pulp-service-account-secret
  • 237-use-service-account-token
  • 238-get-pods-for-build
  • 240-scratch-add-repo
  • 241-buildconfig-update-fix
  • 254-show-layering-metadata
  • 259-configuration-fine-granular-values
  • 263-conf-remove-can-miss
  • 268-validate-registry_uri
  • 298-git-branch-optional
  • 311-create-image-stream-check-response
  • 325-tests-require-dateutil
  • 333-namespace-as-a-property
  • 339-timeout
  • 339-timeout-sleep
  • 342-pause-then-backup
  • 35-simple-tags
  • 351-list-builds-from-json
  • 356-custom-build-image
  • 407-backup-restore-fixes
  • 413-handle-missing-name-label
  • 443-suggestion
  • 60-rhel6-argparse
  • add-devel-setup
  • add-version
  • adjust-for-repo-info
  • adjust-scratch-log-message
  • aid-debugging
  • api-compat
  • arrangement-6-testing
  • arrangement-running-order
  • arrangement-testing
  • arrangement_version
  • arrangements-4
  • atomic-reactor-116-standard-labels
  • atomic-reactor-339-v2-digests
  • atomic-reactor-348-push-plugin
  • backup-restore
  • backups-docs
  • base-image-autorebuild
  • basic-auth-for-metadata-plugin
  • better-rfc3399-parsing
  • build-host-optional
  • build-id-name-consistency
  • build-image-from-config
  • build-image-via-create-build
  • build-name-dashes
  • build-request-complexity
  • build-summary
  • buildconfig-names
  • buildconfig-timeout
  • builder-openshift-url-simple
  • builder-use-auth-docs-fix
  • buildresponse-ctor
  • buildresponse-errordetail
  • buildstep_logs
  • cancel-build
  • capture-fixes
  • chain-rebuild-fixes
  • check-release-alias-autorebuild
  • cleanup-downloaded-repos
  • cli-help-dont-display-unicode-u
  • cli-source-registry-uri
  • client_version
  • compress-after-pulp-push
  • configure-bump_release-plugin
  • configure-check_and_set_rebuild-plugin
  • configure-import_image-plugin
  • configure-koji_promote
  • contrib-guide
  • coveralls
  • cp-built-image-to-node
  • create-image-repos
  • create-prod-build-kwargs
  • create-worker-build
  • create_build_config_and_build-fix
  • debug-import-image
  • debug-import-image-2
  • default-args-mask-config
  • define-inst-vars-in-constructor
  • deprecate-old-build-fns
  • deprecated
  • dev-release
  • disable-pulp-pull
  • distribution-scope
  • docker-registry-uri-scheme
  • docs-devel-setup-fix-compose-mention
  • docs-parallel-v1-v2
  • docs/odcs-configuration
  • document-tokens
  • document-v2-workflow
  • dont-instantiate-build-twice
  • dont-set-parent-registry-in-simple
  • duration
  • enable-rebuild-triggers
  • enable-rebuild-triggers-2
  • ensure-image-stream-tag
  • even-more-arrangement-testing
  • example-configs
  • explain-git-branch
  • explain-mock-jsons
  • fix-additional-tags-check
  • fix-additional-tags-check-dots
  • fix-buildconfig-update
  • fix-docstring
  • fix-flatpak-default
  • fix-global-build-spec
  • fix-import-image-freeze
  • fix-incorrect-decoding
  • fix-kerberos-ccache-tests
  • fix-logging
  • fix-merged-prod-types
  • fix-scratch-build-platform-name
  • fix-simple-pull-args
  • fix-tests
  • fix-tests-0.36
  • fix-typo
  • flexmock-py26
  • get-compression-extension
  • get-encoded-logs
  • get-pdc-secret-should-return
  • get-quota
  • get-serviceaccount-token
  • get-serviceaccount-token-oc
  • get-token-oc
  • handle-410-on-watch
  • handle-connection-error
  • http-refactor
  • http-requests
  • image-stream-retry-osbs-5369
  • imagestream-create
  • imagestream-insecure-registry
  • imagestream-naming
  • imagestream-url
  • import-image-not-disabled
  • import-image-specify-build-json-dir
  • import-image-verify
  • import_image-insecure_registry
  • import_image-only-for-rebuilds
  • improve-auth-error-message
  • improve-auth-error-message-2
  • install-all-jsons
  • invoke-stop_autorebuild_if_disabled
  • isolated
  • iter-e-partial-file-timeout
  • koji-build-str
  • koji-parent-build-param
  • koji-promote-before-store-metadata
  • koji-promote-blocksize
  • koji-tag-build
  • koji-task-id
  • koji-task-param
  • koji-upload-platform
  • koji_promote_certs
  • koji_upload_dir
  • koji_upload_dir-cli-param
  • landscape-config
  • landscape-fixes
  • landscape-python-3
  • lazy-config-load
  • legacy-openshift
  • list-build-configs
  • list-builds-by-koji-task-id
  • log-on-plugin-removal
  • login-token-file
  • logs-retry-on-connection-close
  • lowercase-function-var
  • master
  • mmilata-wip
  • multipulp
  • name-label
  • next
  • nfs-dest_dir-fix
  • no-autorebuild-plugin-if-no-trigger
  • no-builds-backup
  • no-ns-padding
  • no-prod-with-secret
  • node_selector-docs
  • nv-bump-release
  • oauth2-token
  • odcs-ssl-support
  • omit-delete
  • openshift-required-version-default
  • optional-build-host
  • orchestrate-worker-config-kwargs
  • orchestrator-build
  • orchestrator-build-annotations
  • orchestrator-worker-branch-param
  • os-version-handling
  • osbs-4908-dot-in-image-name
  • osbs-instance-setup-docs
  • pause-resume
  • pdc-token-secret
  • plugins-order-rpm-all
  • pod-failure-reason
  • pr/445/head
  • prefer-schema1-digest
  • prod-without-koji-tag
  • pull-base-image-plugin
  • pulp-pull-group-manifests-fixes
  • pulp-pull-insecure
  • pulp-sync-auth
  • pulp-sync-fixes
  • pulp-sync-source-secret
  • pulp_pull
  • pulp_sync
  • py3-auth
  • random-fixes
  • raw-string-for-regexp
  • reactor-config-secret
  • reactor_config
  • refactor-tests
  • registry-delete
  • registry-uri-traceback
  • registry_api_versions
  • release_0.40
  • release_0.41
  • release_0.42
  • release_0.43
  • release_0.44
  • release_0.45
  • release_0.46
  • releasing
  • remove-labels-overwrite
  • remove-requests-404-dep
  • rename-build-test-dir
  • rename-to-osbs-client
  • render-fetch-maven-artifacts
  • render-koji-parent
  • render-koji-tag-build
  • render-resolve-composes
  • render-update-parent-image-stream-tag
  • report-git-errors
  • report-multiple-digests
  • request-use-member-dj-instance
  • requests-badstatusline
  • resolve-tags
  • resource-request
  • retryable-updates
  • revert-to-old-labels
  • rewrite-checkout_git_repo
  • rfc3339
  • rm_kti
  • run-check-and-set-rebuild-earlier
  • scratch-imagestream
  • scratch-no-compress
  • scratch-no-fetch-worker-metadata
  • scratch-unique-tags-only
  • scratch_builds2
  • set-architecture-for-add-filesystem
  • set-dockpulp-loglevel
  • set_labels_on_build_config
  • setup.py-test
  • shorten-list-builds-output
  • source-registry-fix
  • spec-review
  • specify-builder-os-url
  • split-rendering-plugins
  • stickler-ci-E501
  • stickler-f401
  • stream-encoded-logs
  • temporarily-disable-triggers
  • test-arrangements
  • test-check_response
  • tests-coverage
  • tests-framework-improvement
  • tests-simple-params
  • tests/disable-rawhide
  • throughput-harness
  • tokens-fixes
  • tox
  • typo
  • unique-tag-only
  • update-parent-image-stream-tag
  • update-parent-ist
  • url-label-needs-release
  • url-label-needs-release-0.40.x
  • use-compress-plugin
  • use-registry_api_versions
  • v2-cg-metadata-only
  • v2-compress
  • v2-registry-uris
  • validate_registry_uri
  • validation
  • watch-builds

pending completion
2773

push

travis-ci

twaugh
Return Unicode text from log-fetching methods

When streaming or fetching logs, return Unicode text by decoding
the response according to the HTTP headers.

Use response.text to automatically decode the HTTP response when not
streaming it.

When streaming it, response.iter_lines() returns the encoded bytes. Use
the response headers to decide how to decode it; if these are not
present, use guess_json_utf() if JSON is expected, and guess 'utf-8'
otherwise.

We always decode responses before passing them back to the client
because only the response headers say how to interpret the bytes.

Signed-off-by: Tim Waugh <twaugh@redhat.com>

2661 of 3429 relevant lines covered (77.6%)

3.08 hits per line

Relevant lines Covered
Build:
Build:
3429 RELEVANT LINES 2661 COVERED LINES
3.08 HITS PER LINE
Source Files on stream-logs-as-unicode
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2773 stream-logs-as-unicode Return Unicode text from log-fetching methods When streaming or fetching logs, return Unicode text by decoding the response according to the HTTP headers. Use response.text to automatically decode the HTTP response when not streaming it. When s... push 13 Jun 2017 11:48AM UTC twaugh travis-ci pending completion  
2771 stream-logs-as-unicode Return Unicode text from log-fetching methods When streaming or fetching logs, return Unicode text by decoding the response according to the HTTP headers. Use response.text to automatically decode the HTTP response when not streaming it. When s... push 13 Jun 2017 11:40AM UTC twaugh travis-ci pending completion  
2769 stream-logs-as-unicode Return Unicode text from log-fetching methods When streaming or fetching logs, return Unicode text by decoding the response according to the HTTP headers. Use response.text to automatically decode the HTTP response when not streaming it. When s... push 13 Jun 2017 11:32AM UTC twaugh travis-ci pending completion  
2767 stream-logs-as-unicode Return Unicode text from log-fetching methods When streaming or fetching logs, return Unicode text by decoding the response according to the HTTP headers. Use response.text to automatically decode the HTTP response when not streaming it. When s... push 13 Jun 2017 10:20AM UTC twaugh travis-ci pending completion  
2766 stream-logs-as-unicode Return Unicode text from log-fetching methods When streaming or fetching logs, return Unicode text by decoding the response according to the HTTP headers. Use response.text to automatically decode the HTTP response when not streaming it. When s... push 13 Jun 2017 10:12AM UTC twaugh travis-ci pending completion  
2763 stream-logs-as-unicode Return Unicode text from log-fetching methods When streaming or fetching logs, return Unicode text by decoding the response according to the HTTP headers. Use response.text to automatically decode the HTTP response when not streaming it. When s... push 13 Jun 2017 10:01AM UTC twaugh travis-ci pending completion  
2761 stream-logs-as-unicode Return Unicode text from log-fetching methods When streaming or fetching logs, return Unicode text by decoding the response according to the HTTP headers. Use response.text to automatically decode the HTTP response when not streaming it. When s... push 13 Jun 2017 09:57AM UTC twaugh travis-ci pending completion  
2759 stream-logs-as-unicode Return Unicode text from log-fetching methods When streaming or fetching logs, return Unicode text by decoding the response according to the HTTP headers. Use response.text to automatically decode the HTTP response when not streaming it. When s... push 13 Jun 2017 08:29AM UTC twaugh travis-ci pending completion  
2755 stream-logs-as-unicode Return Unicode text from log-fetching methods When streaming or fetching logs, return Unicode text by decoding the response according to the HTTP headers. Use response.text to automatically decode the HTTP response when not streaming it. When s... push 13 Jun 2017 08:22AM UTC twaugh travis-ci pending completion  
2753 stream-logs-as-unicode Return Unicode text from log-fetching methods When streaming or fetching logs, return Unicode text by decoding the response according to the HTTP headers. Use response.text to automatically decode the HTTP response when not streaming it. When s... push 13 Jun 2017 08:19AM UTC twaugh travis-ci pending completion  
See All Builds (3423)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc