You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kasia Kucharczyk (JIRA)" <ji...@apache.org> on 2018/05/24 13:46:00 UTC

[jira] [Commented] (BEAM-4371) Namespace shares the same name between Jenkins Performance test jobs

    [ https://issues.apache.org/jira/browse/BEAM-4371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16489010#comment-16489010 ] 

Kasia Kucharczyk commented on BEAM-4371:
----------------------------------------

A new name for kubernetes namespace now is created from the name of the test and Jenkins `BUILD_ID` job instead of timestamp. 
Timestamp was created only when seed job was triggered. All test were generating namespace, so in case of test failure the namespace could be not deleted. All retry couldn't help without running seed job first.

> Namespace shares the same name between Jenkins Performance test jobs
> --------------------------------------------------------------------
>
>                 Key: BEAM-4371
>                 URL: https://issues.apache.org/jira/browse/BEAM-4371
>             Project: Beam
>          Issue Type: Bug
>          Components: testing
>            Reporter: Kasia Kucharczyk
>            Assignee: Kasia Kucharczyk
>            Priority: Major
>          Time Spent: 8h 10m
>  Remaining Estimate: 0h
>
> In _common_job_properties.groovy_ is defined _getKubernetesNamespace(def testName)_ which runs only after _seed job_.
> Expected behaviour is to create a new namespace with every test run.
> The failure was observed after retrying JdbcIOIT job. The first failure did not deleted namespace. Next jobs failed because of:
> {code}
> + kubectl --kubeconfig=/home/jenkins/jenkins-slave/workspace/beam_PerformanceTests_JDBC/config-jdbcioit-1526904136153 create namespace jdbcioit-1526904136153 Error from server (AlreadyExists): namespaces "jdbcioit-1526904136153" already exists
> {code}
> Here are examples of jobs on Jenkins:
> [https://builds.apache.org/view/A-D/view/Beam/job/beam_PerformanceTests_JDBC/601/console]
> and
> [https://builds.apache.org/view/A-D/view/Beam/job/beam_PerformanceTests_JDBC/602/console]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)